app-misc/pysmssend: EAPI 6, drop USE qt4
authorAndreas Sturmlechner <asturm@gentoo.org>
Wed, 24 Jan 2018 21:46:01 +0000 (22:46 +0100)
committerAndreas Sturmlechner <asturm@gentoo.org>
Wed, 24 Jan 2018 21:48:28 +0000 (22:48 +0100)
Package-Manager: Portage-2.3.20, Repoman-2.3.6

app-misc/pysmssend/pysmssend-1.48-r2.ebuild [new file with mode: 0644]

diff --git a/app-misc/pysmssend/pysmssend-1.48-r2.ebuild b/app-misc/pysmssend/pysmssend-1.48-r2.ebuild
new file mode 100644 (file)
index 0000000..a3cb6c3
--- /dev/null
@@ -0,0 +1,34 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1
+
+DESCRIPTION="Python Application for sending sms over multiple ISPs"
+HOMEPAGE="http://pysmssend.silverarrow.org/"
+SRC_URI="http://pysmssend.silverarrow.org/files/${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+DEPEND=">dev-python/mechanize-0.1.7b[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"
+
+python_install() {
+       distutils-r1_python_install
+       python_doscript pysmssendcmd
+       ln -s pysmssendcmd "${D}$(python_get_scriptdir)"/pysmssend || die
+}
+
+src_install() {
+       distutils-r1_src_install
+       dosym   pysmssendcmd /usr/bin/pysmssend
+       einstalldocs
+}