diff options
Diffstat (limited to 'dev-python/libasyncns-python')
4 files changed, 58 insertions, 0 deletions
diff --git a/dev-python/libasyncns-python/Manifest b/dev-python/libasyncns-python/Manifest new file mode 100644 index 000000000000..c17e03b92962 --- /dev/null +++ b/dev-python/libasyncns-python/Manifest @@ -0,0 +1,6 @@ +AUX libasyncns-python-0.7.1-glibc-2.25.patch 509 SHA256 d97ddcc4ffe5e383bc48369ec7bd7f846c4355ade9c382650f80ee89e134f17b SHA512 56270790454eddffc0a546a557f0360d637ce441e194b94d2a2af917ac42f25e9a7f376c739dfb93bdea1dfba5e6eb7a00a26507bf5c5814a77aa068a71b7521 WHIRLPOOL a64a7aaa1eff74a8b69e5797a69e7e1fbbd61df5098ff5f503fa4fb0b50ca876989eb468506a028c7e37ed699a7468a4216b94af66f63f8dd3b235aa4495a681 +DIST libasyncns-python-0.7.1.tar.bz2 20276 SHA256 0ff757f8d9bf1f07054ab7ad2d03434de4cfa6b9d6cb4bba29072728563894e0 SHA512 ac8bd46cb842e40bc0f3720a789fe17a6488d80bf68f5f60b3093708d9e5f91d8b0082255a77d37c1814232d46a4c44c58abe971ddbe54f881d8e6a78937f489 WHIRLPOOL 6b8cf9db88512fb273514617975ec18f639ff9f1443f7cfab267f34381d0ca9405842688fcd2f40d272f398c0970358c8852df21de8f9d24a9d3900d53ef4bc9 +EBUILD libasyncns-python-0.7.1-r1.ebuild 705 SHA256 5f723c0faa8c2115a82b6a6c79c491f6fd5668a05e70824a9206c46d8048ca18 SHA512 774aa92a83a7afd7e0b19ef47da45d34298975d502d1437e1840704446a3aec0229350f82fcfc5faa726f50c6510b1b6f5d42633f3fdedeb04c38abec942c99b WHIRLPOOL 0586da5650a90fbd0a148cd700dcd3984eb36e10fe1c4d4154f488b95902e4a1ac7fcf134c10e85d4465b0f5693c25d70cd550bb54329c24a7c8ded4a7888b49 +MISC ChangeLog 2717 SHA256 ae104847fe159cfd42ec5877b13fe89a67341ff06c767649f9680b8735dd33f9 SHA512 75aa8640ed1140dce192508dcec759c7ab437422d0d789e66d6f5bb6959350b70a5ec6982fcb8590250f1f34c6346e15bdfd063149df6e285bab8fda6980eb1e WHIRLPOOL 7a3ce5ca635831693d2bde176ab72227f616b2eab484ede97e653eb398f24b7c80e33f7695551433e2b26b7f23f120c02646c112350c029ee1d59368a23060fc +MISC ChangeLog-2015 1543 SHA256 f95d749a946ad217364c373d6a7904e6323bd226bbbd59ef946f02261f56d639 SHA512 55200f1aa5142f141fe1c74b63b723951c8bb7dcb50ad57c07f64999931365587b302c7fc9cc2595a33866282d5524ad198904e0bb48c29f41b19b012573070b WHIRLPOOL bd036baa4bf20ee0ff30653bf00339165283e2abe0cbfb0b01b77d0b5c39514c6401c6f8d37a107338e9af3350240516d10da9ae3ed5c5b34c760f86cba537ac +MISC metadata.xml 252 SHA256 f87312922eeb5360856a5384f61f2df1d7a84b9fbf9acac1c3c43a100a709160 SHA512 ea1f58fbe07f5912fc69ec2182812dde68f0b5d38a03daeed9d22e0bbf4fdd6fdebad11674a0b51ed7d5b85abdacc64afebb8883dded1cbd0e9b767ebc9f283c WHIRLPOOL 6a54d3f0363bf0ff064bdbf0eb61348d448f4c75df7f1408e23a5b8b77cce8c4678f60411e813a7d307bb0159ac003056e5d7317f7de54043773b6da7d625819 diff --git a/dev-python/libasyncns-python/files/libasyncns-python-0.7.1-glibc-2.25.patch b/dev-python/libasyncns-python/files/libasyncns-python-0.7.1-glibc-2.25.patch new file mode 100644 index 000000000000..6ec84aa732b9 --- /dev/null +++ b/dev-python/libasyncns-python/files/libasyncns-python-0.7.1-glibc-2.25.patch @@ -0,0 +1,14 @@ +https://sourceware.org/git/?p=glibc.git;a=patch;h=4f157746e0c713965d9143b52fef606312087c48 + +diff --git a/libasyncns-python-0.7.1/libasyncns.c b/libasyncns-python-0.7.1/libasyncns.c +index 99a73de..5e3da0b 100644 +--- a/libasyncns-python-0.7.1/libasyncns.c ++++ b/libasyncns-python-0.7.1/libasyncns.c +@@ -134,7 +134,6 @@ PyMODINIT_FUNC initlibasyncns(void) + ADDNSCONST(ns_t_mailb); + ADDNSCONST(ns_t_maila); + ADDNSCONST(ns_t_any); +- ADDNSCONST(ns_t_zxfr); + ADDNSCONST(ns_t_max); + + ADDNSCONST(ns_c_invalid); diff --git a/dev-python/libasyncns-python/libasyncns-python-0.7.1-r1.ebuild b/dev-python/libasyncns-python/libasyncns-python-0.7.1-r1.ebuild new file mode 100644 index 000000000000..2c5ab37721e6 --- /dev/null +++ b/dev-python/libasyncns-python/libasyncns-python-0.7.1-r1.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy ) + +inherit distutils-r1 + +DESCRIPTION="Python bindings for libasyncns" +HOMEPAGE="https://launchpad.net/libasyncns-python/" +SRC_URI="https://launchpad.net/${PN}/trunk/${PV}/+download/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND=">=net-libs/libasyncns-0.4" +RDEPEND="${DEPEND}" + +PATCHES=( "${FILESDIR}/${PN}-0.7.1-glibc-2.25.patch" ) + +python_compile() { + if [[ ${EPYTHON} != python3* ]]; then + local -x CFLAGS="${CFLAGS} -fno-strict-aliasing" + fi + distutils-r1_python_compile +} + +# Tests are network-dependent diff --git a/dev-python/libasyncns-python/metadata.xml b/dev-python/libasyncns-python/metadata.xml new file mode 100644 index 000000000000..da06078f5866 --- /dev/null +++ b/dev-python/libasyncns-python/metadata.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <!-- maintainer-needed --> + <upstream> + <remote-id type="launchpad">libasyncns-python</remote-id> + </upstream> +</pkgmetadata> |