Date: Wednesday, April 3, 2019 @ 05:58:33 Author: aginiewicz Revision: 448266
archrelease: copy trunk to community-x86_64 Added: python-pandas/repos/community-x86_64/PKGBUILD (from rev 448265, python-pandas/trunk/PKGBUILD) Deleted: python-pandas/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 220 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 110 insertions(+), 110 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2019-04-03 05:58:25 UTC (rev 448265) +++ PKGBUILD 2019-04-03 05:58:33 UTC (rev 448266) @@ -1,110 +0,0 @@ -# Maintainer: Andrzej Giniewicz <ggi...@gmail.com> -# Contributor: Keith Hughitt <khugh...@umd.edu> - -# 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) - -pkgbase=python-pandas -pkgname=('python2-pandas' 'python-pandas') -pkgver=0.24.1 -pkgrel=1 -pkgdesc="Cross-section and time series data analysis toolkit" -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') -source=("https://github.com/pandas-dev/pandas/releases/download/v${pkgver}/pandas-${pkgver}.tar.gz") -sha1sums=('bbfce73cccc9589ef9201d807c05bb2b6a8fa1d9') - -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)') - - cd "$srcdir"/pandas-${pkgver} - - python setup.py install --skip-build --root="$pkgdir" --optimize=1 - - install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE -} Copied: python-pandas/repos/community-x86_64/PKGBUILD (from rev 448265, python-pandas/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2019-04-03 05:58:33 UTC (rev 448266) @@ -0,0 +1,110 @@ +# Maintainer: Andrzej Giniewicz <ggi...@gmail.com> +# Contributor: Keith Hughitt <khugh...@umd.edu> + +# 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) + +pkgbase=python-pandas +pkgname=('python2-pandas' 'python-pandas') +pkgver=0.24.2 +pkgrel=1 +pkgdesc="Cross-section and time series data analysis toolkit" +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') +source=("https://github.com/pandas-dev/pandas/releases/download/v${pkgver}/pandas-${pkgver}.tar.gz") +sha256sums=('4f919f409c433577a501e023943e582c57355d50a724c589e78bc1d551a535a2') + +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)') + + cd "$srcdir"/pandas-${pkgver} + + python setup.py install --skip-build --root="$pkgdir" --optimize=1 + + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +}