New package: hangups-0.4.6

closes #4501
This commit is contained in:
misuchiru03 2018-11-07 20:57:35 -07:00 committed by maxice8
parent 368a4d7956
commit 09028218df
No known key found for this signature in database
GPG Key ID: 543B9D4F4299F06B
1 changed files with 31 additions and 0 deletions

31
srcpkgs/hangups/template Normal file
View File

@ -0,0 +1,31 @@
# Template file for 'hangups'
pkgname=hangups
version=0.4.6
revision=1
build_style=python3-module
pycompile_module="hangups"
hostmakedepends="python3-setuptools"
depends="python3-MechanicalSoup python3-readlike python3-ReParser
python3-ConfigArgParse python3-aiohttp python3-async-timeout python3-appdirs
python3-requests python3-protobuf python3-urwid"
short_desc="Third-party text-based user interface for Google Hangouts"
maintainer="Alex Childs <misuchiru03+void@gmail.com>"
license="MIT"
homepage="https://github.com/tdryer/hangups"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=bb20f61fe92e030d26fdf9118b9f86a3274eb4e7e4bcb7a1d914768ed0a648b7
pre_build() {
# Remove version constraint on packages that have
# a strict version requirement.
sed -e "s|MechanicalSoup==.*,|MechanicalSoup',|" \
-e "s|urwid==.*,|urwid',|" \
-e "s|ReParser==.*,|ReParser',|" \
-e "s|ConfigArgParse==.*,|ConfigArgParse',|" \
-e "s|readlike==.*,|readlike',|" \
-i setup.py
}
post_install() {
vlicense LICENSE
}