diff options
author | Manuel Lausch <mail@manuellausch.de> | 2014-04-21 23:16:09 -0400 |
---|---|---|
committer | Henry Gebhardt <hsggebhardt@gmail.com> | 2014-04-21 23:16:09 -0400 |
commit | e562bd244efdcfeb23ebb02017d342a0faf4f820 (patch) | |
tree | f5821978f2bae85d5dee903e92e07323c8c1d663 | |
parent | sci-astronomy/fpipe-9999.ebuild: update for git-r3 eclass (diff) | |
download | kork-e562bd244efdcfeb23ebb02017d342a0faf4f820.tar.gz kork-e562bd244efdcfeb23ebb02017d342a0faf4f820.tar.bz2 kork-e562bd244efdcfeb23ebb02017d342a0faf4f820.zip |
app-backup/bup: make sure bup uses python2
Also, update to EAPI=5.
-rw-r--r-- | app-backup/bup/bup-0.25-r2.ebuild (renamed from app-backup/bup/bup-0.25-r1.ebuild) | 11 | ||||
-rw-r--r-- | app-backup/bup/bup-9999.ebuild | 10 |
2 files changed, 17 insertions, 4 deletions
diff --git a/app-backup/bup/bup-0.25-r1.ebuild b/app-backup/bup/bup-0.25-r2.ebuild index 1cb2cdc..39cf21b 100644 --- a/app-backup/bup/bup-0.25-r1.ebuild +++ b/app-backup/bup/bup-0.25-r2.ebuild @@ -2,8 +2,9 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ -EAPI=4 -inherit eutils +EAPI=5 + +inherit eutils python DOC_COMMIT="bc21345a527cc446084369861655126f6b0ecd8a" @@ -30,8 +31,14 @@ DEPEND="|| ( dev-python/pylibacl" RDEPEND="${DEPEND}" +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + src_prepare() { mv "../bup-${DOC_COMMIT}" bup-man || die + python_convert_shebangs -r 2 . } src_configure() { diff --git a/app-backup/bup/bup-9999.ebuild b/app-backup/bup/bup-9999.ebuild index f3b7fa6..ac8e3f1 100644 --- a/app-backup/bup/bup-9999.ebuild +++ b/app-backup/bup/bup-9999.ebuild @@ -2,11 +2,11 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: $ -EAPI=4 +EAPI=5 EGIT_REPO_URI="git://github.com/bup/${PN}.git http://github.com/bup/${PN}.git" -inherit git-2 eutils +inherit git-2 eutils python DESCRIPTION="It backs things up based on the git packfile format" HOMEPAGE="http://github.com/bup/bup" @@ -30,8 +30,14 @@ DEPEND="|| ( doc? ( app-text/pandoc )" RDEPEND="${DEPEND}" +pkg_setup() { + python_set_active_version 2 + python_pkg_setup +} + src_prepare() { epatch_user + python_convert_shebangs -r 2 . } src_configure() { |