mirror of
https://git.freebsd.org/ports.git
synced 2025-05-18 10:03:10 -04:00
40 lines
1.1 KiB
Makefile
40 lines
1.1 KiB
Makefile
PORTNAME= osc
|
|
PORTVERSION= 1.9.2
|
|
CATEGORIES= devel
|
|
|
|
MAINTAINER= amdmi3@FreeBSD.org
|
|
COMMENT= Command Line Interface to work with an openSUSE Build Service
|
|
WWW= https://en.opensuse.org/openSUSE:OSC \
|
|
https://github.com/openSUSE/osc
|
|
|
|
LICENSE= GPLv2+
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}urllib3>=0:net/py-urllib3@${PY_FLAVOR}
|
|
TEST_DEPENDS= git:devel/git
|
|
|
|
USES= cpe python
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= openSUSE
|
|
USE_PYTHON= autoplist cryptography distutils noflavors pytest
|
|
NO_ARCH= yes
|
|
CPE_VENDOR= suse
|
|
CPE_PRODUCT= opensuse_osc
|
|
|
|
PORTDOCS= *
|
|
|
|
PYTEST_BROKEN_TESTS= testPrdiffDiffstat TestVC
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
post-install:
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site-functions
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/osc.zsh ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_osc
|
|
@${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/vendor_completions.d
|
|
${INSTALL_DATA} ${WRKSRC}/contrib/osc.fish ${STAGEDIR}${PREFIX}/share/fish/vendor_completions.d/osc.fish
|
|
|
|
post-install-DOCS-on:
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} AUTHORS README.md NEWS ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.mk>
|