From 41ebcd875337694cb4b3961cd577b0f5c0ae5698 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Thu, 21 Sep 2017 10:54:18 -0300 Subject: [PATCH] New package: python-tweepy-3.5.0. --- srcpkgs/python-tweepy/template | 38 ++++++++++++++++++++++++++++++++++ srcpkgs/python3-tweepy | 1 + srcpkgs/python3.4-tweepy | 1 + 3 files changed, 40 insertions(+) create mode 100644 srcpkgs/python-tweepy/template create mode 120000 srcpkgs/python3-tweepy create mode 120000 srcpkgs/python3.4-tweepy diff --git a/srcpkgs/python-tweepy/template b/srcpkgs/python-tweepy/template new file mode 100644 index 00000000000..4cabd769381 --- /dev/null +++ b/srcpkgs/python-tweepy/template @@ -0,0 +1,38 @@ +# Template file for 'python-tweepy' +pkgname=python-tweepy +_pypiname=tweepy +version=3.5.0 +revision=1 +wrksrc="${pkgname#*-}-${version}" +build_style=python-module +hostmakedepends="python-setuptools python3-setuptools python-pip python3-pip" +depends="python-requests python-requests-oauthlib python-six" +short_desc="Twitter library for python" +maintainer="maxice8 " +license="MIT" +homepage="https://pypy.python.org/pypi/tweepy/3.5.0" +distfiles="${PYPI_SITE}/t/tweepy/tweepy-${version}.tar.gz https://raw.githubusercontent.com/tweepy/tweepy/920f5c49c059c4ea7f16c7c4f070c484161525c3/LICENSE>LICENSE.txt" +checksum="f00ccf5f48c30d559ce0b750dfe3b2df6668dc799d8ce276fd90bfaa68845a58 + deeeae0dcc22dbf108a801b8dc4e484bcc1bfb541b1a4f4615ab3e61def44fb5" +noarch=yes + +post_install() { + vlicense ../LICENSE.txt +} + +python3-tweepy_package() { + noarch=yes + depends="python3" + replaces="python3.4-tweepy>=0" + short_desc="${short_desc/Python2/Python3}" + pkg_install() { + vmove usr/lib/python3* + vlicense ../LICENSE.txt + } +} +python3.4-tweepy_package() { + noarch=yes + build_style=meta + short_desc="${short_desc/Python2/Python3.4} (transitional dummy package)" + depends="python3-tweepy>=${version}_${revision}" +} diff --git a/srcpkgs/python3-tweepy b/srcpkgs/python3-tweepy new file mode 120000 index 00000000000..ff8b473eef2 --- /dev/null +++ b/srcpkgs/python3-tweepy @@ -0,0 +1 @@ +python-tweepy \ No newline at end of file diff --git a/srcpkgs/python3.4-tweepy b/srcpkgs/python3.4-tweepy new file mode 120000 index 00000000000..ff8b473eef2 --- /dev/null +++ b/srcpkgs/python3.4-tweepy @@ -0,0 +1 @@ +python-tweepy \ No newline at end of file