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

Chih-Hsuan Yen yan12125 at archlinux.org
Sun Nov 18 07:25:23 UTC 2018


    Date: Sunday, November 18, 2018 @ 07:25:23
  Author: yan12125
Revision: 408646

archrelease: copy trunk to community-any

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

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

Copied: python-pg8000/repos/community-any/PKGBUILD (from rev 408645, python-pg8000/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2018-11-18 07:25:23 UTC (rev 408646)
@@ -0,0 +1,25 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+# Contributor: quomoow <quomoow at gmail.com>
+
+pkgname=python-pg8000
+pkgver=1.12.3
+pkgrel=1
+pkgdesc="Pure-Python PostgreSQL database driver, DB-API compatible"
+arch=(any)
+url='https://pythonhosted.org/pg8000/'
+license=(BSD)
+makedepends=(python-setuptools)
+depends=(python)
+source=("https://files.pythonhosted.org/packages/source/p/pg8000/pg8000-$pkgver.tar.gz")
+sha256sums=('18192d90409a3037619ef17f1924e3fd9c7169c9c1b3277cec1982116ec2b6de')
+
+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