[arch-commits] Commit in (4 files)
Chih-Hsuan Yen
yan12125 at archlinux.org
Sun Nov 18 07:18:59 UTC 2018
Date: Sunday, November 18, 2018 @ 07:18:59
Author: yan12125
Revision: 408643
addpkg: python-pg8000 1.12.3-1
Added:
python-pg8000/
python-pg8000/repos/
python-pg8000/trunk/
python-pg8000/trunk/PKGBUILD
----------+
PKGBUILD | 25 +++++++++++++++++++++++++
1 file changed, 25 insertions(+)
Added: python-pg8000/trunk/PKGBUILD
===================================================================
--- python-pg8000/trunk/PKGBUILD (rev 0)
+++ python-pg8000/trunk/PKGBUILD 2018-11-18 07:18:59 UTC (rev 408643)
@@ -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