diff options
author | Tiziano Müller <dev-zero@gentoo.org> | 2009-04-30 08:04:15 +0000 |
---|---|---|
committer | Tiziano Müller <dev-zero@gentoo.org> | 2009-04-30 08:04:15 +0000 |
commit | ad9379f56384728a0c00ddd8d3edcdbaf712746c (patch) | |
tree | e777332281a83de4eea9908e159bbe2631f4c89f /dev-cpp/gflags | |
parent | amd64 stable wrt #267955 (diff) | |
download | historical-ad9379f56384728a0c00ddd8d3edcdbaf712746c.tar.gz historical-ad9379f56384728a0c00ddd8d3edcdbaf712746c.tar.bz2 historical-ad9379f56384728a0c00ddd8d3edcdbaf712746c.zip |
Version bump (including eapi-2 and python conditional-depend fix).
Package-Manager: portage-2.2_rc31/cvs/Linux x86_64
Diffstat (limited to 'dev-cpp/gflags')
-rw-r--r-- | dev-cpp/gflags/ChangeLog | 10 | ||||
-rw-r--r-- | dev-cpp/gflags/Manifest | 6 | ||||
-rw-r--r-- | dev-cpp/gflags/gflags-0.8.ebuild | 38 | ||||
-rw-r--r-- | dev-cpp/gflags/gflags-1.1.ebuild | 51 |
4 files changed, 90 insertions, 15 deletions
diff --git a/dev-cpp/gflags/ChangeLog b/dev-cpp/gflags/ChangeLog index f6307426bdfa..01112c387e09 100644 --- a/dev-cpp/gflags/ChangeLog +++ b/dev-cpp/gflags/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-cpp/gflags -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gflags/ChangeLog,v 1.5 2008/06/16 19:37:28 dev-zero Exp $ +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gflags/ChangeLog,v 1.6 2009/04/30 08:04:15 dev-zero Exp $ + +*gflags-1.1 (30 Apr 2009) + + 30 Apr 2009; Tiziano Müller <dev-zero@gentoo.org> gflags-0.8.ebuild, + +gflags-1.1.ebuild: + Version bump (including eapi-2 and python conditional-depend fix). *gflags-0.8 (16 Jun 2008) diff --git a/dev-cpp/gflags/Manifest b/dev-cpp/gflags/Manifest index 18012d06f853..dd6b87b64f2f 100644 --- a/dev-cpp/gflags/Manifest +++ b/dev-cpp/gflags/Manifest @@ -1,6 +1,8 @@ DIST gflags-0.7.tar.gz 457546 RMD160 2667260bc5b1d054955f0b5ca203b6c211fcf375 SHA1 e3805990bd85c14d98c93afe2dfb2bef470ea5f3 SHA256 b59e97a2f292b42f567845079f063d912751be8b49fb0503e7b83c5c5d180c4f DIST gflags-0.8.tar.gz 464330 RMD160 91c7c1ecc2bf695ec9ba97f321a920452bae1c98 SHA1 84a15ffe8882255c9de89cc868cfc72b4f0099f4 SHA256 1df3c0c6aba9e6cfeae9b11b6bee025ce10ef37523e055fc704b9720d66a168e +DIST gflags-1.1.tar.gz 520030 RMD160 6d148a8947ccecbe2e10341ebf753c364fab4451 SHA1 1dd3bc183cb82f3139c8379e00078fa6d9f07dc6 SHA256 51ef7209860d1e843c1d1aef39da7259f7c70a91ad949946409b08d38f567293 EBUILD gflags-0.7.ebuild 825 RMD160 7c0f8b3a03e483818e3caf00f9d4cdd1bd456b9e SHA1 3c421d55d2bd233763388ef93b9a75e54f13963e SHA256 9266b672a9de5bd0850c4f77781a4f8bb3f1431ecc30f010c5dbb089b2167bd8 -EBUILD gflags-0.8.ebuild 820 RMD160 1c0e795450a18343923a8c814f8c431435c5efb0 SHA1 2a71dda54c57387e29dbb13d0217ab8e7523b091 SHA256 53d7606616b047481c591b3f39c730ee535d195eb5d44e390250853eb0cb389e -MISC ChangeLog 846 RMD160 9750ceb24c079bb29d15c178ef2d280edbea47d7 SHA1 f63d4eb81b849dd2e7188b47916c5638200803ee SHA256 000d927ca0a22824672473fcf433771c8955192f97efaaa3c5f1294792b3959a +EBUILD gflags-0.8.ebuild 1113 RMD160 e102613371bb9736295a5571c7e32670c2df672b SHA1 26393f6d0272cc0a55c8a79628dcadbcc6f6d993 SHA256 7d395640d7fd4f8b9a12451276fa051187b4ff0fdc472bc4a0de568e91770561 +EBUILD gflags-1.1.ebuild 1089 RMD160 258a91f2fe324f87eddbf0ee39ae24bce50e79aa SHA1 7dd28127e8ef2b3723ea36694281e96fe9a3186d SHA256 b781c1e162446f64a5b88118e00e25c8c3cd83c9aeaf245b05a4724a3bec8224 +MISC ChangeLog 1037 RMD160 71183d8030f25d374cd70e92322cfc95597efa15 SHA1 cc6f797f04aff1581bd3eeafd917da1aae8940d4 SHA256 9cb7c41f6c559befbcbf6079a51861778e0c0fc20a5e17173cee11459e92f95e MISC metadata.xml 442 RMD160 5c38224ebcddd56ae9effa69559ee431ff63bdb4 SHA1 c3adc35c59d90c8712ed266be8eb2e36f53756ce SHA256 d75d4a39f2f4d2ae87be9fc5faafe6660bced0a093bb4dbc7db96addca0163dd diff --git a/dev-cpp/gflags/gflags-0.8.ebuild b/dev-cpp/gflags/gflags-0.8.ebuild index 109dbc7d9d2b..f4863e267a35 100644 --- a/dev-cpp/gflags/gflags-0.8.ebuild +++ b/dev-cpp/gflags/gflags-0.8.ebuild @@ -1,8 +1,10 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gflags/gflags-0.8.ebuild,v 1.1 2008/06/16 19:37:28 dev-zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gflags/gflags-0.8.ebuild,v 1.2 2009/04/30 08:04:15 dev-zero Exp $ -inherit distutils +EAPI="2" + +inherit python DESCRIPTION="Google's C++ argument parsing library with python extensions." HOMEPAGE="http://code.google.com/p/google-gflags/" @@ -16,20 +18,34 @@ DEPEND="python? ( dev-lang/python )" RDEPEND="${DEPEND}" src_compile() { - econf || die "econf failed" - emake || die "emake failed" - if use python; - then + default + + if use python; then cd python - distutils_src_compile + python_version + "${python}" setup.py build || die "python build failed" fi } src_install() { emake DESTDIR="${D}" install || die "emake install failed" - if use python; - then + + rm -r "${D}"/usr/share/doc/* || die "removing failed" + AUTHORS ChangeLog NEWS README + dohtml doc/* + + if use python; then cd python - distutils_src_install + python_version + "${python}" setup.py install --root="${D}" --no-compile || die "python install failed" + python_need_rebuild fi } + +pkg_postinst() { + python_mod_optimize +} + +pkg_postrm() { + python_mod_cleanup +} diff --git a/dev-cpp/gflags/gflags-1.1.ebuild b/dev-cpp/gflags/gflags-1.1.ebuild new file mode 100644 index 000000000000..02ef5d4d0cf1 --- /dev/null +++ b/dev-cpp/gflags/gflags-1.1.ebuild @@ -0,0 +1,51 @@ +# Copyright 1999-2009 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-cpp/gflags/gflags-1.1.ebuild,v 1.1 2009/04/30 08:04:15 dev-zero Exp $ + +EAPI="2" + +inherit python + +DESCRIPTION="Google's C++ argument parsing library with python extensions." +HOMEPAGE="http://code.google.com/p/google-gflags/" +SRC_URI="http://google-gflags.googlecode.com/files/${P}.tar.gz" +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" +IUSE="python" + +DEPEND="python? ( dev-lang/python )" +RDEPEND="${DEPEND}" + +src_compile() { + default + + if use python; then + cd python + python_version + "${python}" setup.py build || die "python build failed" + fi +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + + rm -rf "${D}"/usr/share/doc/* + AUTHORS ChangeLog NEWS README + dohtml doc/* + + if use python; then + cd python + python_version + "${python}" setup.py install --root="${D}" --no-compile || die "python install failed" + python_need_rebuild + fi +} + +pkg_postinst() { + python_mod_optimize +} + +pkg_postrm() { + python_mod_cleanup +} |