From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RGs2p-0006Jg-KZ for garchives@archives.gentoo.org; Thu, 20 Oct 2011 12:48:23 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DAE8121C0C8; Thu, 20 Oct 2011 12:48:12 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 9312121C0C8 for ; Thu, 20 Oct 2011 12:48:12 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 6277E1B401D for ; Thu, 20 Oct 2011 12:48:11 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id B836880042 for ; Thu, 20 Oct 2011 12:48:10 +0000 (UTC) From: "Александр Берсенев" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Александр Берсенев" Message-ID: <18e4057bde8765cb3828f270b90619d45d416f9d.bay@gentoo> Subject: [gentoo-commits] proj/autodep:master commit in: autodep_overlay/app-portage/autodep/, autodep_overlay/app-portage/autodep/files/ X-VCS-Repository: proj/autodep X-VCS-Files: autodep_overlay/app-portage/autodep/Manifest autodep_overlay/app-portage/autodep/autodep-0.1.ebuild autodep_overlay/app-portage/autodep/autodep-0.2.ebuild autodep_overlay/app-portage/autodep/autodep-0.3.ebuild autodep_overlay/app-portage/autodep/files/autodep-0.2-build.patch autodep_overlay/app-portage/autodep/files/autodep-0.3-build.patch autodep_overlay/app-portage/autodep/metadata.xml X-VCS-Directories: autodep_overlay/app-portage/autodep/ autodep_overlay/app-portage/autodep/files/ X-VCS-Committer: bay X-VCS-Committer-Name: Александр Берсенев X-VCS-Revision: 18e4057bde8765cb3828f270b90619d45d416f9d Date: Thu, 20 Oct 2011 12:48:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: c7a1abe80b754d1eacb7a766bdfd7772 commit: 18e4057bde8765cb3828f270b90619d45d416f9d Author: Alexander Bersenev hackerdom ru> AuthorDate: Thu Oct 20 18:48:01 2011 +0000 Commit: =D0=90=D0=BB=D0=B5=D0=BA=D1=81=D0=B0=D0=BD=D0=B4=D1=80 =D0=91= =D0=B5=D1=80=D1=81=D0=B5=D0=BD=D0=B5=D0=B2 hackerdom ru> CommitDate: Thu Oct 20 18:48:01 2011 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/autodep.git;a= =3Dcommit;h=3D18e4057b ebuild fixes. Thanks to Justin Lecher for it --- autodep_overlay/app-portage/autodep/Manifest | 10 ++++--- .../app-portage/autodep/autodep-0.1.ebuild | 4 +- .../app-portage/autodep/autodep-0.2.ebuild | 29 ++++++++++++++= +++--- .../app-portage/autodep/autodep-0.3.ebuild | 29 ++++++++++++++= +++--- .../autodep/files/autodep-0.2-build.patch | 20 +++++++++++++ .../autodep/files/autodep-0.3-build.patch | 20 +++++++++++++ autodep_overlay/app-portage/autodep/metadata.xml | 1 - 7 files changed, 98 insertions(+), 15 deletions(-) diff --git a/autodep_overlay/app-portage/autodep/Manifest b/autodep_overl= ay/app-portage/autodep/Manifest index 951e2c1..d5663d6 100644 --- a/autodep_overlay/app-portage/autodep/Manifest +++ b/autodep_overlay/app-portage/autodep/Manifest @@ -1,7 +1,9 @@ +AUX autodep-0.2-build.patch 628 RMD160 e21dc8071b9c3832c2d5da1f34af23645= 29a8442 SHA1 1e2d778f247d71d9db0b393385cdad3a1269ffef SHA256 694c2c773b04= 2ac367cef511372535ea3b1aad0e3ee0192800db3bd08fd4873b +AUX autodep-0.3-build.patch 628 RMD160 e21dc8071b9c3832c2d5da1f34af23645= 29a8442 SHA1 1e2d778f247d71d9db0b393385cdad3a1269ffef SHA256 694c2c773b04= 2ac367cef511372535ea3b1aad0e3ee0192800db3bd08fd4873b DIST autodep-0.1.tar.bz2 960704 RMD160 3934ee314270e35dba78d09567ee88925= 6d70999 SHA1 982221bae181f3bfedb974f13dafa35684276fa0 SHA256 281de88d5764= 9e00d202cb45e36cd47b54908c76ef371a7b6585d2a33717a31a DIST autodep-0.2.tar.bz2 966275 RMD160 a95fab6b3f769f51d297e0f480a93cc06= bd6bbbf SHA1 0cdf7bc76bc2166b8588a92150cf0f592c7e48c6 SHA256 8768ba2918ca= 9b51a919622d43525dbeb8a3d0873acd7bde234eb06dd222fe78 DIST autodep-0.3.tar.bz2 966193 RMD160 2c8935a77cd7453e19a6f4d6bf45f4dca= 9c648b3 SHA1 898252ceca7f342a0219419bedca4cdebefa61b9 SHA256 2a2d371757ae= bdff394b3e7ff5dd0ba6843aad04e2d0ed33cca38d4e929640bd -EBUILD autodep-0.1.ebuild 609 RMD160 7eaad24ea04324d295ae137de0f6b02ae91= 051bc SHA1 67fce464277d0a578da8842326de4d0eff4638be SHA256 3b9d0d74e46bea= f91c5aab497157ec1c25736309b2be2d7732b80e97e79d9158 -EBUILD autodep-0.2.ebuild 609 RMD160 7eaad24ea04324d295ae137de0f6b02ae91= 051bc SHA1 67fce464277d0a578da8842326de4d0eff4638be SHA256 3b9d0d74e46bea= f91c5aab497157ec1c25736309b2be2d7732b80e97e79d9158 -EBUILD autodep-0.3.ebuild 609 RMD160 7eaad24ea04324d295ae137de0f6b02ae91= 051bc SHA1 67fce464277d0a578da8842326de4d0eff4638be SHA256 3b9d0d74e46bea= f91c5aab497157ec1c25736309b2be2d7732b80e97e79d9158 -MISC metadata.xml 258 RMD160 fe64d0bceda27568f9a9663eb1637748f20a9833 SH= A1 1279c416a1501dfcba7640f62164039679d0f100 SHA256 dd02c48a5ce93ff2c5456b= 4502a7f59e2352da3b44754fe2798d53244b1abd22 +EBUILD autodep-0.1.ebuild 603 RMD160 96f606f31a227020244e7f2296a39cc1a31= 41c73 SHA1 3d6e334a3d780faa903d3fc28158e31a6c558bd5 SHA256 dd0d6d415a2cb2= 6648752a95a4a2c651d0d88f6257c01eeaabf8ecb30341b893 +EBUILD autodep-0.2.ebuild 1021 RMD160 911343780edf90f988f7190097913cc16e= dbe80f SHA1 c8a6bafcdb62c991158092d21853fa5c5808bfea SHA256 75234d3696131= dd0b702e4854c286df3a3494d66fc741f10e8938bd34b2373a1 +EBUILD autodep-0.3.ebuild 1021 RMD160 911343780edf90f988f7190097913cc16e= dbe80f SHA1 c8a6bafcdb62c991158092d21853fa5c5808bfea SHA256 75234d3696131= dd0b702e4854c286df3a3494d66fc741f10e8938bd34b2373a1 +MISC metadata.xml 236 RMD160 c6016193e6e7f695842ec19ec763036f58bdda4e SH= A1 fa16ff69bc55dbe8a1d1b0b35ba003f1721bb827 SHA256 611f4a8c32b3d1653e7e92= 5d9fc3731bca94046e373abacf3e44180cbb707f6c diff --git a/autodep_overlay/app-portage/autodep/autodep-0.1.ebuild b/aut= odep_overlay/app-portage/autodep/autodep-0.1.ebuild index 62b4290..ef5a9bf 100644 --- a/autodep_overlay/app-portage/autodep/autodep-0.1.ebuild +++ b/autodep_overlay/app-portage/autodep/autodep-0.1.ebuild @@ -24,9 +24,9 @@ RDEPEND=3D"sys-fs/fuse app-portage/portage-utils" =20 src_compile() { - emake || die + emake || die } =20 src_install() { - emake DESTDIR=3D"${D}" install || die + emake DESTDIR=3D"${D}" install || die } diff --git a/autodep_overlay/app-portage/autodep/autodep-0.2.ebuild b/aut= odep_overlay/app-portage/autodep/autodep-0.2.ebuild index 62b4290..c521963 100644 --- a/autodep_overlay/app-portage/autodep/autodep-0.2.ebuild +++ b/autodep_overlay/app-portage/autodep/autodep-0.2.ebuild @@ -7,7 +7,7 @@ EAPI=3D3 PYTHON_DEPEND=3D"2:2.6" RESTRICT_PYTHON_ABIS=3D'2.4 2.5 3.*' =20 -inherit python +inherit autotools eutils flag-o-matic multilib python =20 DESCRIPTION=3D"Auto dependency analyser for Gentoo" HOMEPAGE=3D"http://soc.dev.gentoo.org/~bay/autodep/" @@ -18,10 +18,22 @@ SLOT=3D"0" KEYWORDS=3D"~x86 ~amd64" IUSE=3D"" =20 -DEPEND=3D"sys-fs/fuse +RDEPEND=3D" + app-portage/portage-utils + sys-fs/fuse" +DEPEND=3D"${RDEPEND} dev-util/pkgconfig" -RDEPEND=3D"sys-fs/fuse - app-portage/portage-utils" + +pkg_setup() { + python_set_active_version 2 +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-build.patch + sed "s:usr/lib:/usr/$(get_libdir):g" -i Makefile || die + tc-export CC + export raw_LDFLAGS=3D"$(raw-ldflags)" +} =20 src_compile() { emake || die @@ -30,3 +42,12 @@ src_compile() { src_install() { emake DESTDIR=3D"${D}" install || die } + +pkg_postinst() { + python_mod_optimize /usr/$(get_libdir)/portage_with_autodep +} + +pkg_postrm() { + python_mod_cleanup /usr/$(get_libdir)/portage_with_autodep +} + diff --git a/autodep_overlay/app-portage/autodep/autodep-0.3.ebuild b/aut= odep_overlay/app-portage/autodep/autodep-0.3.ebuild index 62b4290..c521963 100644 --- a/autodep_overlay/app-portage/autodep/autodep-0.3.ebuild +++ b/autodep_overlay/app-portage/autodep/autodep-0.3.ebuild @@ -7,7 +7,7 @@ EAPI=3D3 PYTHON_DEPEND=3D"2:2.6" RESTRICT_PYTHON_ABIS=3D'2.4 2.5 3.*' =20 -inherit python +inherit autotools eutils flag-o-matic multilib python =20 DESCRIPTION=3D"Auto dependency analyser for Gentoo" HOMEPAGE=3D"http://soc.dev.gentoo.org/~bay/autodep/" @@ -18,10 +18,22 @@ SLOT=3D"0" KEYWORDS=3D"~x86 ~amd64" IUSE=3D"" =20 -DEPEND=3D"sys-fs/fuse +RDEPEND=3D" + app-portage/portage-utils + sys-fs/fuse" +DEPEND=3D"${RDEPEND} dev-util/pkgconfig" -RDEPEND=3D"sys-fs/fuse - app-portage/portage-utils" + +pkg_setup() { + python_set_active_version 2 +} + +src_prepare() { + epatch "${FILESDIR}"/${P}-build.patch + sed "s:usr/lib:/usr/$(get_libdir):g" -i Makefile || die + tc-export CC + export raw_LDFLAGS=3D"$(raw-ldflags)" +} =20 src_compile() { emake || die @@ -30,3 +42,12 @@ src_compile() { src_install() { emake DESTDIR=3D"${D}" install || die } + +pkg_postinst() { + python_mod_optimize /usr/$(get_libdir)/portage_with_autodep +} + +pkg_postrm() { + python_mod_cleanup /usr/$(get_libdir)/portage_with_autodep +} + diff --git a/autodep_overlay/app-portage/autodep/files/autodep-0.2-build.= patch b/autodep_overlay/app-portage/autodep/files/autodep-0.2-build.patch new file mode 100644 index 0000000..c6358f4 --- /dev/null +++ b/autodep_overlay/app-portage/autodep/files/autodep-0.2-build.patch @@ -0,0 +1,20 @@ + Makefile | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Makefile b/Makefile +index 01c92f1..bd016d0 100644 +--- a/Makefile ++++ b/Makefile +@@ -5,10 +5,10 @@ hookfs: src/hook_fusefs/hookfs.c + $(CFLAGS) $(LDFLAGS) src/hook_fusefs/hookfs.c -o hookfs +=20 + file_hook.so: file_hook.o +- ld -shared -o file_hook.so -ldl -lc file_hook.o ++ ld -ldl $(raw_LDFLAGS) -shared -o file_hook.so -lc file_hook.o +=20 + file_hook.o: src/hook_lib/file_hook.c +- cc -Wall -fPIC -o file_hook.o -c src/hook_lib/file_hook.c ++ $(CC) -Wall -fPIC -o file_hook.o -c src/hook_lib/file_hook.c +=20 + install: + mkdir -p "${DESTDIR}/usr/lib/" diff --git a/autodep_overlay/app-portage/autodep/files/autodep-0.3-build.= patch b/autodep_overlay/app-portage/autodep/files/autodep-0.3-build.patch new file mode 100644 index 0000000..c6358f4 --- /dev/null +++ b/autodep_overlay/app-portage/autodep/files/autodep-0.3-build.patch @@ -0,0 +1,20 @@ + Makefile | 4 ++-- + 1 files changed, 2 insertions(+), 2 deletions(-) + +diff --git a/Makefile b/Makefile +index 01c92f1..bd016d0 100644 +--- a/Makefile ++++ b/Makefile +@@ -5,10 +5,10 @@ hookfs: src/hook_fusefs/hookfs.c + $(CFLAGS) $(LDFLAGS) src/hook_fusefs/hookfs.c -o hookfs +=20 + file_hook.so: file_hook.o +- ld -shared -o file_hook.so -ldl -lc file_hook.o ++ ld -ldl $(raw_LDFLAGS) -shared -o file_hook.so -lc file_hook.o +=20 + file_hook.o: src/hook_lib/file_hook.c +- cc -Wall -fPIC -o file_hook.o -c src/hook_lib/file_hook.c ++ $(CC) -Wall -fPIC -o file_hook.o -c src/hook_lib/file_hook.c +=20 + install: + mkdir -p "${DESTDIR}/usr/lib/" diff --git a/autodep_overlay/app-portage/autodep/metadata.xml b/autodep_o= verlay/app-portage/autodep/metadata.xml index a79551c..4f89f47 100644 --- a/autodep_overlay/app-portage/autodep/metadata.xml +++ b/autodep_overlay/app-portage/autodep/metadata.xml @@ -1,7 +1,6 @@ - no-herd bay@hackerdom.ru Alexander Bersenev