mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-02-03 15:01:44 +01:00
34 lines
1.1 KiB
Plaintext
34 lines
1.1 KiB
Plaintext
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py3-us
|
|
_pkgname=us
|
|
pkgver=2.0.2
|
|
pkgrel=2
|
|
pkgdesc="US state meta information and other fun stuff"
|
|
url="https://github.com/unitedstates/python-us"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
replaces="py-us" # for backwards compatibility
|
|
provides="py-us=$pkgver-r$pkgrel" # for backwards compatibility
|
|
depends="py3-jellyfish python3"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest py3-tz"
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz
|
|
fix-requires.patch"
|
|
builddir="$srcdir"/$_pkgname-$pkgver
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
pytest-3
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="0e6d814c248dbebbeb3f452989357150fedd1a5fe5a03e710ea742fb1001411b093d7494d4f4312cb3ff11d772de9419b6f7ce5779bfc96b5c762d75a96bd31d us-2.0.2.tar.gz
|
|
dd6598d28ed9e9e3457b74d4f8cbff91e8993aff43a4634e6277223e5245fc0ea2e66f39fa1227ffb96447fbdccd23c28c8fa6f153f1616e39e0fc69b25f5cf4 fix-requires.patch"
|