[arch-commits] Commit in python-pandas-datareader/repos/community-any (2 files)
Andrzej Giniewicz
aginiewicz at archlinux.org
Sun Feb 4 19:49:37 UTC 2018
Date: Sunday, February 4, 2018 @ 19:49:36
Author: aginiewicz
Revision: 289064
archrelease: copy trunk to community-any
Added:
python-pandas-datareader/repos/community-any/PKGBUILD
(from rev 289063, python-pandas-datareader/trunk/PKGBUILD)
Deleted:
python-pandas-datareader/repos/community-any/PKGBUILD
----------+
PKGBUILD | 118 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 59 insertions(+), 59 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-02-04 19:49:28 UTC (rev 289063)
+++ PKGBUILD 2018-02-04 19:49:36 UTC (rev 289064)
@@ -1,59 +0,0 @@
-# $Id$
-# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
-
-pkgbase=python-pandas-datareader
-pkgname=('python2-pandas-datareader' 'python-pandas-datareader')
-pkgver=0.5.0
-pkgrel=1
-pkgdesc="Data readers extracted from the pandas codebase"
-arch=('any')
-url="https://github.com/pydata/pandas-datareader"
-license=('BSD')
-makedepends=('python-setuptools' 'python-pandas' 'python-requests-file' 'python-requests-ftp'
- 'python2-setuptools' 'python2-pandas' 'python2-requests-file' 'python2-requests-ftp')
-source=("https://github.com/pydata/pandas-datareader/archive/v${pkgver}.tar.gz")
-md5sums=('fcebccd08223348e751b63b4f4c1b681')
-
-prepare() {
- cd "$srcdir"
- cp -a pandas-datareader-${pkgver} pandas-datareader-py2-${pkgver}
- cd pandas-datareader-py2-${pkgver}
-
- sed -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
- -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
- -e "s|#![ ]*/bin/env python$|#!/usr/bin/env python2|" \
- -i $(find . -name '*.py')
-}
-
-build() {
- msg "Building Python2"
- cd "$srcdir"/pandas-datareader-py2-${pkgver}
- python2 setup.py build_ext --inplace
- python2 setup.py build
-
- msg "Building Python3"
- cd "$srcdir"/pandas-datareader-${pkgver}
- python setup.py build_ext --inplace
- python setup.py build
-}
-
-package_python2-pandas-datareader() {
- depends=('python2-pandas' 'python2-requests-file' 'python2-requests-ftp')
-
- cd "$srcdir"/pandas-datareader-py2-${pkgver}
-
- python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
-
- install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python-pandas-datareader() {
- depends=('python-pandas' 'python-requests-file' 'python-requests-ftp')
-
- cd "$srcdir"/pandas-datareader-${pkgver}
-
- python setup.py install --skip-build --root="$pkgdir" --optimize=1
-
- install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
Copied: python-pandas-datareader/repos/community-any/PKGBUILD (from rev 289063, python-pandas-datareader/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-02-04 19:49:36 UTC (rev 289064)
@@ -0,0 +1,59 @@
+# $Id$
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+
+pkgbase=python-pandas-datareader
+pkgname=('python2-pandas-datareader' 'python-pandas-datareader')
+pkgver=0.6.0
+pkgrel=1
+pkgdesc="Data readers extracted from the pandas codebase"
+arch=('any')
+url="https://github.com/pydata/pandas-datareader"
+license=('BSD')
+makedepends=('python-setuptools' 'python-pandas' 'python-requests-file' 'python-requests-ftp'
+ 'python2-setuptools' 'python2-pandas' 'python2-requests-file' 'python2-requests-ftp')
+source=("https://github.com/pydata/pandas-datareader/archive/v${pkgver}.tar.gz")
+md5sums=('47109510321acdae48d1760cd52ac11e')
+
+prepare() {
+ cd "$srcdir"
+ cp -a pandas-datareader-${pkgver} pandas-datareader-py2-${pkgver}
+ cd pandas-datareader-py2-${pkgver}
+
+ sed -e "s|#![ ]*/usr/bin/python$|#!/usr/bin/python2|" \
+ -e "s|#![ ]*/usr/bin/env python$|#!/usr/bin/env python2|" \
+ -e "s|#![ ]*/bin/env python$|#!/usr/bin/env python2|" \
+ -i $(find . -name '*.py')
+}
+
+build() {
+ msg "Building Python2"
+ cd "$srcdir"/pandas-datareader-py2-${pkgver}
+ python2 setup.py build_ext --inplace
+ python2 setup.py build
+
+ msg "Building Python3"
+ cd "$srcdir"/pandas-datareader-${pkgver}
+ python setup.py build_ext --inplace
+ python setup.py build
+}
+
+package_python2-pandas-datareader() {
+ depends=('python2-pandas' 'python2-requests-file' 'python2-requests-ftp')
+
+ cd "$srcdir"/pandas-datareader-py2-${pkgver}
+
+ python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
+
+ install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+package_python-pandas-datareader() {
+ depends=('python-pandas' 'python-requests-file' 'python-requests-ftp')
+
+ cd "$srcdir"/pandas-datareader-${pkgver}
+
+ python setup.py install --skip-build --root="$pkgdir" --optimize=1
+
+ install -Dm644 LICENSE.md "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
More information about the arch-commits
mailing list