diff options
author | Aaron Walker <ka0ttic@gentoo.org> | 2005-06-22 15:58:58 +0000 |
---|---|---|
committer | Aaron Walker <ka0ttic@gentoo.org> | 2005-06-22 15:58:58 +0000 |
commit | 0c4290eac9ec201c3e40e2ec002fb3a699d6f979 (patch) | |
tree | e0de45f51431218a6afeec2e1120bdf9e5d1e3e0 /dev-libs | |
parent | Added to ~ppc (diff) | |
download | historical-0c4290eac9ec201c3e40e2ec002fb3a699d6f979.tar.gz historical-0c4290eac9ec201c3e40e2ec002fb3a699d6f979.tar.bz2 historical-0c4290eac9ec201c3e40e2ec002fb3a699d6f979.zip |
Version bump for bug 96700; Don't waste time building tests/examples. Also added a src_test so that the tests are actually run.
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'dev-libs')
-rw-r--r-- | dev-libs/libevent/ChangeLog | 9 | ||||
-rw-r--r-- | dev-libs/libevent/Manifest | 30 | ||||
-rw-r--r-- | dev-libs/libevent/files/digest-libevent-1.1 | 1 | ||||
-rw-r--r-- | dev-libs/libevent/files/digest-libevent-1.1a | 1 | ||||
-rw-r--r-- | dev-libs/libevent/libevent-1.1a.ebuild (renamed from dev-libs/libevent/libevent-1.1.ebuild) | 28 |
5 files changed, 53 insertions, 16 deletions
diff --git a/dev-libs/libevent/ChangeLog b/dev-libs/libevent/ChangeLog index d08d7d03d85f..b0ec390da1f6 100644 --- a/dev-libs/libevent/ChangeLog +++ b/dev-libs/libevent/ChangeLog @@ -1,6 +1,13 @@ # ChangeLog for dev-libs/libevent # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/ChangeLog,v 1.39 2005/06/17 21:18:28 hansmi Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/ChangeLog,v 1.40 2005/06/22 15:58:58 ka0ttic Exp $ + +*libevent-1.1a (22 Jun 2005) + + 22 Jun 2005; Aaron Walker <ka0ttic@gentoo.org> -libevent-1.1.ebuild, + +libevent-1.1a.ebuild: + Version bump for bug 96700; Don't waste time building tests/examples. Also + added a src_test so that the tests are actually run. 17 Jun 2005; Michael Hanselmann <hansmi@gentoo.org> libevent-1.0e.ebuild: Stable on ppc. diff --git a/dev-libs/libevent/Manifest b/dev-libs/libevent/Manifest index 3151109467d3..e5b21b676e39 100644 --- a/dev-libs/libevent/Manifest +++ b/dev-libs/libevent/Manifest @@ -1,16 +1,26 @@ -MD5 536273f2a006551fac0bc94f04d17f17 libevent-1.1.ebuild 1145 +-----BEGIN PGP SIGNED MESSAGE----- +Hash: SHA1 + +MD5 9cac2e0a0f63bac2782f09080f6e52f0 libevent-0.9.ebuild 795 MD5 2711df6b150368a91cfacb222e4bc6e9 libevent-1.0c.ebuild 677 +MD5 42d53c064716ad9d074a33dad0a53864 libevent-1.0e.ebuild 676 +MD5 4e097c9fa4f5275acbe5297353daa9d9 libevent-0.7c.ebuild 720 +MD5 fec37be4924e11a01a3101c9d8356da6 libevent-1.1a.ebuild 1616 MD5 ca2b2f2fe28e2b2ae831d3791d4a80e6 libevent-1.0b.ebuild 673 +MD5 9177b6e5bd4fa5ee1d7595f6cdfd4bf6 ChangeLog 4740 MD5 f8d10f350e91f30316ea4e1bd1e76470 metadata.xml 254 -MD5 9cac2e0a0f63bac2782f09080f6e52f0 libevent-0.9.ebuild 795 -MD5 a6e0bc145a103b444f470fd06ebe6817 ChangeLog 4480 MD5 78a3235463621284e23137d45db71fa0 libevent-0.8a.ebuild 801 -MD5 42d53c064716ad9d074a33dad0a53864 libevent-1.0e.ebuild 676 -MD5 4e097c9fa4f5275acbe5297353daa9d9 libevent-0.7c.ebuild 720 -MD5 adfda0f7904422df1aa7873fb7353314 files/digest-libevent-1.0e 65 -MD5 46f6a0ba3781d5ece46f07dde6028889 files/digest-libevent-1.0c 65 -MD5 689ab0af8c8ee4742fa19610adbb1167 files/digest-libevent-0.7c 64 MD5 7e087d9ab1fe0644ec05c7c5794e6234 files/digest-libevent-0.9 63 -MD5 72ed5a716271d29b5df377492deb02b6 files/digest-libevent-1.0b 65 +MD5 689ab0af8c8ee4742fa19610adbb1167 files/digest-libevent-0.7c 64 MD5 7fae4b3118510dd6b88868b2cdf7e989 files/digest-libevent-0.8a 64 -MD5 25e01b617a30bf820f2292618b9ea882 files/digest-libevent-1.1 64 +MD5 72ed5a716271d29b5df377492deb02b6 files/digest-libevent-1.0b 65 +MD5 46f6a0ba3781d5ece46f07dde6028889 files/digest-libevent-1.0c 65 +MD5 adfda0f7904422df1aa7873fb7353314 files/digest-libevent-1.0e 65 +MD5 c3a3e867c0917e7d6f69f54de8643eef files/digest-libevent-1.1a 65 +-----BEGIN PGP SIGNATURE----- +Version: GnuPG v1.4.1 (GNU/Linux) + +iD8DBQFCuYsZEZCkKN40op4RAr6iAJ9iwzugEDTh2PxyM/tVdxVx4h8LPgCfRIw/ +EMQE2l5XQhPNU0E6iHEKh04= +=zfrd +-----END PGP SIGNATURE----- diff --git a/dev-libs/libevent/files/digest-libevent-1.1 b/dev-libs/libevent/files/digest-libevent-1.1 deleted file mode 100644 index 6ab136cbe453..000000000000 --- a/dev-libs/libevent/files/digest-libevent-1.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 a5bd281aeb41bdaa48fbbf0495423d20 libevent-1.1.tar.gz 346958 diff --git a/dev-libs/libevent/files/digest-libevent-1.1a b/dev-libs/libevent/files/digest-libevent-1.1a new file mode 100644 index 000000000000..d410e94e9fff --- /dev/null +++ b/dev-libs/libevent/files/digest-libevent-1.1a @@ -0,0 +1 @@ +MD5 6cc776458ecaf9247550863702a44d7c libevent-1.1a.tar.gz 347007 diff --git a/dev-libs/libevent/libevent-1.1.ebuild b/dev-libs/libevent/libevent-1.1a.ebuild index 0393d744d0c4..1682ea59aa3c 100644 --- a/dev-libs/libevent/libevent-1.1.ebuild +++ b/dev-libs/libevent/libevent-1.1a.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/libevent-1.1.ebuild,v 1.2 2005/06/09 13:54:06 ka0ttic Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libevent/libevent-1.1a.ebuild,v 1.1 2005/06/22 15:58:58 ka0ttic Exp $ DESCRIPTION="A library to execute a function when a specific event occurs on a file descriptor" HOMEPAGE="http://monkey.org/~provos/libevent/" @@ -15,22 +15,42 @@ pkg_setup() { prevver=$(best_version ${CATEGORY}/${PN}) } +src_unpack() { + unpack ${A} + cd ${S} + # don't waste time building tests/samples + sed -i 's|^\(SUBDIRS =.*\)sample test\(.*\)$|\1\2|' Makefile.in || \ + die "sed Makefile.in failed" +} + +src_test() { + einfo "Building tests" + cd test + make test || die "failed to build tests" + + einfo "Running tests" + ./test.sh > ${T}/tests + cat ${T}/tests + grep FAILED ${T}/tests &>/dev/null && die "1 or more tests failed" +} + src_install() { make DESTDIR="${D}" install || die "make install failed" dodoc README } pkg_postinst() { - if [[ -n "${prevver}" ]] ; then + local ver="${prevver##*/}" + if [[ -n "${ver}" ]] && [[ ${ver//[a-zA-Z-]} != "${PV//[a-zA-Z]}" ]] ; then ewarn ewarn "You will need to run revdep-rebuild (included with app-portage/gentoolkit)" ewarn "to rebuild all packages that were built with libevent-1.0x." ewarn ewarn "Run the following to see which packages will be rebuilt:" - ewarn " revdep-rebuild --soname ${prevver##*/}.so.1 -p" + ewarn " revdep-rebuild --soname ${ver}.so.1 -p" ewarn ewarn "If you are satisfied with the output, re-run without the '-p' to rebuild." ewarn - unset prevver fi + unset prevver } |