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

Andrzej Giniewicz aginiewicz at archlinux.org
Sun Aug 18 16:06:05 UTC 2019


    Date: Sunday, August 18, 2019 @ 16:06:04
  Author: aginiewicz
Revision: 500062

upgpkg: python-pandas 0.25.0-1

python-pandas: new upstream release

Modified:
  python-pandas/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-08-18 16:02:21 UTC (rev 500061)
+++ PKGBUILD	2019-08-18 16:06:04 UTC (rev 500062)
@@ -4,107 +4,52 @@
 # TODO: move python-xarray from AUR to community (converting Panels to xarray)
 # TODO: move python-pyarrow from AUR to community (Feather Format and Apache Parquet)
 # TODO: move python-fastparque from AUR to community (Apache Parquet)
-# TODO: move python-snappy from AUR to community (compression for Apache Parquet)
-# TODO: optdepend on python-brotlipy (compression for Apache Parquet)
 # TODO: move python-s3fs from AUR to community (Amazon S3 access)
 # TODO: move python-gcsfs from AUR to community (Google Cloud Storage access)
 # TODO: package pandas-gbq (Google BigQuery I/O)
+# TODO: package python-pyreadstat (SPSS files reading)
 
-pkgbase=python-pandas
-pkgname=('python2-pandas' 'python-pandas')
-pkgver=0.24.2
+pkgname=python-pandas
+pkgver=0.25.0
 pkgrel=1
-pkgdesc="Cross-section and time series data analysis toolkit"
+pkgdesc="Library providing high-performance, easy-to-use data structures and data analysis tools"
 arch=('x86_64')
 url="https://pandas.pydata.org/"
 license=('BSD')
-makedepends=('python-setuptools' 'python-dateutil' 'python-numpy' 'python-pytz'
-             'python2-setuptools' 'python2-dateutil' 'python2-numpy' 'python2-pytz'
-             'cython' 'cython2')
+depends=('python-numpy' 'python-dateutil' 'python-pytz' 'python-setuptools')
+makedepends=('cython')
+optdepends=('python-pandas-datareader: pandas.io.data replacement (recommended)'
+            'python-numexpr: needed for accelerating certain numerical operations (recommended)'
+            'python-bottleneck: needed for accelerating certain types of nan evaluations (recommended)'
+            'python-scipy: needed for miscellaneous statistical functions'
+            'python-pytables: needed for HDF5-based storage'
+            'python-sqlalchemy: needed for SQL database support'
+            'python-matplotlib: needed for plotting'
+            'python-openpyxl: needed for Excel XLSX input/output'
+            'python-xlrd: needed for Excel XLS input'
+            'python-xlwt: needed for Excel XLS output'
+            'python-xlsxwriter: alternative Excel XLSX output'
+            'python-jinja: needed for conditional HTML formatting'
+            'python-blosc: for msgpack compression using blosc'
+            'python-qtpy: needed for read_clipboard function (only one needed)'
+            'python-pyqt5: needed for read_clipboard function (only one needed)'
+            'xsel: needed for read_clipboard function (only one needed)'
+            'xclip: needed for read_clipboard function (only one needed)'
+            'python-beautifulsoup4: needed for read_html function'
+            'python-lxml: needed for read_html function (and/or python-html5lib)'
+            'python-html5lib: needed for read_hmlt function (and/or python-lxml)'
+            'zlib: needed for compression for msgpack')
 source=("https://github.com/pandas-dev/pandas/releases/download/v${pkgver}/pandas-${pkgver}.tar.gz")
-sha256sums=('4f919f409c433577a501e023943e582c57355d50a724c589e78bc1d551a535a2')
+sha256sums=('914341ad2d5b1ea522798efa4016430b66107d05781dbfe7cf05eba8f37df995')
 
-prepare() {
-  cd "$srcdir"
-  cp -a pandas-${pkgver} pandas-py2-${pkgver}
-  cd pandas-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() {
-  # "Building Python2"
-  cd "$srcdir"/pandas-py2-${pkgver}
-  python2 setup.py build_ext --inplace
-  python2 setup.py build
-
-  # "Building Python3"
   cd "$srcdir"/pandas-${pkgver}
   python setup.py build_ext --inplace
   python setup.py build
 }
 
-package_python2-pandas() {
-  depends=('python2-numpy' 'python2-dateutil' 'python2-pytz' 'python2-setuptools')
-  optdepends=('python2-pandas-datareader: pandas.io.data replacement (recommended)'
-              'python2-numexpr: needed for accelerating certain numerical operations (recommended)'
-              'python2-bottleneck: needed for accelerating certain types of nan evaluations (recommended)'
-              'python2-scipy: needed for miscellaneous statistical functions'
-              'python2-pytables: needed for HDF5-based storage'
-              'python2-sqlalchemy: needed for SQL database support'
-              'python2-matplotlib: needed for plotting'
-              'python2-openpyxl: needed for Excel XLSX input/output'
-              'python2-xlrd: needed for Excel XLS input'
-              'python2-xlwt: needed for Excel XLS output'
-              'python2-xlsxwriter: alternative Excel XLSX output'
-              'python2-jinja: needed for conditional HTML formatting'
-              'python2-blosc: for msgpack compression using blosc'
-              'python2-qtpy: needed for read_clipboard function (only one needed)'
-              'python2-pyqt5: needed for read_clipboard function (only one needed)'
-              'pygtk: needed for read_clipboard function (only one needed)'
-              'xsel: needed for read_clipboard function (only one needed)'
-              'xclip: needed for read_clipboard function (only one needed)'
-              'python2-backports.lzma: needed for xz compressed DataFrames in CSV'
-              'python2-beautifulsoup4: needed for read_html function'
-              'python2-lxml: needed for read_html function (and/or python2-html5lib)'
-              'python2-html5lib: needed for read_hmlt function (and/or python2-lxml)')
-
-  cd "$srcdir"/pandas-py2-${pkgver}
-
-  python2 setup.py install --skip-build --root="$pkgdir" --optimize=1
-
-  install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
-}
-
-package_python-pandas() {
-  depends=('python-numpy' 'python-dateutil' 'python-pytz' 'python-setuptools')
-  optdepends=('python-pandas-datareader: pandas.io.data replacement (recommended)'
-              'python-numexpr: needed for accelerating certain numerical operations (recommended)'
-              'python-bottleneck: needed for accelerating certain types of nan evaluations (recommended)'
-              'python-scipy: needed for miscellaneous statistical functions'
-              'python-pytables: needed for HDF5-based storage'
-              'python-sqlalchemy: needed for SQL database support'
-              'python-matplotlib: needed for plotting'
-              'python-openpyxl: needed for Excel XLSX input/output'
-              'python-xlrd: needed for Excel XLS input'
-              'python-xlwt: needed for Excel XLS output'
-              'python-xlsxwriter: alternative Excel XLSX output'
-              'python-jinja: needed for conditional HTML formatting'
-              'python-blosc: for msgpack compression using blosc'
-              'python-qtpy: needed for read_clipboard function (only one needed)'
-              'python-pyqt5: needed for read_clipboard function (only one needed)'
-              'xsel: needed for read_clipboard function (only one needed)'
-              'xclip: needed for read_clipboard function (only one needed)'
-              'python-beautifulsoup4: needed for read_html function'
-              'python-lxml: needed for read_html function (and/or python-html5lib)'
-              'python-html5lib: needed for read_hmlt function (and/or python-lxml)')
-
+package() {
   cd "$srcdir"/pandas-${pkgver}
-
   python setup.py install --skip-build --root="$pkgdir" --optimize=1
-
   install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
 }


More information about the arch-commits mailing list