[arch-commits] Commit in python-influxdb/trunk (PKGBUILD)

Eli Schwartz eschwartz at archlinux.org
Tue Jul 31 21:47:11 UTC 2018


    Date: Tuesday, July 31, 2018 @ 21:47:11
  Author: eschwartz
Revision: 366145

upgpkg: python-influxdb 5.2.0-3

python 3.7 rebuild

Modified:
  python-influxdb/trunk/PKGBUILD

----------+
 PKGBUILD |   14 +++++++++++---
 1 file changed, 11 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-07-31 21:44:45 UTC (rev 366144)
+++ PKGBUILD	2018-07-31 21:47:11 UTC (rev 366145)
@@ -2,7 +2,7 @@
 
 pkgname=python-influxdb
 pkgver=5.2.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Python client for InfluxDB"
 arch=('any')
 url="https://github.com/influxdata/influxdb-python/"
@@ -15,11 +15,12 @@
 source=("https://github.com/influxdata/influxdb-python/archive/v$pkgver.tar.gz")
 sha512sums=('de86037abd5b371480029ff0bb8935c551030e5954c34a2915829b916c62444ee67bce89f553c39ea4d73369ff3c8c8a4639f5c2bfcfc9ac8ddfe6919fd020fd')
 
-package() {
+build() {
   cd "$srcdir/influxdb-python-$pkgver"
-  python setup.py install --root="$pkgdir/" --optimize=1
+  python setup.py build
 }
 
+
 check() {
   cd "$srcdir/influxdb-python-$pkgver/influxdb"
   # TODO: fix one failing test
@@ -26,4 +27,11 @@
   INFLUXDB_PYTHON_INFLUXD_PATH=/usr/bin/influxd nosetests -e test_write_points_from_dataframe_with_numeric_precision tests
 }
 
+package() {
+  cd "$srcdir/influxdb-python-$pkgver"
+  python setup.py install --root="$pkgdir/" --optimize=1
+  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+
 # vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list