# -*- 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 # $Id$ PortSystem 1.0 PortGroup github 1.0 PortGroup python 1.0 github.setup openSUSE osc 0.155.0 categories devel python platforms darwin supported_archs noarch license {GPL-2 GPL-3} maintainers raimue \ openmaintainer description A command line client for the openSUSE build service long_description osc is a subversion-like client written in Python. \ It serves as client for the source code repository part \ of the openSUSE build service, and is used to edit \ metadata or query about build results. homepage https://en.opensuse.org/openSUSE:OSC checksums rmd160 5c4826cf9e289913cadf71bb786182fa5394159d \ sha256 80d2a1d5f85c9f4162abfb49d4e99367b1c6c04daa3177cae23135eebf5d2acc patchfiles patch-config.diff \ patch-build-disable.diff python.default_version 27 depends_lib-append port:py${python.version}-elementtree \ port:py${python.version}-urlgrabber \ port:py${python.version}-m2crypto depends_run path:share/curl/curl-ca-bundle.crt:curl-ca-bundle \ port:obs-build-helpers post-patch { reinplace "s|@@CAFILEPATH@@|${prefix}/share/curl/curl-ca-bundle.crt|g" ${worksrcpath}/osc/conf.py reinplace "s|@@PREFIX@@|${prefix}|g" ${worksrcpath}/osc/conf.py } post-destroot { ln -s ${python.prefix}/bin/osc-wrapper.py ${destroot}${prefix}/bin/osc } python.link_binaries no