mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
app-misc/pysmssend: Drop old
Closes: https://bugs.gentoo.org/645632 Package-Manager: Portage-2.3.19, Repoman-2.3.6
This commit is contained in:
@@ -1,48 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
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
|
||||
}
|
||||
Reference in New Issue
Block a user