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

Jelle van der Waa jelle at archlinux.org
Fri Jul 27 23:19:52 UTC 2018


    Date: Friday, July 27, 2018 @ 23:19:51
  Author: jelle
Revision: 363703

archrelease: copy trunk to community-any

Added:
  python-influxdb/repos/community-any/
  python-influxdb/repos/community-any/PKGBUILD
    (from rev 363702, python-influxdb/trunk/PKGBUILD)

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

Copied: python-influxdb/repos/community-any/PKGBUILD (from rev 363702, python-influxdb/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2018-07-27 23:19:51 UTC (rev 363703)
@@ -0,0 +1,29 @@
+# Contributor: Mateusz Galazyn <carbolymer at gmail.com>
+
+pkgname=python-influxdb
+pkgver=5.2.0
+pkgrel=2
+pkgdesc="Python client for InfluxDB"
+arch=('any')
+url="https://github.com/influxdata/influxdb-python/"
+license=('MIT')
+depends=('python' 'python-requests' 'python-dateutil' 'python-six' 'python-pytz')
+makedepends=('python-setuptools')
+checkdepends=('python-nose' 'python-mock' 'python-requests-mock' 'python-pandas' 'influxdb')
+optdepends=('influxdb')
+options=(!emptydirs)
+source=("https://github.com/influxdata/influxdb-python/archive/v$pkgver.tar.gz")
+sha512sums=('de86037abd5b371480029ff0bb8935c551030e5954c34a2915829b916c62444ee67bce89f553c39ea4d73369ff3c8c8a4639f5c2bfcfc9ac8ddfe6919fd020fd')
+
+package() {
+  cd "$srcdir/influxdb-python-$pkgver"
+  python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+check() {
+  cd "$srcdir/influxdb-python-$pkgver/influxdb"
+  # TODO: fix one failing test
+  INFLUXDB_PYTHON_INFLUXD_PATH=/usr/bin/influxd nosetests -e test_write_points_from_dataframe_with_numeric_precision tests
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list