mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-24 11:45:18 +03:00
For some reason this package never depended on Python 3, not sure how it ever built on other arches
30 lines
893 B
Text
30 lines
893 B
Text
# Contributor: Keith Maxwell <keith.maxwell@gmail.com>
|
|
# Maintainer: Keith Maxwell <keith.maxwell@gmail.com>
|
|
pkgname=py3-entrypoints
|
|
pkgver=0.3
|
|
pkgrel=5
|
|
pkgdesc="Discover and load entry points from installed packages."
|
|
url="https://github.com/takluyver/entrypoints"
|
|
arch="noarch"
|
|
license="MIT"
|
|
depends="python3"
|
|
checkdepends="py3-pytest"
|
|
source="https://files.pythonhosted.org/packages/source/e/entrypoints/entrypoints-$pkgver.tar.gz"
|
|
builddir="$srcdir/entrypoints-$pkgver"
|
|
|
|
replaces="py-entrypoints" # Backwards compatibility
|
|
provides="py-entrypoints=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
pytest
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="aa1274362d3a4b00266103319ca51aa266605b4999c89a9d0673eb61bfae9e646cb0ec6b86c95544493f6fe048385a2c7641d64adca8f45815546fb1e663c858 entrypoints-0.3.tar.gz"
|