summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2010-06-17 10:53:41 +0000
committerJustin Lecher <jlec@gentoo.org>2010-06-17 10:53:41 +0000
commitc32a7235540bbca421d7cfc935fa3020ada1a350 (patch)
tree8db65c33a53a93253d6200797691355d23e68ba2 /dev-util/freshmeat-submit
parentSome QA (diff)
downloadgentoo-2-c32a7235540bbca421d7cfc935fa3020ada1a350.tar.gz
gentoo-2-c32a7235540bbca421d7cfc935fa3020ada1a350.tar.bz2
gentoo-2-c32a7235540bbca421d7cfc935fa3020ada1a350.zip
Fixes for python ABI support #324395, some QA, keyworded for amd64
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'dev-util/freshmeat-submit')
-rw-r--r--dev-util/freshmeat-submit/ChangeLog7
-rw-r--r--dev-util/freshmeat-submit/freshmeat-submit-1.6.ebuild25
2 files changed, 22 insertions, 10 deletions
diff --git a/dev-util/freshmeat-submit/ChangeLog b/dev-util/freshmeat-submit/ChangeLog
index 67da1c2fa8b7..6c2fc62e6de5 100644
--- a/dev-util/freshmeat-submit/ChangeLog
+++ b/dev-util/freshmeat-submit/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for dev-util/freshmeat-submit
-# Copyright 2000-2009 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/freshmeat-submit/ChangeLog,v 1.9 2009/08/01 19:08:22 darkside Exp $
+# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-util/freshmeat-submit/ChangeLog,v 1.10 2010/06/17 10:53:41 jlec Exp $
+
+ 17 Jun 2010; Justin Lecher <jlec@gentoo.org> freshmeat-submit-1.6.ebuild:
+ Fixes for python ABI support #324395, some QA, keyworded for amd64
01 Aug 2009; Jeremy Olexa <darkside@gentoo.org>
-freshmeat-submit-1.4.ebuild:
diff --git a/dev-util/freshmeat-submit/freshmeat-submit-1.6.ebuild b/dev-util/freshmeat-submit/freshmeat-submit-1.6.ebuild
index 505c27b248c4..6e127a8a791c 100644
--- a/dev-util/freshmeat-submit/freshmeat-submit-1.6.ebuild
+++ b/dev-util/freshmeat-submit/freshmeat-submit-1.6.ebuild
@@ -1,23 +1,32 @@
-# Copyright 1999-2009 Gentoo Foundation
+# Copyright 1999-2010 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-util/freshmeat-submit/freshmeat-submit-1.6.ebuild,v 1.4 2009/10/12 20:08:13 ssuominen Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-util/freshmeat-submit/freshmeat-submit-1.6.ebuild,v 1.5 2010/06/17 10:53:41 jlec Exp $
-DESCRIPTION="A utility for submitting version updates to freshmeat.net, designed to run from within a project release script, using freshmeat.net's XML- RPC interface."
+PYTHON_DEPEND="2"
+
+inherit python
+
+DESCRIPTION="A utility for submitting version updates to freshmeat.net, designed to run from within a project release script, using freshmeat.net's XML- RPC interface"
HOMEPAGE="http://www.catb.org/~esr/freshmeat-submit/"
SRC_URI="http://www.catb.org/~esr/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
-KEYWORDS="ppc x86"
+KEYWORDS="~amd64 ppc x86"
IUSE=""
-RDEPEND="virtual/python"
-DEPEND="${RDEPEND}"
+pkg_setup() {
+ python_set_active_version 2
+}
+
+src_prepare() {
+ python_convert_shebangs 2 ${PN}
+}
src_compile() { :; }
src_install() {
- doman freshmeat-submit.1 || die "doman failed"
+ doman ${PN}.1 || die "doman failed"
dodoc AUTHORS README || die "dodoc failed"
- dobin freshmeat-submit || die "dobin failed"
+ dobin ${PN} || die "dobin failed"
}