[Midnightbsd-cvs] mports [20242] trunk/devel: add py-virtualenv
laffer1 at midnightbsd.org
laffer1 at midnightbsd.org
Fri Sep 18 19:17:39 EDT 2015
Revision: 20242
http://svnweb.midnightbsd.org/mports/?rev=20242
Author: laffer1
Date: 2015-09-18 19:17:38 -0400 (Fri, 18 Sep 2015)
Log Message:
-----------
add py-virtualenv
Modified Paths:
--------------
trunk/devel/Makefile
trunk/devel/py-gobject3/Makefile
Added Paths:
-----------
trunk/devel/py-virtualenv/
trunk/devel/py-virtualenv/Makefile
trunk/devel/py-virtualenv/distinfo
trunk/devel/py-virtualenv/files/
trunk/devel/py-virtualenv/files/patch-setup.py
trunk/devel/py-virtualenv/pkg-descr
Modified: trunk/devel/Makefile
===================================================================
--- trunk/devel/Makefile 2015-09-18 23:11:32 UTC (rev 20241)
+++ trunk/devel/Makefile 2015-09-18 23:17:38 UTC (rev 20242)
@@ -412,6 +412,7 @@
SUBDIR += py-simplejson
SUBDIR += py-subversion
SUBDIR += py-termcolor
+SUBDIR += py-virtualenv
SUBDIR += py-xdg
SUBDIR += py-yaml
SUBDIR += py3-dbus
Modified: trunk/devel/py-gobject3/Makefile
===================================================================
--- trunk/devel/py-gobject3/Makefile 2015-09-18 23:11:32 UTC (rev 20241)
+++ trunk/devel/py-gobject3/Makefile 2015-09-18 23:17:38 UTC (rev 20242)
@@ -10,4 +10,6 @@
MASTERDIR= ${.CURDIR}/../../devel/pygobject3-common
PLIST= ${.CURDIR}/pkg-plist
+PLIST_SUB+= PYTHON_VER=${PYTHON_VER}
+
.include "${MASTERDIR}/Makefile"
Added: trunk/devel/py-virtualenv/Makefile
===================================================================
--- trunk/devel/py-virtualenv/Makefile (rev 0)
+++ trunk/devel/py-virtualenv/Makefile 2015-09-18 23:17:38 UTC (rev 20242)
@@ -0,0 +1,43 @@
+# $MidnightBSD$
+# $FreeBSD: head/devel/py-virtualenv/Makefile 393810 2015-08-09 17:16:13Z nivit $
+
+PORTNAME= virtualenv
+PORTVERSION= 13.1.0
+CATEGORIES= devel python
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+
+MAINTAINER= ports at MidnightBSD.org
+COMMENT= Tool for creating isolated Python environments
+
+LICENSE= mit
+
+TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}pytest>0:${PORTSDIR}/devel/py-pytest \
+ ${PYTHON_PKGNAMEPREFIX}mock>0:${PORTSDIR}/devel/py-mock
+
+OPTIONS_DEFINE= DOCS
+
+DOCS_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sphinx>=1.1.3:${PORTSDIR}/textproc/py-sphinx
+
+USES= python
+USE_GITHUB= yes
+USE_PYTHON= autoplist concurrent distutils
+
+GH_ACCOUNT= pypa
+
+.include <bsd.mport.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
+DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
+PORTDOCS= *
+PYDISTUTILS_BUILD_TARGET+= build_sphinx
+
+post-install:
+ @${MKDIR} ${DOCSDIR}
+ (cd ${WRKSRC}/build/sphinx/html && \
+ ${COPYTREE_SHARE} . ${DOCSDIR} "! -name .buildinfo -or -name objects.inv")
+.endif
+
+regression-test: build
+ @cd ${WRKSRC} && ${PYTHON_CMD} ${PYDISTUTILS_SETUP} test
+
+.include <bsd.port.mk>
Property changes on: trunk/devel/py-virtualenv/Makefile
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:keywords
## -0,0 +1 ##
+MidnightBSD=%H
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/py-virtualenv/distinfo
===================================================================
--- trunk/devel/py-virtualenv/distinfo (rev 0)
+++ trunk/devel/py-virtualenv/distinfo 2015-09-18 23:17:38 UTC (rev 20242)
@@ -0,0 +1,2 @@
+SHA256 (pypa-virtualenv-13.1.0_GH0.tar.gz) = 504e705d73251a7f248e0e88d9054a1b4baf5f276a237f8de0830fd0e1661d63
+SIZE (pypa-virtualenv-13.1.0_GH0.tar.gz) = 1705046
Property changes on: trunk/devel/py-virtualenv/distinfo
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/py-virtualenv/files/patch-setup.py
===================================================================
--- trunk/devel/py-virtualenv/files/patch-setup.py (rev 0)
+++ trunk/devel/py-virtualenv/files/patch-setup.py 2015-09-18 23:17:38 UTC (rev 20242)
@@ -0,0 +1,24 @@
+From 1f137150f8d4e01386c8c8ffacdcf5e556cea427 Mon Sep 17 00:00:00 2001
+Date: Sun, 21 Jun 2015 14:52:38 +1000
+Subject: [PATCH] Fix test command invocation causing ERROR
+https://patch-diff.githubusercontent.com/raw/pypa/virtualenv/pull/773.patch
+
+--- setup.py.orig 2015-06-02 01:37:48 UTC
++++ setup.py
+@@ -15,7 +15,7 @@ try:
+
+ def initialize_options(self):
+ TestCommand.initialize_options(self)
+- self.pytest_args = None
++ self.pytest_args = []
+
+ def finalize_options(self):
+ TestCommand.finalize_options(self)
+@@ -32,7 +32,6 @@ try:
+ 'entry_points': {
+ 'console_scripts': [
+ 'virtualenv=virtualenv:main',
+- 'virtualenv-%s.%s=virtualenv:main' % sys.version_info[:2]
+ ],
+ },
+ 'zip_safe': False,
Property changes on: trunk/devel/py-virtualenv/files/patch-setup.py
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
Added: trunk/devel/py-virtualenv/pkg-descr
===================================================================
--- trunk/devel/py-virtualenv/pkg-descr (rev 0)
+++ trunk/devel/py-virtualenv/pkg-descr 2015-09-18 23:17:38 UTC (rev 20242)
@@ -0,0 +1,9 @@
+``virtualenv`` is a tool to create isolated Python environments.
+
+It creates an environment that has its own installation directories,
+that doesn't share libraries with other virtualenv environments
+(and optionally doesn't use the globally installed libraries either).
+
+Usage: virtualenv YOUR_NEW_PYTHON_ENV
+
+WWW: http://www.virtualenv.org/
Property changes on: trunk/devel/py-virtualenv/pkg-descr
___________________________________________________________________
Added: svn:eol-style
## -0,0 +1 ##
+native
\ No newline at end of property
Added: svn:mime-type
## -0,0 +1 ##
+text/plain
\ No newline at end of property
More information about the Midnightbsd-cvs
mailing list