python3-entrypoints: initial commit, version 0.3

This commit is contained in:
Tim Biermann 2021-06-14 19:51:49 +00:00
parent 33c59ec2d6
commit a49bd27cab
Signed by: tb
GPG Key ID: 42F8B4E30B673606
3 changed files with 39 additions and 0 deletions

View File

@ -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

View File

@ -0,0 +1,4 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF3+31exzTkXUdzNh/AETE4yxKRKzyIQuUXg/F25Fpg03oBlglzzveWzPPv1Lpmu5rZGgoe8sB04Xj/cz+okErygE=
SHA256 (Pkgfile) = ce6911593daff726db2b75a1f54e8301d327312dce41410b98cf1de47e834f9b
SHA256 (.footprint) = cf8f9ec0e517f297ea8057a8b2498105673b952e32fa335a636ec7a72b5e57b9

View File

@ -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
}