summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakub Moc <jakub@gentoo.org>2008-02-19 09:36:05 +0000
committerJakub Moc <jakub@gentoo.org>2008-02-19 09:36:05 +0000
commit7c4780ad170c2c3c8949b388a3fa0ed16e440b41 (patch)
treebc27c4dad81f065e95ace369f383000132799f41
parenteconf dies on its own; cosmetics (diff)
downloadsunrise-7c4780ad170c2c3c8949b388a3fa0ed16e440b41.tar.gz
sunrise-7c4780ad170c2c3c8949b388a3fa0ed16e440b41.tar.bz2
sunrise-7c4780ad170c2c3c8949b388a3fa0ed16e440b41.zip
net-nntp/xpn: Make LINGUAS handling more extensible, fix python_mod_cleanup
svn path=/sunrise/; revision=5733
-rw-r--r--net-nntp/xpn/ChangeLog3
-rw-r--r--net-nntp/xpn/Manifest4
-rw-r--r--net-nntp/xpn/xpn-1.0.0.ebuild16
3 files changed, 14 insertions, 9 deletions
diff --git a/net-nntp/xpn/ChangeLog b/net-nntp/xpn/ChangeLog
index 88133714d..37e2528f3 100644
--- a/net-nntp/xpn/ChangeLog
+++ b/net-nntp/xpn/ChangeLog
@@ -2,6 +2,9 @@
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 19 Feb 2008; Jakub Moc <jakub@gentoo.org> xpn-1.0.0.ebuild:
+ Make LINGUAS handling more extensible, fix python_mod_cleanup
+
10 Feb 2008; Markus Rennings (mren) <mren@mrmx.de> -xpn-0.7.0.ebuild,
+xpn-1.0.0.ebuild:
Version bump
diff --git a/net-nntp/xpn/Manifest b/net-nntp/xpn/Manifest
index 330d615c4..9ecd155a9 100644
--- a/net-nntp/xpn/Manifest
+++ b/net-nntp/xpn/Manifest
@@ -1,4 +1,4 @@
DIST xpn-1.0.0.tar.gz 285793 RMD160 5a35fae59ee7901aac3f006dc5118884fe089a2f SHA1 53b80f7b28eaed9c47909526c26b6dd550502bc4 SHA256 e7c89ea24fa244af6c22c99852bd5d72bfc6ddeef3e64b8ddeefd77180bccdab
-EBUILD xpn-1.0.0.ebuild 1427 RMD160 e49781276398bb784e15752b38c99879ddb541b1 SHA1 e3381ef623a487876f59471a4034de47d09866fc SHA256 4edcbb3b2625bc297bae982591de58e9b8657513ef620a32a3ff75620faf43b3
-MISC ChangeLog 673 RMD160 5ca81b17aa6cc238b2495039e4bfc93c04531e60 SHA1 a01f76657d4cd262eec121ca2747f1e28dd942ab SHA256 76f7dfaf2d274ac2f2b7a4d72d7cfef25e3281ef6af87053099ddb9e4a3d6578
+EBUILD xpn-1.0.0.ebuild 1347 RMD160 625fd0bd8632bfbce9885ee42d2e67129ed289c7 SHA1 b7b356873c7b628c04b25b7af21082d09e16fd55 SHA256 2ab645647d3917adb743ab4acc8270068d2c9c517fdf833363d51677b9cee5bc
+MISC ChangeLog 800 RMD160 5c29ece2599b86b751716e439a9fb342ed3186a2 SHA1 49a8792eb7b43cfddc8017b191b018c6c4269cbf SHA256 44145411c429eccf79dfb080b452ab52b6d413f6e699d2d871c6f125ae916099
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/net-nntp/xpn/xpn-1.0.0.ebuild b/net-nntp/xpn/xpn-1.0.0.ebuild
index 9d66636d5..894365f46 100644
--- a/net-nntp/xpn/xpn-1.0.0.ebuild
+++ b/net-nntp/xpn/xpn-1.0.0.ebuild
@@ -11,7 +11,10 @@ SRC_URI="http://xpn.altervista.org/codice/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
-IUSE="linguas_de linguas_fr linguas_it"
+LANGS="de fr it"
+for i in ${LANGS} ; do
+ IUSE="${IUSE} linguas_${i}"
+done
DEPEND=""
RDEPEND=">=dev-lang/python-2.4
@@ -23,10 +26,10 @@ src_install() {
exeinto /usr/$(get_libdir)/python${PYVER}/site-packages/${PN}
doexe ${PN}.py
- insinto /usr/$(get_libdir)/python${PYVER}/site-packages/${PN}/lang
- use linguas_de && doins -r lang/de
- use linguas_fr && doins -r lang/fr
- use linguas_it && doins -r lang/it
+ for i in ${LANGS} ; do
+ insinto /usr/$(get_libdir)/python${PYVER}/site-packages/${PN}/lang
+ use linguas_${i} && doins -r lang/${i}
+ done
insinto /usr/$(get_libdir)/python${PYVER}/site-packages/${PN}/pixmaps
doins pixmaps/*
@@ -49,6 +52,5 @@ pkg_postinst() {
}
pkg_postrm() {
- python_version
- python_mod_cleanup "${ROOT}usr/$(get_libdir)/python${PYVER}/site-packages/${PN}"
+ python_mod_cleanup
}