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

Felix Yan felixonmars at archlinux.org
Sat Oct 26 05:33:19 UTC 2019


    Date: Saturday, October 26, 2019 @ 05:33:17
  Author: felixonmars
Revision: 520119

archrelease: copy trunk to community-staging-any

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

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

Copied: python-patsy/repos/community-staging-any/PKGBUILD (from rev 520118, python-patsy/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-10-26 05:33:17 UTC (rev 520119)
@@ -0,0 +1,31 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Contributor: Oliver Sherouse <oliver DOT sherouse AT gmail DOT com>
+# Contributor: Nick Ward <ward.nickjames at gmail.com>
+# Contributor: Rich Lindsley <rich at dranek dot com>
+
+pkgname='python-patsy'
+pkgver=0.5.1
+pkgrel=3
+pkgdesc="A Python package for describing statistical models using symbolic formulas"
+arch=('any')
+url="https://github.com/pydata/patsy"
+license=('BSD')
+depends=('python-numpy')
+makedepends=('python-setuptools')
+optdepends=('python-nose: needed for integrated test suite'
+            'python-scipy: needed for spline-related functions')
+source=("https://github.com/pydata/patsy/archive/v${pkgver}.tar.gz")
+sha256sums=('24d00697d157f033399f35bdd8931e7896af3b024f138104e75ba6bcc74b3625')
+
+build() {
+  cd "$srcdir"/patsy-${pkgver}
+  python setup.py build
+}
+
+package() {
+  cd "$srcdir"/patsy-${pkgver}
+
+  python setup.py install --skip-build --root="$pkgdir" --optimize=1
+
+  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}



More information about the arch-commits mailing list