diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-07-04 08:06:08 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-07-04 08:06:08 +0100 |
commit | 2a8d2f71d1d9963368e0ef3d641d75979a689d12 (patch) | |
tree | 83e283f960ab2ebbc1a042b8ed6c37b78d47b37b /net-libs/pacparser | |
parent | 8435c842b9e8fbb2bcc80397ab3aa655000459e2 (diff) |
gentoo auto-resync : 04:07:2024 - 08:06:07
Diffstat (limited to 'net-libs/pacparser')
-rw-r--r-- | net-libs/pacparser/Manifest | 2 | ||||
-rw-r--r-- | net-libs/pacparser/pacparser-1.4.5.ebuild | 66 |
2 files changed, 68 insertions, 0 deletions
diff --git a/net-libs/pacparser/Manifest b/net-libs/pacparser/Manifest index 61d1b8ebf7db..4e41922e6021 100644 --- a/net-libs/pacparser/Manifest +++ b/net-libs/pacparser/Manifest @@ -3,7 +3,9 @@ AUX pacparser-1.4.0-pymod.patch 2328 BLAKE2B 50be6b3d7950d391edbab3b9ebf9ffb2c6b DIST pacparser-1.4.0.tar.gz 902919 BLAKE2B da29b34654764b1569d9d37648e4ccb608142becaf34c65cdf37b2bd81aa073b1945d840fb50aa7cb986687bbdc086c862a05bc421adb08d44e1add637b712ed SHA512 9574068dc4da3db27ddc1242cf98d98ebc7515864789e95b700cd2ce1433a7cff84160f1507976488fab7529839cabe9cf2aa16ddbefc0c83009fa6c0d2ad6b3 DIST pacparser-1.4.2.tar.gz 903425 BLAKE2B 6b46fd87487feacb3915ddd3705eb60f795257adc5361fddbfc550c537471276f464f367b57124efc49f57666f232c297df763f2adea34d7642bd1e3271f47b4 SHA512 65d12421ee79a969b867d7dcec1527ac9b2596c25f6be2502742ba1b3788f05afeed2fcd5406dfb39485d1d56ef161684acabe6a95008725385c3c5336f331b1 DIST pacparser-1.4.3.tar.gz 905231 BLAKE2B bffe42154a8de9798c4c7b986e5797c19cbb103ed2977545014278f63a770c7cd9ed6b7fc6a9fff96514a71457b9dbc35104a51d9e5e331e2d19f3baeb86e621 SHA512 cc0d6c0a7b1fd9d55dece6c4ad80711d3d1055a0cde120dbb6e8274508631b325e7d876545b40ca05cefc6dce15aa1476e5b2936527e3183ad86114e4cd661a5 +DIST pacparser-1.4.5.tar.gz 905331 BLAKE2B 4c0346e76ad86a6fc54d870688595432f36fc535564b79edc74816f0fa2c45be109c4734d36af5ded50ac208177cfe9fc775d0917060e3f2b4ea5445da67b077 SHA512 fabbfa5c5ebd2a884187e53db27015b16587cba2ae30da1fdec92ca211b1f0ecd2839222341cd0eca9e709ada4e9efcd686b713e4f1e5621507070a6300ad164 EBUILD pacparser-1.4.0.ebuild 1644 BLAKE2B 395e665e1c0f6fcae9ec2548518bb1c2fda9b62af5f37d170b40072ce426782c39956df7c91d5c48b3177a78eff6f2fa48b82a6ca31e2a98d3e47b02e993694a SHA512 ea5598a7d4f938d553baa834318f6186eeda359236c9a33055a85ee75acfe03ab8798e2c61e52994306ebc56128efe99520e7aac30e22fd9a492da817cb533c5 EBUILD pacparser-1.4.2.ebuild 1664 BLAKE2B 1316581c707c0211cdd147cdfc9fd1d01543db27c3a55063d39045ae2007d55cb9f6dca91ac1da0ed1523fbdc020811dd894dd0888eee3381f382c893ed10d46 SHA512 71059670b0178db6121c39b98e91b2196bef3183c315cd8fab188d6214c8603bf27232d2f0c576a4f8435e1130379988131c1cf1981867911634193d78944ecd EBUILD pacparser-1.4.3.ebuild 1662 BLAKE2B 328343f0594a4528d4102f1850a8cd1bc04d9dd5cc2c39c98790213df5d76b7d77268b7381f73fe96d287101fbe4677f79c6fc192766b4ad801294322d4c5aaf SHA512 06a851149d3c3e022ccbf0c13f05842718e69dac1ef81c5315ba1a683657a44e335e2af27b1e054200bd5a640b0ca93162777db77e1dbbf779c65b2e2f16f780 +EBUILD pacparser-1.4.5.ebuild 1664 BLAKE2B 676c1250eb534f4f2d1209656e95e42df74b2fa8de12bd51f98353d7ca3b240ae379bc824f1d1eb0d37386c547fb3adcc7b893800180220350fb44e61a8ee6f5 SHA512 a41a818381c2bd5858fda4aaf2b27ca76b4e02b5909dcd448ab8b4e6a29abf3b0af248bc9fd3553483bfb976b3197c867d3e590e4f19e451cf78e623c0265362 MISC metadata.xml 1246 BLAKE2B 0eff3b01ac265b9a9667926cbfd7f092db0446107b240572473004a385752802ded6f0607cad4f45034eaeac592e92e15bc62b60d648874f4f8b4838c292b152 SHA512 cf3adfd3c7b7f7700ea963774241ec81955ff7205ced4b473eb57cf97a96939deceb85a0f3ed1dafc8bf917c0ba31c10c3826f6e642c7bb3ec0551868978a8f4 diff --git a/net-libs/pacparser/pacparser-1.4.5.ebuild b/net-libs/pacparser/pacparser-1.4.5.ebuild new file mode 100644 index 000000000000..b1a976c8a7f8 --- /dev/null +++ b/net-libs/pacparser/pacparser-1.4.5.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +PYTHON_COMPAT=( python3_{9..13} ) + +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 's/^SMCFLAGS.*/SMCFLAGS = -DHAVE_VA_COPY -DVA_COPY=va_copy -DHAVE_VA_LIST_AS_ARRAY/' \ + -i src/Makefile || die + 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 -j1 + 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 +} |