2021-06-14 19:51:49 +00:00
|
|
|
# Description: Discover and load entry points from installed packages
|
|
|
|
# URL: https://github.com/takluyver/entrypoints
|
|
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
2023-04-02 19:26:36 +02:00
|
|
|
# Depends on: python3-build python3-flit-core python3-installer
|
2021-06-14 19:51:49 +00:00
|
|
|
|
|
|
|
name=python3-entrypoints
|
2022-02-12 16:19:11 +01:00
|
|
|
version=0.4
|
2021-06-14 19:51:49 +00:00
|
|
|
release=1
|
2023-04-02 19:26:36 +02:00
|
|
|
source=(https://pypi.io/packages/source/e/entrypoints/entrypoints-$version.tar.gz)
|
2021-06-14 19:51:49 +00:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd entrypoints-$version
|
2023-04-02 17:10:51 +02:00
|
|
|
|
2023-04-02 19:26:36 +02:00
|
|
|
/usr/bin/python3 -m build --wheel --skip-dependency-check --no-isolation
|
|
|
|
/usr/bin/python3 -m installer --compile-bytecode 0 --destdir=$PKG dist/*.whl
|
2021-06-14 19:51:49 +00:00
|
|
|
}
|