source: trunk/dports/devel/osc/Portfile

Last change on this file was 152962, checked in by raimue@…, 10 months ago

devel/osc: update to version 0.155.0

Recreate patches disabling build command after discussion with upstream.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 152962 2016-09-21 10:57:31Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           github 1.0
6PortGroup           python 1.0
7
8github.setup        openSUSE osc 0.155.0
9categories          devel python
10platforms           darwin
11supported_archs     noarch
12license             {GPL-2 GPL-3}
13maintainers         raimue \
14                    openmaintainer
15
16description         A command line client for the openSUSE build service
17
18long_description    osc is a subversion-like client written in Python. \
19                    It serves as client for the source code repository part \
20                    of the openSUSE build service, and is used to edit \
21                    metadata or query about build results.
22
23homepage            https://en.opensuse.org/openSUSE:OSC
24
25checksums           rmd160  5c4826cf9e289913cadf71bb786182fa5394159d \
26                    sha256  80d2a1d5f85c9f4162abfb49d4e99367b1c6c04daa3177cae23135eebf5d2acc
27
28patchfiles          patch-config.diff \
29                    patch-build-disable.diff
30
31python.default_version 27
32
33depends_lib-append  port:py${python.version}-elementtree \
34                    port:py${python.version}-urlgrabber \
35                    port:py${python.version}-m2crypto
36
37depends_run         path:share/curl/curl-ca-bundle.crt:curl-ca-bundle \
38                    port:obs-build-helpers
39
40post-patch {
41    reinplace "s|@@CAFILEPATH@@|${prefix}/share/curl/curl-ca-bundle.crt|g" ${worksrcpath}/osc/conf.py
42    reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/osc/conf.py
43}
44
45post-destroot {
46    ln -s ${python.prefix}/bin/osc-wrapper.py ${destroot}${prefix}/bin/osc
47}
48
49python.link_binaries no
Note: See TracBrowser for help on using the repository browser.