[arch-commits] Commit in python-csv23/repos/testing-any (PKGBUILD PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Sat Dec 11 22:00:54 UTC 2021


    Date: Saturday, December 11, 2021 @ 22:00:53
  Author: felixonmars
Revision: 431905

archrelease: copy trunk to testing-any

Added:
  python-csv23/repos/testing-any/PKGBUILD
    (from rev 431904, python-csv23/trunk/PKGBUILD)
Deleted:
  python-csv23/repos/testing-any/PKGBUILD

----------+
 PKGBUILD |   75 +++++++++++++++++++++++++++++--------------------------------
 1 file changed, 36 insertions(+), 39 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-11 22:00:46 UTC (rev 431904)
+++ PKGBUILD	2021-12-11 22:00:53 UTC (rev 431905)
@@ -1,39 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-csv23
-pkgver=0.3.2
-pkgrel=6
-pkgdesc="Python 3 unicode CSV compatibility layer"
-url="https://github.com/xflr6/csv23"
-license=('MIT')
-arch=('any')
-depends=('python')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest' 'python-mock' 'python-pytest-mock')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/xflr6/csv23/archive/v$pkgver.tar.gz"
-        $pkgname-python310.patch::https://github.com/xflr6/csv23/compare/v0.3.2..9dfb3389bd8d.patch)
-sha512sums=('289386cce5de4ae5bc42fc56d1639bbd1483034e5422f63142c1d188de735b1f5f18f9f69e3cb96f4ac3e1d7d0b371b1c45e720982c4f4b539fcf0d2da893f6a'
-            '443422d055cf6a2a1ec5316fa33c13caaf9269902958ad2b43e6976f7591bb578597a6f3d6283e1ec760bb552698256d3eb9a3ca76c0c15591b20cca786d11e7')
-
-prepare() {
-  cd csv23-$pkgver
-  patch -Np1 -i ../$pkgname-python310.patch || :
-  sed -i '/--cov/d' setup.cfg
-}
-
-build() {
-  cd csv23-$pkgver
-  python setup.py build
-}
-
-check() {
-  cd csv23-$pkgver
-  python -m pytest
-}
-
-package() {
-  cd csv23-$pkgver
-  python setup.py install --root="$pkgdir" --optimize=1
-
-  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}

Copied: python-csv23/repos/testing-any/PKGBUILD (from rev 431904, python-csv23/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-11 22:00:53 UTC (rev 431905)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-csv23
+pkgver=0.3.3
+pkgrel=1
+pkgdesc="Python 3 unicode CSV compatibility layer"
+url="https://github.com/xflr6/csv23"
+license=('MIT')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-mock' 'python-pytest-mock')
+source=("https://github.com/xflr6/csv23/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('e84af2f1ecb6313da3715650a7079c50044c60a7cdb26a152f19874211c108bd8975cec33f0fecfba69e53dfb54dc84337a0269543a21e83fedc11543acc9d7f')
+
+prepare() {
+  cd csv23-$pkgver
+  sed -i '/--cov/d' setup.cfg
+}
+
+build() {
+  cd csv23-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd csv23-$pkgver
+  python -m pytest
+}
+
+package() {
+  cd csv23-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE.txt -t "$pkgdir"/usr/share/licenses/$pkgname/
+}



More information about the arch-commits mailing list