mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-04-10 08:12:35 +02:00
this is only a partial rebuild, including stuff that i built on my personal machine with python 3.12.2; might fail with 3.12.3
36 lines
979 B
Plaintext
36 lines
979 B
Plaintext
# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
|
|
pkgname=py3-infinity
|
|
_pkgname=infinity
|
|
pkgver=1.5
|
|
pkgrel=5
|
|
pkgdesc="All-in-one infinity value for Python"
|
|
url="https://github.com/kvesteri/infinity"
|
|
arch="noarch"
|
|
license="BSD-3-Clause"
|
|
depends="python3"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest py3-six"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
|
|
builddir="$srcdir"/$_pkgname-$pkgver
|
|
|
|
replaces="py-infinity" # Backwards compatibility
|
|
provides="py-infinity=$pkgver-r$pkgrel" # Backwards compatibility
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
py.test-3
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
d61c16fe08749dab050ffb17f8cb392b22ef0c409d736625820419859a0533e067d04a3244e937cf968b40eb02d6bcecb0f80525797dc372eba7205836bad9cb infinity-1.5.tar.gz
|
|
"
|