From d830887d1e15df1238a279b020c314a38a035706 Mon Sep 17 00:00:00 2001 From: Jeroen Roovers Date: Mon, 15 Jul 2013 11:42:02 +0000 Subject: Conditionally install experimental python bindings. Package-Manager: portage-2.2.0_alpha188/cvs/Linux x86_64 Manifest-Sign-Key: 0xA792A613 --- dev-libs/libnl/ChangeLog | 8 ++++- dev-libs/libnl/Manifest | 23 ++++-------- dev-libs/libnl/libnl-3.2.22-r1.ebuild | 67 +++++++++++++++++++++++++++++++++++ dev-libs/libnl/metadata.xml | 3 +- 4 files changed, 83 insertions(+), 18 deletions(-) create mode 100644 dev-libs/libnl/libnl-3.2.22-r1.ebuild (limited to 'dev-libs/libnl') diff --git a/dev-libs/libnl/ChangeLog b/dev-libs/libnl/ChangeLog index 256a526873cf..5aa93f94f201 100644 --- a/dev-libs/libnl/ChangeLog +++ b/dev-libs/libnl/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for dev-libs/libnl # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/ChangeLog,v 1.178 2013/07/13 19:13:54 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/ChangeLog,v 1.179 2013/07/15 11:42:00 jer Exp $ + +*libnl-3.2.22-r1 (15 Jul 2013) + + 15 Jul 2013; Jeroen Roovers +libnl-3.2.22-r1.ebuild, + metadata.xml: + Conditionally install experimental python bindings. 13 Jul 2013; Agostino Sarubbo libnl-1.1.4.ebuild, libnl-3.2.22.ebuild: diff --git a/dev-libs/libnl/Manifest b/dev-libs/libnl/Manifest index f69a73d37a7c..5bdd83ad5fe9 100644 --- a/dev-libs/libnl/Manifest +++ b/dev-libs/libnl/Manifest @@ -1,5 +1,5 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA512 +Hash: SHA256 AUX libnl-1.1-flags.patch 441 SHA256 027b7c29cd0176f94cf337508bca0542361b900d262d956b0e3ef00080b0bc2a SHA512 1f97dc181118368977ebc7bc6134c7e9fb6acd083721f1c857fca9e3a2cc242e03cbd198a0fb12a05597765a732d9a9384a75f46d1f023f6d5160631a29a9947 WHIRLPOOL e467a057b37e236e15c8f5dc56ca66ec36dc09830f2e63bb30b747b04687b16ab04cc6b50d88768b67d31d9569616e420b4035769e43302cfa7288928f254efd AUX libnl-1.1-vlan-header.patch 2378 SHA256 c9c7d8bf94ab06884f91ecd98977433be952530555aff37befc335f1f6312619 SHA512 ea45d780b16e6045735aaf2e3febf19ddccab4ca0e03710aebfe51655adc50177aefa3bd4d06e0ccce0160f4c6db73cfa4eb7cebe53b3e15c1807c3b00dc1c9c WHIRLPOOL b63f8fa7d8d1865e9ee3fd896eec12eb2fcdd77774ea4ef2a9f2e623b823fcd3e052860cfc456cc884b2d72ff587d091b756b349dac9845206f515a9cbbd1e03 @@ -15,23 +15,14 @@ DIST libnl-doc-3.2.22.tar.gz 12038176 SHA256 15631d005e07d64d23e1628d5b6b961639d EBUILD libnl-1.1.3.ebuild 1160 SHA256 27ee769d8a5faef37563e7becc232966d12688f03b77ea6e902d76ace826381e SHA512 c20399b7e54f94f7e20efccafec70359ce820323a6a27fd4cdfe774eaec1f637109cf12201575c803bb074094827c8e3363e6328a43ce7d9895f8fc9f42bdf34 WHIRLPOOL 37d9a1c571678f3aa14489aa73510fd495da98ce8be7da3a359db354fd17c0ae460259e8028a5e9445947c567b12fda7d1b8cb3f42c774d243ffeb8a22d194cd EBUILD libnl-1.1.4.ebuild 1252 SHA256 313e3012a8588d5c8b47132f49c885192b34b4033634eb745ca29e021d084ebb SHA512 4891ec2766311d3e19c882d5ea02f4879a3aa210121531a973f0ce08ead365f6e3745a09e9a8220c612d8fa1e32ca761f8492fa81e84d447bfa930303c8da6af WHIRLPOOL 67373f8b1e711bb535c0977eb0688121c7ee57d6b2d5b8d4273c7b072c8442e08ca7bbdb4d0b4175f947cf7687f3059e04d4affa086ec815b4a22d8ac436b883 EBUILD libnl-3.2.21.ebuild 1303 SHA256 9da3e8d66e7038098326cf97d42a060acae63ae09c3ee2ef95919db6487b11bd SHA512 d8fd30447d64ee007eaa61155ff67a5556d2b25b52d3fd62c7db099a587358fb219faf167c2683de7ceddc09d539a2212e09e49363011fe0052320d4f4021105 WHIRLPOOL ee650fbe284772f776445d4acd5b9aec81da4abc57f83ddb72cbd4e0ea0507c92470996d350dc3dd554037a0cc077fa95e08ecfbf47f8dc053097799955a8991 +EBUILD libnl-3.2.22-r1.ebuild 1636 SHA256 21b62c8102b31e85ac923c5433f24c0fe2299a4bd0926e1452089cdbfcc48635 SHA512 5618f2d5a051c2a1b0296a37dd4cd736815884e26e8cc6200183e241649e3077a83b28bf7a1ad146b78d5860e1f40ea0718d2e4d2c7b928c031b59866b448fe1 WHIRLPOOL f9207cdc11fd117f51fa3823f8d665b81d77568acc0f050764ce791e61dab89a4c544f97ce6e933820d16905837de9bf2ab4365103edbb5a04f9b6fdc3b6d38d EBUILD libnl-3.2.22.ebuild 1306 SHA256 c83f9f09ed0da79b54f5758a5de11f0636fe24b24442b492f50839090f0685eb SHA512 399b7a941ea145c35d5ab255d3e40a617300a13d68d605f3a204c2094fafa8a6a5444be73335778f6ec5af6cd03280aa8b9c175249b610a30a0d2b8635ed82b0 WHIRLPOOL 01c79efd4221c098fc695569638e42dbb27694b05da7694be7057209648fc1a9c071e9bd61b9b5c420af0b54c1428c076ff63a0f104de42ed8bf820403babad0 -MISC ChangeLog 23112 SHA256 55f289085208209ef4a8e7a86ac9794d5d4bac13a2530b046465db27020d4fee SHA512 a222dd53e596d38e67cb3d710ecf56b4e730da6b88bdb5ba6866ed5600aa40ba8bc8374beb1d6eef018de9e2ab994cd0b9ae88cd45ef1a96df3cce05b8d96de7 WHIRLPOOL 31cfaa73e61d95064f3c613d5bef5883f30a3e47a694c54154ff2ad2e710d744d069c150f09519426a39ebabc7c875576a308f5735f9c963f164f1ae0a66cdcd -MISC metadata.xml 293 SHA256 917507ed4b28e1337f6a1e7df924690e50daea2478aa3e5d7ca0017e9f1c345b SHA512 35b9f3bf23026a6ca2d5354ea9fe5c05cca7d513e1a84ade3ebe06537353574701fd19d4f74ab4f69ae82ec0bb9f1b126de91a3117cc79a29fb5356059fb285e WHIRLPOOL 17007fffd2f94031ea1477ccb05d5ab663ddc16537a24e9fc00f2ea48be0dd43a64c0ed268e5ef22a87d052dcfb4390758e28209ae1be5f304c736b9a56f2cd0 +MISC ChangeLog 23287 SHA256 e4cd3c0185ad7d7a62d06bc1cd1495e1e311a0728fd318522c5b9778a9cec30f SHA512 fcd34f6a72ea7970594b7536f95329ed8170115c6675031709db2e971288b10c1eb2f82146c5a59f09520bfef24f1f468abf8404c51a04d7137b58c3e6768cf5 WHIRLPOOL 424deeb5889cd075e4e141d2b9ac18d1eec11e8ab5945ae1ba0c2e53d1f96a7b7762eb288f3d8c4ca8fd7f4a4f6707e07ba95da0b8dc61517904617a13f2a0e1 +MISC metadata.xml 377 SHA256 91abe881d89b10123397f09a1b220a3178ff060111f48813cbe6b898316d3952 SHA512 3965f0516fa6e69b2031b43b89106b0124e8c36546ca2eb7c721f21e172c7691482daa5d6bd7d6a509217a37a2394006f6c625174e269103aa0f7deac1872916 WHIRLPOOL 305c84bde3150c0e9f20b304ebd0bf73186bb960c3d2e4b7b87870d68bd258d6b02be66c10f5e285d5f9b6e53742b14b9dbff00b4e8aae5bc617ee0a51c85b88 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.20 (GNU/Linux) -iQIcBAEBCgAGBQJR4aY6AAoJELp701BxlEWfdvwQAIfsSv4TEdacM3XkTNvdS9lm -nH/kCPpA1xYvImglcNWZHCUMWTImdmcctKmArl/ZxcQq0mIBMxeAbgOTeaSbsUuC -t4I+r1oZUI4u+KzFTEkWSWkPQgZJcRubKdgHvVNRdODrMGvrKZr24coQQ5H1XNYn -lBk4bAdalpV6b/67YkOzZtgYNSPKaC8Xvu45VtYDDI0dM79cAoQpwGmptflLV2MU -Ux1jUKji9fuzKEAiFMBC0fUe8hyXLpR4UnruIEFzynCwfIiNgIettPEBlXLOe029 -G1WfkUc9lhFpQezJa3+bzPhISrlqzsyaddUMuQbMkD9Z1iesxbJfOvO8RFnKF+2n -ZA0zQ4YdMcA8QJSu23GsWdeX34cAoibwX+ugw6qf1r16Lf4F/ervW30AAPUu6sXv -SXcGbOlK3cjh+b3bdDVN6dCWv9FjGh+LNpMwVCRJIrSH4QfSCpiYjKKGY5Y5FuEf -jjHaorLt49De/tgwcJj5UUXjet0mfxSptONOiTemfJdKStPXWeLNFWbp9rA2Vhd5 -GXBbgBDTCEirxPT+pBiAUarEp0D9NGawep9xY2/t6ChPJs7UEHzWbaQ04mfyaLDo -uS8d6PgnlWqFDuuCFYvyMsoLOLD36TDKRD1gdmTQEujhVyDNRYiGNZfgYRsvQx4g -p0tP0AHCT3vQjubqpXnx -=NbDl +iEYEAREIAAYFAlHj4AoACgkQVWmRsqeSphN4EQCfQTIKm7T7l98gPcmE7Le54jVU +IAQAniudGMwFo39FEZTCcjMTgAx6o2r4 +=pbDS -----END PGP SIGNATURE----- diff --git a/dev-libs/libnl/libnl-3.2.22-r1.ebuild b/dev-libs/libnl/libnl-3.2.22-r1.ebuild new file mode 100644 index 000000000000..bc5ac0badda6 --- /dev/null +++ b/dev-libs/libnl/libnl-3.2.22-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2013 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libnl/libnl-3.2.22-r1.ebuild,v 1.1 2013/07/15 11:42:00 jer Exp $ + +EAPI=5 +PYTHON_COMPAT=( python2_{6,7} python3_{1,2,3} ) +inherit distutils-r1 eutils libtool multilib + +DESCRIPTION="A collection of libraries providing APIs to netlink protocol based Linux kernel interfaces" +HOMEPAGE="http://www.infradead.org/~tgr/libnl/" +SRC_URI=" + http://www.infradead.org/~tgr/${PN}/files/${P}.tar.gz + doc? ( http://www.infradead.org/~tgr/${PN}/files/${PN}-doc-${PV}.tar.gz ) +" +LICENSE="LGPL-2.1 doc? ( GPL-2 ) utils? ( GPL-2 )" +SLOT="3" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux" +IUSE="doc static-libs python utils" + +DEPEND=" + sys-devel/flex + sys-devel/bison +" + +DOCS=( ChangeLog ) + +src_prepare() { + elibtoolize + epatch "${FILESDIR}"/${PN}-1.1-vlan-header.patch + epatch "${FILESDIR}"/${PN}-3.2.20-rtnl_tc_get_ops.patch + epatch "${FILESDIR}"/${PN}-3.2.20-cache-api.patch +} + +src_configure() { + econf \ + --disable-silent-rules \ + $(use_enable static-libs static) \ + $(use_enable utils cli) +} + +src_compile() { + default + + if use python; then + cd "${S}"/python || die + distutils-r1_src_compile + fi +} + +src_install() { + default + + if use doc; then + dohtml -r \ + -a css,html,js,map,png \ + "${WORKDIR}"/${PN}-doc-${PV}/* + fi + + if use python; then + # Unset DOCS= since distutils-r1.eclass interferes + DOCS='' + cd "${S}"/python || die + distutils-r1_src_install + fi + + prune_libtool_files $(usex static-libs --modules --all) +} diff --git a/dev-libs/libnl/metadata.xml b/dev-libs/libnl/metadata.xml index d9379a5c4686..c18ce8fb117c 100644 --- a/dev-libs/libnl/metadata.xml +++ b/dev-libs/libnl/metadata.xml @@ -3,7 +3,8 @@ netmon -Install command line interface utils Install development documentation +Install experimental dev-lang/python bindings +Install command line interface utils -- cgit v1.2.3-65-gdbad