Commit 59e500a5 authored by amdmi3's avatar amdmi3
Browse files

osc is a command-line client fot openSUSE build service. It is

written in Python, and in addition to the commandline interface it
also provides a Python module, for use by other Python programs.

osc is a subversion-like client. It serves as client for the source
code repository component of the build service, and it is used to
edit metadata or query about build results.

WWW: http://en.opensuse.org/openSUSE:OSC
parent 0363baf6
......@@ -1321,6 +1321,7 @@
SUBDIR += openzz
SUBDIR += orbitcpp
SUBDIR += orc
SUBDIR += osc
SUBDIR += ossp-al
SUBDIR += ossp-cfg
SUBDIR += ossp-ex
......
# Created by: Dmitry Marakasov <amdmi3@FreeBSD.org>
# $FreeBSD$
PORTNAME= osc
PORTVERSION= 0.138.0
CATEGORIES= devel
MAINTAINER= amdmi3@FreeBSD.org
COMMENT= Command Line Interface to work with an openSUSE Build Service
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
USE_GITHUB= yes
GH_ACCOUNT= openSUSE
GH_COMMIT= bc7a48c
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}m2crypto>0:${PORTSDIR}/security/py-m2crypto
USE_PYTHON= yes
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGVERSION=${PORTVERSION:C/^([0-9]+\.[0-9]+)\.[0-9]+/\1/}
MAN1= osc.1
MANCOMPRESSED= yes
PORTDOCS= README NEWS TODO
OPTIONS_DEFINE= CA_BUNDLE DOCS
OPTIONS_DEFAULT=CA_BUNDLE
CA_BUNDLE_DESC= Install CA Certificates
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MCA_BUNDLE}
RUN_DEPENDS+= ${LOCALBASE}/share/certs/ca-root-nss.crt:${PORTSDIR}/security/ca_root_nss
CA_PATH= ${LOCALBASE}/share/certs/ca-root-nss.crt
.else
CA_PATH= /etc/ssl
.endif
post-patch:
@${REINPLACE_CMD} -e "s|'share', 'man'|'man'|" ${WRKSRC}/setup.py
@${REINPLACE_CMD} -e "/cert.pem/ s|\[.*\]|['${CA_PATH}']|" \
${WRKSRC}/osc/conf.py
post-install:
${LN} -s osc-wrapper.py ${PREFIX}/bin/osc
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}/
.endfor
.endif
.include <bsd.port.mk>
SHA256 (osc-0.138.0.tar.gz) = b8f76ef35b0662e6390ac740035446834a0f15214d9fdb89e8028663e642afc6
SIZE (osc-0.138.0.tar.gz) = 293563
osc is a command-line client fot openSUSE build service. It is
written in Python, and in addition to the commandline interface it
also provides a Python module, for use by other Python programs.
osc is a subversion-like client. It serves as client for the source
code repository component of the build service, and it is used to
edit metadata or query about build results.
WWW: http://en.opensuse.org/openSUSE:OSC
bin/osc
bin/osc-wrapper.py
bin/osc_hotshot.py
%%PYTHON_SITELIBDIR%%/osc/OscConfigParser.py
%%PYTHON_SITELIBDIR%%/osc/OscConfigParser.pyc
%%PYTHON_SITELIBDIR%%/osc/OscConfigParser.pyo
%%PYTHON_SITELIBDIR%%/osc/__init__.py
%%PYTHON_SITELIBDIR%%/osc/__init__.pyc
%%PYTHON_SITELIBDIR%%/osc/__init__.pyo
%%PYTHON_SITELIBDIR%%/osc/babysitter.py
%%PYTHON_SITELIBDIR%%/osc/babysitter.pyc
%%PYTHON_SITELIBDIR%%/osc/babysitter.pyo
%%PYTHON_SITELIBDIR%%/osc/build.py
%%PYTHON_SITELIBDIR%%/osc/build.pyc
%%PYTHON_SITELIBDIR%%/osc/build.pyo
%%PYTHON_SITELIBDIR%%/osc/checker.py
%%PYTHON_SITELIBDIR%%/osc/checker.pyc
%%PYTHON_SITELIBDIR%%/osc/checker.pyo
%%PYTHON_SITELIBDIR%%/osc/cmdln.py
%%PYTHON_SITELIBDIR%%/osc/cmdln.pyc
%%PYTHON_SITELIBDIR%%/osc/cmdln.pyo
%%PYTHON_SITELIBDIR%%/osc/commandline.py
%%PYTHON_SITELIBDIR%%/osc/commandline.pyc
%%PYTHON_SITELIBDIR%%/osc/commandline.pyo
%%PYTHON_SITELIBDIR%%/osc/conf.py
%%PYTHON_SITELIBDIR%%/osc/conf.pyc
%%PYTHON_SITELIBDIR%%/osc/conf.pyo
%%PYTHON_SITELIBDIR%%/osc/core.py
%%PYTHON_SITELIBDIR%%/osc/core.pyc
%%PYTHON_SITELIBDIR%%/osc/core.pyo
%%PYTHON_SITELIBDIR%%/osc/fetch.py
%%PYTHON_SITELIBDIR%%/osc/fetch.pyc
%%PYTHON_SITELIBDIR%%/osc/fetch.pyo
%%PYTHON_SITELIBDIR%%/osc/meter.py
%%PYTHON_SITELIBDIR%%/osc/meter.pyc
%%PYTHON_SITELIBDIR%%/osc/meter.pyo
%%PYTHON_SITELIBDIR%%/osc/oscerr.py
%%PYTHON_SITELIBDIR%%/osc/oscerr.pyc
%%PYTHON_SITELIBDIR%%/osc/oscerr.pyo
%%PYTHON_SITELIBDIR%%/osc/oscssl.py
%%PYTHON_SITELIBDIR%%/osc/oscssl.pyc
%%PYTHON_SITELIBDIR%%/osc/oscssl.pyo
%%PYTHON_SITELIBDIR%%/osc/oscsslexcp.py
%%PYTHON_SITELIBDIR%%/osc/oscsslexcp.pyc
%%PYTHON_SITELIBDIR%%/osc/oscsslexcp.pyo
%%PYTHON_SITELIBDIR%%/osc/util/__init__.py
%%PYTHON_SITELIBDIR%%/osc/util/__init__.pyc
%%PYTHON_SITELIBDIR%%/osc/util/__init__.pyo
%%PYTHON_SITELIBDIR%%/osc/util/ar.py
%%PYTHON_SITELIBDIR%%/osc/util/ar.pyc
%%PYTHON_SITELIBDIR%%/osc/util/ar.pyo
%%PYTHON_SITELIBDIR%%/osc/util/archquery.py
%%PYTHON_SITELIBDIR%%/osc/util/archquery.pyc
%%PYTHON_SITELIBDIR%%/osc/util/archquery.pyo
%%PYTHON_SITELIBDIR%%/osc/util/cpio.py
%%PYTHON_SITELIBDIR%%/osc/util/cpio.pyc
%%PYTHON_SITELIBDIR%%/osc/util/cpio.pyo
%%PYTHON_SITELIBDIR%%/osc/util/debquery.py
%%PYTHON_SITELIBDIR%%/osc/util/debquery.pyc
%%PYTHON_SITELIBDIR%%/osc/util/debquery.pyo
%%PYTHON_SITELIBDIR%%/osc/util/packagequery.py
%%PYTHON_SITELIBDIR%%/osc/util/packagequery.pyc
%%PYTHON_SITELIBDIR%%/osc/util/packagequery.pyo
%%PYTHON_SITELIBDIR%%/osc/util/repodata.py
%%PYTHON_SITELIBDIR%%/osc/util/repodata.pyc
%%PYTHON_SITELIBDIR%%/osc/util/repodata.pyo
%%PYTHON_SITELIBDIR%%/osc/util/rpmquery.py
%%PYTHON_SITELIBDIR%%/osc/util/rpmquery.pyc
%%PYTHON_SITELIBDIR%%/osc/util/rpmquery.pyo
%%PYTHON_SITELIBDIR%%/osc/util/safewriter.py
%%PYTHON_SITELIBDIR%%/osc/util/safewriter.pyc
%%PYTHON_SITELIBDIR%%/osc/util/safewriter.pyo
@dirrm %%PYTHON_SITELIBDIR%%/osc/util
@dirrm %%PYTHON_SITELIBDIR%%/osc
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment