diff options
author | Sashanoraa | 2022-02-12 05:42:48 -0500 |
---|---|---|
committer | Sashanoraa | 2022-02-12 05:43:43 -0500 |
commit | 1bde647c9db5250d43237144a159c2812e448de5 (patch) | |
tree | 86eda11320b91d710335de8400372589946a8039 | |
download | aur-1bde647c9db5250d43237144a159c2812e448de5.tar.gz |
Packaged version 1.2.0
Signed-off-by: Sashanoraa <sasha@noraa.gay>
-rw-r--r-- | .SRCINFO | 13 | ||||
-rw-r--r-- | .gitignore | 3 | ||||
-rw-r--r-- | PKGBUILD | 24 |
3 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..3de28afa3bb5 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,13 @@ +pkgbase = python-confusables + pkgdesc = A python package providing functionality for matching words that can be confused for eachother, but contain different characters + pkgver = 1.2.0 + pkgrel = 1 + url = https://pypi.org/project/confusables/ + arch = any + license = MIT + makedepends = python-setuptools + depends = python + source = https://files.pythonhosted.org/packages/source/c/confusables/confusables-1.2.0.tar.gz + sha256sums = 429caad05333832e1edabb80815704cd26530514369430f913002b2ba548c38e + +pkgname = python-confusables diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..7cec0847fcb3 --- /dev/null +++ b/.gitignore @@ -0,0 +1,3 @@ +/pkg +/src +/*.tar* diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..b994c02d2c07 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Sashanoraa <sasha@noraa.gay> + +pkgname=python-confusables +pkgver=1.2.0 +pkgrel=1 +pkgdesc="A python package providing functionality for matching words that can be confused for eachother, but contain different characters" +arch=('any') +url="https://pypi.org/project/confusables/" +license=('MIT') +_name=${pkgname#python-} +source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") +depends=('python') +makedepends=('python-setuptools') +sha256sums=('429caad05333832e1edabb80815704cd26530514369430f913002b2ba548c38e') + +build() { + cd "$srcdir/$_name-$pkgver" + python setup.py build +} + +package() { + cd "$srcdir/$_name-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 +} |