[arch-commits] Commit in csvkit/trunk (PKGBUILD)

Caleb Maclennan alerque at gemini.archlinux.org
Sat Aug 13 06:54:12 UTC 2022


    Date: Saturday, August 13, 2022 @ 06:54:11
  Author: alerque
Revision: 1265850

upgpkg: csvkit 1.0.7-1

Modified:
  csvkit/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++------
 1 file changed, 7 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-08-13 06:50:55 UTC (rev 1265849)
+++ PKGBUILD	2022-08-13 06:54:11 UTC (rev 1265850)
@@ -2,8 +2,8 @@
 # Contributor: Michał Pałubicki <maln0ir at gmx.com>
 
 pkgname=csvkit
-pkgver=1.0.6
-pkgrel=3
+pkgver=1.0.7
+pkgrel=1
 pkgdesc='A suite of utilities for converting to and working with CSV'
 arch=(any)
 url="https://$pkgname.readthedocs.org"
@@ -17,17 +17,18 @@
 depends=(python
          "${_pydeps[@]/#/python-}")
 optdepends=('ipython: nicer command-line for csvpy utility')
-makedepends=(python-setuptools
+makedepends=(python-{build,installer,wheel}
+             python-setuptools
              python-sphinx)
 checkdepends=(python-pytest
               python-pytimeparse)
 _archive="$pkgname-$pkgver"
 source=("$_archive.tgz::https://github.com/wireservice/$pkgname/archive/$pkgver.tar.gz")
-sha256sums=('ae0d708a5591fc1348b5d1096c7e359c64e0ba8b442eab3121802f62c32f8e4d')
+sha256sums=('84adaa554672bac5cd1d84d40183f86be1bec5a198119046e79409e371546d20')
 
 build() {
 	cd "$_archive"
-	python setup.py build
+	python -m build -wn
 	python setup.py build_sphinx
 	_rtd_theme_path="$(python -c 'import sphinx_rtd_theme; print(sphinx_rtd_theme.get_html_theme_path())')"
 	rm -rvf "build/sphinx/html/_static"
@@ -41,7 +42,7 @@
 
 package() {
 	cd "$_archive"
-	python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+	python -m installer -d "$pkgdir" dist/*.whl
 	install -dm0755 "$pkgdir/usr/share/doc/"
 	cp -rv build/sphinx/html "$pkgdir/usr/share/doc/$pkgname"
 	install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" COPYING



More information about the arch-commits mailing list