pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/py-setuptools_trial py-setuptools_trial: avoid c...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/13f649ed6796
branches:  trunk
changeset: 378221:13f649ed6796
user:      adam <adam%pkgsrc.org@localhost>
date:      Tue Apr 03 20:19:47 2018 +0000

description:
py-setuptools_trial: avoid conflict between Python versions; fix DEPENDS; bump revision

diffstat:

 devel/py-setuptools_trial/Makefile               |  18 ++++++++++++++----
 devel/py-setuptools_trial/PLIST                  |   4 +---
 devel/py-setuptools_trial/distinfo               |   3 ++-
 devel/py-setuptools_trial/patches/patch-setup.py |  14 ++++++++++++++
 4 files changed, 31 insertions(+), 8 deletions(-)

diffs (81 lines):

diff -r f3796b7f2c27 -r 13f649ed6796 devel/py-setuptools_trial/Makefile
--- a/devel/py-setuptools_trial/Makefile        Tue Apr 03 19:58:54 2018 +0000
+++ b/devel/py-setuptools_trial/Makefile        Tue Apr 03 20:19:47 2018 +0000
@@ -1,18 +1,28 @@
-# $NetBSD: Makefile,v 1.14 2017/09/04 18:08:21 wiz Exp $
+# $NetBSD: Makefile,v 1.15 2018/04/03 20:19:47 adam Exp $
 
 DISTNAME=      setuptools_trial-0.6.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
-CATEGORIES=    devel
+PKGREVISION=   1
+CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=s/setuptools_trial/}
 
 MAINTAINER=    gdt%ir.bbn.com@localhost
-HOMEPAGE=      https://pypi.python.org/pypi/setuptools_trial/
+HOMEPAGE=      https://github.com/rutsky/setuptools-trial
 COMMENT=       Setuptools plugin for Twisted-based unit tests
 LICENSE=       modified-bsd
 
+DEPENDS+=      ${PYPKGPREFIX}-twisted>=2.4.0:../../net/py-twisted
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-[0-9]*:../../devel/py-test
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-runner-[0-9]*:../../devel/py-test-runner
+TEST_DEPENDS+= ${PYPKGPREFIX}-test-virtualenv-[0-9]*:../../devel/py-test-virtualenv
+TEST_DEPENDS+= ${PYPKGPREFIX}-virtualenv-[0-9]*:../../devel/py-virtualenv
+
 USE_LANGUAGES= # none
 
-DEPENDS+=       ${PYPKGPREFIX}-twisted-[0-9]*:../../net/py-twisted
+.include "../../lang/python/pyversion.mk"
+.if "${PYPKGPREFIX}" == "py27"
+DEPENDS+=      ${PYPKGPREFIX}-pathlib2-[0-9]*:../../devel/py-pathlib2
+.endif
 
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r f3796b7f2c27 -r 13f649ed6796 devel/py-setuptools_trial/PLIST
--- a/devel/py-setuptools_trial/PLIST   Tue Apr 03 19:58:54 2018 +0000
+++ b/devel/py-setuptools_trial/PLIST   Tue Apr 03 20:19:47 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.3 2016/04/13 18:25:05 wiz Exp $
+@comment $NetBSD: PLIST,v 1.4 2018/04/03 20:19:47 adam Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
@@ -14,5 +14,3 @@
 ${PYSITELIB}/setuptools_trial/setuptools_trial.py
 ${PYSITELIB}/setuptools_trial/setuptools_trial.pyc
 ${PYSITELIB}/setuptools_trial/setuptools_trial.pyo
-share/doc/python-setuptools_trial/COPYING.SPL.txt
-share/doc/python-setuptools_trial/README.rst
diff -r f3796b7f2c27 -r 13f649ed6796 devel/py-setuptools_trial/distinfo
--- a/devel/py-setuptools_trial/distinfo        Tue Apr 03 19:58:54 2018 +0000
+++ b/devel/py-setuptools_trial/distinfo        Tue Apr 03 20:19:47 2018 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.5 2016/04/13 18:25:05 wiz Exp $
+$NetBSD: distinfo,v 1.6 2018/04/03 20:19:47 adam Exp $
 
 SHA1 (setuptools_trial-0.6.0.tar.gz) = 5ea83c7b55a07c3ab9c7e48779b10b603668c007
 RMD160 (setuptools_trial-0.6.0.tar.gz) = 6653a4f01be35d7739ee49007afb76e7dbd891c6
 SHA512 (setuptools_trial-0.6.0.tar.gz) = 9104b98627f57ed53c90d22042346875c5324d7b30e1ec9ba1718b5c59a786915a8fe0a53789a5dbd9318a12b27122661234f5be403365261db6a8728ce39827
 Size (setuptools_trial-0.6.0.tar.gz) = 6227 bytes
+SHA1 (patch-setup.py) = 5bb008afe4aad6949799ca9d79da775ef47cdd5d
diff -r f3796b7f2c27 -r 13f649ed6796 devel/py-setuptools_trial/patches/patch-setup.py
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/py-setuptools_trial/patches/patch-setup.py  Tue Apr 03 20:19:47 2018 +0000
@@ -0,0 +1,14 @@
+$NetBSD: patch-setup.py,v 1.1 2018/04/03 20:19:47 adam Exp $
+
+Do not install docs and avoid conflict between Python versions.
+
+--- setup.py.orig      2018-04-03 20:08:51.000000000 +0000
++++ setup.py
+@@ -86,7 +86,6 @@ setup(
+     license="BSD",
+     packages=find_packages(exclude=("tests",)),
+     include_package_data=True,
+-    data_files=data_files,
+     classifiers=trove_classifiers,
+     extras_require={
+         ":python_version == '2.7'": ["pathlib2"],



Home | Main Index | Thread Index | Old Index