python-Flask: drop package
This commit is contained in:
parent
1edc99626e
commit
02579256c5
3 changed files with 22 additions and 35 deletions
|
@ -1,34 +0,0 @@
|
|||
# Template file for 'python-Flask'
|
||||
pkgname=python-Flask
|
||||
version=1.1.2
|
||||
revision=1
|
||||
archs=noarch
|
||||
wrksrc="${pkgname#*-}-${version}"
|
||||
build_style=python-module
|
||||
hostmakedepends="python-setuptools python3-setuptools"
|
||||
depends="python-setuptools python-Jinja2 python-Werkzeug python-itsdangerous python-click"
|
||||
checkdepends="${depends} python-pytest python-hypothesis
|
||||
python3-pytest python3-hypothesis"
|
||||
short_desc="Python2 web microframework"
|
||||
maintainer="Markus Berger <pulux@pf4sh.de>"
|
||||
license="BSD-3-Clause"
|
||||
homepage="http://flask.pocoo.org"
|
||||
distfiles="${PYPI_SITE}/F/Flask/Flask-${version}.tar.gz"
|
||||
checksum=4efa1ae2d7c9865af48986de8aeb8504bf32c7f3d6fdc9353d34b21f4b127060
|
||||
alternatives="flask:flask:/usr/bin/flask2"
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE.rst
|
||||
}
|
||||
|
||||
python3-Flask_package() {
|
||||
archs=noarch
|
||||
depends="python3-setuptools python3-Jinja2 python3-Werkzeug python3-itsdangerous python3-click"
|
||||
short_desc="${short_desc/Python2/Python3}"
|
||||
alternatives="flask:flask:/usr/bin/flask3"
|
||||
pkg_install() {
|
||||
vmove usr/bin/flask3
|
||||
vmove usr/lib/python3*
|
||||
vlicense LICENSE.rst
|
||||
}
|
||||
}
|
|
@ -1 +0,0 @@
|
|||
python-Flask
|
22
srcpkgs/python3-Flask/template
Normal file
22
srcpkgs/python3-Flask/template
Normal file
|
@ -0,0 +1,22 @@
|
|||
# Template file for 'python3-Flask'
|
||||
pkgname=python3-Flask
|
||||
version=1.1.2
|
||||
revision=2
|
||||
wrksrc="${pkgname#*-}-${version}"
|
||||
build_style=python3-module
|
||||
hostmakedepends="python3-setuptools"
|
||||
depends="python3-setuptools python3-Jinja2 python3-Werkzeug
|
||||
python3-itsdangerous python3-click"
|
||||
checkdepends="${depends}
|
||||
python3-pytest python3-hypothesis"
|
||||
short_desc="Python3 web microframework"
|
||||
maintainer="Markus Berger <pulux@pf4sh.de>"
|
||||
license="BSD-3-Clause"
|
||||
homepage="http://flask.pocoo.org"
|
||||
distfiles="${PYPI_SITE}/F/Flask/Flask-${version}.tar.gz"
|
||||
checksum=4efa1ae2d7c9865af48986de8aeb8504bf32c7f3d6fdc9353d34b21f4b127060
|
||||
conflicts="python-Flask>=0"
|
||||
|
||||
post_install() {
|
||||
vlicense LICENSE.rst
|
||||
}
|
Loading…
Reference in a new issue