diff options
author | Tim Biermann <tbier@posteo.de> | 2021-06-14 19:51:49 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2021-06-14 19:51:49 +0000 |
commit | a49bd27cabf70737872002acb1b3b95c702a16fd (patch) | |
tree | 6b29ed1cbe325bf2d57e7ed6cfdf02114d92f455 /python3-entrypoints | |
parent | 33c59ec2d69a3d5c41ff48d5360edce19c0fb837 (diff) | |
download | contrib-a49bd27cabf70737872002acb1b3b95c702a16fd.tar.gz contrib-a49bd27cabf70737872002acb1b3b95c702a16fd.tar.xz |
python3-entrypoints: initial commit, version 0.3
Diffstat (limited to 'python3-entrypoints')
-rw-r--r-- | python3-entrypoints/.footprint | 9 | ||||
-rw-r--r-- | python3-entrypoints/.signature | 4 | ||||
-rw-r--r-- | python3-entrypoints/Pkgfile | 26 |
3 files changed, 39 insertions, 0 deletions
diff --git a/python3-entrypoints/.footprint b/python3-entrypoints/.footprint new file mode 100644 index 000000000..0363d13a2 --- /dev/null +++ b/python3-entrypoints/.footprint @@ -0,0 +1,9 @@ +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/__pycache__/ +-rw-r--r-- root/root usr/lib/python3.9/site-packages/__pycache__/entrypoints.cpython-39.opt-1.pyc +-rw-r--r-- root/root usr/lib/python3.9/site-packages/__pycache__/entrypoints.cpython-39.pyc +-rw-r--r-- root/root usr/lib/python3.9/site-packages/entrypoints-0.3-py3.9.egg-info +-rw-r--r-- root/root usr/lib/python3.9/site-packages/entrypoints.py diff --git a/python3-entrypoints/.signature b/python3-entrypoints/.signature new file mode 100644 index 000000000..c38ed2225 --- /dev/null +++ b/python3-entrypoints/.signature @@ -0,0 +1,4 @@ +untrusted comment: verify with /etc/ports/contrib.pub +RWSagIOpLGJF3+31exzTkXUdzNh/AETE4yxKRKzyIQuUXg/F25Fpg03oBlglzzveWzPPv1Lpmu5rZGgoe8sB04Xj/cz+okErygE= +SHA256 (Pkgfile) = ce6911593daff726db2b75a1f54e8301d327312dce41410b98cf1de47e834f9b +SHA256 (.footprint) = cf8f9ec0e517f297ea8057a8b2498105673b952e32fa335a636ec7a72b5e57b9 diff --git a/python3-entrypoints/Pkgfile b/python3-entrypoints/Pkgfile new file mode 100644 index 000000000..1f64186ff --- /dev/null +++ b/python3-entrypoints/Pkgfile @@ -0,0 +1,26 @@ +# Description: Discover and load entry points from installed packages +# URL: https://github.com/takluyver/entrypoints +# Maintainer: Tim Biermann, tbier at posteo dot de +# Depends on: python3-setuptools + +name=python3-entrypoints +version=0.3 +release=1 +source=(https://github.com/takluyver/entrypoints/archive/$version/$name-$version-github.tar.gz + https://files.pythonhosted.org/packages/py2.py3/e/entrypoints/entrypoints-$version-py2.py3-none-any.whl + https://pypi.io/packages/source/e/entrypoints/entrypoints-$version.tar.gz) + +build() { + cd entrypoints-$version + # install -Dm644 entrypoints.py $PKG/usr/lib/python3.9/site-packages/entrypoints.py + # _dist="entrypoints-$version.dist-info" + # cd $SRC/$_dist + # for _i in ./*; do + # install -Dm644 $_i "$PKG/usr/lib/python3.9/site-packages/$_dist/$_i" + # done + /usr/bin/python3 setup.py build + /usr/bin/python3 setup.py install --prefix=/usr \ + --root=$PKG \ + --skip-build \ + -O1 +} |