[arch-commits] Commit in python-clevercsv/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Fri Aug 13 11:49:17 UTC 2021


    Date: Friday, August 13, 2021 @ 11:49:17
  Author: felixonmars
Revision: 997967

archrelease: copy trunk to community-x86_64

Added:
  python-clevercsv/repos/community-x86_64/
  python-clevercsv/repos/community-x86_64/PKGBUILD
    (from rev 997966, python-clevercsv/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: python-clevercsv/repos/community-x86_64/PKGBUILD (from rev 997966, python-clevercsv/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2021-08-13 11:49:17 UTC (rev 997967)
@@ -0,0 +1,32 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-clevercsv
+pkgver=0.7.0
+pkgrel=1
+pkgdesc="A Python package for handling messy CSV files"
+url="https://github.com/alan-turing-institute/CleverCSV"
+license=('MIT')
+arch=('x86_64')
+depends=('python-chardet' 'python-regex')
+optdepends=('python-pandas' 'python-cleo' 'python-clikit' 'python-tabview')
+checkdepends=('python-pytest-runner' 'python-pandas' 'python-cleo' 'python-clikit' 'python-tabview'
+              'python-termcolor')
+source=("https://github.com/alan-turing-institute/CleverCSV/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('241e4ac113c6542024d853f02b81c8f6a809ccbcefda78c250aeae10dd05a1510217a78c0ccc0359401364d77adcdfb22caf63689e55ff26495e4f2da92f8c4e')
+
+build() {
+  cd CleverCSV-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd CleverCSV-$pkgver
+  PYTHONPATH="$PWD"/build/lib.linux-$CARCH-3.9 python setup.py pytest
+}
+
+package() {
+  cd CleverCSV-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list