[gentoo-commits] repo/gentoo:master commit in: net-libs/pacparser/
commit: f3689b5312f044d4cf73c8bab4e588b4525ee376 Author: Jakov Smolić gentoo org> AuthorDate: Wed May 29 06:25:55 2024 + Commit: Jakov Smolić gentoo org> CommitDate: Wed May 29 06:25:55 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f3689b53 net-libs/pacparser: Stabilize 1.4.3 x86, #933015 Signed-off-by: Jakov Smolić gentoo.org> net-libs/pacparser/pacparser-1.4.3.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-libs/pacparser/pacparser-1.4.3.ebuild b/net-libs/pacparser/pacparser-1.4.3.ebuild index 87e64cf6c25f..b04ca2ea28ea 100644 --- a/net-libs/pacparser/pacparser-1.4.3.ebuild +++ b/net-libs/pacparser/pacparser-1.4.3.ebuild @@ -13,7 +13,7 @@ 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" +KEYWORDS="~amd64 x86 ~amd64-linux ~x86-linux" IUSE="doc python" DEPEND="python? ( ${PYTHON_DEPS} )"
[gentoo-commits] repo/gentoo:master commit in: net-libs/pacparser/
commit: 9a6e608a7501a34518d16d5a3e81254a8bc308b8 Author: Guilherme Amadio gentoo org> AuthorDate: Sun Mar 10 18:27:18 2024 + Commit: Guilherme Amadio gentoo org> CommitDate: Sun Mar 10 18:27:18 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9a6e608a net-libs/pacparser: add 1.4.3 Signed-off-by: Guilherme Amadio gentoo.org> net-libs/pacparser/Manifest | 1 + net-libs/pacparser/pacparser-1.4.3.ebuild | 66 +++ 2 files changed, 67 insertions(+) diff --git a/net-libs/pacparser/Manifest b/net-libs/pacparser/Manifest index bf811da3e8c4..9b5284ae8405 100644 --- a/net-libs/pacparser/Manifest +++ b/net-libs/pacparser/Manifest @@ -1,2 +1,3 @@ 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 diff --git a/net-libs/pacparser/pacparser-1.4.3.ebuild b/net-libs/pacparser/pacparser-1.4.3.ebuild new file mode 100644 index ..87e64cf6c25f --- /dev/null +++ b/net-libs/pacparser/pacparser-1.4.3.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..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 '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 +}
[gentoo-commits] repo/gentoo:master commit in: net-libs/pacparser/
commit: 95ac3cc2e868f2f724a2c66adc5849cea2b99e35 Author: Guilherme Amadio gentoo org> AuthorDate: Sun Mar 10 17:53:35 2024 + Commit: Guilherme Amadio gentoo org> CommitDate: Sun Mar 10 17:53:35 2024 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=95ac3cc2 net-libs/pacparser: fix compilation with GCC 14, bug 919375 Closes: https://bugs.gentoo.org/919375 Signed-off-by: Guilherme Amadio gentoo.org> net-libs/pacparser/pacparser-1.4.2.ebuild | 7 --- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/net-libs/pacparser/pacparser-1.4.2.ebuild b/net-libs/pacparser/pacparser-1.4.2.ebuild index e3cd424765ae..87e64cf6c25f 100644 --- a/net-libs/pacparser/pacparser-1.4.2.ebuild +++ b/net-libs/pacparser/pacparser-1.4.2.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2023 Gentoo Authors +# Copyright 1999-2024 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=8 @@ -27,6 +27,8 @@ REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" 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 @@ -37,8 +39,7 @@ src_prepare() { src_compile() { # Upstream parallel compilation bug, do that first to work around - emake -C src/spidermonkey - emake -C src + emake -C src -j1 use python && python_foreach_impl emake -C src pymod }
[gentoo-commits] repo/gentoo:master commit in: net-libs/pacparser/
commit: da3bd28696a64f3eb8113f789db8a98df672d423 Author: Guilherme Amadio gentoo org> AuthorDate: Thu Oct 26 12:11:26 2023 + Commit: Guilherme Amadio gentoo org> CommitDate: Fri Oct 27 06:42:16 2023 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da3bd286 net-libs/pacparser: add 1.4.2 Note: patches dropped since they were merged upstream. See https://github.com/manugarg/pacparser/pull/136. Signed-off-by: Guilherme Amadio gentoo.org> net-libs/pacparser/Manifest | 1 + net-libs/pacparser/pacparser-1.4.2.ebuild | 65 +++ 2 files changed, 66 insertions(+) diff --git a/net-libs/pacparser/Manifest b/net-libs/pacparser/Manifest index a74af7829e92..bf811da3e8c4 100644 --- a/net-libs/pacparser/Manifest +++ b/net-libs/pacparser/Manifest @@ -1 +1,2 @@ DIST pacparser-1.4.0.tar.gz 902919 BLAKE2B da29b34654764b1569d9d37648e4ccb608142becaf34c65cdf37b2bd81aa073b1945d840fb50aa7cb986687bbdc086c862a05bc421adb08d44e1add637b712ed SHA512 9574068dc4da3db27ddc1242cf98d98ebc7515864789e95b700cd2ce1433a7cff84160f1507976488fab7529839cabe9cf2aa16ddbefc0c83009fa6c0d2ad6b3 +DIST pacparser-1.4.2.tar.gz 903425 BLAKE2B 6b46fd87487feacb3915ddd3705eb60f795257adc5361fddbfc550c537471276f464f367b57124efc49f57666f232c297df763f2adea34d7642bd1e3271f47b4 SHA512 65d12421ee79a969b867d7dcec1527ac9b2596c25f6be2502742ba1b3788f05afeed2fcd5406dfb39485d1d56ef161684acabe6a95008725385c3c5336f331b1 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 ..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 +}
[gentoo-commits] repo/gentoo:master commit in: net-libs/pacparser/
commit: 3cad8dbb48c7f7f8d346d6c6642d2ca81d33d466 Author: Guilherme Amadio gentoo org> AuthorDate: Mon Sep 19 12:21:36 2022 + Commit: Guilherme Amadio gentoo org> CommitDate: Mon Sep 19 12:38:26 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cad8dbb net-libs/pacparser: enable py3.11 Signed-off-by: Guilherme Amadio gentoo.org> net-libs/pacparser/pacparser-1.4.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-libs/pacparser/pacparser-1.4.0.ebuild b/net-libs/pacparser/pacparser-1.4.0.ebuild index 7dc296824bb6..d5d9c6469755 100644 --- a/net-libs/pacparser/pacparser-1.4.0.ebuild +++ b/net-libs/pacparser/pacparser-1.4.0.ebuild @@ -3,7 +3,7 @@ EAPI=8 -PYTHON_COMPAT=( python3_{8,9,10} ) +PYTHON_COMPAT=( python3_{8,9,10,11} ) inherit python-r1 toolchain-funcs
[gentoo-commits] repo/gentoo:master commit in: net-libs/pacparser/
commit: 7d5268668b1aa62ed26246c1c75996593ea44faa Author: Guilherme Amadio gentoo org> AuthorDate: Mon Sep 19 12:19:20 2022 + Commit: Guilherme Amadio gentoo org> CommitDate: Mon Sep 19 12:38:16 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d526866 net-libs/pacparser: drop 1.3.7-r1 Closes: https://bugs.gentoo.org/659726 Closes: https://bugs.gentoo.org/842120 Signed-off-by: Guilherme Amadio gentoo.org> net-libs/pacparser/Manifest | 1 - net-libs/pacparser/pacparser-1.3.7-r1.ebuild | 67 2 files changed, 68 deletions(-) diff --git a/net-libs/pacparser/Manifest b/net-libs/pacparser/Manifest index 72238f10a507..a74af7829e92 100644 --- a/net-libs/pacparser/Manifest +++ b/net-libs/pacparser/Manifest @@ -1,2 +1 @@ -DIST pacparser-1.3.7.tar.gz 905596 BLAKE2B 122127b6e1d8f68fde4c5ca98207bf2a0fa2a081dbb60aaf34126700a3de9d861e7b5f881e78d3eefdd2a9af97a9ba677339ca2b2a0b4459d26e60a62226e839 SHA512 979238204cd352ecf502a5a6216a35d7c47e82a173c32c6f0a5166f1fe790c66ac74ec1d9d0a58b54038d19e893f8b365ed868664f84ab9d5e653584bf20130b DIST pacparser-1.4.0.tar.gz 902919 BLAKE2B da29b34654764b1569d9d37648e4ccb608142becaf34c65cdf37b2bd81aa073b1945d840fb50aa7cb986687bbdc086c862a05bc421adb08d44e1add637b712ed SHA512 9574068dc4da3db27ddc1242cf98d98ebc7515864789e95b700cd2ce1433a7cff84160f1507976488fab7529839cabe9cf2aa16ddbefc0c83009fa6c0d2ad6b3 diff --git a/net-libs/pacparser/pacparser-1.3.7-r1.ebuild b/net-libs/pacparser/pacparser-1.3.7-r1.ebuild deleted file mode 100644 index 911a5d5ce27f.. --- a/net-libs/pacparser/pacparser-1.3.7-r1.ebuild +++ /dev/null @@ -1,67 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -PYTHON_COMPAT=( python3_{7,8,9} ) - -inherit python-r1 toolchain-funcs - -DESCRIPTION="Library to parse proxy auto-config files" -HOMEPAGE="http://pacparser.manugarg.com/; -SRC_URI="https://github.com/pacparser/${PN}/releases/download/${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|CFLAGS = |CFLAGS := $(CFLAGS) |' \ - -e 's|= $(PREFIX)|:= $(PREFIX)|g' \ - -e "s|share/doc.*pacparser|share/doc/${PF}|g" \ - -e "s|/lib|/$(get_libdir)|g" \ - -i src/Makefile || die - export NO_INTERNET=yes - tc-export CC AR RANLIB -} - -src_compile() { - emake -C src spidermonkey/js/src - sed -e '/CC = gcc/d' \ - -i src/spidermonkey/js/src/config/Linux_All.mk || die - # 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_test() { - emake -C src testpactester -} - -src_install() { - emake DESTDIR="${ED}" LIB_PREFIX="${ED}/usr/$(get_libdir)" -C src install - dodoc README.md - - if use python; then - python_foreach_impl emake DESTDIR="${D}" \ - LIB_PREFIX="${D}/usr/$(get_libdir)" -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 -}
[gentoo-commits] repo/gentoo:master commit in: net-libs/pacparser/
commit: 1b306ac14b150b8633a16a45332e71448446224f Author: Sam James gentoo org> AuthorDate: Tue Jun 7 05:21:53 2022 + Commit: Sam James gentoo org> CommitDate: Tue Jun 7 05:21:53 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b306ac1 net-libs/pacparser: Stabilize 1.4.0 x86, #850181 Signed-off-by: Sam James gentoo.org> net-libs/pacparser/pacparser-1.4.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-libs/pacparser/pacparser-1.4.0.ebuild b/net-libs/pacparser/pacparser-1.4.0.ebuild index 1476c36046e7..7dc296824bb6 100644 --- a/net-libs/pacparser/pacparser-1.4.0.ebuild +++ b/net-libs/pacparser/pacparser-1.4.0.ebuild @@ -13,7 +13,7 @@ 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" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" IUSE="doc python" DEPEND="python? ( ${PYTHON_DEPS} )"
[gentoo-commits] repo/gentoo:master commit in: net-libs/pacparser/
commit: 199dfdac8adb54d5c43e1a84b7ccd7558b17717f Author: Sam James gentoo org> AuthorDate: Tue Jun 7 05:21:08 2022 + Commit: Sam James gentoo org> CommitDate: Tue Jun 7 05:21:08 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=199dfdac net-libs/pacparser: Stabilize 1.4.0 amd64, #850181 Signed-off-by: Sam James gentoo.org> net-libs/pacparser/pacparser-1.4.0.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-libs/pacparser/pacparser-1.4.0.ebuild b/net-libs/pacparser/pacparser-1.4.0.ebuild index 3d6bb84c788e..1476c36046e7 100644 --- a/net-libs/pacparser/pacparser-1.4.0.ebuild +++ b/net-libs/pacparser/pacparser-1.4.0.ebuild @@ -13,7 +13,7 @@ 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" +KEYWORDS="amd64 ~x86 ~amd64-linux ~x86-linux" IUSE="doc python" DEPEND="python? ( ${PYTHON_DEPS} )"
[gentoo-commits] repo/gentoo:master commit in: net-libs/pacparser/files/, net-libs/pacparser/
commit: ef3e19c86a91a048d41ee9c32a4feaeae6124ded Author: orbea riseup net> AuthorDate: Sat May 14 09:18:38 2022 + Commit: Sam James gentoo org> CommitDate: Sun May 15 00:05:35 2022 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef3e19c8 net-libs/pacparser: Add 1.4.0 Bug: https://bugs.gentoo.org/793425 Upstream-PR: https://github.com/manugarg/pacparser/pull/106 Upstream-PR: https://github.com/manugarg/pacparser/pull/136 Upstream-PR: https://github.com/manugarg/pacparser/pull/137 Upstream-Commit: https://github.com/manugarg/pacparser/commit/c6258eb8001b449819e11b98bb124903fab96990 Signed-off-by: orbea riseup.net> Closes: https://github.com/gentoo/gentoo/pull/25487 Signed-off-by: Sam James gentoo.org> net-libs/pacparser/Manifest| 1 + .../pacparser/files/pacparser-1.4.0-build.patch| 96 ++ .../pacparser/files/pacparser-1.4.0-pymod.patch| 61 ++ net-libs/pacparser/pacparser-1.4.0.ebuild | 70 4 files changed, 228 insertions(+) diff --git a/net-libs/pacparser/Manifest b/net-libs/pacparser/Manifest index f688ce59f8ae..72238f10a507 100644 --- a/net-libs/pacparser/Manifest +++ b/net-libs/pacparser/Manifest @@ -1 +1,2 @@ DIST pacparser-1.3.7.tar.gz 905596 BLAKE2B 122127b6e1d8f68fde4c5ca98207bf2a0fa2a081dbb60aaf34126700a3de9d861e7b5f881e78d3eefdd2a9af97a9ba677339ca2b2a0b4459d26e60a62226e839 SHA512 979238204cd352ecf502a5a6216a35d7c47e82a173c32c6f0a5166f1fe790c66ac74ec1d9d0a58b54038d19e893f8b365ed868664f84ab9d5e653584bf20130b +DIST pacparser-1.4.0.tar.gz 902919 BLAKE2B da29b34654764b1569d9d37648e4ccb608142becaf34c65cdf37b2bd81aa073b1945d840fb50aa7cb986687bbdc086c862a05bc421adb08d44e1add637b712ed SHA512 9574068dc4da3db27ddc1242cf98d98ebc7515864789e95b700cd2ce1433a7cff84160f1507976488fab7529839cabe9cf2aa16ddbefc0c83009fa6c0d2ad6b3 diff --git a/net-libs/pacparser/files/pacparser-1.4.0-build.patch b/net-libs/pacparser/files/pacparser-1.4.0-build.patch new file mode 100644 index ..2a8898579327 --- /dev/null +++ b/net-libs/pacparser/files/pacparser-1.4.0-build.patch @@ -0,0 +1,96 @@ +Upstream-PR: https://github.com/manugarg/pacparser/pull/136 +From 5d689be2e250242ef4022054f11bf00af339c149 Mon Sep 17 00:00:00 2001 +From: orbea +Date: Fri, 13 May 2022 22:34:37 -0700 +Subject: [PATCH 1/2] build: Don't conflict with the user's CFLAGS + +This uses the variable MAINT_CFLAGS to set the project's flags so that +the user can set CFLAGS as an environment variable or as an make +argument without any conflicts. + +This can be problemtic with the build environment in some distros. +--- + src/Makefile | 10 +- + 1 file changed, 5 insertions(+), 5 deletions(-) + +diff --git a/src/Makefile b/src/Makefile +index 87f5c1b..3642241 100644 +--- a/src/Makefile b/src/Makefile +@@ -60,14 +60,14 @@ ifeq ($(OS_ARCH),Darwin) + endif + + PREFIX ?= /usr +-CFLAGS = -g -DXP_UNIX -Wall -DVERSION=$(VERSION) ++MAINT_CFLAGS := -g -DXP_UNIX -Wall -DVERSION=$(VERSION) + + ifndef PYTHON + PYTHON = python + endif + + # Spidermonkey library. +-CFLAGS += -Ispidermonkey/js/src ++MAINT_CFLAGS += -Ispidermonkey/js/src + + LIBRARY_LINK = $(LIBRARY_NAME).$(SO_SUFFIX) + PREFIX := $(DESTDIR)$(PREFIX) +@@ -87,17 +87,17 @@ spidermonkey/libjs.a: spidermonkey/js/src + cd spidermonkey && SMCFLAGS="$(SHFLAGS) $(SMCFLAGS)" $(MAKE) jslib + + pacparser.o: pacparser.c pac_utils.h pacparser.h jsapi_buildstamp +- $(CC) $(CFLAGS) $(SHFLAGS) -c pacparser.c -o pacparser.o ++ $(CC) $(MAINT_CFLAGS) $(CFLAGS) $(SHFLAGS) -c pacparser.c -o pacparser.o + touch pymod/pacparser_o_buildstamp + + $(LIBRARY): pacparser.o spidermonkey/libjs.a +- $(MKSHLIB) $(CFLAGS) $(LDFLAGS) $(LIB_OPTS) -o $(LIBRARY) pacparser.o spidermonkey/libjs.a -lm ++ $(MKSHLIB) $(MAINT_CFLAGS) $(CFLAGS) $(LDFLAGS) $(LIB_OPTS) -o $(LIBRARY) pacparser.o spidermonkey/libjs.a -lm + + $(LIBRARY_LINK): $(LIBRARY) + ln -sf $(LIBRARY) $(LIBRARY_LINK) + + pactester: pactester.c pacparser.h pacparser.o spidermonkey/libjs.a +- $(CC) $(CFLAGS) $(LDFLAGS) pactester.c pacparser.o spidermonkey/libjs.a -o pactester -lm -L. -I. ++ $(CC) $(MAINT_CFLAGS) $(CFLAGS) $(LDFLAGS) pactester.c pacparser.o spidermonkey/libjs.a -o pactester -lm -L. -I. + + testpactester: pactester $(LIBRARY_LINK) + echo "Running tests for pactester." + +From ff86f230de5dd60935e1793077eb038fcbe1e515 Mon Sep 17 00:00:00 2001 +From: orbea +Date: Fri, 13 May 2022 22:45:19 -0700 +Subject: [PATCH 2/2] build: Add DOC_PREFIX + +This can be useful for distro integration. +--- + src/Makefile | 9 + + 1 file changed, 5 insertions(+), 4 deletions(-) + +diff --git a/src/Makefile b/src/Makefile +index 3642241..af10890 100644 +--- a/src/Makefile b/src/Makefile +@@ -74,6 +74,7 @@ PREFIX := $(DESTDIR)$(PREFIX) + LIB_PREFIX = $(PREFIX)/lib + INC_PREFIX = $(PREFIX)/include + BIN_PREFIX = $(PREFIX)/bin ++DOC_PREFIX =
[gentoo-commits] repo/gentoo:master commit in: net-libs/pacparser/
commit: 343a14befbd4b7a9bba4114f569442d1b6833cf2 Author: Guilherme Amadio gentoo org> AuthorDate: Wed Jun 16 08:20:52 2021 + Commit: Guilherme Amadio gentoo org> CommitDate: Wed Jun 16 08:34:50 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=343a14be net-libs/pacparser: stable on amd64/x86 Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Guilherme Amadio gentoo.org> net-libs/pacparser/pacparser-1.3.7-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-libs/pacparser/pacparser-1.3.7-r1.ebuild b/net-libs/pacparser/pacparser-1.3.7-r1.ebuild index deafdcf0461..911a5d5ce27 100644 --- a/net-libs/pacparser/pacparser-1.3.7-r1.ebuild +++ b/net-libs/pacparser/pacparser-1.3.7-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/pacparser/${PN}/releases/download/${PV}/${P}.tar.gz; LICENSE="LGPL-3" SLOT="0/1" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux" IUSE="doc python" DEPEND="python? ( ${PYTHON_DEPS} )"
[gentoo-commits] repo/gentoo:master commit in: net-libs/pacparser/
commit: f85ca2e28232fb313e3aca640518cdcaf56cb77f Author: Guilherme Amadio gentoo org> AuthorDate: Wed Jun 16 08:19:47 2021 + Commit: Guilherme Amadio gentoo org> CommitDate: Wed Jun 16 08:34:50 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f85ca2e2 net-libs/pacparser: make myself maintainer Package-Manager: Portage-3.0.20, Repoman-3.0.3 Signed-off-by: Guilherme Amadio gentoo.org> net-libs/pacparser/metadata.xml | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/net-libs/pacparser/metadata.xml b/net-libs/pacparser/metadata.xml index 6a939b05917..ed2cfc9f3dd 100644 --- a/net-libs/pacparser/metadata.xml +++ b/net-libs/pacparser/metadata.xml @@ -1,7 +1,10 @@ http://www.gentoo.org/dtd/metadata.dtd;> - + +ama...@gentoo.org +Guilherme Amadio + A library to parse proxy auto-config (PAC) files. Proxy auto-config files are a vastly used proxy configuration method these days. Web
[gentoo-commits] repo/gentoo:master commit in: net-libs/pacparser/
commit: 262e808c9c47eb6711bd6e447cb6f2c5ef4a43ca Author: Sam James gentoo org> AuthorDate: Mon May 31 22:58:15 2021 + Commit: Sam James gentoo org> CommitDate: Mon May 31 23:19:05 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=262e808c net-libs/pacparser: add Python 3.9 Signed-off-by: Sam James gentoo.org> net-libs/pacparser/pacparser-1.3.7-r1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-libs/pacparser/pacparser-1.3.7-r1.ebuild b/net-libs/pacparser/pacparser-1.3.7-r1.ebuild index 2991d284b66..deafdcf0461 100644 --- a/net-libs/pacparser/pacparser-1.3.7-r1.ebuild +++ b/net-libs/pacparser/pacparser-1.3.7-r1.ebuild @@ -1,9 +1,9 @@ # Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=6 +EAPI=7 -PYTHON_COMPAT=( python3_{7,8} ) +PYTHON_COMPAT=( python3_{7,8,9} ) inherit python-r1 toolchain-funcs
[gentoo-commits] repo/gentoo:master commit in: net-libs/pacparser/
commit: 1c93964f37902d409bd5bf8211bcf00c3c35770a Author: Sam James gentoo org> AuthorDate: Sat Apr 3 19:46:02 2021 + Commit: Sam James gentoo org> CommitDate: Sat Apr 3 19:53:03 2021 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c93964f net-libs/pacparser: eutils-- Signed-off-by: Sam James gentoo.org> net-libs/pacparser/pacparser-1.3.7-r1.ebuild | 8 +--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/net-libs/pacparser/pacparser-1.3.7-r1.ebuild b/net-libs/pacparser/pacparser-1.3.7-r1.ebuild index 5c1ad492aa6..2991d284b66 100644 --- a/net-libs/pacparser/pacparser-1.3.7-r1.ebuild +++ b/net-libs/pacparser/pacparser-1.3.7-r1.ebuild @@ -1,11 +1,11 @@ -# Copyright 1999-2020 Gentoo Authors +# Copyright 1999-2021 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 PYTHON_COMPAT=( python3_{7,8} ) -inherit eutils python-r1 toolchain-funcs +inherit python-r1 toolchain-funcs DESCRIPTION="Library to parse proxy auto-config files" HOMEPAGE="http://pacparser.manugarg.com/; @@ -22,7 +22,7 @@ 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. +# and got many failures: unbundling not worth it. src_prepare() { default @@ -52,11 +52,13 @@ src_test() { src_install() { emake DESTDIR="${ED}" LIB_PREFIX="${ED}/usr/$(get_libdir)" -C src install dodoc README.md + if use python; then python_foreach_impl emake DESTDIR="${D}" \ LIB_PREFIX="${D}/usr/$(get_libdir)" -C src install-pymod python_foreach_impl python_optimize fi + if use doc; then docompress -x /usr/share/doc/${PF}/{html,examples} else
[gentoo-commits] repo/gentoo:master commit in: net-libs/pacparser/
commit: a105c2b5489cb376b02d3f2de3d0e9a4f55cfec7 Author: Joonas Niilola gentoo org> AuthorDate: Mon Jun 8 13:32:17 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Mon Jun 8 13:41:27 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a105c2b5 net-libs/pacparser: enable python3.8 Signed-off-by: Joonas Niilola gentoo.org> net-libs/pacparser/pacparser-1.3.7-r1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-libs/pacparser/pacparser-1.3.7-r1.ebuild b/net-libs/pacparser/pacparser-1.3.7-r1.ebuild index af0525e5b47..ce0df21ea83 100644 --- a/net-libs/pacparser/pacparser-1.3.7-r1.ebuild +++ b/net-libs/pacparser/pacparser-1.3.7-r1.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python3_{6,7} ) +PYTHON_COMPAT=( python3_{6,7,8} ) inherit eutils python-r1 toolchain-funcs
[gentoo-commits] repo/gentoo:master commit in: net-libs/pacparser/
commit: 4fbac5723b8b8d6ad207b7a41b343e861f7e8490 Author: Henning Schild hennsch de> AuthorDate: Wed May 13 05:59:57 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Mon Jun 8 13:41:26 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4fbac572 net-libs/pacparser: Support newer python, python_optimize and "make -j" Add python3_7, that simply works. Add python_optimize calls to fix a QA issue. And call emake twice to work around parrallel build issue. Signed-off-by: Henning Schild hennsch.de> Closes: https://github.com/gentoo/gentoo/pull/15773 Signed-off-by: Joonas Niilola gentoo.org> net-libs/pacparser/pacparser-1.3.7-r1.ebuild | 65 1 file changed, 65 insertions(+) diff --git a/net-libs/pacparser/pacparser-1.3.7-r1.ebuild b/net-libs/pacparser/pacparser-1.3.7-r1.ebuild new file mode 100644 index 000..af0525e5b47 --- /dev/null +++ b/net-libs/pacparser/pacparser-1.3.7-r1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python3_{6,7} ) + +inherit eutils python-r1 toolchain-funcs + +DESCRIPTION="Library to parse proxy auto-config files" +HOMEPAGE="http://pacparser.manugarg.com/; +SRC_URI="https://github.com/pacparser/${PN}/releases/download/${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. + +src_prepare() { + default + sed -e 's|CFLAGS = |CFLAGS := $(CFLAGS) |' \ + -e 's|= $(PREFIX)|:= $(PREFIX)|g' \ + -e "s|share/doc.*pacparser|share/doc/${PF}|g" \ + -e "s|/lib|/$(get_libdir)|g" \ + -i src/Makefile || die + export NO_INTERNET=yes + tc-export CC AR RANLIB +} + +src_compile() { + emake -C src spidermonkey/js/src + sed -e '/CC = gcc/d' \ + -i src/spidermonkey/js/src/config/Linux_All.mk || die + # 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_test() { + emake -C src testpactester +} + +src_install() { + emake DESTDIR="${ED}" LIB_PREFIX="${ED}/usr/$(get_libdir)" -C src install + dodoc README.md + if use python; then + python_foreach_impl emake DESTDIR="${D}" \ + LIB_PREFIX="${D}/usr/$(get_libdir)" -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 +}
[gentoo-commits] repo/gentoo:master commit in: net-libs/pacparser/
commit: 6018bb93cc024c25626ba0fa86bd9521ec5a4ef2 Author: Joonas Niilola gentoo org> AuthorDate: Mon Jun 8 13:32:38 2020 + Commit: Joonas Niilola gentoo org> CommitDate: Mon Jun 8 13:41:27 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6018bb93 net-libs/pacparser: remove old 1.3.7 Signed-off-by: Joonas Niilola gentoo.org> net-libs/pacparser/pacparser-1.3.7.ebuild | 61 --- 1 file changed, 61 deletions(-) diff --git a/net-libs/pacparser/pacparser-1.3.7.ebuild b/net-libs/pacparser/pacparser-1.3.7.ebuild deleted file mode 100644 index f3f2162bb12..000 --- a/net-libs/pacparser/pacparser-1.3.7.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=6 - -PYTHON_COMPAT=( python3_6 ) - -inherit eutils python-r1 toolchain-funcs - -DESCRIPTION="Library to parse proxy auto-config files" -HOMEPAGE="http://pacparser.manugarg.com/; -SRC_URI="https://github.com/pacparser/${PN}/releases/download/${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. - -src_prepare() { - default - sed -e 's|CFLAGS = |CFLAGS := $(CFLAGS) |' \ - -e 's|= $(PREFIX)|:= $(PREFIX)|g' \ - -e "s|share/doc.*pacparser|share/doc/${PF}|g" \ - -e "s|/lib|/$(get_libdir)|g" \ - -i src/Makefile || die - export NO_INTERNET=yes - tc-export CC AR RANLIB -} - -src_compile() { - emake -C src spidermonkey/js/src - sed -e '/CC = gcc/d' \ - -i src/spidermonkey/js/src/config/Linux_All.mk || die - emake -j1 -C src - use python && python_foreach_impl emake -C src pymod -} - -src_test() { - emake -C src testpactester -} - -src_install() { - emake DESTDIR="${ED}" LIB_PREFIX="${ED}/usr/$(get_libdir)" -C src install - dodoc README.md - use python && python_foreach_impl \ - emake DESTDIR="${D}" \ - LIB_PREFIX="${D}/usr/$(get_libdir)" -C src install-pymod - if use doc; then - docompress -x /usr/share/doc/${PF}/{html,examples} - else - rm -r "${ED}"/usr/share/doc/${PF}/{html,examples} || die - fi -}
[gentoo-commits] repo/gentoo:master commit in: net-libs/pacparser/
commit: b25b43baeb599a23e991e822f65f73e901923684 Author: Michał Górny gentoo org> AuthorDate: Mon Feb 10 21:07:28 2020 + Commit: Michał Górny gentoo org> CommitDate: Mon Feb 10 21:24:52 2020 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b25b43ba net-libs/pacparser: Remove py2 Signed-off-by: Michał Górny gentoo.org> net-libs/pacparser/pacparser-1.3.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-libs/pacparser/pacparser-1.3.7.ebuild b/net-libs/pacparser/pacparser-1.3.7.ebuild index b3f0ea0502e..f3f2162bb12 100644 --- a/net-libs/pacparser/pacparser-1.3.7.ebuild +++ b/net-libs/pacparser/pacparser-1.3.7.ebuild @@ -3,7 +3,7 @@ EAPI=6 -PYTHON_COMPAT=( python{2_7,3_6} ) +PYTHON_COMPAT=( python3_6 ) inherit eutils python-r1 toolchain-funcs
[gentoo-commits] repo/gentoo:master commit in: net-libs/pacparser/files/
commit: 2090c80453f96c2beb68d2e9fd2840f9eae9964e Author: Michael Mair-Keimberger gmail com> AuthorDate: Thu Jan 4 19:35:47 2018 + Commit: Aaron Swenson gentoo org> CommitDate: Fri Jan 5 11:38:52 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2090c804 net-libs/pacparser: remove unused patch Closes: https://github.com/gentoo/gentoo/pull/6749 .../pacparser/files/pacparser-1.3.1-makefile.patch | 66 -- 1 file changed, 66 deletions(-) diff --git a/net-libs/pacparser/files/pacparser-1.3.1-makefile.patch b/net-libs/pacparser/files/pacparser-1.3.1-makefile.patch deleted file mode 100644 index a1434075d18..000 --- a/net-libs/pacparser/files/pacparser-1.3.1-makefile.patch +++ /dev/null @@ -1,66 +0,0 @@ -diff -Nur pacparser-1.3.1.orig/src/Makefile pacparser-1.3.1/src/Makefile pacparser-1.3.1.orig/src/Makefile 2013-11-26 04:21:24.0 + -+++ pacparser-1.3.1/src/Makefile 2013-11-26 04:27:11.0 + -@@ -55,7 +55,7 @@ - endif - endif - --CFLAGS = -g -DXP_UNIX -Wall -DVERSION=$(VERSION) -+CFLAGS := $(CFLAGS) -g -DXP_UNIX -Wall -DVERSION=$(VERSION) - - ifndef PYTHON - PYTHON = python -@@ -67,13 +67,14 @@ - - LIBRARY_LINK = $(LIBRARY_NAME).$(SO_SUFFIX) - PREFIX := $(DESTDIR)$(PREFIX) --LIB_PREFIX = $(PREFIX)/lib --INC_PREFIX = $(PREFIX)/include --BIN_PREFIX = $(PREFIX)/bin --MAN_PREFIX = $(PREFIX)/share/man -+LIB_PREFIX := $(PREFIX)/lib -+INC_PREFIX := $(PREFIX)/include -+BIN_PREFIX := $(PREFIX)/bin -+MAN_PREFIX := $(PREFIX)/share/man -+DOC_PREFIX := $(PREFIX)/share/doc/pacparser - - .PHONY: clean pymod install-pymod --all: testpactester -+all: pactester - - spidermonkey/js/src: spidermonkey/js-?.?.?.tar.gz - tar xzvf spidermonkey/js-?.?.?.tar.gz -C spidermonkey -@@ -97,7 +98,7 @@ - ln -sf $(LIBRARY) $(LIBRARY_LINK) - - pactester: pactester.c pacparser.h $(LIBRARY_LINK) -- $(CC) pactester.c -o pactester -lpacparser -L. -I. -+ $(CC) $(CFLAGS) $(LDFLAGS) pactester.c -o pactester -lpacparser -L. -I. - - testpactester: pactester - echo "Running tests for pactester." -@@ -118,16 +119,20 @@ - # install pacparser manpages - install -d $(MAN_PREFIX)/man3/ - (test -d ../docs && install -m 644 ../docs/man/man3/*.3 $(MAN_PREFIX)/man3/) || true -+ -+install-docs: - # install html docs -- install -d $(PREFIX)/share/doc/pacparser/html/ -- (test -d ../docs/html && install -m 644 ../docs/html/* $(PREFIX)/share/doc/pacparser/html/) || true -+ install -d $(DOC_PREFIX)/html/ -+ (test -d ../docs/html && install -m 644 ../docs/html/* $(DOC_PREFIX)/html/) || true - # install examples -- install -d $(PREFIX)/share/doc/pacparser/examples/ -- (test -d ../examples && install -m 644 ../examples/* $(PREFIX)/share/doc//pacparser/examples/) || true -+ install -d $(DOC_PREFIX)/examples/ -+ (test -d ../examples && install -m 644 ../examples/* $(DOC_PREFIX)/examples/) || true - - # Targets to build python module - pymod: pacparser.o pacparser.h libjs.a - cd pymod && ARCHFLAGS="" $(PYTHON) setup.py build -+ -+test-pymod: pymod - $(PYTHON) ../tests/runtests.py - - install-pymod: pymod
[gentoo-commits] repo/gentoo:master commit in: net-libs/pacparser/
commit: c671102ef34cdf423c38d7585c787b35f621c6b2 Author: Michael Palimaka gentoo org> AuthorDate: Wed Jan 3 10:36:58 2018 + Commit: Michael Palimaka gentoo org> CommitDate: Wed Jan 3 10:40:16 2018 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c671102e net-libs/pacparser: remove 1.3.1 Package-Manager: Portage-2.3.14, Repoman-2.3.6 net-libs/pacparser/Manifest | 1 - net-libs/pacparser/pacparser-1.3.1.ebuild | 52 --- 2 files changed, 53 deletions(-) diff --git a/net-libs/pacparser/Manifest b/net-libs/pacparser/Manifest index 96fc7614b0c..f688ce59f8a 100644 --- a/net-libs/pacparser/Manifest +++ b/net-libs/pacparser/Manifest @@ -1,2 +1 @@ -DIST pacparser-1.3.1.tar.gz 1229362 BLAKE2B 8e4b3898824a7021b42fa04167307d5f7cace7aae9c278644a3febb2262d2e108572328e07b7b64f5060075481ca2e39de7db5a83753dc8e4b010b6ef8ed5d67 SHA512 20295667d92eb5385429c085c14ca8dc1ba216487ff474304433f99119216934be2dd1647452173418de31f5345679dd7159eafd331e40a2b87564f878d31349 DIST pacparser-1.3.7.tar.gz 905596 BLAKE2B 122127b6e1d8f68fde4c5ca98207bf2a0fa2a081dbb60aaf34126700a3de9d861e7b5f881e78d3eefdd2a9af97a9ba677339ca2b2a0b4459d26e60a62226e839 SHA512 979238204cd352ecf502a5a6216a35d7c47e82a173c32c6f0a5166f1fe790c66ac74ec1d9d0a58b54038d19e893f8b365ed868664f84ab9d5e653584bf20130b diff --git a/net-libs/pacparser/pacparser-1.3.1.ebuild b/net-libs/pacparser/pacparser-1.3.1.ebuild deleted file mode 100644 index d74a0944e0d..000 --- a/net-libs/pacparser/pacparser-1.3.1.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# 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} ) - -inherit eutils python-r1 multilib - -DESCRIPTION="Library to parse proxy auto-config files" -HOMEPAGE="https://github.com/pacparser/pacparser; -SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz; - -LICENSE="LGPL-3" -SLOT="0" -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 17 -# failures : unbundling not worth - -src_prepare() { - epatch "${FILESDIR}"/${P}-makefile.patch - export NO_INTERNET=yes -} - -src_compile() { - emake -j1 -C src - use python && python_foreach_impl emake -j1 -C src pymod -} - -src_test() { - emake -j1 -C src testpactester - use python && emake -j1 -C src test-pymod -} - -src_install() { - emake DESTDIR="${ED}" LIB_PREFIX="${ED}/usr/$(get_libdir)" -C src install - dodoc README - use python && python_foreach_impl \ - emake DESTDIR="${D}" \ - LIB_PREFIX="${D}/usr/$(get_libdir)" -C src install-pymod - use doc && emake DESTDIR="${ED}" \ - DOC_PREFIX="${ED}/usr/share/doc/${PF}" -C src install-docs - # conflicts (bug #509168), and useless - rm "${ED}"/usr/share/man/man3/deprecated.3 || die -}
[gentoo-commits] repo/gentoo:master commit in: net-libs/pacparser/
commit: 028362edec851f5bf85c99826b827416a65eaaca Author: Sébastien Fabbro gentoo org> AuthorDate: Mon Jul 17 21:58:06 2017 + Commit: Sebastien Fabbro gentoo org> CommitDate: Tue Jul 18 16:09:43 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=028362ed net-libs/pacparser: bundled spidermonkey tricky to build in parallel. revert to -j1. Package-Manager: Portage-2.3.6, Repoman-2.3.2 net-libs/pacparser/pacparser-1.3.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-libs/pacparser/pacparser-1.3.7.ebuild b/net-libs/pacparser/pacparser-1.3.7.ebuild index 08330b53c6a..7256ae1e8a8 100644 --- a/net-libs/pacparser/pacparser-1.3.7.ebuild +++ b/net-libs/pacparser/pacparser-1.3.7.ebuild @@ -39,7 +39,7 @@ src_compile() { emake -C src spidermonkey/js/src sed -e '/CC = gcc/d' \ -i src/spidermonkey/js/src/config/Linux_All.mk || die - emake -C src + emake -j1 -C src use python && python_foreach_impl emake -C src pymod }
[gentoo-commits] repo/gentoo:master commit in: net-libs/pacparser/
commit: c6a0dadddff0534c16a526b828b5670ba762a6c5 Author: Sébastien Fabbro gentoo org> AuthorDate: Mon Jul 17 21:54:15 2017 + Commit: Sebastien Fabbro gentoo org> CommitDate: Tue Jul 18 16:09:36 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c6a0dadd net-libs/pacparser: version bump Package-Manager: Portage-2.3.6, Repoman-2.3.2 net-libs/pacparser/Manifest | 1 + net-libs/pacparser/metadata.xml | 1 - net-libs/pacparser/pacparser-1.3.7.ebuild | 61 +++ 3 files changed, 62 insertions(+), 1 deletion(-) diff --git a/net-libs/pacparser/Manifest b/net-libs/pacparser/Manifest index 7eb5deafff1..91ab5be6434 100644 --- a/net-libs/pacparser/Manifest +++ b/net-libs/pacparser/Manifest @@ -1 +1,2 @@ DIST pacparser-1.3.1.tar.gz 1229362 SHA256 040fb94c420f6aaad295b0b60cf1659f996fee1997c332bec2a6390955276585 SHA512 20295667d92eb5385429c085c14ca8dc1ba216487ff474304433f99119216934be2dd1647452173418de31f5345679dd7159eafd331e40a2b87564f878d31349 WHIRLPOOL 47caf428b4574d9fbb40cffe46afb38cc6bb786382805754f1653e3d554af60e695e1718902c94822b229b7fb4f9748257745a1b3faedfa02cc7b06ba457768f +DIST pacparser-1.3.7.tar.gz 905596 SHA256 eb48ec2fc202d12a4b882133048c7590329849f32c2285bc4dbe418f29aad249 SHA512 979238204cd352ecf502a5a6216a35d7c47e82a173c32c6f0a5166f1fe790c66ac74ec1d9d0a58b54038d19e893f8b365ed868664f84ab9d5e653584bf20130b WHIRLPOOL be594e02c2eb41edf737ebd0a1b24c4aa044df9883f749f2d625858b16b7d15bd35045c481717c08ec65ec7043c09ef31d2a16d0c4bae6b1c78ab5fa86418c3e diff --git a/net-libs/pacparser/metadata.xml b/net-libs/pacparser/metadata.xml index afeebf32afe..f15997fe5b7 100644 --- a/net-libs/pacparser/metadata.xml +++ b/net-libs/pacparser/metadata.xml @@ -21,7 +21,6 @@ supported right now). -pacproxy pacparser/pacparser diff --git a/net-libs/pacparser/pacparser-1.3.7.ebuild b/net-libs/pacparser/pacparser-1.3.7.ebuild new file mode 100644 index 000..08330b53c6a --- /dev/null +++ b/net-libs/pacparser/pacparser-1.3.7.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) + +inherit eutils python-r1 toolchain-funcs + +DESCRIPTION="Library to parse proxy auto-config files" +HOMEPAGE="http://pacparser.manugarg.com/; +SRC_URI="https://github.com/pacparser/${PN}/releases/download/${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. + +src_prepare() { + default + sed -e 's|CFLAGS = |CFLAGS := $(CFLAGS) |' \ + -e 's|= $(PREFIX)|:= $(PREFIX)|g' \ + -e "s|share/doc.*pacparser|share/doc/${PF}|g" \ + -e "s|/lib|/$(get_libdir)|g" \ + -i src/Makefile || die + export NO_INTERNET=yes + tc-export CC AR RANLIB +} + +src_compile() { + emake -C src spidermonkey/js/src + sed -e '/CC = gcc/d' \ + -i src/spidermonkey/js/src/config/Linux_All.mk || die + emake -C src + use python && python_foreach_impl emake -C src pymod +} + +src_test() { + emake -C src testpactester +} + +src_install() { + emake DESTDIR="${ED}" LIB_PREFIX="${ED}/usr/$(get_libdir)" -C src install + dodoc README.md + use python && python_foreach_impl \ + emake DESTDIR="${D}" \ + LIB_PREFIX="${D}/usr/$(get_libdir)" -C src install-pymod + if use doc; then + docompress -x /usr/share/doc/${PF}/{html,examples} + else + rm -r "${ED}"/usr/share/doc/${PF}/{html,examples} || die + fi +}
[gentoo-commits] repo/gentoo:master commit in: net-libs/pacparser/
commit: 078f9aaf6fa54a50de056dc6810dab869ccec4fb Author: Pacho Ramos gentoo org> AuthorDate: Mon May 29 14:43:15 2017 + Commit: Pacho Ramos gentoo org> CommitDate: Mon May 29 16:32:40 2017 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=078f9aaf net-libs/pacparser: Support newer python Package-Manager: Portage-2.3.6, Repoman-2.3.2 net-libs/pacparser/pacparser-1.3.1.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/net-libs/pacparser/pacparser-1.3.1.ebuild b/net-libs/pacparser/pacparser-1.3.1.ebuild index 41246fbcb4e..d74a0944e0d 100644 --- a/net-libs/pacparser/pacparser-1.3.1.ebuild +++ b/net-libs/pacparser/pacparser-1.3.1.ebuild @@ -1,9 +1,9 @@ -# Copyright 1999-2015 Gentoo Foundation +# 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} ) +PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} ) inherit eutils python-r1 multilib
[gentoo-commits] repo/gentoo:master commit in: net-libs/pacparser/
commit: 7daa895e6cf8a4545338179083e274cd0586dc3e Author: Tobias Klausmann gentoo org> AuthorDate: Tue Sep 1 19:50:46 2015 + Commit: Tobias Klausmann gentoo org> CommitDate: Tue Sep 1 19:50:46 2015 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7daa895e net-libs/pacparser: Fixing HOMEPAGE move due to code.google.com shutdown Package-Manager: portage-2.2.20.1 net-libs/pacparser/pacparser-1.3.1.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net-libs/pacparser/pacparser-1.3.1.ebuild b/net-libs/pacparser/pacparser-1.3.1.ebuild index 651e6ea..ec616c2 100644 --- a/net-libs/pacparser/pacparser-1.3.1.ebuild +++ b/net-libs/pacparser/pacparser-1.3.1.ebuild @@ -9,7 +9,7 @@ PYTHON_COMPAT=( python{2_7,3_4} ) inherit eutils python-r1 multilib DESCRIPTION="Library to parse proxy auto-config files" -HOMEPAGE="https://code.google.com/p/pacparser/; +HOMEPAGE="https://github.com/pacparser/pacparser; SRC_URI="https://${PN}.googlecode.com/files/${P}.tar.gz; LICENSE="LGPL-3"