Date: Sunday, April 30, 2023 @ 05:14:15
  Author: polyzen
Revision: 1454960

archrelease: copy trunk to community-testing-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-30 05:14:06 UTC (rev 1454959)
+++ PKGBUILD    2023-04-30 05:14:15 UTC (rev 1454960)
@@ -1,48 +0,0 @@
-# Maintainer: Caleb Maclennan <[email protected]>
-# Contributor: Michał Pałubicki <[email protected]>
-
-pkgname=csvkit
-pkgver=1.1.1
-pkgrel=2
-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
-}

Copied: csvkit/repos/community-testing-any/PKGBUILD (from rev 1454958, 
csvkit/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-04-30 05:14:15 UTC (rev 1454960)
@@ -0,0 +1,48 @@
+# Maintainer: Caleb Maclennan <[email protected]>
+# Contributor: Michał Pałubicki <[email protected]>
+
+pkgname=csvkit
+pkgver=1.1.1
+pkgrel=3
+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
+       make -C docs html
+       _rtd_theme_path="$(python -c 'import sphinx_rtd_theme; 
print(sphinx_rtd_theme.get_html_theme_path())')"
+       rm -rvf "docs/_build/html/_static"
+       ln -svf "$_rtd_theme_path/sphinx_rtd_theme/static" 
"docs/_build/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 docs/_build/html "$pkgdir/usr/share/doc/$pkgname"
+       install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" COPYING
+}

Reply via email to