diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 19 |
1 files changed, 13 insertions, 6 deletions
@@ -3,7 +3,7 @@ _pipname=cattrs pkgname=python-${_pipname,,} pkgver=1.10.0 -pkgrel=1 +pkgrel=2 pkgdesc='Complex custom class converters for attrs' arch=(any) url="https://github.com/Tinche/$_pipname" @@ -11,20 +11,27 @@ license=(MIT) depends=(python python-attrs) makedepends=(python-setuptools) -checkdepends=(python-pytest) +# PyPi source release currently missing tests +# checkdepends=(python-pytest) _archive="$_pipname-$pkgver" source=("https://files.pythonhosted.org/packages/source/${_pipname::1}/$_pipname/$_archive.tar.gz") sha256sums=('211800f725cdecedcbcf4c753bbd22d248312b37d130f06045434acb7d9b34e1') +# prepare() { +# cd "$_archive" +# # Upstream test suite uses addopts to run benchmarks, drop them +# sed -i -e '/^addopts/d' pyproject.toml +# } + build() { cd "$_archive" python setup.py build } -build() { - cd "$_archive" - python setup.py test -} +# check() { +# cd "$_archive" +# pytest +# } package() { cd "$_archive" |