[arch-commits] Commit in python-csv23/repos/staging-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Nov 12 17:38:49 UTC 2020
Date: Thursday, November 12, 2020 @ 17:38:49
Author: felixonmars
Revision: 400640
archrelease: copy trunk to staging-any
Added:
python-csv23/repos/staging-any/PKGBUILD
(from rev 400639, python-csv23/trunk/PKGBUILD)
Deleted:
python-csv23/repos/staging-any/PKGBUILD
----------+
PKGBUILD | 72 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 36 insertions(+), 36 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-12 17:38:41 UTC (rev 400639)
+++ PKGBUILD 2020-11-12 17:38:49 UTC (rev 400640)
@@ -1,36 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-csv23
-pkgver=0.3.2
-pkgrel=3
-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")
-sha512sums=('289386cce5de4ae5bc42fc56d1639bbd1483034e5422f63142c1d188de735b1f5f18f9f69e3cb96f4ac3e1d7d0b371b1c45e720982c4f4b539fcf0d2da893f6a')
-
-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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
-}
Copied: python-csv23/repos/staging-any/PKGBUILD (from rev 400639, python-csv23/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-12 17:38:49 UTC (rev 400640)
@@ -0,0 +1,36 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-csv23
+pkgver=0.3.2
+pkgrel=4
+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")
+sha512sums=('289386cce5de4ae5bc42fc56d1639bbd1483034e5422f63142c1d188de735b1f5f18f9f69e3cb96f4ac3e1d7d0b371b1c45e720982c4f4b539fcf0d2da893f6a')
+
+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 "$pkgdir"/usr/share/licenses/$pkgname/LICENSE.txt
+}
More information about the arch-commits
mailing list