diff options
author | V3n3RiX <venerix@koprulu.sector> | 2023-10-27 08:42:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2023-10-27 08:42:41 +0100 |
commit | 0fcaac21e786bd7911b1e8f436cd885c5e2f6437 (patch) | |
tree | ba392915815492b0ce486fc0e3ad5afb4a849b6f /net-libs/pacparser | |
parent | e30edd47e1804bf3ed1ea7be2eac67f4b8cd9f38 (diff) |
gentoo auto-resync : 27:10:2023 - 08:42:41
Diffstat (limited to 'net-libs/pacparser')
-rw-r--r-- | net-libs/pacparser/Manifest | 2 | ||||
-rw-r--r-- | net-libs/pacparser/pacparser-1.4.2.ebuild | 65 |
2 files changed, 67 insertions, 0 deletions
diff --git a/net-libs/pacparser/Manifest b/net-libs/pacparser/Manifest index b9fd0fe5a9e4..259787099273 100644 --- a/net-libs/pacparser/Manifest +++ b/net-libs/pacparser/Manifest @@ -1,5 +1,7 @@ AUX pacparser-1.4.0-build.patch 3666 BLAKE2B c21de20e715279741acd9659edfb0ef83bcd12dde597ab3f3d4e11ecf0eba4078cb982efc3b12d03f335e466249b6b2c02acf8355ddc6d84eace7906b53f67e8 SHA512 d6fdb9040557033b17bdd9a27c85d33bda7028e2f7774fde71899c1eb9268b3d80ba31f2fd5022d370ebd12ea3d6d3c236106cd44ac5818ee1a4f18d19462305 AUX pacparser-1.4.0-pymod.patch 2328 BLAKE2B 50be6b3d7950d391edbab3b9ebf9ffb2c6ba3a7121b9cc9fb23da1af4f6e0891d653e0795b9b0153ca8911df8891f6fd872701d578deb3760724582d2d548925 SHA512 115fa4fdbd9a0ba612cccd8d796eefb1d467d4d4aab99b0ef880c7446ad9c1bfb023197d5e6fc86c8158f7be6d72bbb423572b204a2e5b2a41fd3e949db0f597 DIST pacparser-1.4.0.tar.gz 902919 BLAKE2B da29b34654764b1569d9d37648e4ccb608142becaf34c65cdf37b2bd81aa073b1945d840fb50aa7cb986687bbdc086c862a05bc421adb08d44e1add637b712ed SHA512 9574068dc4da3db27ddc1242cf98d98ebc7515864789e95b700cd2ce1433a7cff84160f1507976488fab7529839cabe9cf2aa16ddbefc0c83009fa6c0d2ad6b3 +DIST pacparser-1.4.2.tar.gz 903425 BLAKE2B 6b46fd87487feacb3915ddd3705eb60f795257adc5361fddbfc550c537471276f464f367b57124efc49f57666f232c297df763f2adea34d7642bd1e3271f47b4 SHA512 65d12421ee79a969b867d7dcec1527ac9b2596c25f6be2502742ba1b3788f05afeed2fcd5406dfb39485d1d56ef161684acabe6a95008725385c3c5336f331b1 EBUILD pacparser-1.4.0.ebuild 1644 BLAKE2B 395e665e1c0f6fcae9ec2548518bb1c2fda9b62af5f37d170b40072ce426782c39956df7c91d5c48b3177a78eff6f2fa48b82a6ca31e2a98d3e47b02e993694a SHA512 ea5598a7d4f938d553baa834318f6186eeda359236c9a33055a85ee75acfe03ab8798e2c61e52994306ebc56128efe99520e7aac30e22fd9a492da817cb533c5 +EBUILD pacparser-1.4.2.ebuild 1567 BLAKE2B 2d66eca47489d8e7c39d5403ed296f0d1ff8be16f29338ae144691907b32909839183ebfb917fac1048c49a739baf72fe6bba84da0e64e5a06df9c237b8eb8e7 SHA512 a262267ce872dbdd89128d2597d6f1b7c059d87765771f3392c6abf6b5a52cf8f1a6c0d9bb94a968e358a5c465242a7d14855ec1520ccf6ae55d608e68d7aeda MISC metadata.xml 1246 BLAKE2B 0eff3b01ac265b9a9667926cbfd7f092db0446107b240572473004a385752802ded6f0607cad4f45034eaeac592e92e15bc62b60d648874f4f8b4838c292b152 SHA512 cf3adfd3c7b7f7700ea963774241ec81955ff7205ced4b473eb57cf97a96939deceb85a0f3ed1dafc8bf917c0ba31c10c3826f6e642c7bb3ec0551868978a8f4 diff --git a/net-libs/pacparser/pacparser-1.4.2.ebuild b/net-libs/pacparser/pacparser-1.4.2.ebuild new file mode 100644 index 000000000000..e3cd424765ae --- /dev/null +++ b/net-libs/pacparser/pacparser-1.4.2.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..12} ) + +inherit python-r1 toolchain-funcs + +DESCRIPTION="Library to parse proxy auto-config files" +HOMEPAGE="http://pacparser.manugarg.com/" +SRC_URI="https://github.com/manugarg/${PN}/archive/v${PV}/${P}.tar.gz" + +LICENSE="LGPL-3" +SLOT="0/1" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="doc python" + +DEPEND="python? ( ${PYTHON_DEPS} )" +RDEPEND="${DEPEND}" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + +# spidermonkey-1.7.0 is bundled +# tested unbundling with spidermonkey-1.8* and 1.7 +# and got many failures: unbundling not worth it. + +src_prepare() { + default + + sed -e '/CC = gcc/d' \ + -i src/spidermonkey/js/src/config/Linux_All.mk || die + + export NO_INTERNET=yes + export VERSION="${PV}" + tc-export CC AR RANLIB +} + +src_compile() { + # Upstream parallel compilation bug, do that first to work around + emake -C src/spidermonkey + emake -C src + use python && python_foreach_impl emake -C src pymod +} + +src_install() { + emake \ + LIB_PREFIX="${ED}/usr/$(get_libdir)" \ + DOC_PREFIX="${ED}/usr/share/doc/${PF}" \ + BIN_PREFIX="${ED}"/usr/bin \ + INC_PREFIX="${ED}"/usr/include \ + MAN_PREFIX="${ED}"/usr/share/man \ + -C src install + dodoc README.md + + if use python; then + python_foreach_impl emake DESTDIR="${D}" -C src install-pymod + python_foreach_impl python_optimize + fi + + if use doc; then + docompress -x /usr/share/doc/${PF}/{html,examples} + else + rm -r "${ED}"/usr/share/doc/${PF}/{html,examples} || die + fi +} |