Caleb Maclennan pushed to branch main at Arch Linux / Packaging / Packages / python-cattrs
Commits: c1d350b0 by Caleb Maclennan at 2024-04-27T21:02:22+03:00 upgpkg: 23.2.3-3 - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,7 +1,7 @@ pkgbase = python-cattrs pkgdesc = Complex custom class converters for attrs pkgver = 23.2.3 - pkgrel = 2 + pkgrel = 3 url = https://catt.rs arch = any license = MIT @@ -11,7 +11,6 @@ pkgbase = python-cattrs makedepends = python-hatch-vcs makedepends = python-hatchling depends = python - depends = python-exceptiongroup depends = python-attrs source = https://files.pythonhosted.org/packages/source/c/cattrs/cattrs-23.2.3.tar.gz sha256sums = a934090d95abaa9e911dac357e3a8699e0b4b14f8529bcc7d2b1ad9d51672b9f ===================================== PKGBUILD ===================================== @@ -3,28 +3,28 @@ pkgname=python-cattrs _pipname=${pkgname#python-} pkgver=23.2.3 -pkgrel=2 +pkgrel=3 pkgdesc='Complex custom class converters for attrs' arch=(any) url='https://catt.rs' # url='https://github.com/python-attrs/cattrs' license=(MIT) depends=(python - python-exceptiongroup python-attrs) makedepends=(python-{build,installer,wheel} python-hatch-vcs python-hatchling) -# checkdepends=(python-pytest) +# checkdepends=(python-hypothesis +# python-pytest) _archive="$_pipname-$pkgver" source=("https://files.pythonhosted.org/packages/source/${_pipname::1}/$_pipname/$_archive.tar.gz") # source=("$url/archive/v$pkgver/$_archive.tar.gz") sha256sums=('a934090d95abaa9e911dac357e3a8699e0b4b14f8529bcc7d2b1ad9d51672b9f') prepare() { - cd "$_archive" - # Upstream test suite uses addopts to run benchmarks, drop them - sed -i -e '/^addopts/d' pyproject.toml + cd "$_archive" + # Upstream test suite uses addopts to run benchmarks, drop them + sed -i -e '/^addopts/d' pyproject.toml } build() { @@ -33,8 +33,9 @@ build() { } # check() { -# cd "$_archive" -# pytest +# cd "$_archive" +# export PYTHONPATH=src +# pytest # } package() { View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-cattrs/-/commit/c1d350b0ce373a9a8e9b02867add085c1c37ea35 -- This project does not include diff previews in email notifications. View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-cattrs/-/commit/c1d350b0ce373a9a8e9b02867add085c1c37ea35 You're receiving this email because of your account on gitlab.archlinux.org.