[arch-commits] Commit in python-pandas/repos/community-x86_64 (PKGBUILD PKGBUILD)
Bruno Pagani
archange at gemini.archlinux.org
Sat Apr 2 19:56:17 UTC 2022
Date: Saturday, April 2, 2022 @ 19:56:16
Author: archange
Revision: 1180866
archrelease: copy trunk to community-x86_64
Added:
python-pandas/repos/community-x86_64/PKGBUILD
(from rev 1180865, python-pandas/trunk/PKGBUILD)
Deleted:
python-pandas/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 181 ++++++++++++++++++++++++++++++++++++++++---------------------
1 file changed, 119 insertions(+), 62 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-04-02 19:55:47 UTC (rev 1180865)
+++ PKGBUILD 2022-04-02 19:56:16 UTC (rev 1180866)
@@ -1,62 +0,0 @@
-# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-# Contributor: Keith Hughitt <khughitt at umd.edu>
-
-# TODO: move python-fastparque from AUR to community (Apache Parquet)
-# TODO: move python-gcsfs from AUR to community (Google Cloud Storage access)
-# TODO: move python-numba from AUR to community (Alternative execution engine)
-# TODO: package python-pandas-gbq (Google BigQuery I/O)
-# TODO: package python-pyreadstat (SPSS files reading)
-# TODO: package python-pyxlsb (reading XLSB files)
-# TODO: move python-s3fs from AUR to community (Amazon S3 access)
-# 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)
-
-pkgname=python-pandas
-pkgver=1.4.1
-pkgrel=1
-pkgdesc='High-performance, easy-to-use data structures and data analysis tools for Python'
-arch=('x86_64')
-url="https://pandas.pydata.org/"
-license=('BSD')
-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-beautifulsoup4: needed for read_html function'
- 'python-jinja: needed for conditional HTML formatting'
- 'python-pyqt5: needed for read_clipboard function (only one needed)'
- 'python-pytables: needed for HDF5-based storage'
- 'python-sqlalchemy: needed for SQL database support'
- 'python-scipy: needed for miscellaneous statistical functions'
- 'python-xlsxwriter: alternative Excel XLSX output'
- 'python-blosc: for msgpack compression using blosc'
- 'python-html5lib: needed for read_hmlt function (and/or python-lxml)'
- 'python-lxml: needed for read_html function (and/or python-html5lib)'
- 'python-matplotlib: needed for plotting'
- 'python-openpyxl: needed for Excel XLSX input/output'
- 'python-psycopg2: needed for PostgreSQL engine for sqlalchemy'
- 'python-pymysql: needed for MySQL engine for sqlalchemy'
- 'python-qtpy: needed for read_clipboard function (only one needed)'
- 'python-tabulate: needed for printing in Markdown-friendly format'
- 'python-fsspec: needed for handling files aside from local and HTTP'
- 'xclip: needed for read_clipboard function (only one needed)'
- 'python-xlrd: needed for Excel XLS input'
- 'python-xlwt: needed for Excel XLS output'
- 'xsel: needed for read_clipboard function (only one needed)'
- 'zlib: needed for compression for msgpack')
-source=("https://github.com/pandas-dev/pandas/releases/download/v${pkgver}/pandas-${pkgver}.tar.gz")
-sha256sums=('8db93ec98ac7cb5f8ac1420c10f5e3c43533153f253fe7fb6d891cf5aa2b80d2')
-
-build() {
- cd pandas-${pkgver}
- python setup.py build_ext --inplace
- python setup.py build
-}
-
-package() {
- cd 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 1180865, python-pandas/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-04-02 19:56:16 UTC (rev 1180866)
@@ -0,0 +1,119 @@
+# Maintainer: Andrzej Giniewicz <gginiu at gmail.com>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+# Contributor: Keith Hughitt <khughitt at umd.edu>
+
+pkgname=python-pandas
+pkgver=1.4.2
+pkgrel=1
+pkgdesc='High-performance, easy-to-use data structures and data analysis tools for Python'
+arch=(x86_64)
+url="https://pandas.pydata.org/"
+license=(BSD)
+depends=('python-numpy' 'python-dateutil' 'python-pytz' 'python-setuptools')
+makedepends=('cython')
+optdepends=(
+ 'python-pandas-datareader: pandas.io.data replacement (recommended)'
+ 'python-numexpr: accelerating certain numerical operations (recommended)'
+ 'python-bottleneck: accelerating certain types of nan evaluations (recommended)'
+ 'python-matplotlib: plotting'
+ 'python-jinja: conditional formatting with DataFrame.style'
+ 'python-tabulate: printing in Markdown-friendly format'
+ 'python-scipy: miscellaneous statistical functions'
+ # 'python-numba: alternative execution engine' (in the AUR)
+ 'python-xarray: pandas-like API for N-dimensional data'
+ 'python-xlrd: Excel XLS input'
+ 'python-xlwt: Excel XLS output'
+ 'python-openpyxl: Excel XLSX input/output'
+ 'python-xlsxwriter: alternative Excel XLSX output'
+ # 'python-pyxlsb: XLSB input' (nowhere)
+ 'python-beautifulsoup4: read_html function (in any case)'
+ 'python-html5lib: read_html function (and/or python-lxml)'
+ 'python-lxml: read_xml, to_xml and read_html function (and/or python-html5lib)'
+ 'python-sqlalchemy: SQL database support'
+ 'python-psycopg2: PostgreSQL engine for sqlalchemy'
+ 'python-pymysql: MySQL engine for sqlalchemy'
+ 'python-pytables: HDF5-based reading / writing'
+ 'python-blosc: for msgpack compression using blosc'
+ 'zlib: compression for msgpack'
+ # 'python-fastparquet: Parquet reading / writing' (in the AUR)
+ 'python-pyarrow: Parquet, ORC and feather reading/writing'
+ # 'python-pyreadstat: SPSS files reading' (in the AUR)
+ 'python-fsspec: handling files aside from local and HTTP'
+ # 'python-gcsfs: Google Cloud Storage access' (in the AUR)
+ # 'python-pandas-gbq: Google BigQuery access' (nowhere)
+ # 'python-s3fs: Amazon S3 access' (in the AUR)
+ 'python-pyqt5: read_clipboard function (only one needed)'
+ 'python-qtpy: read_clipboard function (only one needed)'
+ 'xclip: read_clipboard function (only one needed)'
+ 'xsel: read_clipboard function (only one needed)'
+ 'python-brotli: Brotli compression'
+ 'python-snappy: Snappy compression'
+ 'python-zstandard: Zstandard (zstd) compression'
+)
+checkdepends=(
+ 'python-pytest'
+ 'python-pytest-asyncio'
+ 'python-pytest-xdist'
+ 'python-hypothesis'
+ 'python-pandas-datareader'
+ 'python-numexpr'
+ 'python-bottleneck'
+ 'python-matplotlib'
+ 'python-jinja'
+ 'python-tabulate'
+ 'python-scipy'
+ # 'python-numba' (in the AUR)
+ 'python-xarray'
+ 'python-xlrd'
+ 'python-xlwt'
+ 'python-openpyxl'
+ 'python-xlsxwriter'
+ # 'python-pyxlsb' (nowhere)
+ 'python-beautifulsoup4'
+ 'python-html5lib'
+ 'python-lxml'
+ 'python-sqlalchemy'
+ 'python-pytables'
+ 'python-blosc'
+ 'zlib'
+ # 'python-fastparquet' (in the AUR)
+ 'python-pyarrow'
+ # 'python-pyreadstat' (in the AUR)
+ 'python-fsspec'
+ # 'python-gcsfs' (in the AUR)
+ # 'python-pandas-gbq' (nowhere)
+ # 'python-s3fs' (in the AUR)
+ 'python-pyqt5'
+ 'python-qtpy'
+ 'xclip'
+ 'xsel'
+ 'python-brotli'
+ 'python-snappy'
+ 'python-zstandard'
+)
+# {My,Postgre}SQL tests try to access local DB to no avail
+# 'python-psycopg2'
+# 'python-pymysql'
+# No test data in upstream crafted tarball
+#source=(https://github.com/pandas-dev/pandas/releases/download/v${pkgver}/pandas-${pkgver}.tar.gz)
+source=(https://github.com/pandas-dev/pandas/archive/refs/tags/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha256sums=('e2d97255e7cd13b3d3931b49f7be50055e02ca6dff60a68e403b125f8f85c4d2')
+
+build() {
+ cd pandas-${pkgver}
+ python setup.py build_ext --inplace
+ python setup.py build
+}
+
+check() {
+ cd pandas-${pkgver}
+ # raw clipboard access does not work in headless container
+ pytest -vv --color=yes pandas -k 'not test_raw_roundtrip'
+}
+
+package() {
+ cd 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