python-feedgenerator: update to 1.7
Switch to setuptools. Add python3.4 subpkg with pycompile support.
This commit is contained in:
parent
46376713e2
commit
9aa60df60d
2 changed files with 23 additions and 10 deletions
|
@ -1,17 +1,29 @@
|
||||||
# Template file for 'python-feedgenerator'
|
# Template file for 'python-feedgenerator'
|
||||||
pkgname=python-feedgenerator
|
pkgname=python-feedgenerator
|
||||||
version=1.5
|
version=1.7
|
||||||
revision=1
|
revision=1
|
||||||
|
noarch=yes
|
||||||
wrksrc="feedgenerator-${version}"
|
wrksrc="feedgenerator-${version}"
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
hostmakedepends="python-distribute"
|
python_versions="2.7 3.4"
|
||||||
makedepends="python-devel"
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||||
noarch="yes"
|
makedepends="python-devel python3.4-devel"
|
||||||
|
depends="python python-pytz python-six"
|
||||||
pycompile_module="feedgenerator"
|
pycompile_module="feedgenerator"
|
||||||
depends="python>=2.7 python-pytz python-six"
|
short_desc="Python2 standalone version of django.utils.feedgenerator"
|
||||||
short_desc="Python Standalone version of django.utils.feedgenerator"
|
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
homepage="http://pypi.python.org/pypi/feedgenerator"
|
homepage="https://pypi.python.org/pypi/feedgenerator/"
|
||||||
license="MIT"
|
license="BSD"
|
||||||
distfiles="http://pypi.python.org/packages/source/f/feedgenerator/feedgenerator-${version}.tar.gz"
|
distfiles="https://pypi.python.org/packages/source/f/feedgenerator/feedgenerator-${version}.tar.gz"
|
||||||
checksum=7bc7dae02d5ca37f305311ca1696f2945625b08db70056b35f18727894bc5a3e
|
checksum=5d6b0b10134ac392be0c0c3a39c0e1d7e9c17cc7894590f75981e3f497a4a60f
|
||||||
|
|
||||||
|
python3.4-feedgenerator_package() {
|
||||||
|
noarch=yes
|
||||||
|
depends="python3.4 python3.4-pytz python3.4-six"
|
||||||
|
pycompile_version="3.4"
|
||||||
|
pycompile_module="feedgenerator"
|
||||||
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3.4
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
1
srcpkgs/python3.4-feedgenerator
Symbolic link
1
srcpkgs/python3.4-feedgenerator
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-feedgenerator
|
Loading…
Reference in a new issue