diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2022-07-02 21:48:03 -0500 |
---|---|---|
committer | Zach van Rijn <me@zv.io> | 2022-10-21 18:34:02 -0500 |
commit | 521a981afb9dd41e5ea2cf73b3f9c0f65e8fd5e4 (patch) | |
tree | 975402342c2661478daf22327443f3c2a338cf9a /user/py3-typogrify/APKBUILD | |
parent | 5ebc11691c50622415bd811aa546c28b504cf82f (diff) | |
download | packages-521a981afb9dd41e5ea2cf73b3f9c0f65e8fd5e4.tar.gz packages-521a981afb9dd41e5ea2cf73b3f9c0f65e8fd5e4.tar.bz2 packages-521a981afb9dd41e5ea2cf73b3f9c0f65e8fd5e4.tar.xz packages-521a981afb9dd41e5ea2cf73b3f9c0f65e8fd5e4.zip |
user/py3-typogrify: New package
Diffstat (limited to 'user/py3-typogrify/APKBUILD')
-rw-r--r-- | user/py3-typogrify/APKBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/user/py3-typogrify/APKBUILD b/user/py3-typogrify/APKBUILD new file mode 100644 index 000000000..6d68cbeec --- /dev/null +++ b/user/py3-typogrify/APKBUILD @@ -0,0 +1,28 @@ +# Contributor: A. Wilcox <awilfox@adelielinux.org> +# Maintainer: A. Wilcox <awilfox@adelielinux.org> +pkgname=py3-typogrify +_pkgname=typogrify +_p="${_pkgname#?}" +_p="${_pkgname%"$_p"}" +pkgver=2.0.7 +pkgrel=0 +pkgdesc="Python text filters to enhance Web typography" +url="https://pypi.org/project/typogrify/" +arch="noarch" +options="!check" # Test requires Django. +license="BSD-3-Clause" +depends="python3 py3-smartypants" +makedepends="" +subpackages="" +source="https://files.pythonhosted.org/packages/source/$_p/$_pkgname/$_pkgname-$pkgver.tar.gz" +builddir="$srcdir/$_pkgname-$pkgver" + +build() { + python3 setup.py build +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="6212024a88372f1b14e5932c0541ec4d5a2ada7514c1327dc8f3775cd7adf3372cae0037c4310ed4a03fd0657a91eb4c0d114b74172190f7f84d82908441ddd0 typogrify-2.0.7.tar.gz" |