[arch-commits] Commit in python-dbfread/repos (community-any community-any/PKGBUILD)

Caleb Maclennan alerque at gemini.archlinux.org
Sat Dec 18 21:27:06 UTC 2021


    Date: Saturday, December 18, 2021 @ 21:27:06
  Author: alerque
Revision: 1077796

archrelease: copy trunk to community-any

Added:
  python-dbfread/repos/community-any/
  python-dbfread/repos/community-any/PKGBUILD
    (from rev 1077795, python-dbfread/trunk/PKGBUILD)

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

Copied: python-dbfread/repos/community-any/PKGBUILD (from rev 1077795, python-dbfread/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2021-12-18 21:27:06 UTC (rev 1077796)
@@ -0,0 +1,31 @@
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Maintainer: Gabriel Magno <gabrielmagno1 at gmail.com>
+
+_pipname=dbfread
+pkgname=python-$_pipname
+pkgver=2.0.7
+pkgrel=3
+pkgdesc='Read DBF Files with Python'
+arch=(any)
+url='https://dbfread.readthedocs.io'
+license=(MIT)
+depends=(python)
+makedepends=(python-setuptools)
+_archive="$_pipname-$pkgver"
+source=("$_archive.tar.gz::https://github.com/olemb/$_pipname/archive/$pkgver.tar.gz")
+sha256sums=('7772db69a32beb87027356cb04dd7775bbc2e36581e76df6ba33c0eb8d1c49ad')
+
+build() {
+	cd "$_archive"
+	python setup.py build
+}
+
+check() {
+	cd "$_archive"
+	python setup.py test
+}
+
+package() {
+	cd "$_archive"
+	python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}



More information about the arch-commits mailing list