devel/py-usb:
- Use options helpers - Allow concurrent python installations PR: 202888 Approved by: sbz (maintainer timeout 5 weeks)
This commit is contained in:
parent
312b3b9c38
commit
431239946f
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=399219
1 changed files with 3 additions and 3 deletions
|
@ -2,6 +2,7 @@
|
|||
|
||||
PORTNAME= usb
|
||||
PORTVERSION= 1.0.0b1
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= devel python
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
|
@ -11,19 +12,18 @@ COMMENT= Python wrapper around libusb
|
|||
LICENSE= BSD3CLAUSE
|
||||
|
||||
USES= python
|
||||
USE_PYTHON= distutils autoplist
|
||||
USE_PYTHON= autoplist concurrent distutils
|
||||
|
||||
USE_GITHUB= yes
|
||||
GH_ACCOUNT= walac
|
||||
GH_PROJECT= py${PORTNAME}
|
||||
GH_TAGNAME= 0546cad
|
||||
|
||||
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX:C/...$//}-${PORTNAME}
|
||||
PORTDOCS= *.rst
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
post-install:
|
||||
do-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
|
||||
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/docs/,} ${STAGEDIR}${DOCSDIR}
|
||||
|
|
Loading…
Reference in a new issue