1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 12:15:32 +03:00
aports/community/py3-dirty-equals/APKBUILD
psykose aa528d2a76 */*: unify gpep517 use to output to fd 3
outputting to 3 then redirecting all to stderr prevents clobbering of
wrapped build fds
2023-01-18 12:58:53 +01:00

30 lines
858 B
Text

# Contributor: Jacek Pruciak <alpine@juniorjpdj.pl>
# Maintainer: Jacek Pruciak <alpine@juniorjpdj.pl>
pkgname=py3-dirty-equals
pkgver=0.5.0
pkgrel=1
pkgdesc="Doing dirty (but extremely useful) things with equals."
url="https://github.com/samuelcolvin/dirty-equals"
license="MIT"
arch="noarch"
depends="python3 py3-tz py3-typing-extensions"
makedepends="py3-gpep517 py3-installer py3-wheel py3-hatchling"
checkdepends="py3-pytest"
source="$url/archive/v$pkgver/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/dirty-equals-$pkgver"
build() {
gpep517 build-wheel --wheel-dir dist --output-fd 3 3>&1 >&2
}
check() {
pytest
}
package() {
python3 -m installer -d "$pkgdir" dist/*.whl
}
sha512sums="
5d89105e3eb4e3dd52423aafed6c3ddf50890cfb3c03623723d0ab79f9814e892ba91cf789fa495ecc663b03c49516687fc2c1bc548816d60ade4f64df561ab9 py3-dirty-equals-0.5.0.tar.gz
"