summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRomain Perier <mrpouet@gentoo.org>2009-08-18 20:36:36 +0000
committerRomain Perier <mrpouet@gentoo.org>2009-08-18 20:36:36 +0000
commit204f29480f16ec53e01743fb4b8a4e6cfe98f76e (patch)
tree5766b52635cea537d0e6c14722754fecbde8c714 /app-crypt/yapet
parentdev-python/eventlet: Remove useless ; at end of if block in src_install() (diff)
downloadsunrise-204f29480f16ec53e01743fb4b8a4e6cfe98f76e.tar.gz
sunrise-204f29480f16ec53e01743fb4b8a4e6cfe98f76e.tar.bz2
sunrise-204f29480f16ec53e01743fb4b8a4e6cfe98f76e.zip
app-crypt/yapet: Add ~amd64 into KEYWORDS. Fix QA messages from unpack() due to try to uncompress plain-text files. Switch to eapi-0 because src_prepare() and src_configure() added more code than with just src_unpack().Add ${patchset} in local scope
svn path=/sunrise/; revision=9049
Diffstat (limited to 'app-crypt/yapet')
-rw-r--r--app-crypt/yapet/Manifest2
-rw-r--r--app-crypt/yapet/yapet-0.4-r1.ebuild29
2 files changed, 16 insertions, 15 deletions
diff --git a/app-crypt/yapet/Manifest b/app-crypt/yapet/Manifest
index 813b79d41..e734a2d45 100644
--- a/app-crypt/yapet/Manifest
+++ b/app-crypt/yapet/Manifest
@@ -2,6 +2,6 @@ DIST yapet-0.4.tar.bz2 420062 RMD160 6ab06f1472d830b2ae886b55a6d6c4f931d01f0f SH
DIST yapet_cfgfile-0.4.diff 15064 RMD160 d0fe4551cd625e154e23906ccd3e1fc2030bf0e7 SHA1 867209f1e13ba4d44ca2600c339e0e769a99ffcc SHA256 38f14e88702a07264231924a9831e363332909c7cc0daa6af1f12e752e98250e
DIST yapet_csv2yapet-0.4.diff 157466 RMD160 5134d181362317f712ed6ee80e999e66f72dabe3 SHA1 9749256dadbd163681d2d49695e13b12b59b34bc SHA256 f71f5a51551f7e7d8fc69393b15e8a7157d71dae89ac617a9fb9b6ce423de86e
DIST yapet_vikeys-0.4.diff 448 RMD160 9e8b415d812e93370cf03bb3125430323adb7705 SHA1 667925796fa54f024b3bff0871e5add1578c881d SHA256 78bb0bccd40fd515b6d8f3a49c774d91135c02e99d92babb263b8517704c1983
-EBUILD yapet-0.4-r1.ebuild 1013 RMD160 5b50dab8108ddc9d5fc2ff71f52b776982fbf6e4 SHA1 7b975522fb59ee57a37d6bb28180fb4d34d4acd4 SHA256 64a30ce75cf195ca76fbba1ecc5f63e26cd0eac51958a5693e2e369932b5f900
+EBUILD yapet-0.4-r1.ebuild 1064 RMD160 31cc3f7beb7249a73b6e2f8ac437ecf6f20483f3 SHA1 0e3cfb33d407497130afa383816e0a30a5477ab6 SHA256 89b6086bf13d74f50b5b6201155b518331d6f0d31ba395e114478750cc767894
MISC ChangeLog 443 RMD160 00739688a05c4c702312d8a360d49293c1aa7608 SHA1 46fa989e96b3ed6c13fbfeb902896efc7ce02244 SHA256 a68dfaf0530449bd3cea017070cd4089a78328c8b20822d54bc8407f514d3359
MISC metadata.xml 170 RMD160 645927a396fdc21cdeb089fe42c5397332420ea6 SHA1 ac7f48a14fec325926f9ce1be8fbf1f311b4f2e4 SHA256 d797a2ec6f9dc516c9f9c1a758ee87ad3e8c43101b5dc76c2f872d5bd4639b42
diff --git a/app-crypt/yapet/yapet-0.4-r1.ebuild b/app-crypt/yapet/yapet-0.4-r1.ebuild
index d8b2f412f..677c947de 100644
--- a/app-crypt/yapet/yapet-0.4-r1.ebuild
+++ b/app-crypt/yapet/yapet-0.4-r1.ebuild
@@ -2,11 +2,9 @@
# Distributed under the terms of the GNU General Public License v2
# $Header: $
-EAPI=2
-
AT_NOELIBTOOLIZE=yes
-inherit base eutils autotools
+inherit eutils autotools
DESCRIPTION="A curses (text) based password encryption tool"
HOMEPAGE="http://www.guengel.ch/myapps/yapet/"
@@ -18,7 +16,7 @@ SRC_URI="${URI_PREFIX}${P}.tar.bz2
LICENSE="GPL-3"
SLOT="0"
-KEYWORDS="~x86"
+KEYWORDS="~x86 ~amd64"
IUSE="nls"
RDEPEND="nls? ( virtual/libintl )
@@ -26,18 +24,21 @@ RDEPEND="nls? ( virtual/libintl )
>=dev-libs/openssl-0.9.7"
DEPEND="${RDEPEND}"
-PATCHES=(
- "${DISTDIR}/yapet_csv2yapet-${PV}.diff"
- "${DISTDIR}/yapet_cfgfile-${PV}.diff"
- "${DISTDIR}/yapet_vikeys-${PV}.diff"
-)
+src_unpack() {
+ local patchset=(
+ "${DISTDIR}/yapet_csv2yapet-${PV}.diff"
+ "${DISTDIR}/yapet_cfgfile-${PV}.diff"
+ "${DISTDIR}/yapet_vikeys-${PV}.diff"
+ )
-src_prepare() {
- base_src_prepare
- eautoreconf
-}
+ unpack "${P}.tar.bz2"
+ cd "${S}"
-src_configure() {
+ for x in ${patchset[@]}; do
+ epatch ${x}
+ done
+
+ eautoreconf
econf --enable-terminal-title \
--enable-csv2yapet \
--disable-source-doc \