blob: a7df9e5bf2d19372883c329d3491b44baff7de87 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
# Contributor: Keith Maxwell <keith.maxwell@gmail.com>
# Maintainer: Keith Maxwell <keith.maxwell@gmail.com>
pkgname=py3-entrypoints
_pyname=entrypoints
pkgver=0.3
pkgrel=3
pkgdesc="Discover and load entry points from installed packages."
url="https://github.com/takluyver/entrypoints"
arch="noarch"
license="MIT"
checkdepends="py3-pytest"
source="https://files.pythonhosted.org/packages/source/e/${_pyname}/${_pyname}-${pkgver}.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
replaces="py-entrypoints" # Backwards compatibility
provides="py-entrypoints=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
check() {
pytest-3
}
package() {
python3 setup.py install --prefix=/usr --root="$pkgdir"
}
sha512sums="aa1274362d3a4b00266103319ca51aa266605b4999c89a9d0673eb61bfae9e646cb0ec6b86c95544493f6fe048385a2c7641d64adca8f45815546fb1e663c858 entrypoints-0.3.tar.gz"
|