Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 436250 - net-misc/beanstalkd-1.7 version bump
Summary: net-misc/beanstalkd-1.7 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: Normal enhancement (vote)
Assignee: Patrick Lauer
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-09-25 21:55 UTC by Johan Bergström
Modified: 2012-10-01 03:09 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
beanstalkd-1.7.ebuild (beanstalkd-1.7.ebuild,938 bytes, text/plain)
2012-09-25 21:55 UTC, Johan Bergström
Details
init-1.7 (init-1.7,507 bytes, text/plain)
2012-09-25 21:56 UTC, Johan Bergström
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Johan Bergström 2012-09-25 21:55:07 UTC
New day, new version. Did a couple of minor fixes while at it:
 - test suite requires <py3
 - updated license for init script (bug 425908)
 - EAPI=4

/beanstalkd/beanstalkd-1.7.ebuild 
--- /usr/portage/app-misc/beanstalkd/beanstalkd-1.6.ebuild	2012-06-01 10:31:04.000000000 +1000
+++ /usr/local/portage/app-misc/beanstalkd/beanstalkd-1.7.ebuild	2012-09-26 07:50:41.601232717 +1000
@@ -2,9 +2,11 @@
 # Distributed under the terms of the GNU General Public License v2
 # $Header: /var/cvsroot/gentoo-x86/app-misc/beanstalkd/beanstalkd-1.6.ebuild,v 1.2 2012/06/01 00:26:21 zmedico Exp $
 
-EAPI="3"
+EAPI="4"
 
-inherit eutils user
+PYTHON_DEPEND="test? 2"
+
+inherit eutils python user
 
 DESCRIPTION="A fast, distributed, in-memory workqueue service"
 HOMEPAGE="http://xph.us/software/beanstalkd/"
@@ -15,12 +17,13 @@
 KEYWORDS="~amd64 ~mips ~x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x64-macos ~x86-macos"
 
 RDEPEND=""
-DEPEND="test? ( dev-lang/python )"
+DEPEND=""
 
 IUSE="test"
 
 pkg_setup() {
 	enewuser beanstalk -1 -1 /var/lib/beanstalkd daemon
+	python_set_active_version 2
 }
 
 src_compile() {
@@ -28,15 +31,15 @@
 }
 
 src_install() {
-	dobin beanstalkd || die
+	dobin beanstalkd
 
 	DATADIR=/var/lib/${PN}
-	dodir ${DATADIR} || die
+	dodir ${DATADIR}
 	fowners beanstalk:daemon ${DATADIR}
 
 	doman doc/"${PN}".1
 
-	dodoc README NEWS.md doc/*.txt || die
+	dodoc README NEWS.md doc/*.txt
 
 	newconfd "${FILESDIR}/conf-1.4.2" beanstalkd
-	newinitd "${FILESDIR}/init-1.4.6" beanstalkd
+	newinitd "${FILESDIR}/init-${PV}" beanstalkd
 }
Comment 1 Johan Bergström 2012-09-25 21:55:50 UTC
Created attachment 324994 [details]
beanstalkd-1.7.ebuild
Comment 2 Johan Bergström 2012-09-25 21:56:03 UTC
Created attachment 324996 [details]
init-1.7
Comment 3 Patrick Lauer gentoo-dev 2012-10-01 03:09:07 UTC
+  01 Oct 2012; Patrick Lauer <patrick@gentoo.org> +beanstalkd-1.7.ebuild,
+  +files/init-1.7, -beanstalkd-1.3.ebuild, -beanstalkd-1.4.6.ebuild:
+  Bump for #436250