pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-backports.functools_lru_cache



Module Name:    pkgsrc
Committed By:   markd
Date:           Wed Nov 22 10:54:33 UTC 2017

Modified Files:
        pkgsrc/devel/py-backports.functools_lru_cache: Makefile PLIST

Log Message:
py-backports.functools_lru_cache: depend on py-backports


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 \
    pkgsrc/devel/py-backports.functools_lru_cache/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-backports.functools_lru_cache/PLIST

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/py-backports.functools_lru_cache/Makefile
diff -u pkgsrc/devel/py-backports.functools_lru_cache/Makefile:1.3 pkgsrc/devel/py-backports.functools_lru_cache/Makefile:1.4
--- pkgsrc/devel/py-backports.functools_lru_cache/Makefile:1.3  Wed Nov 15 14:18:46 2017
+++ pkgsrc/devel/py-backports.functools_lru_cache/Makefile      Wed Nov 22 10:54:33 2017
@@ -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 @@ COMMENT=    Backport of functools.lru_cache
 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"

Index: pkgsrc/devel/py-backports.functools_lru_cache/PLIST
diff -u pkgsrc/devel/py-backports.functools_lru_cache/PLIST:1.2 pkgsrc/devel/py-backports.functools_lru_cache/PLIST:1.3
--- pkgsrc/devel/py-backports.functools_lru_cache/PLIST:1.2     Sun Jul 16 20:10:37 2017
+++ pkgsrc/devel/py-backports.functools_lru_cache/PLIST Wed Nov 22 10:54:33 2017
@@ -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