forked from ports/contrib
python3-cachy: use pip to bootstrap, otherwise use python3-installer instead of setuptools
This commit is contained in:
parent
494235ce68
commit
c4e4de7403
@ -2,118 +2,64 @@ drwxr-xr-x root/root usr/
|
||||
drwxr-xr-x root/root usr/lib/
|
||||
drwxr-xr-x root/root usr/lib/python3.9/
|
||||
drwxr-xr-x root/root usr/lib/python3.9/site-packages/
|
||||
drwxr-xr-x root/root usr/lib/python3.9/site-packages/cachy-0.3.0.dist-info/
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy-0.3.0.dist-info/LICENSE
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy-0.3.0.dist-info/METADATA
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy-0.3.0.dist-info/RECORD
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy-0.3.0.dist-info/WHEEL
|
||||
drwxr-xr-x root/root usr/lib/python3.9/site-packages/cachy/
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy-0.3.0-py3.9.egg-info
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/__init__.py
|
||||
drwxr-xr-x root/root usr/lib/python3.9/site-packages/cachy/__pycache__/
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/__pycache__/__init__.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/__pycache__/cache_manager.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/__pycache__/helpers.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/__pycache__/redis_tagged_cache.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/__pycache__/repository.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/__pycache__/tag_set.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/__pycache__/tagged_cache.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/__pycache__/utils.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/cache_manager.py
|
||||
drwxr-xr-x root/root usr/lib/python3.9/site-packages/cachy/contracts/
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/contracts/factory.py
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/contracts/__init__.py
|
||||
drwxr-xr-x root/root usr/lib/python3.9/site-packages/cachy/contracts/__pycache__/
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/contracts/__pycache__/factory.cpython-39.opt-1.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/contracts/__pycache__/factory.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/contracts/__pycache__/__init__.cpython-39.opt-1.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/contracts/__pycache__/__init__.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/contracts/__pycache__/repository.cpython-39.opt-1.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/contracts/__pycache__/factory.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/contracts/__pycache__/repository.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/contracts/__pycache__/store.cpython-39.opt-1.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/contracts/__pycache__/store.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/contracts/__pycache__/taggable_store.cpython-39.opt-1.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/contracts/__pycache__/taggable_store.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/contracts/factory.py
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/contracts/repository.py
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/contracts/store.py
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/contracts/taggable_store.py
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/helpers.py
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/__init__.py
|
||||
drwxr-xr-x root/root usr/lib/python3.9/site-packages/cachy/__pycache__/
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/__pycache__/cache_manager.cpython-39.opt-1.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/__pycache__/cache_manager.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/__pycache__/helpers.cpython-39.opt-1.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/__pycache__/helpers.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/__pycache__/__init__.cpython-39.opt-1.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/__pycache__/__init__.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/__pycache__/redis_tagged_cache.cpython-39.opt-1.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/__pycache__/redis_tagged_cache.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/__pycache__/repository.cpython-39.opt-1.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/__pycache__/repository.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/__pycache__/tagged_cache.cpython-39.opt-1.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/__pycache__/tagged_cache.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/__pycache__/tag_set.cpython-39.opt-1.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/__pycache__/tag_set.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/__pycache__/utils.cpython-39.opt-1.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/__pycache__/utils.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/redis_tagged_cache.py
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/repository.py
|
||||
drwxr-xr-x root/root usr/lib/python3.9/site-packages/cachy/serializers/
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/serializers/__init__.py
|
||||
drwxr-xr-x root/root usr/lib/python3.9/site-packages/cachy/serializers/__pycache__/
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/serializers/__pycache__/__init__.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/serializers/__pycache__/json_serializer.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/serializers/__pycache__/msgpack_serializer.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/serializers/__pycache__/pickle_serializer.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/serializers/__pycache__/serializer.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/serializers/json_serializer.py
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/serializers/msgpack_serializer.py
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/serializers/pickle_serializer.py
|
||||
drwxr-xr-x root/root usr/lib/python3.9/site-packages/cachy/serializers/__pycache__/
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/serializers/__pycache__/__init__.cpython-39.opt-1.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/serializers/__pycache__/__init__.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/serializers/__pycache__/json_serializer.cpython-39.opt-1.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/serializers/__pycache__/json_serializer.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/serializers/__pycache__/msgpack_serializer.cpython-39.opt-1.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/serializers/__pycache__/msgpack_serializer.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/serializers/__pycache__/pickle_serializer.cpython-39.opt-1.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/serializers/__pycache__/pickle_serializer.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/serializers/__pycache__/serializer.cpython-39.opt-1.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/serializers/__pycache__/serializer.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/serializers/serializer.py
|
||||
drwxr-xr-x root/root usr/lib/python3.9/site-packages/cachy/stores/
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/stores/__init__.py
|
||||
drwxr-xr-x root/root usr/lib/python3.9/site-packages/cachy/stores/__pycache__/
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/stores/__pycache__/__init__.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/stores/__pycache__/dict_store.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/stores/__pycache__/file_store.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/stores/__pycache__/memcached_store.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/stores/__pycache__/null_store.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/stores/__pycache__/redis_store.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/stores/dict_store.py
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/stores/file_store.py
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/stores/__init__.py
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/stores/memcached_store.py
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/stores/null_store.py
|
||||
drwxr-xr-x root/root usr/lib/python3.9/site-packages/cachy/stores/__pycache__/
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/stores/__pycache__/dict_store.cpython-39.opt-1.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/stores/__pycache__/dict_store.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/stores/__pycache__/file_store.cpython-39.opt-1.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/stores/__pycache__/file_store.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/stores/__pycache__/__init__.cpython-39.opt-1.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/stores/__pycache__/__init__.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/stores/__pycache__/memcached_store.cpython-39.opt-1.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/stores/__pycache__/memcached_store.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/stores/__pycache__/null_store.cpython-39.opt-1.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/stores/__pycache__/null_store.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/stores/__pycache__/redis_store.cpython-39.opt-1.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/stores/__pycache__/redis_store.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/stores/redis_store.py
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/tagged_cache.py
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/tag_set.py
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/tagged_cache.py
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/cachy/utils.py
|
||||
drwxr-xr-x root/root usr/lib/python3.9/site-packages/tests/
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/tests/__init__.py
|
||||
drwxr-xr-x root/root usr/lib/python3.9/site-packages/tests/__pycache__/
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/tests/__pycache__/__init__.cpython-39.opt-1.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/tests/__pycache__/__init__.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/tests/__pycache__/test_cache_manager.cpython-39.opt-1.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/tests/__pycache__/test_cache_manager.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/tests/__pycache__/test_repository.cpython-39.opt-1.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/tests/__pycache__/test_repository.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/tests/__pycache__/test_tagged_cache.cpython-39.opt-1.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/tests/__pycache__/test_tagged_cache.cpython-39.pyc
|
||||
drwxr-xr-x root/root usr/lib/python3.9/site-packages/tests/stores/
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/tests/stores/__init__.py
|
||||
drwxr-xr-x root/root usr/lib/python3.9/site-packages/tests/stores/__pycache__/
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/tests/stores/__pycache__/__init__.cpython-39.opt-1.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/tests/stores/__pycache__/__init__.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/tests/stores/__pycache__/test_dict_store.cpython-39.opt-1.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/tests/stores/__pycache__/test_dict_store.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/tests/stores/__pycache__/test_file_store.cpython-39.opt-1.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/tests/stores/__pycache__/test_file_store.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/tests/stores/__pycache__/test_memcached_store.cpython-39.opt-1.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/tests/stores/__pycache__/test_memcached_store.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/tests/stores/__pycache__/test_null_store.cpython-39.opt-1.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/tests/stores/__pycache__/test_null_store.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/tests/stores/__pycache__/test_redis_store.cpython-39.opt-1.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/tests/stores/__pycache__/test_redis_store.cpython-39.pyc
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/tests/stores/test_dict_store.py
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/tests/stores/test_file_store.py
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/tests/stores/test_memcached_store.py
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/tests/stores/test_null_store.py
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/tests/stores/test_redis_store.py
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/tests/test_cache_manager.py
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/tests/test_repository.py
|
||||
-rw-r--r-- root/root usr/lib/python3.9/site-packages/tests/test_tagged_cache.py
|
||||
|
@ -1,5 +1,5 @@
|
||||
untrusted comment: verify with /etc/ports/contrib.pub
|
||||
RWSagIOpLGJF39TBb5/4aUPAXxuw3CJg8RmyJGFY7fq0aajvK+OOEKyC0GLMkHf91rOxyl0+QTtNinvrOZWtguzAcwO46QMvkwg=
|
||||
SHA256 (Pkgfile) = cb44eb13bef77b2d156bceb99da860405b03d043cb779539464e01be9a40f618
|
||||
SHA256 (.footprint) = ac9dc48c60d198a31661ce1ee23514304fa1b574365a500566d61ebf85e4e73a
|
||||
RWSagIOpLGJF3xkslpfzMowWib24wgmmd/J0lx0HYUpSCHih6Nw4b+nId3iGJiq4Pk8vtrEPCorleTd+zitkKZUUUqqkAGOdBgE=
|
||||
SHA256 (Pkgfile) = b5192acf2ca1b9b6dafd32f0a1a901789451287e5b92866d33e33572068acdbf
|
||||
SHA256 (.footprint) = d0844663f05d1b61d507b8ea4d5c1758329725d7992c541d5eeaea3fa4625cb2
|
||||
SHA256 (cachy-0.3.0.tar.gz) = 186581f4ceb42a0bbe040c407da73c14092379b1e4c0e327fdb72ae4a9b269b1
|
||||
|
@ -1,7 +1,8 @@
|
||||
# Description: Cachy provides a simple yet effective caching library
|
||||
# URL: https://github.com/sdispater/cachy
|
||||
# Maintainer: Tim Biermann, tbier at posteo dot de
|
||||
# Depends on: python3-setuptools
|
||||
# Depends on: python3-pip
|
||||
# Optional: python3-poetry
|
||||
|
||||
name=python3-cachy
|
||||
version=0.3.0
|
||||
@ -10,9 +11,15 @@ source=(https://files.pythonhosted.org/packages/source/c/cachy/cachy-$version.ta
|
||||
|
||||
build() {
|
||||
cd cachy-$version
|
||||
/usr/bin/python3 setup.py build
|
||||
/usr/bin/python3 setup.py install --prefix=/usr \
|
||||
--root=$PKG \
|
||||
--skip-build \
|
||||
-O1
|
||||
|
||||
_pyver=$(/usr/bin/python3 -c 'import sys; print("%s.%s" % sys.version_info[:2])')
|
||||
|
||||
if prt-get isinst python3-poetry; then
|
||||
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
||||
/usr/bin/python3 -m installer --compile-bytecode 0 --destdir=$PKG dist/*.whl
|
||||
else
|
||||
/usr/bin/pip3 install --isolate --root=$PKG --ignore-installed --no-deps cachy
|
||||
fi
|
||||
|
||||
rm -rf $PKG/usr/lib/python$_pyver/site-packages/cachy-$version.dist-info/{INSTALLER,REQUESTED}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user