Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages / python-rtree
Commits: 998fa7be by Carl Smedstad at 2024-10-06T16:22:26+02:00 Update maintainer comments - - - - - 825cc93a by Carl Smedstad at 2024-10-06T16:23:04+02:00 Format deps, one per line, sorted alphabetically - - - - - aef88921 by Carl Smedstad at 2024-10-06T16:24:59+02:00 Correct order of definitions - - - - - c86aa115 by Carl Smedstad at 2024-10-06T16:25:35+02:00 Remove redundant quotes - - - - - 26256927 by Carl Smedstad at 2024-10-06T16:26:19+02:00 Introduce _pkgname var to avoid hard-coded references - - - - - f4c58020 by Carl Smedstad at 2024-10-06T16:29:10+02:00 Migrate to standards based packaging (PEP517) - - - - - 3da737db by Carl Smedstad at 2024-10-06T16:31:41+02:00 upgpkg: 1.3.0-1: Upstream release https://github.com/Toblerity/rtree/releases/tag/1.3.0 Also, drop unneeded checkdep python-pytest-cov, part of TODO: https://archlinux.org/todo/drop-python-pytest-cov-dependency-if-unneeded/ - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,18 +1,19 @@ pkgbase = python-rtree pkgdesc = Rtree: spatial index for Python GIS - pkgver = 1.2.0 + pkgver = 1.3.0 pkgrel = 1 url = https://rtree.readthedocs.io/en/latest/ arch = any license = MIT - checkdepends = python-pytest - checkdepends = python-pytest-cov checkdepends = python-numpy + checkdepends = python-pytest + makedepends = python-build + makedepends = python-installer makedepends = python-setuptools makedepends = python-wheel depends = python depends = spatialindex - source = https://github.com/Toblerity/rtree/archive/1.2.0/python-rtree-1.2.0.tar.gz - sha512sums = ab0ff77aad2dd7901c0997fd6d3673edda88539257a06564f6cd1d358aa29b19d269c1cb05db99cd06764ff7ea7209989996f87f9cfd43e4d04770e0be40c0eb + source = https://github.com/Toblerity/rtree/archive/1.3.0/python-rtree-1.3.0.tar.gz + sha256sums = 8829823d83658cdf5f7f7925107363f1bba31bb6a94e255124c1026c7cbbbfe7 pkgname = python-rtree ===================================== PKGBUILD ===================================== @@ -1,31 +1,44 @@ -# Maintainer: Felix Yan <[email protected]> +# Maintainer: Bruno Pagani <[email protected]> +# Maintainer: Carl Smedstad <[email protected]> +# Contributor: Felix Yan <[email protected]> pkgname=python-rtree -pkgver=1.2.0 +_pkgname=${pkgname#python-} +pkgver=1.3.0 pkgrel=1 pkgdesc="Rtree: spatial index for Python GIS" +arch=(any) url="https://rtree.readthedocs.io/en/latest/" -license=('MIT') -arch=('any') -depends=('python' 'spatialindex') -makedepends=('python-setuptools' 'python-wheel') -checkdepends=('python-pytest' 'python-pytest-cov' 'python-numpy') +license=(MIT) +depends=( + python + spatialindex +) +makedepends=( + python-build + python-installer + python-setuptools + python-wheel +) +checkdepends=( + python-numpy + python-pytest +) source=("https://github.com/Toblerity/rtree/archive/$pkgver/$pkgname-$pkgver.tar.gz") -sha512sums=('ab0ff77aad2dd7901c0997fd6d3673edda88539257a06564f6cd1d358aa29b19d269c1cb05db99cd06764ff7ea7209989996f87f9cfd43e4d04770e0be40c0eb') +sha256sums=('8829823d83658cdf5f7f7925107363f1bba31bb6a94e255124c1026c7cbbbfe7') build() { - cd rtree-$pkgver - python setup.py build + cd "$_pkgname-$pkgver" + python -m build --wheel --no-isolation } check() { - cd rtree-$pkgver + cd "$_pkgname-$pkgver" pytest } package() { - cd rtree-$pkgver - python setup.py install --root="$pkgdir" --optimize=1 - - install -Dm 0644 LICENSE.txt "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + cd "$_pkgname-$pkgver" + python -m installer --destdir="$pkgdir" dist/*.whl + install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE.txt } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-rtree/-/compare/b8fb1f89400e79263780012e1a88060819df25bc...3da737db2f792f2d093077a0b60da20af5313aa3 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-rtree/-/compare/b8fb1f89400e79263780012e1a88060819df25bc...3da737db2f792f2d093077a0b60da20af5313aa3 You're receiving this email because of your account on gitlab.archlinux.org.
