diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-01-06 18:54:07 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-01-06 18:54:07 +0000 |
commit | cf7a256641d0729742707e68efe5e5ee3895b6c9 (patch) | |
tree | 10acbc3170c4b685aea3df6a9e96bb418a586725 /dev-python/netifaces | |
parent | 56330f065f2b903d9e1b2dffc63719fef5897a45 (diff) |
gentoo auto-resync : 06:01:2024 - 18:54:07
Diffstat (limited to 'dev-python/netifaces')
-rw-r--r-- | dev-python/netifaces/Manifest | 2 | ||||
-rw-r--r-- | dev-python/netifaces/files/netifaces-0.11.0-musl-clang16-null.patch | 21 | ||||
-rw-r--r-- | dev-python/netifaces/netifaces-0.11.0-r2.ebuild | 30 |
3 files changed, 53 insertions, 0 deletions
diff --git a/dev-python/netifaces/Manifest b/dev-python/netifaces/Manifest index c8eb6b1cfc07..113f3b13c122 100644 --- a/dev-python/netifaces/Manifest +++ b/dev-python/netifaces/Manifest @@ -1,4 +1,6 @@ AUX netifaces-0.10.4-remove-osx-fix.patch 353 BLAKE2B 49b66642156ada3e01e7a7fa28b6e12a36b5bacd38676972b1685a2c2710bcdb531849d3c27ce5279feafa1048d060eb227a79ddd5569c5d48accba600f32e69 SHA512 0c47d026e1be42fdae860aade01762d0c7e27083fbe17dbed76526e72852f0444e56617431d081de9e4e86c7ce65293d83e704e56a3219face4d07106730255c +AUX netifaces-0.11.0-musl-clang16-null.patch 517 BLAKE2B 99607ae0966aa10f40fff8be8fcd325be9c9ec72da8f89ba3258ffa193fd5bf8434f2b1fda3becc0220ad13771da84ef9568cb0a8deda1fe86f1c9a4f564c7fd SHA512 1457d24587d32d2809910c7acfd3e5e1551aff084d625d3ea5555febd9de7dac8d48efb68d8b8bffd89458cba8d8714b58da7cb5786619390d9bc84df24b8884 DIST netifaces-0.11.0.tar.gz 30106 BLAKE2B d531cec80142d005548ad30f4d13b23d0a7aa85f6907998bdc6d6081567234b169774b25d2e274d14e68564b16e96ff016c429c0a7aefabd6abae6994f1e7c5c SHA512 a53110efb78c89c4d72d002104866253a4c085dd27ff9f41d4cfe3811cc5619e7585ceda4e91e83cdd0645c40c745c61d205708ee9a34427b35f437a48f148e5 EBUILD netifaces-0.11.0-r1.ebuild 653 BLAKE2B f6a337b89c9243013b69b923e21565c9da22b09b2e6e9fd892f7c9aa7208c6035ac2c990de49c43c690888636591c4aca2ff69a961b81951495f9841fdcf2897 SHA512 4e25ae1ca047d8f82e98c4d8104b580cf620d2aabf8607936296c99164edacbc53849f368897580479d13b6814b20d2d3370cfc158572f1700a97afd197b003a +EBUILD netifaces-0.11.0-r2.ebuild 712 BLAKE2B 54d5f15ae7cb4faa8620ce285bd9448c965502b2c55490759d125238ff2bc33d391dc9c473e056821b573831eece27fcf785155d1928eeda58e269e66981a120 SHA512 aebf178a262938eb750805a4fa4c4236356e1b6f43648030e5c6ef5bf53ef77a7b1b6d5cd2b6b51c9c722b84d9077115b558aae334083a234501cd51831f65c6 MISC metadata.xml 451 BLAKE2B 4d43f77c5e911cad7a8bdfa7cee80c553a645abfce7c551f1d819a62193e1263bf28d70c47d14f05ccbe9155ab08dae49c18cfdafdbd6c5705eab28e5c717258 SHA512 abf26a0026b93acfb3d81979694c13b2298bf09d410fa85994c9406a4e0219c1ee8d83b4814323cde287d27fab2526682df48238fe5db35ef93c4c3e0c0e068f diff --git a/dev-python/netifaces/files/netifaces-0.11.0-musl-clang16-null.patch b/dev-python/netifaces/files/netifaces-0.11.0-musl-clang16-null.patch new file mode 100644 index 000000000000..fa44700c3dc6 --- /dev/null +++ b/dev-python/netifaces/files/netifaces-0.11.0-musl-clang16-null.patch @@ -0,0 +1,21 @@ +Bug: https://bugs.gentoo.org/894448 +--- a/netifaces.c ++++ b/netifaces.c +@@ -370,7 +370,7 @@ string_from_sockaddr (struct sockaddr *addr, + + failure = getnameinfo (gniaddr, gnilen, + buffer, buflen, +- NULL, 0, ++ 0, 0, + NI_NUMERICHOST); + + if (bigaddr) { +@@ -1805,7 +1805,7 @@ gateways (PyObject *self) + sizeof(sanl_from), + &iov, + 1, +- NULL, ++ 0, + 0, + 0 + }; diff --git a/dev-python/netifaces/netifaces-0.11.0-r2.ebuild b/dev-python/netifaces/netifaces-0.11.0-r2.ebuild new file mode 100644 index 000000000000..fd3683a88ddc --- /dev/null +++ b/dev-python/netifaces/netifaces-0.11.0-r2.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( pypy3 python3_{10..12} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Portable network interface information" +HOMEPAGE=" + https://pypi.org/project/netifaces/ + https://alastairs-place.net/projects/netifaces/ + https://github.com/al45tair/netifaces/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux" + +PATCHES=( + "${FILESDIR}"/${PN}-0.10.4-remove-osx-fix.patch + "${FILESDIR}"/${PN}-0.11.0-musl-clang16-null.patch +) + +python_test() { + "${EPYTHON}" test.py || die "Tests failed with ${EPYTHON}" +} |