Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages / python-toolz
Commits: ad4a3684 by Carl Smedstad at 2024-11-17T10:28:43+01:00 upgpkg: 1.0.0-1: Upstream release https://github.com/pytoolz/toolz/releases/tag/1.0.0 - - - - - 2 changed files: - .SRCINFO - PKGBUILD Changes: ===================================== .SRCINFO ===================================== @@ -1,7 +1,7 @@ pkgbase = python-toolz pkgdesc = A functional standard library for Python - pkgver = 0.12.1 - pkgrel = 2 + pkgver = 1.0.0 + pkgrel = 1 url = https://github.com/pytoolz/toolz/ arch = any license = BSD-3-Clause @@ -11,8 +11,11 @@ pkgbase = python-toolz makedepends = python-setuptools makedepends = python-wheel depends = python - source = https://files.pythonhosted.org/packages/source/t/toolz/toolz-0.12.1.tar.gz - sha512sums = c514934d1a8069cd70e4d8b9ca32cd2c96e85b1dabb45bbbe4b0644581eb7e7f9f6a6d9230483f1872695edf25ff77ad7643cffb3041a012ed64424097a23e9e - b2sums = 41b2002147cd453c2a8300c7ec247e06dfc8fba69a772df4a8f5c35349e991453bbbd0d7ed0162391d9314873bf0e169d20c86b875e4d4eca01aaadc76edea61 + source = https://github.com/pytoolz/toolz//archive/1.0.0/toolz-1.0.0.tar.gz + source = python-toolz-1.0.0-shakespeare.txt::http://www.gutenberg.org/files/100/100-0.txt + sha512sums = 750e153fe3dc072b9ab6e541660c4a8ba8b51b2ef0ebd78cb2adf75fa915ac80f82fe3fa973aa8873df7b37ff1147594253dea9d19b012f807f18e9038f76f05 + sha512sums = 32db437f8646b5bc23247aa44057f2b57540f13ac8f0cdc3a32a491cb65dafdcbeb19651c1de716c4398c3431fe24f0f15fa588fbf129d6535a8dc98d729158d + b2sums = 29a8870c8f9b1a3bbdaecd2db14f3cdaeaed04c5385deef57c259bd0c6641f8647be0dd2b73711c829fe62dc0aa2ab6b1f683f040d01ee0aed100eb0f20a3416 + b2sums = 7733541d93da653b98028844618924e4041066c10c3c6f56db02eafdecec2e34f7d23ce8cc659b76bfb4e5bbdadd48ed69fdff7a40be1de619680fdd542760c4 pkgname = python-toolz ===================================== PKGBUILD ===================================== @@ -1,9 +1,11 @@ -# Maintainer: David Runge <[email protected]> +# Maintainer: Bruno Pagani <[email protected]> +# Maintainer: Carl Smedstad <[email protected]> +# Contributor: David Runge <[email protected]> _name=toolz pkgname=python-toolz -pkgver=0.12.1 -pkgrel=2 +pkgver=1.0.0 +pkgrel=1 pkgdesc="A functional standard library for Python" arch=(any) url="https://github.com/pytoolz/toolz/" @@ -16,13 +18,22 @@ makedepends=( python-wheel ) checkdepends=(python-pytest) -source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz) -sha512sums=('c514934d1a8069cd70e4d8b9ca32cd2c96e85b1dabb45bbbe4b0644581eb7e7f9f6a6d9230483f1872695edf25ff77ad7643cffb3041a012ed64424097a23e9e') -b2sums=('41b2002147cd453c2a8300c7ec247e06dfc8fba69a772df4a8f5c35349e991453bbbd0d7ed0162391d9314873bf0e169d20c86b875e4d4eca01aaadc76edea61') +source=( + "$url/archive/$pkgver/$_name-$pkgver.tar.gz" + "$pkgname-$pkgver-shakespeare.txt::http://www.gutenberg.org/files/100/100-0.txt" +) +sha512sums=('750e153fe3dc072b9ab6e541660c4a8ba8b51b2ef0ebd78cb2adf75fa915ac80f82fe3fa973aa8873df7b37ff1147594253dea9d19b012f807f18e9038f76f05' + '32db437f8646b5bc23247aa44057f2b57540f13ac8f0cdc3a32a491cb65dafdcbeb19651c1de716c4398c3431fe24f0f15fa588fbf129d6535a8dc98d729158d') +b2sums=('29a8870c8f9b1a3bbdaecd2db14f3cdaeaed04c5385deef57c259bd0c6641f8647be0dd2b73711c829fe62dc0aa2ab6b1f683f040d01ee0aed100eb0f20a3416' + '7733541d93da653b98028844618924e4041066c10c3c6f56db02eafdecec2e34f7d23ce8cc659b76bfb4e5bbdadd48ed69fdff7a40be1de619680fdd542760c4') + +prepare() { + cp "$pkgname-$pkgver-shakespeare.txt" "$_name-$pkgver/bench/shakespeare.txt" +} build() { cd $_name-$pkgver - python -m build --wheel --skip-dependency-check --no-isolation + python -m build --wheel --no-isolation } check() { @@ -34,6 +45,6 @@ check() { package() { cd $_name-$pkgver python -m installer --destdir="$pkgdir" dist/*.whl - install -vDm 644 README.rst -t "$pkgdir/usr/share/doc/$pkgname/" - install -vDm 644 LICENSE.txt -t "$pkgdir/usr/share/licenses/$pkgname/" + install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.rst + install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE.txt } View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-toolz/-/commit/ad4a3684b842a2b581b58c02c0c27ee9674c027a -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-toolz/-/commit/ad4a3684b842a2b581b58c02c0c27ee9674c027a You're receiving this email because of your account on gitlab.archlinux.org.
