Date: Wednesday, April 19, 2023 @ 08:07:43
  Author: alerque
Revision: 1447383

archrelease: copy trunk to community-any

Added:
  csvkit/repos/community-any/PKGBUILD
    (from rev 1447382, csvkit/trunk/PKGBUILD)
Deleted:
  csvkit/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   97 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 48 insertions(+), 49 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-19 08:07:33 UTC (rev 1447382)
+++ PKGBUILD    2023-04-19 08:07:43 UTC (rev 1447383)
@@ -1,49 +0,0 @@
-# Maintainer: Caleb Maclennan <[email protected]>
-# Contributor: Michał Pałubicki <[email protected]>
-
-pkgname=csvkit
-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";
-license=(MIT)
-_pydeps=(agate
-         agate-dbf
-         agate-excel
-         agate-sql
-         six
-         sphinx_rtd_theme)
-depends=(python
-         "${_pydeps[@]/#/python-}")
-optdepends=('ipython: nicer command-line for csvpy utility')
-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=('84adaa554672bac5cd1d84d40183f86be1bec5a198119046e79409e371546d20')
-
-build() {
-       cd "$_archive"
-       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"
-       ln -svf "$_rtd_theme_path/sphinx_rtd_theme/static" 
"build/sphinx/html/_static"
-}
-
-check() {
-       cd "$_archive"
-       pytest tests
-}
-
-package() {
-       cd "$_archive"
-       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
-}

Copied: csvkit/repos/community-any/PKGBUILD (from rev 1447382, 
csvkit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-04-19 08:07:43 UTC (rev 1447383)
@@ -0,0 +1,48 @@
+# Maintainer: Caleb Maclennan <[email protected]>
+# Contributor: Michał Pałubicki <[email protected]>
+
+pkgname=csvkit
+pkgver=1.1.1
+pkgrel=1
+pkgdesc='A suite of utilities for converting to and working with CSV'
+arch=(any)
+url="https://$pkgname.readthedocs.org";
+license=(MIT)
+_pydeps=(agate
+         agate-dbf
+         agate-excel
+         agate-sql
+         setuptools
+         sphinx_rtd_theme)
+depends=(python
+         "${_pydeps[@]/#/python-}")
+optdepends=('ipython: nicer command-line for csvpy utility')
+makedepends=(python-{build,installer,wheel}
+             python-sphinx)
+checkdepends=(python-pytest)
+_archive="$pkgname-$pkgver"
+source=("$_archive.tgz::https://github.com/wireservice/$pkgname/archive/$pkgver.tar.gz";)
+sha256sums=('bdb36aba91c5765930c3876e3683dcc75490962047468c1e75871c1da6e9f713')
+
+build() {
+       cd "$_archive"
+       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"
+       ln -svf "$_rtd_theme_path/sphinx_rtd_theme/static" 
"build/sphinx/html/_static"
+}
+
+check() {
+       cd "$_archive"
+       export LANG=en_US.UTF-8
+       pytest tests
+}
+
+package() {
+       cd "$_archive"
+       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
+}

Reply via email to