void-packages/srcpkgs/turses/template
Lugubris d78cb0d201 Drop maintainership of orphaned packages
some packages were dropped but their maintainer= was not updated in template.
this will help new maintainers adopt these packages.

-> https://github.com/void-linux/void-packages/pull/13930#issuecomment-524610652
2019-08-25 21:16:43 +02:00

23 lines
798 B
Bash

# 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="Orphaned <orphan@voidlinux.org>"
hostmakedepends="python-setuptools"
depends="python-urwid python-future python-tweepy python-backports.configparser"
license="GPL-3"
homepage="https://pypi.org/project/turses/"
distfiles="${PYPI_SITE}/t/turses/turses-${version}.tar.gz"
checksum=46a61541d1acd1338561a198b3011081b91f118415c08b111444cdb24685b396
archs=noarch
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
}