pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/py-cachy



Module Name:    pkgsrc
Committed By:   gdt
Date:           Sat Feb 25 14:01:42 UTC 2023

Modified Files:
        pkgsrc/devel/py-cachy: Makefile PLIST distinfo
Added Files:
        pkgsrc/devel/py-cachy/patches: patch-setup.py

Log Message:
devel/py-cachy: Don't install site-packages/tests

because it collides with other packages that also should not install
to that name.


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/devel/py-cachy/Makefile \
    pkgsrc/devel/py-cachy/distinfo
cvs rdiff -u -r1.2 -r1.3 pkgsrc/devel/py-cachy/PLIST
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/py-cachy/patches/patch-setup.py

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-cachy/Makefile
diff -u pkgsrc/devel/py-cachy/Makefile:1.1 pkgsrc/devel/py-cachy/Makefile:1.2
--- pkgsrc/devel/py-cachy/Makefile:1.1  Tue Jan 11 19:03:59 2022
+++ pkgsrc/devel/py-cachy/Makefile      Sat Feb 25 14:01:42 2023
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.1 2022/01/11 19:03:59 adam Exp $
+# $NetBSD: Makefile,v 1.2 2023/02/25 14:01:42 gdt Exp $
 
 DISTNAME=      cachy-0.3.0
 PKGNAME=       ${PYPKGPREFIX}-${DISTNAME}
+PKGREVISION=   1
 CATEGORIES=    devel python
 MASTER_SITES=  ${MASTER_SITE_PYPI:=c/cachy/}
 
Index: pkgsrc/devel/py-cachy/distinfo
diff -u pkgsrc/devel/py-cachy/distinfo:1.1 pkgsrc/devel/py-cachy/distinfo:1.2
--- pkgsrc/devel/py-cachy/distinfo:1.1  Tue Jan 11 19:03:59 2022
+++ pkgsrc/devel/py-cachy/distinfo      Sat Feb 25 14:01:42 2023
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1 2022/01/11 19:03:59 adam Exp $
+$NetBSD: distinfo,v 1.2 2023/02/25 14:01:42 gdt Exp $
 
 BLAKE2s (cachy-0.3.0.tar.gz) = 23806dc3487fe7e802995604c93d193e49fd55d546ab75e6a91472e8290df418
 SHA512 (cachy-0.3.0.tar.gz) = 0b69bd45ce81fc57710b44011965b8c4a313808f7c464a409b839d9206158f91b1e39a760d08d62bb5eb15e455ba9b89683f0eb42d2bfcc2e99b0b8f267e3ead
 Size (cachy-0.3.0.tar.gz) = 15654 bytes
+SHA1 (patch-setup.py) = 3544bdd4f12f64400683ce2adedbc3c60c338143

Index: pkgsrc/devel/py-cachy/PLIST
diff -u pkgsrc/devel/py-cachy/PLIST:1.2 pkgsrc/devel/py-cachy/PLIST:1.3
--- pkgsrc/devel/py-cachy/PLIST:1.2     Sat Jan 22 15:33:08 2022
+++ pkgsrc/devel/py-cachy/PLIST Sat Feb 25 14:01:42 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2022/01/22 15:33:08 wiz Exp $
+@comment $NetBSD: PLIST,v 1.3 2023/02/25 14:01:42 gdt Exp $
 ${PLIST.py2x}${PYSITELIB}/${EGG_INFODIR}
 ${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/PKG-INFO
 ${PLIST.py3x}${PYSITELIB}/${EGG_INFODIR}/SOURCES.txt
@@ -77,33 +77,3 @@ ${PYSITELIB}/cachy/tagged_cache.pyo
 ${PYSITELIB}/cachy/utils.py
 ${PYSITELIB}/cachy/utils.pyc
 ${PYSITELIB}/cachy/utils.pyo
-${PYSITELIB}/tests/__init__.py
-${PYSITELIB}/tests/__init__.pyc
-${PYSITELIB}/tests/__init__.pyo
-${PYSITELIB}/tests/stores/__init__.py
-${PYSITELIB}/tests/stores/__init__.pyc
-${PYSITELIB}/tests/stores/__init__.pyo
-${PYSITELIB}/tests/stores/test_dict_store.py
-${PYSITELIB}/tests/stores/test_dict_store.pyc
-${PYSITELIB}/tests/stores/test_dict_store.pyo
-${PYSITELIB}/tests/stores/test_file_store.py
-${PYSITELIB}/tests/stores/test_file_store.pyc
-${PYSITELIB}/tests/stores/test_file_store.pyo
-${PYSITELIB}/tests/stores/test_memcached_store.py
-${PYSITELIB}/tests/stores/test_memcached_store.pyc
-${PYSITELIB}/tests/stores/test_memcached_store.pyo
-${PYSITELIB}/tests/stores/test_null_store.py
-${PYSITELIB}/tests/stores/test_null_store.pyc
-${PYSITELIB}/tests/stores/test_null_store.pyo
-${PYSITELIB}/tests/stores/test_redis_store.py
-${PYSITELIB}/tests/stores/test_redis_store.pyc
-${PYSITELIB}/tests/stores/test_redis_store.pyo
-${PYSITELIB}/tests/test_cache_manager.py
-${PYSITELIB}/tests/test_cache_manager.pyc
-${PYSITELIB}/tests/test_cache_manager.pyo
-${PYSITELIB}/tests/test_repository.py
-${PYSITELIB}/tests/test_repository.pyc
-${PYSITELIB}/tests/test_repository.pyo
-${PYSITELIB}/tests/test_tagged_cache.py
-${PYSITELIB}/tests/test_tagged_cache.pyc
-${PYSITELIB}/tests/test_tagged_cache.pyo

Added files:

Index: pkgsrc/devel/py-cachy/patches/patch-setup.py
diff -u /dev/null pkgsrc/devel/py-cachy/patches/patch-setup.py:1.1
--- /dev/null   Sat Feb 25 14:01:42 2023
+++ pkgsrc/devel/py-cachy/patches/patch-setup.py        Sat Feb 25 14:01:42 2023
@@ -0,0 +1,19 @@
+$NetBSD: patch-setup.py,v 1.1 2023/02/25 14:01:42 gdt Exp $
+
+Patch out installing site-packages/tests because it collides with other
+packages that also should not install to that name.
+
+https://github.com/sdispater/cachy/issues/30
+
+--- setup.py.orig      1970-01-01 00:00:00.000000000 +0000
++++ setup.py
+@@ -6,8 +6,7 @@ packages = \
+  'cachy.contracts',
+  'cachy.serializers',
+  'cachy.stores',
+- 'tests',
+- 'tests.stores']
++]
+ 
+ package_data = \
+ {'': ['*']}



Home | Main Index | Thread Index | Old Index