mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-25 12:15:32 +03:00
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
33 lines
1 KiB
Text
33 lines
1 KiB
Text
# Contributor: Alex McGrath <amk@amk.ie>
|
|
# Maintainer: Patrycja Rosa <alpine@ptrcnull.me>
|
|
pkgname=py3-typing_inspect
|
|
_pkgname=typing_inspect
|
|
pkgver=0.8.0
|
|
pkgrel=1
|
|
pkgdesc="Defines an API for runtime inspection of types defined in the Python standard typing module"
|
|
url="https://github.com/ilevkivskyi/typing_inspect"
|
|
arch="all"
|
|
license="MIT"
|
|
depends="python3 py3-mypy-extensions py3-typing-extensions"
|
|
makedepends="py3-setuptools"
|
|
checkdepends="py3-pytest"
|
|
source="typing_inspect-$pkgver.tar.gz::https://github.com/ilevkivskyi/typing_inspect/archive/$pkgver.tar.gz"
|
|
builddir="$srcdir/$_pkgname-$pkgver"
|
|
|
|
build() {
|
|
python3 setup.py build
|
|
}
|
|
|
|
check() {
|
|
python3 -m pytest \
|
|
--deselect test_typing_inspect.py::GetUtilityTestCase::test_typed_dict_typing_extension
|
|
# https://github.com/ilevkivskyi/typing_inspect/issues/84
|
|
}
|
|
|
|
package() {
|
|
python3 setup.py install --skip-build --root="$pkgdir"
|
|
}
|
|
|
|
sha512sums="
|
|
c053ae91d332d814c0cb7ca88f88dc2bda29b455b5571d4208943968f7d56a1872f29d002cb9ea9ca6a3b4560255ec14d9f6753e0b623a2f981ad5539d6d3a69 typing_inspect-0.8.0.tar.gz
|
|
"
|