mirror of
https://github.com/void-linux/void-packages.git
synced 2025-07-29 00:42:58 +02:00
python-MarkupSafe: rebuild for cross musl
This commit is contained in:
parent
387e5af8c1
commit
a22bef89f6
1 changed files with 6 additions and 8 deletions
|
@ -1,32 +1,30 @@
|
||||||
# Template file for 'python-MarkupSafe'
|
# Template file for 'python-MarkupSafe'
|
||||||
pkgname=python-MarkupSafe
|
pkgname=python-MarkupSafe
|
||||||
version=0.23
|
version=0.23
|
||||||
revision=4
|
revision=5
|
||||||
wrksrc="MarkupSafe-${version}"
|
wrksrc="MarkupSafe-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||||
makedepends="python-devel python3.4-devel"
|
makedepends="python-devel python3.4-devel"
|
||||||
depends="python>=2.7"
|
|
||||||
python_versions="2.7 3.4"
|
python_versions="2.7 3.4"
|
||||||
pycompile_module="markupsafe"
|
pycompile_module="markupsafe"
|
||||||
short_desc="Implements a XML/HTML/XHTML Markup safe string for Python2"
|
short_desc="Implements a XML/HTML/XHTML Markup safe string for Python2"
|
||||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||||
homepage="http://pypi.python.org/pypi/MarkupSafe"
|
homepage="http://github.com/mitsuhiko/markupsafe"
|
||||||
license="MIT"
|
license="BSD"
|
||||||
distfiles="http://pypi.python.org/packages/source/M/MarkupSafe/MarkupSafe-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/M/MarkupSafe/MarkupSafe-${version}.tar.gz"
|
||||||
checksum=a4ec1aff59b95a14b45eb2e23761a0179e98319da5a7eb76b56ea8cdc7b871c3
|
checksum=a4ec1aff59b95a14b45eb2e23761a0179e98319da5a7eb76b56ea8cdc7b871c3
|
||||||
|
|
||||||
post_install() {
|
post_install() {
|
||||||
vinstall LICENSE 644 usr/share/licenses/${pkgname}
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
|
|
||||||
python3.4-MarkupSafe_package() {
|
python3.4-MarkupSafe_package() {
|
||||||
depends="python3.4"
|
|
||||||
pycompile_version="3.4"
|
pycompile_version="3.4"
|
||||||
pycompile_module="markupsafe"
|
pycompile_module="markupsafe"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove /usr/lib/python3.4
|
vmove /usr/lib/python3.4
|
||||||
vinstall ${wrksrc}/LICENSE 644 usr/share/licenses/${pkgname}
|
vlicense LICENSE
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue