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

Felix Yan felixonmars at archlinux.org
Fri Oct 25 20:05:46 UTC 2019


    Date: Friday, October 25, 2019 @ 20:05:45
  Author: felixonmars
Revision: 519724

archrelease: copy trunk to community-staging-any

Added:
  python-pg8000/repos/community-staging-any/
  python-pg8000/repos/community-staging-any/PKGBUILD
    (from rev 519723, python-pg8000/trunk/PKGBUILD)

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

Copied: python-pg8000/repos/community-staging-any/PKGBUILD (from rev 519723, python-pg8000/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-25 20:05:45 UTC (rev 519724)
@@ -0,0 +1,25 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+# Contributor: quomoow <quomoow at gmail.com>
+
+pkgname=python-pg8000
+pkgver=1.13.2
+pkgrel=2
+pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible"
+arch=(any)
+url='https://github.com/tlocke/pg8000'
+license=(BSD)
+makedepends=(python-setuptools)
+depends=(python python-scramp)
+source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz")
+sha256sums=('eebcb4176a7e407987e525a07454882f611985e0becb2b73f76efb93bbdc0aab')
+
+build() {
+  cd pg8000-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd pg8000-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}



More information about the arch-commits mailing list