Cleanup of outdated packages.
This commit is contained in:
@@ -1,3 +0,0 @@
|
||||
DIST ReTextIcons_r3.tar.gz 21946 RMD160 8bfcf03bafd2a25ef5792aff70489a65655064e5 SHA1 c51d4a687c21b7de3fd24a14a7ae16e9b0869e31 SHA256 13d61b338296c299f40ecb3a81271f67e61b3b9769ab8c381fafa5b2e48950d7
|
||||
DIST ReText_3.0.2.tar.gz 92937 RMD160 25ef517683324d61405871ec66924171a96aeeb4 SHA1 23f11ca7697131e22c20703271a518a37e278b96 SHA256 62661b18dc4827d87ee7fd82b00f4d39bad4f0c157cdd18f3e46160c8214950a
|
||||
EBUILD retext-3.0.2.ebuild 1286 RMD160 8643dc6a0beccda0b6d63ec698bf6bef7ebd48fd SHA1 0a6c2e73c65ea1cb8fbe849c41ff28a08e41b33f SHA256 72a0129ee5dc66b9627697225a1c219dac54c0bf95496b45f92c3a536d9ecb3f
|
@@ -1,55 +0,0 @@
|
||||
# Copyright 1999-2012 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
EAPI=4
|
||||
|
||||
inherit python
|
||||
|
||||
DESCRIPTION="ReText is a simple editor that reads your text with MarkDown or \
|
||||
HTML markup and saves it as plain text, HTML or PDF."
|
||||
HOMEPAGE="http://sourceforge.net/projects/retext"
|
||||
SRC_URI="mirror://sourceforge/retext/ReText_${PV}.tar.gz
|
||||
mirror://sourceforge/retext/Icons/ReTextIcons_r3.tar.gz"
|
||||
|
||||
LICENSE="GPLv3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="gdocs spell"
|
||||
|
||||
DEPEND="dev-python/PyQt4
|
||||
dev-python/markdown
|
||||
dev-python/docutils
|
||||
spell? ( dev-python/pyenchant )
|
||||
gdocs? ( dev-python/gdata )
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_unpack() {
|
||||
mkdir -p ${P}/icons
|
||||
tar xzf ${DISTDIR}/ReText_${PV}.tar.gz -C ${P}/
|
||||
tar xzf ${DISTDIR}/ReTextIcons_r3.tar.gz -C ${P}/icons/
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e "s:^\(icon_path = \).*:\1\"/usr/share/${PN}/icons\":" \
|
||||
-e "s:\(wpgen/wpgen.py\):/usr/share/${PN}\1:" \
|
||||
-e "s:\(QSettings('\)ReText project\(', 'ReText')\):\1retext\2:" \
|
||||
retext.py
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin retext.py
|
||||
|
||||
insinto /usr/share/${PN}
|
||||
doins -r icons locale wpgen
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
echo
|
||||
elog
|
||||
elog "To activate PHP Markdown Extra compatibility, add "
|
||||
elog "mdExtensions=extra"
|
||||
elog "to ~/.config/retext/ReText.conf "
|
||||
elog
|
||||
}
|
Reference in New Issue
Block a user