summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichał Górny <mgorny@gentoo.org>2014-12-27 16:26:49 +0000
committerMichał Górny <mgorny@gentoo.org>2014-12-27 16:26:49 +0000
commit36bd631486da137421b9154f10e540e7daae4575 (patch)
treedb3a0ac1c3c0973101ac45f0434019effacc9b19 /app-misc/pysmssend
parentVersion bump by Andreas Sturmlechner, bug 533140 (diff)
downloadgentoo-2-36bd631486da137421b9154f10e540e7daae4575.tar.gz
gentoo-2-36bd631486da137421b9154f10e540e7daae4575.tar.bz2
gentoo-2-36bd631486da137421b9154f10e540e7daae4575.zip
Convert to distutils-r1.
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key EFB4464E!)
Diffstat (limited to 'app-misc/pysmssend')
-rw-r--r--app-misc/pysmssend/ChangeLog7
-rw-r--r--app-misc/pysmssend/pysmssend-1.48-r1.ebuild49
2 files changed, 55 insertions, 1 deletions
diff --git a/app-misc/pysmssend/ChangeLog b/app-misc/pysmssend/ChangeLog
index 631415dceb53..4004418469c2 100644
--- a/app-misc/pysmssend/ChangeLog
+++ b/app-misc/pysmssend/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/pysmssend
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/pysmssend/ChangeLog,v 1.28 2014/06/16 11:24:28 kensington Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/pysmssend/ChangeLog,v 1.29 2014/12/27 16:26:49 mgorny Exp $
+
+*pysmssend-1.48-r1 (27 Dec 2014)
+
+ 27 Dec 2014; Michał Górny <mgorny@gentoo.org> +pysmssend-1.48-r1.ebuild:
+ Convert to distutils-r1.
16 Jun 2014; Michael Palimaka <kensington@gentoo.org> metadata.xml:
Remove Qt herd.
diff --git a/app-misc/pysmssend/pysmssend-1.48-r1.ebuild b/app-misc/pysmssend/pysmssend-1.48-r1.ebuild
new file mode 100644
index 000000000000..13b64e2cd7ad
--- /dev/null
+++ b/app-misc/pysmssend/pysmssend-1.48-r1.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/pysmssend/pysmssend-1.48-r1.ebuild,v 1.1 2014/12/27 16:26:49 mgorny Exp $
+
+EAPI=5
+
+PYTHON_COMPAT=( python2_7 )
+
+inherit distutils-r1 eutils
+
+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="qt4"
+
+DEPEND=">dev-python/mechanize-0.1.7b[${PYTHON_USEDEP}]
+ qt4? ( dev-python/PyQt4[X,${PYTHON_USEDEP}] )"
+RDEPEND="${DEPEND}"
+
+S=${WORKDIR}
+
+python_install() {
+ distutils-r1_python_install
+
+ python_doscript pysmssendcmd
+ if use qt4; then
+ python_doscript pysmssend
+ else
+ ln -s pysmssendcmd "${D}$(python_get_scriptdir)"/pysmssend || die
+ fi
+}
+
+src_install() {
+ distutils-r1_src_install
+ if use qt4; then
+ insinto /usr/share/${PN}/Icons
+ doins Icons/*
+ doicon Icons/pysmssend.png
+ make_desktop_entry pysmssend pySMSsend pysmssend \
+ "Applications;Network"
+ else
+ dosym pysmssendcmd /usr/bin/pysmssend
+ fi
+ dodoc README AUTHORS TODO
+}