summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorStelios Tsampas2020-02-25 18:20:21 +0200
committerStelios Tsampas2020-02-25 18:20:21 +0200
commit240b38bf55711035139822f1b005610c2abff8d5 (patch)
treee0642f3c5e0aee6422782bcaf914a496d9e6d0d3
downloadaur-240b38bf55711035139822f1b005610c2abff8d5.tar.gz
Initial commit
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD24
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3f8215992b1
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = python-pandarallel
+ pkgdesc = A simple and efficient tool to parallelize Pandas operations on all available CPUs
+ pkgver = 1.4.5
+ pkgrel = 1
+ url = https://github.com/nalepae/pandarallel
+ arch = x86_64
+ license = BSD
+ makedepends = python
+ depends = python-pandas
+ depends = python-dill
+ depends = python-setuptools
+ source = pandarallel-1.4.5.tar.gz::https://github.com/nalepae/pandarallel/archive/v1.4.5.tar.gz
+ sha256sums = df732f788679887ce8c741a76da95580906484025a09e40075d71d9f84994f27
+
+pkgname = python-pandarallel
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..2e376a56d02
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: loathingkernel <username ta gmail tod com>
+
+pkgname=python-pandarallel
+pkgver=1.4.5
+pkgrel=1
+pkgdesc="A simple and efficient tool to parallelize Pandas operations on all available CPUs"
+arch=('x86_64')
+url="https://github.com/nalepae/pandarallel"
+license=('BSD')
+depends=('python-pandas' 'python-dill' 'python-setuptools')
+makedepends=('python')
+source=("pandarallel-$pkgver.tar.gz::https://github.com/nalepae/pandarallel/archive/v$pkgver.tar.gz")
+sha256sums=('df732f788679887ce8c741a76da95580906484025a09e40075d71d9f84994f27')
+
+build() {
+ cd "$srcdir"/pandarallel-${pkgver}
+ python setup.py build
+}
+
+package() {
+ cd "$srcdir"/pandarallel-${pkgver}
+ python setup.py install --skip-build --root="$pkgdir" --optimize=1
+ install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}