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

Andrzej Giniewicz aginiewicz at archlinux.org
Thu Mar 14 08:38:26 UTC 2019


    Date: Thursday, March 14, 2019 @ 08:38:25
  Author: aginiewicz
Revision: 440954

archrelease: copy trunk to community-any

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

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

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-03-14 08:38:18 UTC (rev 440953)
+++ PKGBUILD	2019-03-14 08:38:25 UTC (rev 440954)
@@ -1,54 +0,0 @@
-# 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>
-
-pkgbase=python-patsy
-pkgname=('python2-patsy' 'python-patsy')
-pkgver=0.5.1
-pkgrel=1
-pkgdesc="A Python package for describing statistical models and for building design matrices"
-arch=('any')
-url="https://github.com/pydata/patsy"
-license=('BSD')
-makedepends=('python2-setuptools' 'python-setuptools' 'python2-numpy' 'python-numpy' 'unzip')
-source=("https://github.com/pydata/patsy/archive/v${pkgver}.tar.gz")
-sha1sums=('29ea64dd2958f1b50fd36b40ed352b670fadeb7b')
-
-build() {
-  cd "$srcdir"
-  cp -a patsy-${pkgver} patsy-py2-${pkgver}
-
-  msg "Building Python2"
-  cd "$srcdir"/patsy-py2-${pkgver}
-  python2 setup.py build
-
-  msg "Building Python3"
-  cd "$srcdir"/patsy-${pkgver}
-  python setup.py build
-}
-
-package_python2-patsy() {
-  depends=('python2-numpy')
-  optdepends=('python2-nose: needed for integrated test suite'
-              'python2-scipy: needed for spline-related functions')
-
-  cd "$srcdir"/patsy-py2-${pkgver}
-
-  python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
-
-  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python-patsy() {
-  depends=('python-numpy')
-  optdepends=('python-nose: needed for integrated test suite'
-              'python-scipy: needed for spline-related functions')
-
-  cd "$srcdir"/patsy-${pkgver}
-
-  python setup.py install --skip-build --root="$pkgdir" --optimize=1
-
-  install -Dm644 LICENSE.txt "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-

Copied: python-patsy/repos/community-any/PKGBUILD (from rev 440953, python-patsy/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-03-14 08:38:25 UTC (rev 440954)
@@ -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=2
+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