diff options
author | Leo <thinkabit.ukim@gmail.com> | 2020-03-16 02:48:47 -0300 |
---|---|---|
committer | Leo <thinkabit.ukim@gmail.com> | 2020-04-02 01:43:47 +0000 |
commit | aad2afe051973fa7fd6f4f9b83703c09445ff17c (patch) | |
tree | 4266144bb0c3984f784b0dd910d33fa98a72c353 /community/py3-hoedown | |
parent | aad758e364da9a69d0d519b619cc6eb2c7d150f8 (diff) | |
download | aports-aad2afe051973fa7fd6f4f9b83703c09445ff17c.tar.bz2 aports-aad2afe051973fa7fd6f4f9b83703c09445ff17c.tar.xz |
community/py3-*: move from main/ and modernize
Diffstat (limited to 'community/py3-hoedown')
-rw-r--r-- | community/py3-hoedown/APKBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/community/py3-hoedown/APKBUILD b/community/py3-hoedown/APKBUILD new file mode 100644 index 0000000000..58cf134095 --- /dev/null +++ b/community/py3-hoedown/APKBUILD @@ -0,0 +1,26 @@ +# Contributor: Leo <thinkabit.ukim@gmail.com> +# Contributor: Eivind Uggedal <eu@eju.no> +# Maintainer: +pkgname=py3-hoedown +_pkgname=hoedown +pkgver=0.3.0 +pkgrel=1 +pkgdesc="Python binding for hoedown, a markdown parsing library" +options="!check" # PyPi has no tests in tarball, github releases have broken versioning +url="https://github.com/hhatto/python-hoedown" +arch="all" +license="MIT" +makedepends="python3-dev py3-setuptools" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" + +builddir="$srcdir"/$_pkgname-$pkgver + +build() { + python3 setup.py build +} + +package() { + python3 setup.py install --prefix=/usr --root="$pkgdir" +} + +sha512sums="e0a51566ad19c1ee774b93b81092d8ab3c8de335e4789ac08f415fdf6f2aa3441ded88f165089cd7874e5dcf5ac1276dcafbb9481ec70d4d89b5d751a905fe18 hoedown-0.3.0.tar.gz" |