aports/testing/py3-doit/APKBUILD
ptrcnull d6e150e932
testing/*: rebuild against python 3.12
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
2024-04-15 17:00:47 +02:00

35 lines
969 B
Plaintext

# Contributor: Fabian Affolter <fabian@affolter-engineering.ch>
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py3-doit
_pkgname=doit
pkgver=0.36.0
pkgrel=4
pkgdesc="A Python Automation Tool"
url="https://pydoit.org/"
arch="noarch"
license="MIT"
depends="py3-importlib-metadata py3-cloudpickle python3"
makedepends="py3-setuptools"
subpackages="$pkgname-pyc"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
builddir="$srcdir"/$_pkgname-$pkgver
replaces="py-doit" # Backwards compatibility
provides="py-doit=$pkgver-r$pkgrel" # Backwards compatibility
build() {
python3 setup.py build
}
check() {
PYTHONPATH=build/lib python3 -m doit --version
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="
d4caa31701755c7f59213dde0f89fd3616c0c01b7f06245cbfd9f1a315d503e62f3556c3b86685cd0ebfcffcc9cae0987ca150f037aa7b3cd960439a1191be42 doit-0.36.0.tar.gz
"