From f4b3e5554de185b284be7b9192b0c3182a97a4d1 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Fri, 22 Sep 2017 09:52:04 -0300 Subject: [PATCH] New package: turses-0.3.1. Closes: #7758 [via git-merge-pr] --- srcpkgs/turses/template | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 srcpkgs/turses/template diff --git a/srcpkgs/turses/template b/srcpkgs/turses/template new file mode 100644 index 0000000000..a662ca68c1 --- /dev/null +++ b/srcpkgs/turses/template @@ -0,0 +1,23 @@ +# Template file for 'turses' +pkgname=turses +version=0.3.1 +revision=1 +build_style=python2-module +short_desc="A Twitter client for the console" +maintainer="maxice8 " +hostmakedepends="python-setuptools" +depends="python-urwid python-future python-tweepy python-backports.configparser" +license="GPL-3" +homepage="https://pypi.python.org/pypi/turses" +distfiles="${PYPI_SITE}/t/turses/turses-${version}.tar.gz" +checksum=46a61541d1acd1338561a198b3011081b91f118415c08b111444cdb24685b396 +noarch=yes + +pre_build() { + # The package isn't updated for a time and the dependencies have been updated + # the build will work but running the program will fail because dependency + # versions don't match + sed '/tweepy==/d' -i setup.py + sed '/urwid==/d' -i setup.py + sed '/future==/d' -i setup.py +}