diff options
author | Yixun Lan <dlan@gentoo.org> | 2014-05-22 09:56:05 +0000 |
---|---|---|
committer | Yixun Lan <dlan@gentoo.org> | 2014-05-22 09:56:05 +0000 |
commit | 4217f7b039073e7f1024a5312fae62597d04511f (patch) | |
tree | 202a371bc39ebb5f89f94f4b8b0814592846909a /app-backup | |
parent | sci-chemistry/relax: Version BUmp (diff) | |
download | gentoo-2-4217f7b039073e7f1024a5312fae62597d04511f.tar.gz gentoo-2-4217f7b039073e7f1024a5312fae62597d04511f.tar.bz2 gentoo-2-4217f7b039073e7f1024a5312fae62597d04511f.zip |
drop using base.eclass, prune la, minor update
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key 0xAABEFD55)
Diffstat (limited to 'app-backup')
-rw-r--r-- | app-backup/snapper/ChangeLog | 8 | ||||
-rw-r--r-- | app-backup/snapper/snapper-0.2.2-r1.ebuild (renamed from app-backup/snapper/snapper-0.2.2.ebuild) | 30 | ||||
-rw-r--r-- | app-backup/snapper/snapper-9999.ebuild | 34 |
3 files changed, 31 insertions, 41 deletions
diff --git a/app-backup/snapper/ChangeLog b/app-backup/snapper/ChangeLog index 5c190ef03a40..3f9f3213d138 100644 --- a/app-backup/snapper/ChangeLog +++ b/app-backup/snapper/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for app-backup/snapper # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-backup/snapper/ChangeLog,v 1.1 2014/05/21 02:52:36 dlan Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-backup/snapper/ChangeLog,v 1.2 2014/05/22 09:56:05 dlan Exp $ + +*snapper-0.2.2-r1 (22 May 2014) + + 22 May 2014; Yixun Lan <dlan@gentoo.org> -snapper-0.2.2.ebuild, + +snapper-0.2.2-r1.ebuild, snapper-9999.ebuild: + drop using base.eclass, prune la, minor update *snapper-9999 (21 May 2014) *snapper-0.2.2 (21 May 2014) diff --git a/app-backup/snapper/snapper-0.2.2.ebuild b/app-backup/snapper/snapper-0.2.2-r1.ebuild index 5eb62f55930a..377f07278b74 100644 --- a/app-backup/snapper/snapper-0.2.2.ebuild +++ b/app-backup/snapper/snapper-0.2.2-r1.ebuild @@ -1,29 +1,18 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-backup/snapper/snapper-0.2.2.ebuild,v 1.1 2014/05/21 02:52:36 dlan Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-backup/snapper/snapper-0.2.2-r1.ebuild,v 1.1 2014/05/22 09:56:05 dlan Exp $ EAPI=5 -inherit base - -if [[ ${PV} = *9999* ]]; then - EGIT_REPO_URI="git://github.com/openSUSE/snapper.git" - AUTOTOOLS_AUTORECONF=1 - AUTOTOOLS_IN_SOURCE_BUILD=1 - inherit autotools-utils git-2 - SRC_URI="" - KEYWORDS="" -else - SRC_URI="ftp://ftp.suse.com/pub/projects/snapper/${P}.tar.bz2" - DOCS="AUTHORS README package/snapper.changes" - KEYWORDS="~amd64 ~x86" -fi +inherit eutils DESCRIPTION="Command-line program for btrfs and ext4 snapshot management" HOMEPAGE="http://snapper.io/" +SRC_URI="ftp://ftp.suse.com/pub/projects/snapper/${P}.tar.bz2" LICENSE="GPL-2" SLOT="0" +KEYWORDS="~amd64 ~x86" IUSE="+btrfs ext4 lvm pam xattr" RDEPEND="dev-libs/boost[threads] @@ -44,16 +33,16 @@ DEPEND="${RDEPEND} sys-devel/gettext virtual/pkgconfig" -DOCS="AUTHORS README" +DOCS=( AUTHORS README ) -PATCHES=( - "${FILESDIR}"/cron-confd.patch - ) +src_prepare() { + epatch "${FILESDIR}"/cron-confd.patch +} src_configure() { econf \ --with-conf="/etc/conf.d" \ - --docdir="/usr/share/doc/${P}" \ + --docdir="/usr/share/doc/${PF}" \ $(use_enable btrfs) \ $(use_enable ext4) \ $(use_enable lvm) \ @@ -66,6 +55,7 @@ src_install() { default # Existing configuration file required to function newconfd data/sysconfig.snapper snapper + prune_libtool_files } pkg_postinst() { diff --git a/app-backup/snapper/snapper-9999.ebuild b/app-backup/snapper/snapper-9999.ebuild index 112a94f29a09..bc4be552a20d 100644 --- a/app-backup/snapper/snapper-9999.ebuild +++ b/app-backup/snapper/snapper-9999.ebuild @@ -1,29 +1,21 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/app-backup/snapper/snapper-9999.ebuild,v 1.1 2014/05/21 02:52:36 dlan Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-backup/snapper/snapper-9999.ebuild,v 1.2 2014/05/22 09:56:05 dlan Exp $ EAPI=5 -inherit base - -if [[ ${PV} = *9999* ]]; then - EGIT_REPO_URI="git://github.com/openSUSE/snapper.git" - AUTOTOOLS_AUTORECONF=1 - AUTOTOOLS_IN_SOURCE_BUILD=1 - inherit autotools-utils git-2 - SRC_URI="" - KEYWORDS="" -else - SRC_URI="ftp://ftp.suse.com/pub/projects/snapper/${P}.tar.bz2" - DOCS="AUTHORS README package/snapper.changes" - KEYWORDS="~amd64 ~x86" -fi +EGIT_REPO_URI="git://github.com/openSUSE/snapper.git" +AUTOTOOLS_AUTORECONF=1 +AUTOTOOLS_IN_SOURCE_BUILD=1 +inherit eutils autotools-utils git-2 DESCRIPTION="Command-line program for btrfs and ext4 snapshot management" HOMEPAGE="http://snapper.io/" +SRC_URI="" LICENSE="GPL-2" SLOT="0" +KEYWORDS="" IUSE="+btrfs ext4 lvm pam xattr" RDEPEND="dev-libs/boost[threads] @@ -44,16 +36,17 @@ DEPEND="${RDEPEND} sys-devel/gettext virtual/pkgconfig" -DOCS="AUTHORS README" +DOCS=( AUTHORS README package/snapper.changes ) -PATCHES=( - "${FILESDIR}"/cron-confd.patch - ) +src_prepare() { + epatch "${FILESDIR}"/cron-confd.patch + autotools-utils_src_prepare +} src_configure() { econf \ --with-conf="/etc/conf.d" \ - --docdir="/usr/share/doc/${P}" \ + --docdir="/usr/share/doc/${PF}" \ $(use_enable btrfs) \ $(use_enable ext4) \ $(use_enable lvm) \ @@ -66,6 +59,7 @@ src_install() { default # Existing configuration file required to function newconfd data/sysconfig.snapper snapper + prune_libtool_files } pkg_postinst() { |