diff options
author | Leo <thinkabit.ukim@gmail.com> | 2019-06-08 07:29:02 -0300 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2019-06-28 14:57:01 +0000 |
commit | 2424f3cb454b8cd36455cd5e97edf260ff655031 (patch) | |
tree | f68408ff28c5d94870a122386c056f1156cb0dfe /community/py3-flup | |
parent | 22c35a41c70f97ad3dd1d16a98049f5bbbebfc88 (diff) | |
download | aports-2424f3cb454b8cd36455cd5e97edf260ff655031.tar.bz2 aports-2424f3cb454b8cd36455cd5e97edf260ff655031.tar.xz |
community/py3-flup: upgrade to 1.0.3
Diffstat (limited to 'community/py3-flup')
-rw-r--r-- | community/py3-flup/APKBUILD | 36 |
1 files changed, 13 insertions, 23 deletions
diff --git a/community/py3-flup/APKBUILD b/community/py3-flup/APKBUILD index 7a886a0ed9..e3616a1978 100644 --- a/community/py3-flup/APKBUILD +++ b/community/py3-flup/APKBUILD @@ -1,39 +1,29 @@ # Contributor: <xmingske@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> +pkgname=py3-flup _pkgname=flup -pkgname=py-${_pkgname} -pkgver=1.0.2 +pkgver=1.0.3 pkgrel=0 pkgdesc="WSGI modules for Python" +options="!check" # No testsuite url="https://www.saddi.com/software/flup/" arch="noarch" -license="BSD" -makedepends="python2-dev py-setuptools" -depends="python2" -source="$pkgname-$pkgver.tar.gz::https://www.saddi.com/software/flup/dist/${_pkgname}-${pkgver}.tar.gz" +license="BSD-2-Clause" +depends="python3" +makedepends="py3-setuptools" +source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz" -_builddir="${srcdir}/${_pkgname}-${pkgver}" +replaces="py-flup" # Backwards compatibility +provides="py-flup=$pkgver-r$pkgrel" # Backwards compatibility -prepare() { - local pf - cd "${_builddir}" - for pf in $source; do - case $pf in - *.patch) msg $pf; patch -p1 -i "$srcdir"/${pf} || return 1;; - esac - done -} +builddir="${srcdir}/${_pkgname}-${pkgver}" build() { - cd "${_builddir}" - python2 setup.py build || return 1 + python3 setup.py build } package() { - cd "${_builddir}" - python2 setup.py install --prefix=/usr --root="$pkgdir" || return 1 + python3 setup.py install --prefix=/usr --root="$pkgdir" } -md5sums="24dad7edc5ada31dddd49456ee8d5254 py-flup-1.0.2.tar.gz" -sha256sums="4bad317a5fc1ce3d4fe5e9b6d846ec38a8023e16876785d4f88102f2c8097dd9 py-flup-1.0.2.tar.gz" -sha512sums="65c610f9ddc3df6ed6deb6753b2b15ce4f4579efd9dfd25166d3b6803e5d7058fee6617388c9c67c39f7db54da5c918181dcbddfbb7be4a78cf8b65501af4c4a py-flup-1.0.2.tar.gz" +sha512sums="f165685b39a8539d29d48d0ad3c9c0495f428892b8935545a128730687c658a1e8b74a09c8084dd4a2490b1d26f1382b48c95ba43401171fd46876b068ba2f8e flup-1.0.3.tar.gz" |