mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-05 20:36:40 +02:00
community/py3-flup: upgrade to 1.0.3
This commit is contained in:
parent
22c35a41c7
commit
2424f3cb45
@ -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"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user