pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/py-backports.functools_lru_cache py-backports.fu...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b305a109c987
branches:  trunk
changeset: 371774:b305a109c987
user:      markd <markd%pkgsrc.org@localhost>
date:      Wed Nov 22 10:54:33 2017 +0000

description:
py-backports.functools_lru_cache: depend on py-backports

diffstat:

 devel/py-backports.functools_lru_cache/Makefile |  7 ++++++-
 devel/py-backports.functools_lru_cache/PLIST    |  5 +----
 2 files changed, 7 insertions(+), 5 deletions(-)

diffs (46 lines):

diff -r e637d2a618ff -r b305a109c987 devel/py-backports.functools_lru_cache/Makefile
--- a/devel/py-backports.functools_lru_cache/Makefile   Wed Nov 22 10:48:49 2017 +0000
+++ b/devel/py-backports.functools_lru_cache/Makefile   Wed Nov 22 10:54:33 2017 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2017/11/15 14:18:46 adam Exp $
+# $NetBSD: Makefile,v 1.4 2017/11/22 10:54:33 markd Exp $
 
 DISTNAME=      backports.functools_lru_cache-1.4
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=b/backports.functools_lru_cache/}
 
@@ -11,11 +12,15 @@
 LICENSE=       mit
 
 BUILD_DEPENDS+=        ${PYPKGPREFIX}-test>=2.8:../../devel/py-test
+DEPENDS+=      ${PYPKGPREFIX}-backports-[0-9]*:../../devel/py-backports
 
 PYTHON_VERSIONS_ACCEPTED=      27
 
 do-test:
        cd ${WRKSRC}/tests && ${SETENV} ${TEST_ENV} py.test-${PYVERSSUFFIX}
 
+post-install:
+       rm ${DESTDIR}${PREFIX}/${PYSITELIB}/backports/__init__.*
+
 .include "../../lang/python/egg.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r e637d2a618ff -r b305a109c987 devel/py-backports.functools_lru_cache/PLIST
--- a/devel/py-backports.functools_lru_cache/PLIST      Wed Nov 22 10:48:49 2017 +0000
+++ b/devel/py-backports.functools_lru_cache/PLIST      Wed Nov 22 10:54:33 2017 +0000
@@ -1,12 +1,9 @@
-@comment $NetBSD: PLIST,v 1.2 2017/07/16 20:10:37 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2017/11/22 10:54:33 markd Exp $
 ${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
 ${PYSITELIB}/${EGG_INFODIR}/dependency_links.txt
 ${PYSITELIB}/${EGG_INFODIR}/requires.txt
 ${PYSITELIB}/${EGG_INFODIR}/top_level.txt
-${PYSITELIB}/backports/__init__.py
-${PYSITELIB}/backports/__init__.pyc
-${PYSITELIB}/backports/__init__.pyo
 ${PYSITELIB}/backports/functools_lru_cache.py
 ${PYSITELIB}/backports/functools_lru_cache.pyc
 ${PYSITELIB}/backports/functools_lru_cache.pyo



Home | Main Index | Thread Index | Old Index