1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 03:05:48 +03:00
aports/community/py3-doctest-ignore-unicode/APKBUILD
psykose deb62258ec */*: set --skip-build for python installs
this marginally increases install speed by not checking if it needs a rebuild.
also remove --prefix=/usr as it defaults to /usr already.

might break a build or two, will fix later
2023-01-10 04:19:31 +01:00

25 lines
831 B
Text

# Maintainer: Luca Weiss <luca@z3ntu.xyz>
pkgname=py3-doctest-ignore-unicode
_pyname=doctest-ignore-unicode
pkgver=0.1.2
pkgrel=3
pkgdesc="Nose plugin to ignore unicode literal prefixes in doctests"
url="https://github.com/gnublade/doctest-ignore-unicode"
arch="noarch"
license="Apache-2.0"
depends="py3-nose"
makedepends="py3-setuptools"
_pypiprefix="${_pyname%${_pyname#?}}"
source="https://files.pythonhosted.org/packages/source/$_pypiprefix/$_pyname/$_pyname-$pkgver.tar.gz"
builddir="$srcdir/$_pyname-$pkgver"
options="!check" # No tests
build() {
python3 setup.py build
}
package() {
python3 setup.py install --skip-build --root="$pkgdir"
}
sha512sums="ac88d1cc90b1db21b21b121cddde246314d8a3e399ea0e96f1cd4f7812949cebdd0850566a90d47da01ea159bb8d69c8a73ee05c62cc40d0839d4701f2f330d3 doctest-ignore-unicode-0.1.2.tar.gz"