mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
devel/py-grouch: support staging and minor changes
- Support staging - Use python auto plist - Unmute install command - Remove leading article from COMMENT
This commit is contained in:
parent
372e6f6a1d
commit
7b5d96230b
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=337685
@ -10,24 +10,22 @@ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
DISTNAME= Grouch-${PORTVERSION}
|
||||
|
||||
MAINTAINER= ports@FreeBSD.org
|
||||
COMMENT= A system for describing and enforcing a Python object schema
|
||||
COMMENT= System for describing and enforcing a Python object schema
|
||||
|
||||
USE_PYTHON= -2.7
|
||||
USE_PYTHON= 2
|
||||
USE_PYDISTUTILS= yes
|
||||
PYDISTUTILS_PKGNAME= Grouch
|
||||
PYDISTUTILS_AUTOPLIST= yes
|
||||
|
||||
PORTDOCS= *
|
||||
PORTEXAMPLES= *
|
||||
|
||||
NO_STAGE= yes
|
||||
post-install:
|
||||
.if !defined(NOPORTDOCS)
|
||||
@ ${MKDIR} ${DOCSDIR}
|
||||
.for docfile in CHANGES LICENSE README
|
||||
@ ${INSTALL_DATA} ${WRKSRC}/${docfile}.txt ${DOCSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
.for docfile in CHANGES README
|
||||
${INSTALL_DATA} ${WRKSRC}/${docfile}.txt ${STAGEDIR}${DOCSDIR}
|
||||
.endfor
|
||||
@ ${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
|
||||
.endif
|
||||
.if !defined(NOPORTEXAMPLES)
|
||||
@ ${MKDIR} ${EXAMPLESDIR}
|
||||
@ ${INSTALL_DATA} ${WRKSRC}/examples/* ${EXAMPLESDIR}
|
||||
.endif
|
||||
${INSTALL_DATA} ${WRKSRC}/doc/* ${STAGEDIR}${DOCSDIR}
|
||||
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
||||
${INSTALL_DATA} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1,42 +0,0 @@
|
||||
bin/check_data
|
||||
bin/gen_schema
|
||||
%%PYTHON_SITELIBDIR%%/grouch/__init__.py
|
||||
%%PYTHON_SITELIBDIR%%/grouch/__init__.pyc
|
||||
%%PYTHON_SITELIBDIR%%/grouch/__init__.pyo
|
||||
%%PYTHON_SITELIBDIR%%/grouch/context.py
|
||||
%%PYTHON_SITELIBDIR%%/grouch/context.pyc
|
||||
%%PYTHON_SITELIBDIR%%/grouch/context.pyo
|
||||
%%PYTHON_SITELIBDIR%%/grouch/schema.py
|
||||
%%PYTHON_SITELIBDIR%%/grouch/schema.pyc
|
||||
%%PYTHON_SITELIBDIR%%/grouch/schema.pyo
|
||||
%%PYTHON_SITELIBDIR%%/grouch/schema_util.py
|
||||
%%PYTHON_SITELIBDIR%%/grouch/schema_util.pyc
|
||||
%%PYTHON_SITELIBDIR%%/grouch/schema_util.pyo
|
||||
%%PYTHON_SITELIBDIR%%/grouch/script_util.py
|
||||
%%PYTHON_SITELIBDIR%%/grouch/script_util.pyc
|
||||
%%PYTHON_SITELIBDIR%%/grouch/script_util.pyo
|
||||
%%PYTHON_SITELIBDIR%%/grouch/spark.py
|
||||
%%PYTHON_SITELIBDIR%%/grouch/spark.pyc
|
||||
%%PYTHON_SITELIBDIR%%/grouch/spark.pyo
|
||||
%%PYTHON_SITELIBDIR%%/grouch/type_parser.py
|
||||
%%PYTHON_SITELIBDIR%%/grouch/type_parser.pyc
|
||||
%%PYTHON_SITELIBDIR%%/grouch/type_parser.pyo
|
||||
%%PYTHON_SITELIBDIR%%/grouch/util.py
|
||||
%%PYTHON_SITELIBDIR%%/grouch/util.pyc
|
||||
%%PYTHON_SITELIBDIR%%/grouch/util.pyo
|
||||
%%PYTHON_SITELIBDIR%%/grouch/valuetype.py
|
||||
%%PYTHON_SITELIBDIR%%/grouch/valuetype.pyc
|
||||
%%PYTHON_SITELIBDIR%%/grouch/valuetype.pyo
|
||||
%%PORTDOCS%%%%DOCSDIR%%/CHANGES.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/LICENSE.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/README.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/checking.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/schema.txt
|
||||
%%PORTDOCS%%%%DOCSDIR%%/type-system.txt
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/animal.py
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/make_things
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/thing.py
|
||||
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/things.proj
|
||||
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
|
||||
%%PORTDOCS%%@dirrm %%DOCSDIR%%
|
||||
@dirrm %%PYTHON_SITELIBDIR%%/grouch
|
Loading…
Reference in New Issue
Block a user