diff options
author | Ista Zahn | 2018-05-02 12:43:04 -0400 |
---|---|---|
committer | Ista Zahn | 2018-05-02 12:43:04 -0400 |
commit | 506f9dc809aef689e9678ac1a157606ba7897b4c (patch) | |
tree | c748580eaa2b4f321ff5540e53a2bbdfdf3ced2e | |
download | aur-506f9dc809aef689e9678ac1a157606ba7897b4c.tar.gz |
initial rough draft
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 21 |
2 files changed, 37 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..c8447b5de27b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = python-fast-histogram + pkgdesc = Fast 1D and 2D histogram functions in Python + pkgver = 0.4 + pkgrel = 1 + url = https://github.com/astrofrog/fast-histogram + arch = i386 + arch = x86_64 + license = CUSTOM + makedepends = python-setuptools + depends = python + depends = python-numpy + source = https://files.pythonhosted.org/packages/dc/6b/3c796520422f5e5940d608ee0a3fff1ad4aa535132c2331581dab4e9a187/fast-histogram-0.4.tar.gz + sha256sums = 8afcea57930c9ede74ce304a45c5374128485e83c4c9ad143a8778c5ed281419 + +pkgname = python-fast-histogram + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..45c9dc3d6851 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Ista Zahn <istazahn@gmail.com> + +pkgname=python-fast-histogram +_pyname=fast-histogram +pkgver=0.4 +pkgrel=1 +pkgdesc="Fast 1D and 2D histogram functions in Python" +arch=('i386' 'x86_64') +url="https://github.com/astrofrog/fast-histogram" +license=('CUSTOM') +depends=('python' 'python-numpy') +makedepends=('python-setuptools') +source=(https://files.pythonhosted.org/packages/dc/6b/3c796520422f5e5940d608ee0a3fff1ad4aa535132c2331581dab4e9a187/fast-histogram-${pkgver}.tar.gz) +sha256sums=('8afcea57930c9ede74ce304a45c5374128485e83c4c9ad143a8778c5ed281419') + +package() { + cd "${srcdir}/${_pyname}-${pkgver}" + python setup.py install -O1 --root="${pkgdir}" + install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" + install -Dm 644 README.rst "${pkgdir}/usr/share/doc/${pkgname}/README" +} |