python-twitter: rebuild for Python 3.5
Switch to python3-* pkgs. Convert python3.4-* pkg into dummy pkg.
This commit is contained in:
parent
42251a5e4f
commit
0548da03cb
|
@ -1,12 +1,11 @@
|
||||||
# Template file for 'python-twitter'
|
# Template file for 'python-twitter'
|
||||||
pkgname=python-twitter
|
pkgname=python-twitter
|
||||||
version=3.1
|
version=3.1
|
||||||
revision=2
|
revision=3
|
||||||
noarch=yes
|
noarch=yes
|
||||||
build_style=python-module
|
build_style=python-module
|
||||||
python_versions="2.7 3.4"
|
|
||||||
pycompile_module="twitter"
|
pycompile_module="twitter"
|
||||||
hostmakedepends="python-setuptools python3.4-setuptools"
|
hostmakedepends="python-setuptools python3-setuptools"
|
||||||
depends="python-future python-requests python-requests-oauthlib"
|
depends="python-future python-requests python-requests-oauthlib"
|
||||||
short_desc="Python2 wrapper around the Twitter API"
|
short_desc="Python2 wrapper around the Twitter API"
|
||||||
maintainer="Peter Bui <pnutzh4x0r@gmail.com>"
|
maintainer="Peter Bui <pnutzh4x0r@gmail.com>"
|
||||||
|
@ -15,14 +14,19 @@ homepage="https://github.com/bear/python-twitter"
|
||||||
distfiles="${PYPI_SITE}/p/${pkgname}/${pkgname}-${version}.tar.gz"
|
distfiles="${PYPI_SITE}/p/${pkgname}/${pkgname}-${version}.tar.gz"
|
||||||
checksum=74cfdd6a7bbe00fdd08ce582c9a2ee5d6c080e6c228ffced009a356092fbb923
|
checksum=74cfdd6a7bbe00fdd08ce582c9a2ee5d6c080e6c228ffced009a356092fbb923
|
||||||
|
|
||||||
python3.4-twitter_package() {
|
python3-twitter_package() {
|
||||||
noarch=yes
|
noarch=yes
|
||||||
pycompile_version="3.4"
|
|
||||||
pycompile_module="twitter"
|
pycompile_module="twitter"
|
||||||
depends="python3.4-future python3.4-requests python3.4-requests-oauthlib"
|
replaces="python3.4-twitter>=0"
|
||||||
short_desc="${short_desc/Python2/Python3.4}"
|
depends="python3-future python3-requests python3-requests-oauthlib"
|
||||||
|
short_desc="${short_desc/Python2/Python3}"
|
||||||
pkg_install() {
|
pkg_install() {
|
||||||
vmove usr/lib/python3.4
|
vmove usr/lib/python3*
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
python3.4-twitter_package() {
|
||||||
|
noarch=yes
|
||||||
|
build_style=meta
|
||||||
|
short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)"
|
||||||
|
depends="python3-twitter>=${version}_${revision}"
|
||||||
|
}
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
python-twitter
|
Loading…
Reference in New Issue