diff options
author | John Gerritse | 2022-01-07 14:16:41 +0100 |
---|---|---|
committer | John Gerritse | 2022-01-07 14:16:41 +0100 |
commit | 8c59c835f66f911aa0058e263e4928aac6571969 (patch) | |
tree | 9ff7941dead6251266c9474cef9fa90f04e3812f | |
download | aur-8c59c835f66f911aa0058e263e4928aac6571969.tar.gz |
New package, version 1.1.4
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | PKGBUILD | 23 |
2 files changed, 36 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..cc6c3167a378 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = python-cleantext + pkgdesc = An open-source python package to clean raw text data + pkgver = 1.1.4 + pkgrel = 0 + url = https://pypi.org/project/cleantext + arch = any + license = MIT + makedepends = python-setuptools + depends = python + source = https://files.pythonhosted.org/packages/source/c/cleantext/cleantext-1.1.4.tar.gz + sha256sums = 854003de912406d8d821623774b307dc6f0626fd9fac0bdc5d24864ee3f37578 + +pkgname = python-cleantext diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..da29f5139157 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: John Gerritse <tyrannis dot hawk at gmail dot com> +pkgname=python-cleantext +_name=${pkgname#python-} +pkgver=1.1.4 +pkgrel=0 +pkgdesc='An open-source python package to clean raw text data' +arch=(any) +url=https://pypi.org/project/cleantext +license=(MIT) +depends=(python) +makedepends=(python-setuptools) +source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") +sha256sums=('854003de912406d8d821623774b307dc6f0626fd9fac0bdc5d24864ee3f37578') + +build() { + cd "${srcdir}/${_name}-${pkgver}" + python setup.py build +} + +package() { + cd "${srcdir}/${_name}-${pkgver}" + python setup.py install --root="${pkgdir}/" --optimize=1 --skip-build +} |