summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarkos Chandras <hwoarang@gentoo.org>2010-10-18 08:09:01 +0000
committerMarkos Chandras <hwoarang@gentoo.org>2010-10-18 08:09:01 +0000
commitc3c06a6ca234097db97cc5a5f2f84c8314cd851e (patch)
tree4f49d7946122d4c24a3eaa36c34f70248a53cfe1 /app-misc/pysmssend
parentRespect LDFLAGS. Bug #334583 (diff)
downloadgentoo-2-c3c06a6ca234097db97cc5a5f2f84c8314cd851e.tar.gz
gentoo-2-c3c06a6ca234097db97cc5a5f2f84c8314cd851e.tar.bz2
gentoo-2-c3c06a6ca234097db97cc5a5f2f84c8314cd851e.zip
Introduce live ebuild
(Portage version: 2.2_rc96/cvs/Linux x86_64)
Diffstat (limited to 'app-misc/pysmssend')
-rw-r--r--app-misc/pysmssend/ChangeLog7
-rw-r--r--app-misc/pysmssend/pysmssend-9999.ebuild44
2 files changed, 50 insertions, 1 deletions
diff --git a/app-misc/pysmssend/ChangeLog b/app-misc/pysmssend/ChangeLog
index bedc47fc8306..b373be0904bb 100644
--- a/app-misc/pysmssend/ChangeLog
+++ b/app-misc/pysmssend/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-misc/pysmssend
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-misc/pysmssend/ChangeLog,v 1.17 2010/07/17 10:05:22 hwoarang Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-misc/pysmssend/ChangeLog,v 1.18 2010/10/18 08:09:01 hwoarang Exp $
+
+*pysmssend-9999 (18 Oct 2010)
+
+ 18 Oct 2010; Markos Chandras <hwoarang@gentoo.org> +pysmssend-9999.ebuild:
+ Introduce live ebuild
17 Jul 2010; Markos Chandras <hwoarang@gentoo.org> -pysmssend-1.40.ebuild,
-pysmssend-1.42.ebuild, -pysmssend-1.42-r1.ebuild, -pysmssend-1.44.ebuild:
diff --git a/app-misc/pysmssend/pysmssend-9999.ebuild b/app-misc/pysmssend/pysmssend-9999.ebuild
new file mode 100644
index 000000000000..63143fadd7e7
--- /dev/null
+++ b/app-misc/pysmssend/pysmssend-9999.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-misc/pysmssend/pysmssend-9999.ebuild,v 1.1 2010/10/18 08:09:01 hwoarang Exp $
+
+PYTHON_DEPEND="2:2.5"
+
+EAPI="2"
+
+inherit distutils eutils python multilib git
+
+DESCRIPTION="Python Application for sending sms over multiple ISPs"
+HOMEPAGE="http://pysmssend.sourceforge.net/"
+EGIT_REPO_URI="git://github.com/hwoarang/pysmssend.git"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS=""
+IUSE="qt4"
+
+RDEPEND="${DEPEND}
+ >=dev-python/mechanize-0.1.9
+ qt4? ( >=dev-python/PyQt4-4.3[X] )"
+
+S="${WORKDIR}/pysmssend"
+
+src_prepare() {
+ python_convert_shebangs -r 2 .
+}
+
+src_install() {
+ distutils_src_install
+ if use qt4; then
+ insinto /usr/share/${PN}/Icons || die "insinto failed"
+ doins Icons/* || die "doins failed"
+ doicon Icons/pysmssend.png || die "doicon failed"
+ dobin pysmssend pysmssendcmd || die "failed to create executables"
+ make_desktop_entry pysmssend pySMSsend pysmssend \
+ "Applications;Network" || die "make_desktop_entry failed"
+ else
+ dobin pysmssendcmd || die "failed to create executable"
+ dosym pysmssendcmd /usr/bin/pysmssend || die "dosym failed"
+ fi
+ dodoc README AUTHORS TODO || die "dodoc failed"
+}