mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 16:13:50 +02:00
python-twitter: add python3.4-twitter
This commit is contained in:
parent
a8e5e99ff7
commit
5b47dee74b
2 changed files with 15 additions and 1 deletions
|
@ -4,8 +4,9 @@ version=3.1
|
||||||
revision=1
|
revision=1
|
||||||
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"
|
hostmakedepends="python-setuptools python3.4-setuptools"
|
||||||
depends="python-requests python-requests-oauthlib"
|
depends="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>"
|
||||||
|
@ -13,3 +14,15 @@ license="Apache-2.0"
|
||||||
homepage="https://github.com/bear/python-twitter"
|
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() {
|
||||||
|
noarch=yes
|
||||||
|
depends="python3.4-requests python3.4-requests-oauthlib"
|
||||||
|
pycompile_version="3.4"
|
||||||
|
pycompile_module="twitter"
|
||||||
|
short_desc="${short_desc/Python2/Python3.4}"
|
||||||
|
pkg_install() {
|
||||||
|
vmove usr/lib/python3.4
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
1
srcpkgs/python3.4-twitter
Symbolic link
1
srcpkgs/python3.4-twitter
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
python-twitter
|
Loading…
Add table
Reference in a new issue