svn commit: r435294 - in head/devel: . py-docopt py3-docopt
Antoine Brodin
antoine at FreeBSD.org
Thu Mar 2 19:07:46 UTC 2017
Author: antoine
Date: Thu Mar 2 19:07:44 2017
New Revision: 435294
URL: https://svnweb.freebsd.org/changeset/ports/435294
Log:
- Add LICENSE_FILE
- Mark architecture neutral
- Use option helpers
- Allow concurrent installation and create a slave port that uses default
version of python3
PR: 217481
Added:
head/devel/py3-docopt/
head/devel/py3-docopt/Makefile (contents, props changed)
Modified:
head/devel/Makefile
head/devel/py-docopt/Makefile
Modified: head/devel/Makefile
==============================================================================
--- head/devel/Makefile Thu Mar 2 18:37:40 2017 (r435293)
+++ head/devel/Makefile Thu Mar 2 19:07:44 2017 (r435294)
@@ -4900,6 +4900,7 @@
SUBDIR += py3-babel
SUBDIR += py3-click
SUBDIR += py3-dbus
+ SUBDIR += py3-docopt
SUBDIR += py3-flake8
SUBDIR += py3-flake8-builtins
SUBDIR += py3-flake8-docstrings
Modified: head/devel/py-docopt/Makefile
==============================================================================
--- head/devel/py-docopt/Makefile Thu Mar 2 18:37:40 2017 (r435293)
+++ head/devel/py-docopt/Makefile Thu Mar 2 19:07:44 2017 (r435294)
@@ -3,6 +3,7 @@
PORTNAME= docopt
PORTVERSION= 0.6.2
+PORTREVISION= 1
CATEGORIES= devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@@ -11,21 +12,22 @@ MAINTAINER= antoine at FreeBSD.org
COMMENT= Pythonic argument parser, that will make you smile
LICENSE= MIT
+LICENSE_FILE= ${WRKSRC}/LICENSE-MIT
-USES= python
-USE_PYTHON= distutils autoplist
+NO_ARCH= yes
+USES?= python
+USE_PYTHON= distutils autoplist concurrent
-PORTDOCS= README.rst
-DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
+OPTIONS_DEFINE= DOCS EXAMPLES
+PORTDOCS= README.rst
PORTEXAMPLES= *
-EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
-OPTIONS_DEFINE= DOCS EXAMPLES
-
-post-install:
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
+
+do-install-EXAMPLES-on:
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}
Added: head/devel/py3-docopt/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/devel/py3-docopt/Makefile Thu Mar 2 19:07:44 2017 (r435294)
@@ -0,0 +1,7 @@
+# $FreeBSD$
+
+MASTERDIR= ${.CURDIR}/../py-docopt
+
+USES= python:3.3+
+
+.include "${MASTERDIR}/Makefile"
More information about the svn-ports-all
mailing list