[gentoo-commits] repo/gentoo:master commit in: dev-python/pystache/

2023-09-08 Thread Steve Arnold
commit: 9bf716876728169a1fc151ec3034761c124600ab
Author: Steve Arnold  gentoo  org>
AuthorDate: Fri Sep  8 18:19:19 2023 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Fri Sep  8 18:19:19 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bf71687

dev-python/pystache: refactor for upstream changes, add doc deps

Signed-off-by: Steve Arnold  gentoo.org>

 dev-python/pystache/pystache-0.6.5.ebuild | 14 ++
 1 file changed, 14 insertions(+)

diff --git a/dev-python/pystache/pystache-0.6.5.ebuild 
b/dev-python/pystache/pystache-0.6.5.ebuild
index c10cd9359cc2..3c70a630edb7 100644
--- a/dev-python/pystache/pystache-0.6.5.ebuild
+++ b/dev-python/pystache/pystache-0.6.5.ebuild
@@ -30,9 +30,23 @@ LICENSE="MIT"
 SLOT="0"
 
 BDEPEND="
+   dev-python/setuptools-scm[${PYTHON_USEDEP}]
test? (
dev-python/pyyaml[${PYTHON_USEDEP}]
)
 "
 
 distutils_enable_tests pytest
+
+distutils_enable_sphinx \
+   docs/source \
+   dev-python/sphinx-rtd-theme \
+   dev-python/recommonmark \
+   dev-python/sphinxcontrib-apidoc
+
+export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
+
+src_prepare() {
+   sed -i '/sphinx_git/d' "${S}"/setup.cfg "${S}"/docs/source/conf.py
+   default
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/ipcalc/

2023-07-29 Thread Steve Arnold
commit: 924ed4b2f16398e95ceb27a73306a4f2f2dc8f20
Author: Steve Arnold  gentoo  org>
AuthorDate: Sun Jul 30 02:38:42 2023 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sun Jul 30 02:38:42 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=924ed4b2

net-misc/ipcalc: keyword 0.42_p2 for ~arm64, ~riscv

Signed-off-by: Steve Arnold  gentoo.org>

 net-misc/ipcalc/ipcalc-0.42_p2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/ipcalc/ipcalc-0.42_p2.ebuild 
b/net-misc/ipcalc/ipcalc-0.42_p2.ebuild
index 0ad1312186d1..9cefbd6b65d9 100644
--- a/net-misc/ipcalc/ipcalc-0.42_p2.ebuild
+++ b/net-misc/ipcalc/ipcalc-0.42_p2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -10,7 +10,7 @@ SRC_URI="
mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p*}.orig.tar.gz
mirror://debian/pool/main/${PN:0:1}/${PN}/${PN}_${PV/_p/-}.debian.tar.xz
 "
-KEYWORDS="~alpha amd64 arm ~hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 
sparc x86 ~amd64-linux ~x86-linux ~ppc-macos"
 SLOT="0"
 
 RDEPEND=">=dev-lang/perl-5.6.0"



[gentoo-commits] repo/gentoo:master commit in: net-misc/ssh-askpass-fullscreen/

2023-07-16 Thread Steve Arnold
commit: b1c819fb1802a788c6662c78ce2d27c1dfc48868
Author: Steve Arnold  gentoo  org>
AuthorDate: Sun Jul 16 20:25:34 2023 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sun Jul 16 20:35:47 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b1c819fb

net-misc/ssh-askpass-fullscreen: keyword 1.2 for ~riscv

Signed-off-by: Steve Arnold  gentoo.org>

 net-misc/ssh-askpass-fullscreen/ssh-askpass-fullscreen-1.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/ssh-askpass-fullscreen/ssh-askpass-fullscreen-1.2.ebuild 
b/net-misc/ssh-askpass-fullscreen/ssh-askpass-fullscreen-1.2.ebuild
index c8dd7195a816..35f4e0804a82 100644
--- a/net-misc/ssh-askpass-fullscreen/ssh-askpass-fullscreen-1.2.ebuild
+++ b/net-misc/ssh-askpass-fullscreen/ssh-askpass-fullscreen-1.2.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/atj/${PN}/releases/download/v${PV}/${P}.tar.gz";
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ppc sparc x86"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~ia64 ppc ~riscv sparc x86"
 IUSE=""
 
 RDEPEND=">=x11-libs/gtk+-2.10.0:2



[gentoo-commits] repo/gentoo:master commit in: app-misc/timew/

2023-03-17 Thread Steve Arnold
commit: 34d6a1a7e4c396190f803347b3234c0f1b564a3a
Author: Steve Arnold  gentoo  org>
AuthorDate: Sat Mar 18 00:30:01 2023 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sat Mar 18 00:30:01 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=34d6a1a7

app-misc/timew: keyword 1.4.3-r1 for ~arm, ~arm64

Signed-off-by: Steve Arnold  gentoo.org>

 app-misc/timew/timew-1.4.3-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-misc/timew/timew-1.4.3-r1.ebuild 
b/app-misc/timew/timew-1.4.3-r1.ebuild
index 4561f210ad0d..697045ab4185 100644
--- a/app-misc/timew/timew-1.4.3-r1.ebuild
+++ b/app-misc/timew/timew-1.4.3-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/GothenburgBitFactory/timewarrior/releases/download/v
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 
 src_configure() {
local mycmakeargs=(



[gentoo-commits] repo/gentoo:master commit in: dev-util/repolite/

2023-02-06 Thread Steve Arnold
commit: 9d5252d44052c179a6aad7d4d0f3ec0a684d238e
Author: Steve Arnold  gentoo  org>
AuthorDate: Mon Feb  6 22:37:52 2023 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Mon Feb  6 22:39:20 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d5252d4

dev-util/repolite: add 0.4.0, drop 0.3.3

Signed-off-by: Steve Arnold  gentoo.org>

 dev-util/repolite/Manifest | 2 +-
 dev-util/repolite/{repolite-0.3.3.ebuild => repolite-0.4.0.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/repolite/Manifest b/dev-util/repolite/Manifest
index 2992346a7641..9fe70e4adb74 100644
--- a/dev-util/repolite/Manifest
+++ b/dev-util/repolite/Manifest
@@ -1 +1 @@
-DIST repolite-0.3.3.tar.gz 28554 BLAKE2B 
558fea32084d3c6b21a5c9f58797b7429ca1331045931d90ce615395361a25430f3bf4c39415b2355af36f66fed33f726111e72ce81ed9a6d51afed56d42e1df
 SHA512 
8e8c9ad4f49880ca3c83b4e8aa0d97018efc301778ab6ed067a1921a0168622c0f73ad3fe5e98bf81cffb8d59b8a09350cad328e92fb954dc1d6ae04ecf02438
+DIST repolite-0.4.0.tar.gz 29316 BLAKE2B 
7843eee116de881e688d1ba7ef16113c0dd63d5c1a795d6c6c7b7c034e3dc5c82f5838049e33703cd8c16ea4a7d96c2ae365278be81df6267f2cb171b20dd059
 SHA512 
14990576f0cd5c77174318be023f0dc63b7dab957e2a896e2a021d5d24b8dccaefad7170ff75ef7e3308ed65ed72092bfc19dca2efdb14598b73722764d9a4dd

diff --git a/dev-util/repolite/repolite-0.3.3.ebuild 
b/dev-util/repolite/repolite-0.4.0.ebuild
similarity index 100%
rename from dev-util/repolite/repolite-0.3.3.ebuild
rename to dev-util/repolite/repolite-0.4.0.ebuild



[gentoo-commits] repo/gentoo:master commit in: dev-libs/redis-ipc/

2023-01-06 Thread Steve Arnold
commit: bbe0ca503d5f0fe6d9ca6a096c5acfeb2c0f7577
Author: Steve Arnold  gentoo  org>
AuthorDate: Fri Jan  6 22:00:53 2023 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sat Jan  7 00:00:39 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbe0ca50

dev-libs/redis-ipc: add 0.1.0, drop 0.0.6

Signed-off-by: Steve Arnold  gentoo.org>

 dev-libs/redis-ipc/Manifest   | 2 +-
 dev-libs/redis-ipc/{redis-ipc-0.0.6.ebuild => redis-ipc-0.1.0.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/redis-ipc/Manifest b/dev-libs/redis-ipc/Manifest
index a26f9034e2e9..016885cd32d3 100644
--- a/dev-libs/redis-ipc/Manifest
+++ b/dev-libs/redis-ipc/Manifest
@@ -1 +1 @@
-DIST redis-ipc-0.0.6.tar.gz 74682 BLAKE2B 
76d12482519e446c55ad9e050614184e04c76d1f5d5e05b4a056a3339d8d94aedba2f5bda11e52e118ae9364937ae62f512b37d649e0e35c83aa686f679c0764
 SHA512 
6c54a42b29192cc79f92f2318aaaff03a56770fc2aed3d5b8c3724634c59c6fd0acfab2daf609899d3872e309e973ace6d6400bf014134fdc8e851c001637c74
+DIST redis-ipc-0.1.0.tar.gz 80111 BLAKE2B 
4e8c1a0c54c33edc0efa9a383a75fa34a7df6cbf6a07fb670ec98739676c26b01317fdb299bf30da2515b20ee715d702715ca4ad82055419719ed9893d23956b
 SHA512 
51e84bee2d1945d0250af11efa7a8a0b862c1122652b419584a3c6c3a641023e3b9e40ab457f50114fd68867081355e944befc879ec12e152c398d507c96a87b

diff --git a/dev-libs/redis-ipc/redis-ipc-0.0.6.ebuild 
b/dev-libs/redis-ipc/redis-ipc-0.1.0.ebuild
similarity index 96%
rename from dev-libs/redis-ipc/redis-ipc-0.0.6.ebuild
rename to dev-libs/redis-ipc/redis-ipc-0.1.0.ebuild
index fec9bd9c2dd3..0f112f9dd0e7 100644
--- a/dev-libs/redis-ipc/redis-ipc-0.0.6.ebuild
+++ b/dev-libs/redis-ipc/redis-ipc-0.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7



[gentoo-commits] repo/gentoo:master commit in: dev-util/repolite/

2022-12-05 Thread Steve Arnold
commit: b7c9e858e28bce72ecc0dc562b2ce62c654664de
Author: Steve Arnold  gentoo  org>
AuthorDate: Mon Dec  5 19:20:33 2022 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Mon Dec  5 19:21:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b7c9e858

dev-util/repolite: add 0.3.3, drop 0.3.1

Signed-off-by: Steve Arnold  gentoo.org>

 dev-util/repolite/Manifest | 2 +-
 dev-util/repolite/{repolite-0.3.1.ebuild => repolite-0.3.3.ebuild} | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/repolite/Manifest b/dev-util/repolite/Manifest
index eacb915c0f0c..2992346a7641 100644
--- a/dev-util/repolite/Manifest
+++ b/dev-util/repolite/Manifest
@@ -1 +1 @@
-DIST repolite-0.3.1.tar.gz 28375 BLAKE2B 
b8d42a40c6598c5c626e5a5c8a8cc7967db301a43056018d7c267ac215e01f3ef757495626dfd7e2a0de2093118f38321a668c17a41738d926436dd3e9f1586d
 SHA512 
1786158255ac8ee75fc48c5a8c4ac9b92cc40f74796206498a781aafc4d8b3cee53e1cc10bdb5d5b33341f15d94b5f1373a416de002151362b0844c36024a8ba
+DIST repolite-0.3.3.tar.gz 28554 BLAKE2B 
558fea32084d3c6b21a5c9f58797b7429ca1331045931d90ce615395361a25430f3bf4c39415b2355af36f66fed33f726111e72ce81ed9a6d51afed56d42e1df
 SHA512 
8e8c9ad4f49880ca3c83b4e8aa0d97018efc301778ab6ed067a1921a0168622c0f73ad3fe5e98bf81cffb8d59b8a09350cad328e92fb954dc1d6ae04ecf02438

diff --git a/dev-util/repolite/repolite-0.3.1.ebuild 
b/dev-util/repolite/repolite-0.3.3.ebuild
similarity index 99%
rename from dev-util/repolite/repolite-0.3.1.ebuild
rename to dev-util/repolite/repolite-0.3.3.ebuild
index 3272b3f47163..4968967da9a4 100644
--- a/dev-util/repolite/repolite-0.3.1.ebuild
+++ b/dev-util/repolite/repolite-0.3.3.ebuild
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python3_{8..11} )
 
 inherit distutils-r1 optfeature
 
-DESCRIPTION="Manage a small set of git repository dependencies with YAML"
+DESCRIPTION="Manage a small set of git repository dependencies with YAML."
 HOMEPAGE="https://github.com/sarnold/repolite";
 
 if [[ ${PV} = * ]]; then



[gentoo-commits] repo/gentoo:master commit in: dev-util/gitchangelog/

2022-11-06 Thread Steve Arnold
commit: 6ee71e373489854fc89ae1a19ba709f36ef278cb
Author: Steve Arnold  gentoo  org>
AuthorDate: Sun Nov  6 21:38:20 2022 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sun Nov  6 21:38:20 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ee71e37

dev-util/gitchangelog: version bump to latest

Signed-off-by: Steve Arnold  gentoo.org>

 dev-util/gitchangelog/Manifest  |  2 +-
 dev-util/gitchangelog/gitchangelog-3.0.9.ebuild | 41 --
 dev-util/gitchangelog/gitchangelog-3.1.2.ebuild | 57 +
 dev-util/gitchangelog/metadata.xml  |  5 ++-
 4 files changed, 61 insertions(+), 44 deletions(-)

diff --git a/dev-util/gitchangelog/Manifest b/dev-util/gitchangelog/Manifest
index cd663768e53e..a2da9e87f7b9 100644
--- a/dev-util/gitchangelog/Manifest
+++ b/dev-util/gitchangelog/Manifest
@@ -1 +1 @@
-DIST gitchangelog-3.0.9.tar.gz 52483 BLAKE2B 
8e7fc61dee6cba6e630cb2006d5bec988ea3d7a7c1e09789b430e11d4c3d8f5e7ff7ee1231dbbcb56185c84fa9c2bbf6a353980f5a70c8a0cce51b2dce83fb5d
 SHA512 
4e290d75455b7d12d831dce973771f861d23d6b6548b8a9e24e838b0931255dfc8c9ef25765fb4f269d5cdad6bd207fbaa3626a3b24681efdbb56ad9e1b1
+DIST gitchangelog-3.1.2.tar.gz 93679 BLAKE2B 
ffd5a9bd25c8bc647c7414e0864a008bafa09b6d5452fa0241408fa324821d4d4faa3e05ac1157521dec5508240383064fb9baca112218de12cc05807400
 SHA512 
390d90fe62799350044b0009cc05a9889b1d4cd2a1e10dcdc42c71202afcb2c6bb1cc49125b3f69b03c0bd6a5bc8a7c29da0d9feeb54ac6ce2e396c489e69384

diff --git a/dev-util/gitchangelog/gitchangelog-3.0.9.ebuild 
b/dev-util/gitchangelog/gitchangelog-3.0.9.ebuild
deleted file mode 100644
index d2e9d691c1bb..
--- a/dev-util/gitchangelog/gitchangelog-3.0.9.ebuild
+++ /dev/null
@@ -1,41 +0,0 @@
-# Copyright 1999-2022 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-PYTHON_COMPAT=( python3_{7..10} )
-DISTUTULS_USE_SETUPTOOLS="pyproject.toml"
-
-inherit distutils-r1
-
-DESCRIPTION="Creates a changelog from git log history"
-HOMEPAGE="https://github.com/sarnold/gitchangelog";
-
-if [[ ${PV} = * ]]; then
-   EGIT_REPO_URI="https://github.com/sarnold/gitchangelog.git";
-   EGIT_BRANCH="master"
-   inherit git-r3
-else
-   SRC_URI="https://github.com/sarnold/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-fi
-
-LICENSE="BSD"
-SLOT="0"
-IUSE="test"
-
-BDEPEND="${DEPEND}
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   test? ( dev-python/nose[${PYTHON_USEDEP}]
-   dev-python/minimock[${PYTHON_USEDEP}] )
-"
-
-DEPEND="${PYTHON_DEPS}
-   dev-python/pystache[${PYTHON_USEDEP}]
-   dev-python/mako[${PYTHON_USEDEP}]
-"
-
-RESTRICT="!test? ( test )"
-
-python_test() {
-   "${EPYTHON}" -m nose -sx . || die "Testing failed with ${EPYTHON}"
-}

diff --git a/dev-util/gitchangelog/gitchangelog-3.1.2.ebuild 
b/dev-util/gitchangelog/gitchangelog-3.1.2.ebuild
new file mode 100644
index ..85d99c6cb0ce
--- /dev/null
+++ b/dev-util/gitchangelog/gitchangelog-3.1.2.ebuild
@@ -0,0 +1,57 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..11} )
+
+inherit distutils-r1
+
+DESCRIPTION="Creates a nicely formatted changelog from git log history"
+HOMEPAGE="https://github.com/sarnold/gitchangelog";
+
+if [[ ${PV} = * ]]; then
+   EGIT_REPO_URI="https://github.com/sarnold/gitchangelog.git";
+   EGIT_BRANCH="master"
+   inherit git-r3
+else
+   
SRC_URI="https://github.com/sarnold/${PN}/releases/download/${PV}/${P}.tar.gz";
+   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="doc"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+   test? ( dev-python/minimock[${PYTHON_USEDEP}] )
+"
+
+RDEPEND="
+   dev-python/pystache[${PYTHON_USEDEP}]
+   dev-python/mako[${PYTHON_USEDEP}]
+"
+
+# needs versioningit if building from git repo source
+if [[ ${PV} = * ]]; then
+   BDEPEND="
+   $(python_gen_any_dep '
+   >=dev-python/versioningit-2.0.0[${PYTHON_USEDEP}]
+   ')"
+fi
+
+DOCS=( README.rst )
+
+distutils_enable_sphinx \
+   docs/source \
+   dev-python/sphinx_rtd_theme \
+   dev-python/recommonmark \
+   dev-python/sphinxcontrib-apidoc
+
+distutils_enable_tests pytest
+
+python_test() {
+   epytest --doctest-modules .
+}

diff --git a/dev-util/gitchangelog/metadata.xml 
b/dev-util/gitchangelog/metadata.xml
index 14d417cfceb2..35fc060a9777 100644
--- a/dev-util/gitchangelog/met

[gentoo-commits] repo/gentoo:master commit in: dev-python/pystache/

2022-09-26 Thread Steve Arnold
commit: cf4c559931cf6912b3f2dfd3ccb671d5afc55ecd
Author: Steve Arnold  gentoo  org>
AuthorDate: Mon Sep 26 16:51:39 2022 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Mon Sep 26 16:54:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf4c5599

dev-python/pystache: add compliant long description to metadata

Bug: https://bugs.gentoo.org/838922
Signed-off-by: Steve Arnold  gentoo.org>

 dev-python/pystache/metadata.xml | 4 
 1 file changed, 4 insertions(+)

diff --git a/dev-python/pystache/metadata.xml b/dev-python/pystache/metadata.xml
index 4732addd5f39..7ea1cd727a6c 100644
--- a/dev-python/pystache/metadata.xml
+++ b/dev-python/pystache/metadata.xml
@@ -9,6 +9,10 @@
pyt...@gentoo.org
Python

+   
+   Updated Python implementation of Mustache, a framework-agnostic 
and
+   logic-free templating system supporting both Markdown and rSt.
+   


PennyDreadfulMTG/pystache



[gentoo-commits] repo/gentoo:master commit in: dev-python/pystache/

2022-09-25 Thread Steve Arnold
commit: f2d3a5023791def4b6839264cd50d63b9b17a098
Author: Steve Arnold  gentoo  org>
AuthorDate: Sun Sep 25 19:34:42 2022 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sun Sep 25 19:36:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f2d3a502

dev-python/pystache: QA cleanup, update long description

Signed-off-by: Steve Arnold  gentoo.org>
Closes: https://bugs.gentoo.org/838922

 dev-python/pystache/metadata.xml  | 28 +---
 dev-python/pystache/pystache-0.6.1.ebuild |  2 +-
 2 files changed, 14 insertions(+), 16 deletions(-)

diff --git a/dev-python/pystache/metadata.xml b/dev-python/pystache/metadata.xml
index 4732addd5f39..abfbdc95383a 100644
--- a/dev-python/pystache/metadata.xml
+++ b/dev-python/pystache/metadata.xml
@@ -1,17 +1,15 @@
-
-https://www.gentoo.org/dtd/metadata.dtd";>
+
+http://www.gentoo.org/dtd/metadata.dtd";>
 
-   
-   nerd...@gentoo.org
-   Steve Arnold
-   
-   
-   pyt...@gentoo.org
-   Python
-   
-   
-   
-   PennyDreadfulMTG/pystache
-   pystache
-   
+
+   nerd...@gentoo.org
+   Steve Arnold
+
+
+   Updated Python implementation of Mustache, a framework-agnostic and
+   logic-free templating system supporting both Markdown and rSt.
+
+
+   VCTLabs/pystache
+
 

diff --git a/dev-python/pystache/pystache-0.6.1.ebuild 
b/dev-python/pystache/pystache-0.6.1.ebuild
index 5c9556870963..537b5773b2d6 100644
--- a/dev-python/pystache/pystache-0.6.1.ebuild
+++ b/dev-python/pystache/pystache-0.6.1.ebuild
@@ -8,7 +8,7 @@ PYTHON_COMPAT=( python3_{8..11} )
 
 inherit distutils-r1
 
-DESCRIPTION="Updated Python implementation of Mustache templating framework"
+DESCRIPTION="Python implementation of Mustache templating framework."
 HOMEPAGE="
https://github.com/PennyDreadfulMTG/pystache/
https://pypi.org/project/pystache/



[gentoo-commits] repo/gentoo:master commit in: dev-util/repolite/

2022-09-25 Thread Steve Arnold
commit: 10802f331c8131b92c19d61d7077d033f170fdf7
Author: Steve Arnold  gentoo  org>
AuthorDate: Sun Sep 25 18:30:25 2022 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sun Sep 25 18:32:21 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=10802f33

dev-util/repolite: add 0.3.1, drop 0.2.0-r2

Signed-off-by: Steve Arnold  gentoo.org>

 dev-util/repolite/Manifest   |  2 +-
 .../{repolite-0.2.0-r2.ebuild => repolite-0.3.1.ebuild}  | 12 +++-
 2 files changed, 8 insertions(+), 6 deletions(-)

diff --git a/dev-util/repolite/Manifest b/dev-util/repolite/Manifest
index e363a6dda079..eacb915c0f0c 100644
--- a/dev-util/repolite/Manifest
+++ b/dev-util/repolite/Manifest
@@ -1 +1 @@
-DIST repolite-0.2.0.tar.gz 27531 BLAKE2B 
6505a2b61d03e63a23c6e3ccaf8b3a596b8c9a9c67eeb4633e25715ce04cf238fea3fd6fbad2bd648598038f1d983504e2f6fa2476ea6642ace9ae31b9fa6f2d
 SHA512 
f076d55eae2fc52e219ed39ab746f5e0e941ea83e1612321b6b6950a9253640338cb1131b679428c7e4f35627bc657246c55f31b8754e22094e391d736b67267
+DIST repolite-0.3.1.tar.gz 28375 BLAKE2B 
b8d42a40c6598c5c626e5a5c8a8cc7967db301a43056018d7c267ac215e01f3ef757495626dfd7e2a0de2093118f38321a668c17a41738d926436dd3e9f1586d
 SHA512 
1786158255ac8ee75fc48c5a8c4ac9b92cc40f74796206498a781aafc4d8b3cee53e1cc10bdb5d5b33341f15d94b5f1373a416de002151362b0844c36024a8ba

diff --git a/dev-util/repolite/repolite-0.2.0-r2.ebuild 
b/dev-util/repolite/repolite-0.3.1.ebuild
similarity index 84%
rename from dev-util/repolite/repolite-0.2.0-r2.ebuild
rename to dev-util/repolite/repolite-0.3.1.ebuild
index 38159f7e9aa9..4968967da9a4 100644
--- a/dev-util/repolite/repolite-0.2.0-r2.ebuild
+++ b/dev-util/repolite/repolite-0.3.1.ebuild
@@ -30,11 +30,13 @@ RDEPEND="
dev-python/munch[${PYTHON_USEDEP}]
dev-vcs/git
 "
-BDEPEND="
-   $(python_gen_any_dep '
-   >=dev-python/versioningit-2.0.1[${PYTHON_USEDEP}]
-   ')
-"
+# needs versioningit if building from git repo source
+if [[ ${PV} = * ]]; then
+   BDEPEND="
+   $(python_gen_any_dep '
+   >=dev-python/versioningit-2.0.1[${PYTHON_USEDEP}]
+   ')"
+fi
 
 DOCS=( README.rst )
 



[gentoo-commits] repo/gentoo:master commit in: dev-util/repolite/

2022-08-21 Thread Steve Arnold
commit: e6570f518bcab08ad8a5b2f303c9327ab67c5aff
Author: Steve Arnold  gentoo  org>
AuthorDate: Sun Aug 21 21:43:31 2022 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sun Aug 21 21:44:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e6570f51

dev-util/repolite: sort out packaging/deps

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Steve Arnold  gentoo.org>

 .../{repolite-0.2.0.ebuild => repolite-0.2.0-r1.ebuild}  | 12 
 1 file changed, 4 insertions(+), 8 deletions(-)

diff --git a/dev-util/repolite/repolite-0.2.0.ebuild 
b/dev-util/repolite/repolite-0.2.0-r1.ebuild
similarity index 80%
rename from dev-util/repolite/repolite-0.2.0.ebuild
rename to dev-util/repolite/repolite-0.2.0-r1.ebuild
index a92be3eca85f..7786cd608778 100644
--- a/dev-util/repolite/repolite-0.2.0.ebuild
+++ b/dev-util/repolite/repolite-0.2.0-r1.ebuild
@@ -3,9 +3,8 @@
 
 EAPI=8
 
-DISTUTILS_SINGLE_IMPL=1
 DISTUTILS_USE_PEP517=setuptools
-PYTHON_COMPAT=( python3_{8..10} )
+PYTHON_COMPAT=( python3_{8..11} )
 
 inherit distutils-r1 optfeature
 
@@ -27,17 +26,14 @@ IUSE="doc"
 RESTRICT="test"  # no tests :(
 
 RDEPEND="
-   $(python_gen_cond_dep '
-   dev-python/pyyaml[${PYTHON_USEDEP}]
-   dev-python/munch[${PYTHON_USEDEP}]
-   >=dev-python/versioningit-2.0.1[${PYTHON_USEDEP}]
-   ')
+   dev-python/pyyaml[${PYTHON_USEDEP}]
+   dev-python/munch[${PYTHON_USEDEP}]
 "
 RDEPEND="${DEPEND}
dev-vcs/git
 "
 BDEPEND="
-   $(python_gen_cond_dep '
+   $(python_gen_any_dep '
>=dev-python/versioningit-2.0.1[${PYTHON_USEDEP}]
')
 "



[gentoo-commits] repo/gentoo:master commit in: dev-util/repolite/

2022-08-21 Thread Steve Arnold
commit: a7eda56a1feece56e1080ae0806e0c665bec32ab
Author: Steve Arnold  gentoo  org>
AuthorDate: Sun Aug 21 21:00:16 2022 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sun Aug 21 21:00:16 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7eda56a

dev-util/repolite: initial import

Signed-off-by: Steve Arnold  gentoo.org>

 dev-util/repolite/Manifest  |  1 +
 dev-util/repolite/metadata.xml  | 15 +
 dev-util/repolite/repolite-0.2.0.ebuild | 55 +
 3 files changed, 71 insertions(+)

diff --git a/dev-util/repolite/Manifest b/dev-util/repolite/Manifest
new file mode 100644
index ..e363a6dda079
--- /dev/null
+++ b/dev-util/repolite/Manifest
@@ -0,0 +1 @@
+DIST repolite-0.2.0.tar.gz 27531 BLAKE2B 
6505a2b61d03e63a23c6e3ccaf8b3a596b8c9a9c67eeb4633e25715ce04cf238fea3fd6fbad2bd648598038f1d983504e2f6fa2476ea6642ace9ae31b9fa6f2d
 SHA512 
f076d55eae2fc52e219ed39ab746f5e0e941ea83e1612321b6b6950a9253640338cb1131b679428c7e4f35627bc657246c55f31b8754e22094e391d736b67267

diff --git a/dev-util/repolite/metadata.xml b/dev-util/repolite/metadata.xml
new file mode 100644
index ..c30b51566eec
--- /dev/null
+++ b/dev-util/repolite/metadata.xml
@@ -0,0 +1,15 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+
+   nerd...@gentoo.org
+   Steve Arnold
+
+
+   Lightweight repository manager using yaml config files instead of xml
+   manifest or git submodules.
+
+
+   sarnold/repolite
+
+

diff --git a/dev-util/repolite/repolite-0.2.0.ebuild 
b/dev-util/repolite/repolite-0.2.0.ebuild
new file mode 100644
index ..a92be3eca85f
--- /dev/null
+++ b/dev-util/repolite/repolite-0.2.0.ebuild
@@ -0,0 +1,55 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_SINGLE_IMPL=1
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1 optfeature
+
+DESCRIPTION="Manage a small set of git repository dependencies with YAML."
+HOMEPAGE="https://github.com/sarnold/repolite";
+
+if [[ ${PV} = * ]]; then
+   EGIT_REPO_URI="https://github.com/sarnold/repolite.git";
+   EGIT_BRANCH="master"
+   inherit git-r3
+else
+   
SRC_URI="https://github.com/sarnold/repolite/releases/download/${PV}/${P}.tar.gz";
+   KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+fi
+
+LICENSE="LGPL-2.1"
+SLOT="0"
+IUSE="doc"
+RESTRICT="test"  # no tests :(
+
+RDEPEND="
+   $(python_gen_cond_dep '
+   dev-python/pyyaml[${PYTHON_USEDEP}]
+   dev-python/munch[${PYTHON_USEDEP}]
+   >=dev-python/versioningit-2.0.1[${PYTHON_USEDEP}]
+   ')
+"
+RDEPEND="${DEPEND}
+   dev-vcs/git
+"
+BDEPEND="
+   $(python_gen_cond_dep '
+   >=dev-python/versioningit-2.0.1[${PYTHON_USEDEP}]
+   ')
+"
+
+DOCS=( README.rst )
+
+distutils_enable_sphinx \
+   docs/source \
+   dev-python/sphinx_rtd_theme \
+   dev-python/recommonmark \
+   dev-python/sphinxcontrib-apidoc
+
+pkg_postinst() {
+   optfeature "initialize repos with lfs files" dev-vcs/git-lfs
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/sphinxcontrib-apidoc/

2022-08-18 Thread Steve Arnold
commit: aba70dadd644228d2bcef4d0fbe7eedc662365ca
Author: Steve Arnold  gentoo  org>
AuthorDate: Thu Aug 18 17:40:03 2022 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Thu Aug 18 17:40:03 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=aba70dad

dev-python/sphinxcontrib-apidoc: keyword 0.3.0-r1 for ~arm, ~arm64, ~riscv

Signed-off-by: Steve Arnold  gentoo.org>

 dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.3.0-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.3.0-r1.ebuild 
b/dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.3.0-r1.ebuild
index 97b185b1d01f..eca2c32e46bd 100644
--- a/dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.3.0-r1.ebuild
+++ b/dev-python/sphinxcontrib-apidoc/sphinxcontrib-apidoc-0.3.0-r1.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
 
 BDEPEND="
dev-python/pbr[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/versioningit/

2022-08-18 Thread Steve Arnold
commit: 87dc6e1d5a8323f3cdf15cf46e1adbe755192bd1
Author: Steve Arnold  gentoo  org>
AuthorDate: Thu Aug 18 17:35:57 2022 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Thu Aug 18 17:35:57 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=87dc6e1d

dev-python/versioningit: keyword 2.0.1 for ~arm, ~arm64, ~riscv

Signed-off-by: Steve Arnold  gentoo.org>

 dev-python/versioningit/versioningit-2.0.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/versioningit/versioningit-2.0.1.ebuild 
b/dev-python/versioningit/versioningit-2.0.1.ebuild
index 7af2c2936c5d..0f82633cf7e5 100644
--- a/dev-python/versioningit/versioningit-2.0.1.ebuild
+++ b/dev-python/versioningit/versioningit-2.0.1.ebuild
@@ -17,7 +17,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
 
 RDEPEND="
>=dev-python/packaging-17.1[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-util/cccc/

2022-07-12 Thread Steve Arnold
commit: 0ac0326c98a8657a98f21ce032d8f6567295cd6f
Author: Steve Arnold  gentoo  org>
AuthorDate: Tue Jul 12 20:18:13 2022 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Tue Jul 12 20:18:13 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0ac0326c

dev-util/: stabilize 3.1.6-r1 for amd64

Signed-off-by: Steve Arnold  gentoo.org>

 dev-util//-3.1.6-r1.ebuild | 2 +-
 dev-util//metadata.xml | 7 +--
 2 files changed, 6 insertions(+), 3 deletions(-)

diff --git a/dev-util//-3.1.6-r1.ebuild 
b/dev-util//-3.1.6-r1.ebuild
index 17d9b4e8f1b9..2cef70b6152c 100644
--- a/dev-util//-3.1.6-r1.ebuild
+++ b/dev-util//-3.1.6-r1.ebuild
@@ -17,7 +17,7 @@ fi
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="apidoc debug doc mfc"
 
 BDEPEND="apidoc? ( app-doc/doxygen[dot] )"

diff --git a/dev-util//metadata.xml b/dev-util//metadata.xml
index e288ca6f7ed3..ed3b18e795a0 100644
--- a/dev-util//metadata.xml
+++ b/dev-util//metadata.xml
@@ -1,10 +1,13 @@
 
 https://www.gentoo.org/dtd/metadata.dtd";>
 
-   
+   
+   nerd...@gentoo.org
+   Steve Arnold
+   

 provides source code metrics (line counts, complexity,
-   object-oriented, and structural metrics) for Java and C++
+   object-oriented, and structural metrics) for Java, C, and C++


sarnold/



[gentoo-commits] repo/gentoo:master commit in: sys-libs/newlib/

2022-06-03 Thread Steve Arnold
commit: 7d4d0e4d56b4ae928be9eaf9ca0c41f4d871f48b
Author: Steve Arnold  gentoo  org>
AuthorDate: Fri Jun  3 18:48:51 2022 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Fri Jun  3 18:49:28 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7d4d0e4d

sys-libs/newlib: add libgloss to regex in 2 most recent versions

* required for some arm/riscv elf toolchains/targets

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Steve Arnold  gentoo.org>

 sys-libs/newlib/newlib-4.2.0.20211231.ebuild | 2 +-
 sys-libs/newlib/newlib-.ebuild   | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/sys-libs/newlib/newlib-4.2.0.20211231.ebuild 
b/sys-libs/newlib/newlib-4.2.0.20211231.ebuild
index 92cb0eb38425..39e03d098e4d 100644
--- a/sys-libs/newlib/newlib-4.2.0.20211231.ebuild
+++ b/sys-libs/newlib/newlib-4.2.0.20211231.ebuild
@@ -136,7 +136,7 @@ src_install() {
emake -j1 DESTDIR="${NEWLIBNANOTMPINSTALL}" install
# Rename nano lib* files to lib*_nano and move to the real ${D}
local nanolibfiles=""
-   nanolibfiles=$(find "${NEWLIBNANOTMPINSTALL}" -regex 
".*/lib\(c\|g\|m\|rdimon\)\.a" -print)
+   nanolibfiles=$(find "${NEWLIBNANOTMPINSTALL}" -regex 
".*/lib\(c\|g\|m\|rdimon\|gloss\)\.a" -print)
for f in ${nanolibfiles}; do
local l="${f##${NEWLIBNANOTMPINSTALL}}"
mv -v "${f}" "${D}/${l%%\.a}_nano.a" || die

diff --git a/sys-libs/newlib/newlib-.ebuild 
b/sys-libs/newlib/newlib-.ebuild
index 92cb0eb38425..39e03d098e4d 100644
--- a/sys-libs/newlib/newlib-.ebuild
+++ b/sys-libs/newlib/newlib-.ebuild
@@ -136,7 +136,7 @@ src_install() {
emake -j1 DESTDIR="${NEWLIBNANOTMPINSTALL}" install
# Rename nano lib* files to lib*_nano and move to the real ${D}
local nanolibfiles=""
-   nanolibfiles=$(find "${NEWLIBNANOTMPINSTALL}" -regex 
".*/lib\(c\|g\|m\|rdimon\)\.a" -print)
+   nanolibfiles=$(find "${NEWLIBNANOTMPINSTALL}" -regex 
".*/lib\(c\|g\|m\|rdimon\|gloss\)\.a" -print)
for f in ${nanolibfiles}; do
local l="${f##${NEWLIBNANOTMPINSTALL}}"
mv -v "${f}" "${D}/${l%%\.a}_nano.a" || die



[gentoo-commits] repo/gentoo:master commit in: dev-embedded/mavlink_c/

2022-05-29 Thread Steve Arnold
commit: 60230c9931c898d349692a973748b66fd7c10821
Author: Steve Arnold  gentoo  org>
AuthorDate: Sun May 29 17:54:23 2022 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sun May 29 17:55:15 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60230c99

dev-embedded/mavlink_c: new ebuild for v2 reference library

* baseline dependency for building/regenerating mavlink headers

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Steve Arnold  gentoo.org>

 dev-embedded/mavlink_c/Manifest  |  1 +
 dev-embedded/mavlink_c/mavlink_c-20220518.ebuild | 32 
 dev-embedded/mavlink_c/metadata.xml  | 13 ++
 3 files changed, 46 insertions(+)

diff --git a/dev-embedded/mavlink_c/Manifest b/dev-embedded/mavlink_c/Manifest
new file mode 100644
index ..e9599ebf7272
--- /dev/null
+++ b/dev-embedded/mavlink_c/Manifest
@@ -0,0 +1 @@
+DIST mavlink_c-20220518.tar.gz 875511 BLAKE2B 
d7776e8200b00802d77a07fac68625a9c72c9c6bec4d35be309235d31731581f7f5faf4b94792cc6158cc69ab56607ab4abb40ffd9879f24c861145fe5aded33
 SHA512 
9dd29cc6d8efb0d3e18a5d992741fa29ff986c328fb56f73f4e49d31787ced4185d76da98e6efecb9ad25e3e620683bba139f9d30e94c2ef457f9d3f22e5dc62

diff --git a/dev-embedded/mavlink_c/mavlink_c-20220518.ebuild 
b/dev-embedded/mavlink_c/mavlink_c-20220518.ebuild
new file mode 100644
index ..5e9873b2d6a0
--- /dev/null
+++ b/dev-embedded/mavlink_c/mavlink_c-20220518.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+
+MY_PN="c_library_v2"
+MY_P="${MY_PN}-${PV}"
+
+# sadly no upstream tags or releases from gh for ref snapshots
+GIT_COMMIT="241907e288b43513b28f83595d0de3b2088bce0f"
+SRC_URI="https://github.com/mavlink/${MY_PN}/archive/${GIT_COMMIT}.tar.gz -> 
${P}.tar.gz"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+S="${WORKDIR}"
+
+DESCRIPTION="Official reference C library for the v2 protocol"
+HOMEPAGE="https://github.com/mavlink/c_library_v2";
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="test"
+
+RESTRICT="test"
+
+src_install() {
+   einfo "Installing base headers required for v2 reference library"
+   mkdir -p "${MY_PN}-${GIT_COMMIT}"/message_definitions/v1.0
+   mv "${MY_PN}-${GIT_COMMIT}"/message_definitions/*.xml \
+"${MY_PN}-${GIT_COMMIT}"/message_definitions/v1.0/
+   mv "${MY_PN}-${GIT_COMMIT}" mavlink
+
+   doheader -r mavlink
+}

diff --git a/dev-embedded/mavlink_c/metadata.xml 
b/dev-embedded/mavlink_c/metadata.xml
new file mode 100644
index ..142eb38b7019
--- /dev/null
+++ b/dev-embedded/mavlink_c/metadata.xml
@@ -0,0 +1,13 @@
+
+https://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   embed...@gentoo.org
+   Embedded Gentoo
+   
+   
+   https://github.com/mavlink/mavlink/issues
+   https://mavlink.io/en/
+   mavlink/mavlink
+   
+



[gentoo-commits] repo/gentoo:master commit in: dev-python/pystache/

2022-05-01 Thread Steve Arnold
commit: a4824aaa2f6f6925fde2549b352b4417af9eddb8
Author: Steve Arnold  gentoo  org>
AuthorDate: Sun May  1 16:42:25 2022 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sun May  1 16:43:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4824aaa

dev-python/pystache: add missing pypi remote-id

* post-dated pystache version bump: 0.6.0

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Steve Arnold  gentoo.org>

 dev-python/pystache/metadata.xml | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-python/pystache/metadata.xml b/dev-python/pystache/metadata.xml
index a2179cb0df58..9095fcbce41f 100644
--- a/dev-python/pystache/metadata.xml
+++ b/dev-python/pystache/metadata.xml
@@ -7,5 +7,6 @@
 
 
PennyDreadfulMTG/pystache
+   pystache
 
 



[gentoo-commits] repo/gentoo:master commit in: dev-util/gitchangelog/

2022-04-16 Thread Steve Arnold
commit: 02ef8c30447ca546cc6408a772e7e10be245c903
Author: Steve Arnold  gentoo  org>
AuthorDate: Sat Apr 16 17:48:01 2022 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sat Apr 16 17:48:01 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02ef8c30

dev-util/gitchangelog: new ebuild to generate nice changelog docs

* updated dependencies, consumed by github action, not much churn

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Steve Arnold  gentoo.org>

 dev-util/gitchangelog/Manifest  |  1 +
 dev-util/gitchangelog/gitchangelog-3.0.9.ebuild | 41 +
 dev-util/gitchangelog/metadata.xml  | 15 +
 3 files changed, 57 insertions(+)

diff --git a/dev-util/gitchangelog/Manifest b/dev-util/gitchangelog/Manifest
new file mode 100644
index ..cd663768e53e
--- /dev/null
+++ b/dev-util/gitchangelog/Manifest
@@ -0,0 +1 @@
+DIST gitchangelog-3.0.9.tar.gz 52483 BLAKE2B 
8e7fc61dee6cba6e630cb2006d5bec988ea3d7a7c1e09789b430e11d4c3d8f5e7ff7ee1231dbbcb56185c84fa9c2bbf6a353980f5a70c8a0cce51b2dce83fb5d
 SHA512 
4e290d75455b7d12d831dce973771f861d23d6b6548b8a9e24e838b0931255dfc8c9ef25765fb4f269d5cdad6bd207fbaa3626a3b24681efdbb56ad9e1b1

diff --git a/dev-util/gitchangelog/gitchangelog-3.0.9.ebuild 
b/dev-util/gitchangelog/gitchangelog-3.0.9.ebuild
new file mode 100644
index ..d2e9d691c1bb
--- /dev/null
+++ b/dev-util/gitchangelog/gitchangelog-3.0.9.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{7..10} )
+DISTUTULS_USE_SETUPTOOLS="pyproject.toml"
+
+inherit distutils-r1
+
+DESCRIPTION="Creates a changelog from git log history"
+HOMEPAGE="https://github.com/sarnold/gitchangelog";
+
+if [[ ${PV} = * ]]; then
+   EGIT_REPO_URI="https://github.com/sarnold/gitchangelog.git";
+   EGIT_BRANCH="master"
+   inherit git-r3
+else
+   SRC_URI="https://github.com/sarnold/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="test"
+
+BDEPEND="${DEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? ( dev-python/nose[${PYTHON_USEDEP}]
+   dev-python/minimock[${PYTHON_USEDEP}] )
+"
+
+DEPEND="${PYTHON_DEPS}
+   dev-python/pystache[${PYTHON_USEDEP}]
+   dev-python/mako[${PYTHON_USEDEP}]
+"
+
+RESTRICT="!test? ( test )"
+
+python_test() {
+   "${EPYTHON}" -m nose -sx . || die "Testing failed with ${EPYTHON}"
+}

diff --git a/dev-util/gitchangelog/metadata.xml 
b/dev-util/gitchangelog/metadata.xml
new file mode 100644
index ..32c48c0aca94
--- /dev/null
+++ b/dev-util/gitchangelog/metadata.xml
@@ -0,0 +1,15 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+
+   nerd...@gentoo.org
+   Steve Arnold
+
+
+   Create a fancy changelog from git log history (in rst or md) and
+   customize your config with Python callables and regex.
+
+
+   sarnold/gitchangelog
+
+



[gentoo-commits] repo/gentoo:master commit in: dev-python/pystache/

2022-04-16 Thread Steve Arnold
commit: a4b33e6331916d82076c179692f1ec918a61b8ba
Author: Steve Arnold  gentoo  org>
AuthorDate: Sat Apr 16 17:23:37 2022 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sat Apr 16 17:24:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a4b33e63

dev-python/pystache: new/revived ebuild, dependency of gitchangelog

* revived, new upstream maintainer, new pypi package

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Steve Arnold  gentoo.org>

 dev-python/pystache/Manifest  |  1 +
 dev-python/pystache/metadata.xml  | 14 
 dev-python/pystache/pystache-0.6.0.ebuild | 38 +++
 3 files changed, 53 insertions(+)

diff --git a/dev-python/pystache/Manifest b/dev-python/pystache/Manifest
new file mode 100644
index ..f75fabc9293b
--- /dev/null
+++ b/dev-python/pystache/Manifest
@@ -0,0 +1 @@
+DIST pystache-0.6.0.tar.gz 78240 BLAKE2B 
b3ba14090f7969b7d3bd77f6e23bda8007fbf6f750e008585676f48bb1a4bfc520484b2205225477f2d2d625b0d6c1500d875685fa50f87c11b19589b0d45622
 SHA512 
802e12795c3ae08fbde37c9e266a60478d46d55a42e2fc339389b664edf3c5ebb2e34069546b820789ad48ed9921f4a2b89f82bb37e72e94846eec0a9ba1568c

diff --git a/dev-python/pystache/metadata.xml b/dev-python/pystache/metadata.xml
new file mode 100644
index ..48edd0510f34
--- /dev/null
+++ b/dev-python/pystache/metadata.xml
@@ -0,0 +1,14 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+
+   nerd...@gentoo.org
+   Steve Arnold
+
+
+   Updated Python implementation of Mustache templating framework.
+
+
+   PennyDreadfulMTG/pystache
+
+

diff --git a/dev-python/pystache/pystache-0.6.0.ebuild 
b/dev-python/pystache/pystache-0.6.0.ebuild
new file mode 100644
index ..bf1f4437fd2d
--- /dev/null
+++ b/dev-python/pystache/pystache-0.6.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{7..10} )
+DISTUTILS_USE_SETUPTOOLS="pyproject.toml"
+
+inherit distutils-r1
+
+DESCRIPTION="Python implementation of Mustache"
+HOMEPAGE="https://github.com/PennyDreadfulMTG/pystache";
+
+if [[ ${PV} = * ]]; then
+   EGIT_REPO_URI="https://github.com/PennyDreadfulMTG/pystache.git";
+   EGIT_BRANCH="master"
+   inherit git-r3
+else
+   SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="test"
+
+BDEPEND="${RDEPEND}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? ( dev-python/pyyaml[${PYTHON_USEDEP}] )
+"
+
+RDEPEND="${PYTHON_DEPS}"
+
+RESTRICT="!test? ( test )"
+
+python_test() {
+   distutils_install_for_testing
+   pystache-test . || die "Test failed with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-libs/redis-ipc/

2022-03-30 Thread Steve Arnold
commit: e499bcf9b8032090bab49bdd4aa7663304b53d18
Author: Steve Arnold  gentoo  org>
AuthorDate: Wed Mar 30 23:02:24 2022 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Wed Mar 30 23:02:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e499bcf9

dev-libs/redis-ipc: new ebuild, system/app level messaging interface

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Steve Arnold  gentoo.org>

 dev-libs/redis-ipc/Manifest   |  1 +
 dev-libs/redis-ipc/metadata.xml   | 16 +++
 dev-libs/redis-ipc/redis-ipc-0.0.6.ebuild | 46 +++
 3 files changed, 63 insertions(+)

diff --git a/dev-libs/redis-ipc/Manifest b/dev-libs/redis-ipc/Manifest
new file mode 100644
index ..a26f9034e2e9
--- /dev/null
+++ b/dev-libs/redis-ipc/Manifest
@@ -0,0 +1 @@
+DIST redis-ipc-0.0.6.tar.gz 74682 BLAKE2B 
76d12482519e446c55ad9e050614184e04c76d1f5d5e05b4a056a3339d8d94aedba2f5bda11e52e118ae9364937ae62f512b37d649e0e35c83aa686f679c0764
 SHA512 
6c54a42b29192cc79f92f2318aaaff03a56770fc2aed3d5b8c3724634c59c6fd0acfab2daf609899d3872e309e973ace6d6400bf014134fdc8e851c001637c74

diff --git a/dev-libs/redis-ipc/metadata.xml b/dev-libs/redis-ipc/metadata.xml
new file mode 100644
index ..3c1e58a0c43a
--- /dev/null
+++ b/dev-libs/redis-ipc/metadata.xml
@@ -0,0 +1,16 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   nerd...@gentoo.org
+   Stephen L Arnold
+   
+   
+   Convenience library for using redis server and JSON as IPC
+   mechanism (command queues, settings, status, event channels).
+   Can use either local or network sockets via C or C++ interfaces.
+   
+   
+   VCTLabs/redis-ipc
+   
+

diff --git a/dev-libs/redis-ipc/redis-ipc-0.0.6.ebuild 
b/dev-libs/redis-ipc/redis-ipc-0.0.6.ebuild
new file mode 100644
index ..fec9bd9c2dd3
--- /dev/null
+++ b/dev-libs/redis-ipc/redis-ipc-0.0.6.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake
+
+DESCRIPTION="A (redis) client library for using redis as system IPC msg/event 
bus"
+HOMEPAGE="https://github.com/VCTLabs/redis-ipc";
+
+if [[ ${PV} == * ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://github.com/VCTLabs/redis-ipc.git";
+   EGIT_BRANCH="develop"
+else
+   SRC_URI="https://github.com/VCTLabs/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0/1"
+IUSE="static-libs test"
+RESTRICT="!test? ( test )"
+
+DEPEND="
+   dev-libs/hiredis:=
+   dev-libs/json-c
+"
+RDEPEND="${DEPEND}
+   dev-db/redis
+"
+
+src_prepare() {
+   sed -i -e "s|/lib|/$(get_libdir)|" "${S}"/redis-ipc.pc.in || die
+   cmake_src_prepare
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DBUILD_STATIC_LIBS=$(usex static-libs)
+   -DRIPC_BUILD_TESTING=$(usex test)
+   -DRIPC_DISABLE_SOCK_TESTS=$(usex test)
+   )
+
+   cmake_src_configure
+}



[gentoo-commits] repo/gentoo:master commit in: app-misc/timew-report/

2022-03-07 Thread Steve Arnold
commit: 64df43608473eea5224219df826be895aaa2d460
Author: Steve Arnold  gentoo  org>
AuthorDate: Mon Mar  7 17:38:51 2022 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Mon Mar  7 17:38:51 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=64df4360

app-misc/timew-report: new ebuild for building custom report output

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Steve Arnold  gentoo.org>

 app-misc/timew-report/Manifest  |  1 +
 app-misc/timew-report/metadata.xml  | 16 +
 app-misc/timew-report/timew-report-1.4.0.ebuild | 30 +
 3 files changed, 47 insertions(+)

diff --git a/app-misc/timew-report/Manifest b/app-misc/timew-report/Manifest
new file mode 100644
index ..3adcf730f41a
--- /dev/null
+++ b/app-misc/timew-report/Manifest
@@ -0,0 +1 @@
+DIST timew-report-1.4.0.tar.gz 6815 BLAKE2B 
a0529f575d324a92955eef2b94f302fc61fd09f9b85a092e4b7c5993c1710a189007be900e212bc15a3a29db73feb14d246e2f78a5e2965e26eec05204cc1e34
 SHA512 
bb1144b0268788c569fef68d10e16311e09f390e66992e71d850ef241de21c3cb67b8f696d776e673856ef53f5205873970b1fc2e06b62696181074090bd58a8

diff --git a/app-misc/timew-report/metadata.xml 
b/app-misc/timew-report/metadata.xml
new file mode 100644
index ..93dc8a6362d8
--- /dev/null
+++ b/app-misc/timew-report/metadata.xml
@@ -0,0 +1,16 @@
+
+https://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   nerd...@gentoo.org
+       Steve Arnold
+   
+   
+   timew-report is an interface for generating custom reports
+   from timewarrior tracking data (drop your python scripts in
+   the timew extensions directory).
+   
+   
+lauft/timew-report
+   
+

diff --git a/app-misc/timew-report/timew-report-1.4.0.ebuild 
b/app-misc/timew-report/timew-report-1.4.0.ebuild
new file mode 100644
index ..222a707352ae
--- /dev/null
+++ b/app-misc/timew-report/timew-report-1.4.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{7..10} )
+inherit distutils-r1
+
+DESCRIPTION="An interface for Timewarrior report data"
+HOMEPAGE="https://github.com/lauft/timew-report";
+SRC_URI="https://github.com/lauft/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="test"
+
+RDEPEND="${PYTHON_DEPS}
+   app-misc/timew"
+
+DEPEND="${PYTHON_DEPS}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   dev-python/deprecation[${PYTHON_USEDEP}]
+   dev-python/python-dateutil[${PYTHON_USEDEP}]
+   test? ( >=dev-python/pytest-3.0.3[${PYTHON_USEDEP}] )
+"
+
+RESTRICT="!test? ( test )"
+
+distutils_enable_tests pytest



[gentoo-commits] repo/gentoo:master commit in: sys-block/bmap-tools/

2022-02-12 Thread Steve Arnold
commit: 3306089de924a23ac118246db2f7677185a0626e
Author: Steve Arnold  gentoo  org>
AuthorDate: Sat Feb 12 19:45:43 2022 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sat Feb 12 19:46:48 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3306089d

sys-block/bmap-tools: new ebuild for sparse image files

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Steve Arnold  gentoo.org>

 sys-block/bmap-tools/Manifest  |  1 +
 sys-block/bmap-tools/bmap-tools-3.6.ebuild | 54 ++
 sys-block/bmap-tools/metadata.xml  | 11 ++
 3 files changed, 66 insertions(+)

diff --git a/sys-block/bmap-tools/Manifest b/sys-block/bmap-tools/Manifest
new file mode 100644
index ..e9012b8a510d
--- /dev/null
+++ b/sys-block/bmap-tools/Manifest
@@ -0,0 +1 @@
+DIST bmap-tools-3.6.tar.gz 97815 BLAKE2B 
3c6728386d66283a4df0376c90d2eafc670bba835ca97ebe25ab12f5eb1f745dea9a55d8c287c815306b9d603b6d804f9711a19b2df23870355983ebce4c0a07
 SHA512 
a55fe88d8f136b39f2bb92690322ae65d66ae1ae0454050d74bd37a39d69dca6428ba05ff42d2faf8e83f8f8342d882caaf8bb45aa00c74bbd5e4b12289a406a

diff --git a/sys-block/bmap-tools/bmap-tools-3.6.ebuild 
b/sys-block/bmap-tools/bmap-tools-3.6.ebuild
new file mode 100644
index ..51a7426eaeea
--- /dev/null
+++ b/sys-block/bmap-tools/bmap-tools-3.6.ebuild
@@ -0,0 +1,54 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{8..10} )
+
+inherit distutils-r1
+
+DESCRIPTION="Flashing tool using block maps and sparse files"
+HOMEPAGE="https://github.com/intel/bmap-tools";
+
+if [[ ${PV} = * ]]; then
+   EGIT_REPO_URI="https://github.com/intel/bmap-tools.git";
+   EGIT_BRANCH="master"
+   inherit git-r3
+else
+   SRC_URI="https://github.com/intel/${PN}/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+IUSE="test"
+
+BDEPEND="${PYTHON_DEPS}
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? ( dev-python/nose[${PYTHON_USEDEP}]
+   dev-python/six[${PYTHON_USEDEP}] )
+"
+
+RDEPEND="
+   app-arch/pigz
+   app-arch/lzop
+   app-arch/lz4
+   app-arch/pbzip2
+   app-arch/xz-utils
+   app-arch/bzip2
+   app-arch/gzip
+   app-arch/tar
+"
+
+DOCS=( "${S}/docs/README" )
+
+# tests are hanging using default below
+RESTRICT="!test? ( test )"
+
+distutils_enable_tests nose
+
+python_test() {
+   # remaining tests involve way too much file I/O
+   nosetests -sx --verbosity=3 --detailed-errors \
+   tests/test_bmap_helpers.py \
+   tests/test_compat.py || die "Tests fail with ${EPYTHON}"
+}

diff --git a/sys-block/bmap-tools/metadata.xml 
b/sys-block/bmap-tools/metadata.xml
new file mode 100644
index ..0c665a5d9e09
--- /dev/null
+++ b/sys-block/bmap-tools/metadata.xml
@@ -0,0 +1,11 @@
+
+https://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   embed...@gentoo.org
+   Embedded Gentoo
+   
+   
+   intel/bmap-tools
+   
+



[gentoo-commits] repo/gentoo:master commit in: dev-embedded/sunxi-tools/

2022-01-23 Thread Steve Arnold
commit: 42f068fc4e1dbb763a63240ef15df0fb976d6366
Author: Steve Arnold  gentoo  org>
AuthorDate: Sun Jan 23 19:01:33 2022 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sun Jan 23 19:01:33 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=42f068fc

dev-embedded/sunxi-tools: cleanup depends for libusb/udev

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Steve Arnold  gentoo.org>

 ...sunxi-tools-1.4.1.ebuild => sunxi-tools-1.4.1-r1.ebuild} | 13 +++--
 1 file changed, 11 insertions(+), 2 deletions(-)

diff --git a/dev-embedded/sunxi-tools/sunxi-tools-1.4.1.ebuild 
b/dev-embedded/sunxi-tools/sunxi-tools-1.4.1-r1.ebuild
similarity index 72%
rename from dev-embedded/sunxi-tools/sunxi-tools-1.4.1.ebuild
rename to dev-embedded/sunxi-tools/sunxi-tools-1.4.1-r1.ebuild
index 24b37f3e50e0..1935b50c89ee 100644
--- a/dev-embedded/sunxi-tools/sunxi-tools-1.4.1.ebuild
+++ b/dev-embedded/sunxi-tools/sunxi-tools-1.4.1-r1.ebuild
@@ -16,7 +16,12 @@ SLOT="0"
 IUSE=""
 KEYWORDS="~amd64"
 
-DEPEND="virtual/libusb"
+RDEPEND="acct-group/plugdev
+   virtual/libusb:1
+   virtual/udev"
+
+DEPEND="${RDEPEND}
+   virtual/pkgconfig"
 
 PATCHES=(
"${FILESDIR}/${P}-respect-user-supplied-cflags.patch"
@@ -24,7 +29,11 @@ PATCHES=(
 )
 
 src_compile() {
-   emake CC="$(tc-getCC)" tools misc
+   tc-export PKG_CONFIG
+
+   emake LIBUSB_CFLAGS="$(${PKG_CONFIG} --cflags libusb-1.0)" \
+   LIBUSB_LIBS="$(${PKG_CONFIG} --libs libusb-1.0)" \
+   CC="$(tc-getCC)" tools misc
 }
 
 src_install() {



[gentoo-commits] repo/gentoo:master commit in: dev-embedded/sunxi-tools/

2022-01-14 Thread Steve Arnold
commit: 1ad07f9338ae7602252193e2c6b2e0829e94435f
Author: Steve Arnold  gentoo  org>
AuthorDate: Sat Jan 15 00:42:52 2022 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sat Jan 15 00:42:52 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1ad07f93

dev-embedded/sunxi-tools: bump eapi and copyright year

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Steve Arnold  gentoo.org>

 dev-embedded/sunxi-tools/sunxi-tools-1.3-r1.ebuild | 4 ++--
 dev-embedded/sunxi-tools/sunxi-tools-1.4.1.ebuild  | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-embedded/sunxi-tools/sunxi-tools-1.3-r1.ebuild 
b/dev-embedded/sunxi-tools/sunxi-tools-1.3-r1.ebuild
index 9da2f4453ad7..63cae3c5fd25 100644
--- a/dev-embedded/sunxi-tools/sunxi-tools-1.3-r1.ebuild
+++ b/dev-embedded/sunxi-tools/sunxi-tools-1.3-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="6"
+EAPI="7"
 
 inherit toolchain-funcs
 

diff --git a/dev-embedded/sunxi-tools/sunxi-tools-1.4.1.ebuild 
b/dev-embedded/sunxi-tools/sunxi-tools-1.4.1.ebuild
index eead316718cc..24b37f3e50e0 100644
--- a/dev-embedded/sunxi-tools/sunxi-tools-1.4.1.ebuild
+++ b/dev-embedded/sunxi-tools/sunxi-tools-1.4.1.ebuild
@@ -1,7 +1,7 @@
 # Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="6"
+EAPI="7"
 
 inherit toolchain-funcs
 



[gentoo-commits] repo/gentoo:master commit in: dev-embedded/sunxi-tools/files/, dev-embedded/sunxi-tools/

2022-01-14 Thread Steve Arnold
commit: 53bf6b05947281d0f4b4c2191f86b513819bc5a5
Author: Steve Arnold  gentoo  org>
AuthorDate: Fri Jan 14 18:04:10 2022 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Fri Jan 14 22:48:30 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=53bf6b05

dev-embedded/sunxi-tools: bump to newer version with flash builder

* required to build flash images for CHIP devices

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Steve Arnold  gentoo.org>

 dev-embedded/sunxi-tools/Manifest  |   1 +
 ...-tools-1.4.1-fix-strncpy-compiler-warning.patch |  42 ++
 ...-tools-1.4.1-respect-user-supplied-cflags.patch | 153 +
 dev-embedded/sunxi-tools/sunxi-tools-1.4.1.ebuild  |  36 +
 4 files changed, 232 insertions(+)

diff --git a/dev-embedded/sunxi-tools/Manifest 
b/dev-embedded/sunxi-tools/Manifest
index a6e9cfe28cfa..db2220b9c0ad 100644
--- a/dev-embedded/sunxi-tools/Manifest
+++ b/dev-embedded/sunxi-tools/Manifest
@@ -1 +1,2 @@
 DIST sunxi-tools-1.3.tar.gz 52608 BLAKE2B 
e8c3ed7276f705273598e38a0cc469225de1ee4eb8177b78be63b78ebc584c4fdf2362e21b895f61b4c5e84df98bfd5ccf6d3965ffa9338c98027c9ce4635626
 SHA512 
954c95963013aee8a38b3583ba1b7ec7e7049c7e09c5fa9ec564dfc33f304d3669fdf68c2fa5e4b5a6265640a3d1ee8bc13bcd71d804c714884b6a780d193615
+DIST sunxi-tools-1.4.1.tar.gz 78878 BLAKE2B 
f50b14e79d4880a076f8b25869eea44e34cfc50c91ce7f9e4adc831bb2ac2238c930623677bacb399e52faadba20c9ba21ea212915c50941af825d0579804153
 SHA512 
b66f5caaabec016a0d2f1ccc88ee7f37cd26a511ac81c270e2de6bf0b967e8dfda2b510d5306daffb33ec8855c3c6be99a29bfd1efd5bd0cf3431494b092a52b

diff --git 
a/dev-embedded/sunxi-tools/files/sunxi-tools-1.4.1-fix-strncpy-compiler-warning.patch
 
b/dev-embedded/sunxi-tools/files/sunxi-tools-1.4.1-fix-strncpy-compiler-warning.patch
new file mode 100644
index ..a255e61f3f01
--- /dev/null
+++ 
b/dev-embedded/sunxi-tools/files/sunxi-tools-1.4.1-fix-strncpy-compiler-warning.patch
@@ -0,0 +1,42 @@
+From 0825d9aaa6078ef283390662004797a9a1d939f3 Mon Sep 17 00:00:00 2001
+From: Andre Przywara 
+Date: Wed, 15 Dec 2021 23:04:14 +
+Subject: [PATCH 1/2] nandpart: fix strncpy compiler warning
+
+More recent versions of GCC warns about the usage of strncpy in
+nandpart.c: we actually only (need to) copy the stub string part of the
+magic string, without the terminating NUL character. This is fine in
+our particular case, but raises the compiler's eyebrows:
+===
+nand-part.c: In function '_get_mbr':
+nand-part.c:93:4: warning: 'strncpy' output truncated before terminating
+  nul copying 8 bytes from a string of the same length
+  [-Wstringop-truncation]
+   93 |strncpy((char *)mbr->magic, MBR_MAGIC, 8);
+  |^
+===
+
+Switch to the more fitting memcpy() here to avoid the warning.
+
+Signed-off-by: Andre Przywara 
+Reported-by: slange-dev
+---
+ nand-part.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/nand-part.c b/nand-part.c
+index a0d46c5..af2169d 100644
+--- a/nand-part.c
 b/nand-part.c
+@@ -90,7 +90,7 @@ static MBR *_get_mbr(int fd, int mbr_num, int force)
+   printf("check partition table copy %d: ", mbr_num);
+   printmbrheader(mbr);
+   if (force) {
+-  strncpy((char *)mbr->magic, MBR_MAGIC, 8);
++  memcpy(mbr->magic, MBR_MAGIC, 8);
+   mbr->version = MBR_VERSION;
+   return mbr;
+   }
+-- 
+2.32.0
+

diff --git 
a/dev-embedded/sunxi-tools/files/sunxi-tools-1.4.1-respect-user-supplied-cflags.patch
 
b/dev-embedded/sunxi-tools/files/sunxi-tools-1.4.1-respect-user-supplied-cflags.patch
new file mode 100644
index ..faa2ae606bea
--- /dev/null
+++ 
b/dev-embedded/sunxi-tools/files/sunxi-tools-1.4.1-respect-user-supplied-cflags.patch
@@ -0,0 +1,153 @@
+From 95d40f8fcfd97890c270d2987bd845c7a6bac428 Mon Sep 17 00:00:00 2001
+From: Bernhard Nortmann 
+Date: Sat, 29 Oct 2016 18:32:00 +0200
+Subject: [PATCH] Makefile: Ensure that user-supplied CFLAGS get respected
+
+Signed-off-by: Bernhard Nortmann 
+---
+ .travis.yml |  2 +-
+ Makefile| 53 -
+ 2 files changed, 29 insertions(+), 26 deletions(-)
+
+diff --git a/.travis.yml b/.travis.yml
+index 47aa891..c843fba 100644
+--- a/.travis.yml
 b/.travis.yml
+@@ -4,7 +4,7 @@ sudo: false
+ language: c
+ 
+ # treat all warnings as errors
+-env: EXTRA_CFLAGS=-Werror
++env: CFLAGS=-Werror
+ 
+ os:
+   - linux
+diff --git a/Makefile b/Makefile
+index 6e0471b..12f121c 100644
+--- a/Makefile
 b/Makefile
+@@ -17,21 +17,21 @@
+ # along with this program.  If not, see <http://www.gnu.org/licenses/>.
+ 
+ CC ?= gcc
+-CFLAGS = -g -O0 -Wall -Wextra $(EXTRA_CFLAGS)
+-CFLAGS += -std=c99 $(DEFINES)
+-CFLA

[gentoo-commits] repo/gentoo:master commit in: media-gfx/gthumb/

2021-12-17 Thread Steve Arnold
commit: 2c414ffb2ffc0f7fa39ad989969f5e22976afe4f
Author: Steve Arnold  gentoo  org>
AuthorDate: Fri Dec 17 22:56:59 2021 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Fri Dec 17 22:56:59 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c414ffb

media-gfx/gthumb: keyword latest ~arm64

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Steve Arnold  gentoo.org>

 media-gfx/gthumb/gthumb-3.10.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/media-gfx/gthumb/gthumb-3.10.4.ebuild 
b/media-gfx/gthumb/gthumb-3.10.4.ebuild
index d04ede00e330..01175894449c 100644
--- a/media-gfx/gthumb/gthumb-3.10.4.ebuild
+++ b/media-gfx/gthumb/gthumb-3.10.4.ebuild
@@ -10,7 +10,7 @@ HOMEPAGE="https://wiki.gnome.org/Apps/Gthumb";
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux ~x86-solaris"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc ~ppc64 x86 ~amd64-linux ~x86-linux 
~x86-solaris"
 IUSE="cdr colord exif gnome-keyring gstreamer http lcms raw slideshow svg tiff 
webp"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/

2021-12-05 Thread Steve Arnold
commit: 3237d7b791bd52013ef59465ce39f9e7bf396565
Author: Steve Arnold  gentoo  org>
AuthorDate: Mon Dec  6 01:29:08 2021 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Mon Dec  6 01:41:02 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3237d7b7

net-misc/ntpsec: remove crufty/unsupported clock

* neoclock is no longer in the list of supported clocks

Closes: https://bugs.gentoo.org/828039
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Steve Arnold  gentoo.org>

 net-misc/ntpsec/metadata.xml   |  1 -
 net-misc/ntpsec/ntpsec-1.2.1-r1.ebuild |  4 ++--
 net-misc/ntpsec/ntpsec-.ebuild | 27 +++
 3 files changed, 21 insertions(+), 11 deletions(-)

diff --git a/net-misc/ntpsec/metadata.xml b/net-misc/ntpsec/metadata.xml
index 9d4b63729b27..69f78f92c02d 100644
--- a/net-misc/ntpsec/metadata.xml
+++ b/net-misc/ntpsec/metadata.xml
@@ -28,7 +28,6 @@ NTPsec project - a secure, hardened, and improved 
implementation of Network Time
Zyfer driver
Arbiter 1088A/B GPS driver
NMEA GPS driver
-   NeoClock4X DCF77/TDF driver
NIST/USNO/PTB Modem Time 
Services
Support for undisciplined local clock 
(not recommended)
Specify the interval over which a leap 
second is applied (experimental)

diff --git a/net-misc/ntpsec/ntpsec-1.2.1-r1.ebuild 
b/net-misc/ntpsec/ntpsec-1.2.1-r1.ebuild
index 8835c7ccfcfb..379a375aacd1 100644
--- a/net-misc/ntpsec/ntpsec-1.2.1-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.1-r1.ebuild
@@ -23,8 +23,8 @@ HOMEPAGE="https://www.ntpsec.org/";
 
 NTPSEC_REFCLOCK=(
oncore trimble truetime gpsd jjy generic spectracom
-   shm pps hpgps zyfer arbiter nmea neoclock modem
-   local)
+   shm pps hpgps zyfer arbiter nmea modem local
+   )
 
 IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
 

diff --git a/net-misc/ntpsec/ntpsec-.ebuild 
b/net-misc/ntpsec/ntpsec-.ebuild
index 4d520e72c5a9..2065ee52d6a6 100644
--- a/net-misc/ntpsec/ntpsec-.ebuild
+++ b/net-misc/ntpsec/ntpsec-.ebuild
@@ -3,10 +3,11 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7,8,9} )
+PYTHON_COMPAT=( python3_{7..9} )
 PYTHON_REQ_USE='threads(+)'
+DISTUTILS_USE_SETUPTOOLS=no
 
-inherit flag-o-matic python-r1 waf-utils systemd
+inherit distutils-r1 flag-o-matic waf-utils systemd
 
 if [[ ${PV} == ** ]]; then
inherit git-r3
@@ -14,7 +15,7 @@ if [[ ${PV} == ** ]]; then
 else
SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz";
RESTRICT="mirror"
-   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+   KEYWORDS="amd64 arm arm64 ~riscv ~x86"
 fi
 
 DESCRIPTION="The NTP reference implementation, refactored"
@@ -22,8 +23,8 @@ HOMEPAGE="https://www.ntpsec.org/";
 
 NTPSEC_REFCLOCK=(
oncore trimble truetime gpsd jjy generic spectracom
-   shm pps hpgps zyfer arbiter nmea neoclock modem
-   local)
+   shm pps hpgps zyfer arbiter nmea modem local
+   )
 
 IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
 
@@ -48,7 +49,7 @@ RDEPEND="${CDEPEND}
acct-user/ntp
 "
 DEPEND="${CDEPEND}
-   app-text/asciidoc
+   >=app-text/asciidoc-8.6.8
dev-libs/libxslt
app-text/docbook-xsl-stylesheets
sys-devel/bison
@@ -56,15 +57,23 @@ DEPEND="${CDEPEND}
rclock_pps? ( net-misc/pps-tools )
 "
 
+PATCHES=(
+   "${FILESDIR}/${PN}-1.1.9-remove-asciidoctor-from-config.patch"
+)
+
 WAF_BINARY="${S}/waf"
 
 src_prepare() {
default
+
# Remove autostripping of binaries
sed -i -e '/Strip binaries/d' wscript || die
if ! use libbsd ; then
eapply "${FILESDIR}/${PN}-no-bsd.patch"
fi
+   # remove extra default pool servers
+   sed -i '/use-pool/s/^/#/' "${S}"/etc/ntp.d/default.conf || die
+
python_copy_sources
 }
 
@@ -85,9 +94,10 @@ src_configure() {
local myconf=(
--nopyc
--nopyo
+   --enable-pylib ext
--refclock="${CLOCKSTRING}"
-   --build-epoch="$(date +%s)"
-   $(use doc   && echo "--enable-doc")
+   #--build-epoch="$(date +%s)"
+   $(use doc   || echo "--disable-doc")
$(use early && echo "--enable-early-droproot")
$(use gdb   && echo "--enable-debug-gdb")
$(use samba && echo "--enable-mssntp")
@@ -114,6 +124,7 @@ src_compile() {
 src_install() {
python_install() {
waf-utils_src_install
+   python_fix_shebang "${ED}"
}
python_foreach_impl run_in_build_dir python_install
python_foreach_impl python_optimize



[gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/, net-misc/ntpsec/files/

2021-12-03 Thread Steve Arnold
commit: 885bd9eb1a8173fdae19461f80f312d1244acecf
Author: Steve Arnold  gentoo  org>
AuthorDate: Fri Dec  3 19:27:16 2021 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Fri Dec  3 19:28:08 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=885bd9eb

net-misc/ntpsec: seccomp cleanup, (really) fixes seccomp on riscv

* rollup seccomp changes into single patch against 1.2.1
* remove old seccomp patches

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Steve Arnold  gentoo.org>

 ...sec-1.1.8-fix-missing-scmp_sys-on-aarch64.patch |  16 ---
 .../files/ntpsec-1.2.0-move-newfstatat.patch   |  20 
 net-misc/ntpsec/files/ntpsec-1.2.0-seccomp.patch   |  30 --
 .../files/ntpsec-1.2.1-seccomp-glibc-2-3-4.patch   |  21 
 .../ntpsec/files/ntpsec-1.2.1-seccomp-rollup.patch | 116 +
 net-misc/ntpsec/ntpsec-1.2.1-r1.ebuild |   5 +-
 6 files changed, 117 insertions(+), 91 deletions(-)

diff --git 
a/net-misc/ntpsec/files/ntpsec-1.1.8-fix-missing-scmp_sys-on-aarch64.patch 
b/net-misc/ntpsec/files/ntpsec-1.1.8-fix-missing-scmp_sys-on-aarch64.patch
deleted file mode 100644
index ee75d103d2e6..
--- a/net-misc/ntpsec/files/ntpsec-1.1.8-fix-missing-scmp_sys-on-aarch64.patch
+++ /dev/null
@@ -1,16 +0,0 @@
-diff --git a/ntpd/ntp_sandbox.c b/ntpd/ntp_sandbox.c
-index 
4e5ceaa36c1a7b452445023e201ddb6211625c52..78ac7aea263ed3d3394b2d32e79a6836f0387434
 100644
 a/ntpd/ntp_sandbox.c
-+++ b/ntpd/ntp_sandbox.c
-@@ -428,6 +428,11 @@ int scmp_sc[] = {
-   /* gentoo 64-bit and 32-bit, Intel and Arm use mmap */
-   SCMP_SYS(mmap),
- #endif
-+#if defined(__aarch64__)
-+  SCMP_SYS(faccessat),
-+  SCMP_SYS(newfstatat),
-+  SCMP_SYS(renameat),
-+#endif
- #if defined(__i386__) || defined(__arm__) || defined(__powerpc__)
-   SCMP_SYS(_newselect),
-   SCMP_SYS(_llseek),

diff --git a/net-misc/ntpsec/files/ntpsec-1.2.0-move-newfstatat.patch 
b/net-misc/ntpsec/files/ntpsec-1.2.0-move-newfstatat.patch
deleted file mode 100644
index 75453c6cb5f6..
--- a/net-misc/ntpsec/files/ntpsec-1.2.0-move-newfstatat.patch
+++ /dev/null
@@ -1,20 +0,0 @@
-diff --git a/ntpd/ntp_sandbox.c b/ntpd/ntp_sandbox.c
-index e66faaa8c..b2af654e5 100644
 a/ntpd/ntp_sandbox.c
-+++ b/ntpd/ntp_sandbox.c
-@@ -349,6 +349,7 @@ int scmp_sc[] = {
-   SCMP_SYS(lseek),
-   SCMP_SYS(membarrier),   /* Needed on Alpine 3.11.3 */
-   SCMP_SYS(munmap),
-+  SCMP_SYS(newfstatat),
-   SCMP_SYS(open),
- #ifdef __NR_openat
-   SCMP_SYS(openat),   /* SUSE */
-@@ -451,7 +452,6 @@ int scmp_sc[] = {
- #endif
- #if defined(__aarch64__)
-   SCMP_SYS(faccessat),
--  SCMP_SYS(newfstatat),
-   SCMP_SYS(renameat),
-   SCMP_SYS(linkat),
-   SCMP_SYS(unlinkat),

diff --git a/net-misc/ntpsec/files/ntpsec-1.2.0-seccomp.patch 
b/net-misc/ntpsec/files/ntpsec-1.2.0-seccomp.patch
deleted file mode 100644
index 27dd321e2a29..
--- a/net-misc/ntpsec/files/ntpsec-1.2.0-seccomp.patch
+++ /dev/null
@@ -1,30 +0,0 @@
-https://bugs.gentoo.org/705128
-https://bugs.gentoo.org/786228
 a/ntpd/ntp_sandbox.c
-+++ b/ntpd/ntp_sandbox.c
-@@ -463,6 +463,15 @@ int scmp_sc[] = {
-SCMP_SYS(send),
-SCMP_SYS(stat64),
- #endif
-+#if defined(__arm__)
-+   SCMP_SYS(statx),
-+#endif
-+#if defined(__riscv32__) || defined(__riscv64__)
-+   SCMP_SYS(faccessat),
-+#endif
-+#if defined(__aarch64__) || defined(__riscv64__)
-+   SCMP_SYS(syscall),
-+#endif
- };
-{
-for (unsigned int i = 0; i < COUNTOF(scmp_sc); i++) {
 a/ntpd/ntp_sandbox.c
-+++ b/ntpd/ntp_sandbox.c
-@@ -355,6 +355,7 @@ int scmp_sc[] = {
-   SCMP_SYS(openat),   /* SUSE */
- #endif
-   SCMP_SYS(poll),
-+  SCMP_SYS(pread64),
-   SCMP_SYS(pselect6),
-   SCMP_SYS(read),
-   SCMP_SYS(recvfrom),/* Comment this out for testing.

diff --git a/net-misc/ntpsec/files/ntpsec-1.2.1-seccomp-glibc-2-3-4.patch 
b/net-misc/ntpsec/files/ntpsec-1.2.1-seccomp-glibc-2-3-4.patch
deleted file mode 100644
index 5936adaf9a49..
--- a/net-misc/ntpsec/files/ntpsec-1.2.1-seccomp-glibc-2-3-4.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-https://bugs.gentoo.org/823692
-https://gitlab.com/NTPsec/ntpsec/-/merge_requests/1247
-https://gitlab.com/NTPsec/ntpsec/-/issues/713
-
-From 170d60b7e269154fb108bb4b010ee5ee0110bf2d Mon Sep 17 00:00:00 2001
-From: Sam James 
-Date: Sun, 14 Nov 2021 08:44:28 +
-Subject: [PATCH] ntpd/ntp_sandbox.c: allow clone3 in seccomp filter for
- glibc-2.34
-
-Signed-off-by: Sam James 
 a/ntpd/ntp_sandbox.c
-+++ b/ntpd/ntp_sandbox.c
-@@ -403,6 +403,7 @@ int scmp_sc[] = {
-  * rather than generate a trap.
-  */
-   SCMP_SYS(clone),/* threads */
-+  SCMP_SYS(clone3),
-   SCMP_SYS(kill), /* generate signal */
-   SCMP_SYS(madvise),
-   SCMP_SYS(mprotect),

diff --git a/net-misc/ntpsec/files/ntpsec-1.2.1-seccomp-rollup.patch 
b/net

[gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/

2021-12-02 Thread Steve Arnold
commit: 155d768d81203eda2344e98b3c9510035cc4e778
Author: Steve Arnold  gentoo  org>
AuthorDate: Thu Dec  2 22:09:48 2021 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Thu Dec  2 22:10:40 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=155d768d

net-misc/ntpsec: Remove vulnerable 1.2.0

Bug: https://bugs.gentoo.org/795321
Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Steve Arnold  gentoo.org>

 net-misc/ntpsec/Manifest   |   1 -
 net-misc/ntpsec/ntpsec-1.2.0-r3.ebuild | 169 -
 2 files changed, 170 deletions(-)

diff --git a/net-misc/ntpsec/Manifest b/net-misc/ntpsec/Manifest
index 01c84429c974..a5a14c8a3820 100644
--- a/net-misc/ntpsec/Manifest
+++ b/net-misc/ntpsec/Manifest
@@ -1,2 +1 @@
-DIST ntpsec-1.2.0.tar.gz 2625968 BLAKE2B 
23ceae5a1f241fcf5a17801fec2f15f9b9d9d64a108bebe29bdc75196303091eaf0efee7df67ce10acefb7c8dba90ce1144a0c0c5432797d7659714d162f26bb
 SHA512 
9e18b3ca2f786a1ea323ba2384b51cff3d862115cea1ae576fc98172c476ac5e7d0d0fc873e47be0b19b050204ea9ed49669d94e66eb94525068dd1b08a8ae71
 DIST ntpsec-1.2.1.tar.gz 2681237 BLAKE2B 
bfb2674131718dcf9f393e93d1148cfb6631591dbcce1ade91746586f261123b80b238393ac2a763fab119cd627f8eae4b006b023ad2b319e752db9eb4b04cc0
 SHA512 
0b8b0bda52d3025f6e9a06c00b1e0c25c595ada72b87ed0e5d3d6f77a034f557745156bc6d9a263c9876c041efffa38d42fa93ba8bfda31f67efbd842a726277

diff --git a/net-misc/ntpsec/ntpsec-1.2.0-r3.ebuild 
b/net-misc/ntpsec/ntpsec-1.2.0-r3.ebuild
deleted file mode 100644
index 9d2d01df34ea..
--- a/net-misc/ntpsec/ntpsec-1.2.0-r3.ebuild
+++ /dev/null
@@ -1,169 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{7..9} )
-PYTHON_REQ_USE='threads(+)'
-DISTUTILS_USE_SETUPTOOLS=no
-
-inherit distutils-r1 flag-o-matic waf-utils systemd
-
-if [[ ${PV} == ** ]]; then
-   inherit git-r3
-   EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git";
-else
-   SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz";
-   RESTRICT="mirror"
-   KEYWORDS="amd64 arm arm64 ~x86"
-fi
-
-DESCRIPTION="The NTP reference implementation, refactored"
-HOMEPAGE="https://www.ntpsec.org/";
-
-NTPSEC_REFCLOCK=(
-   oncore trimble truetime gpsd jjy generic spectracom
-   shm pps hpgps zyfer arbiter nmea neoclock modem
-   local)
-
-IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
-
-LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
-SLOT="0"
-IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd nist ntpviz 
samba seccomp smear tests" #ionice
-REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
-
-# net-misc/pps-tools oncore,pps
-CDEPEND="${PYTHON_DEPS}
-   sys-libs/libcap
-   dev-python/psutil[${PYTHON_USEDEP}]
-   libbsd? ( dev-libs/libbsd:0= )
-   dev-libs/openssl:0=
-   seccomp? ( sys-libs/libseccomp )
-"
-RDEPEND="${CDEPEND}
-   ntpviz? ( sci-visualization/gnuplot media-fonts/liberation-fonts )
-   !net-misc/ntp
-   !net-misc/openntpd
-   acct-group/ntp
-   acct-user/ntp
-"
-DEPEND="${CDEPEND}
-   >=app-text/asciidoc-8.6.8
-   dev-libs/libxslt
-   app-text/docbook-xsl-stylesheets
-   sys-devel/bison
-   rclock_oncore? ( net-misc/pps-tools )
-   rclock_pps? ( net-misc/pps-tools )
-"
-
-PATCHES=(
-   "${FILESDIR}/${PN}-1.1.8-fix-missing-scmp_sys-on-aarch64.patch"
-   "${FILESDIR}/${PN}-1.1.9-remove-asciidoctor-from-config.patch"
-   "${FILESDIR}/${PN}-1.2.0-move-newfstatat.patch"
-   "${FILESDIR}/${PN}-1.2.0-seccomp.patch"
-)
-
-WAF_BINARY="${S}/waf"
-
-src_prepare() {
-   default
-
-   # Remove autostripping of binaries
-   sed -i -e '/Strip binaries/d' wscript || die
-   if ! use libbsd ; then
-   eapply "${FILESDIR}/${PN}-no-bsd.patch"
-   fi
-   # remove extra default pool servers
-   sed -i '/use-pool/s/^/#/' "${S}"/etc/ntp.d/default.conf || die
-
-   python_copy_sources
-}
-
-src_configure() {
-   is-flagq -flto* && filter-flags -flto* -fuse-linker-plugin
-
-   local string_127=""
-   local rclocks="";
-   local CLOCKSTRING=""
-
-   for refclock in ${NTPSEC_REFCLOCK[@]} ; do
-   if use rclock_${refclock} ; then
-   string_127+="$refclock,"
-   fi
-   done
-   CLOCKSTRING="`echo ${string_127}|sed 's|,$||'`"
-
-   local myconf=(
-   --nopyc
-   --nopyo
-   --enable-pylib ext
-   --refclock="${CLOCKSTRING}"
-   --build-epoch="$(date +%s)"
- 

[gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/files/, net-misc/ntpsec/

2021-12-02 Thread Steve Arnold
commit: c0d995916785a555972d9675e57e50bec4c1012b
Author: Steve Arnold  gentoo  org>
AuthorDate: Thu Dec  2 21:55:37 2021 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Thu Dec  2 21:55:37 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0d99591

net-misc/ntpsec: keyword ~riscv and update seccomp patch for riscv64

* fixes seccomp on riscv64 (beaglev beta)

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Steve Arnold  gentoo.org>

 net-misc/ntpsec/files/ntpsec-1.2.0-seccomp.patch | 4 ++--
 net-misc/ntpsec/ntpsec-1.2.1-r1.ebuild   | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-misc/ntpsec/files/ntpsec-1.2.0-seccomp.patch 
b/net-misc/ntpsec/files/ntpsec-1.2.0-seccomp.patch
index 6e61a06e12d1..27dd321e2a29 100644
--- a/net-misc/ntpsec/files/ntpsec-1.2.0-seccomp.patch
+++ b/net-misc/ntpsec/files/ntpsec-1.2.0-seccomp.patch
@@ -9,10 +9,10 @@ https://bugs.gentoo.org/786228
 +#if defined(__arm__)
 +   SCMP_SYS(statx),
 +#endif
-+#if defined(__riscv32__)
++#if defined(__riscv32__) || defined(__riscv64__)
 +   SCMP_SYS(faccessat),
 +#endif
-+#if defined(__aarch64__)
++#if defined(__aarch64__) || defined(__riscv64__)
 +   SCMP_SYS(syscall),
 +#endif
  };

diff --git a/net-misc/ntpsec/ntpsec-1.2.1-r1.ebuild 
b/net-misc/ntpsec/ntpsec-1.2.1-r1.ebuild
index c206360674b5..7e9d34caf33b 100644
--- a/net-misc/ntpsec/ntpsec-1.2.1-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.1-r1.ebuild
@@ -15,7 +15,7 @@ if [[ ${PV} == ** ]]; then
 else
SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz";
RESTRICT="mirror"
-   KEYWORDS="amd64 arm arm64 ~x86"
+   KEYWORDS="amd64 arm arm64 ~riscv ~x86"
 fi
 
 DESCRIPTION="The NTP reference implementation, refactored"



[gentoo-commits] repo/gentoo:master commit in: app-admin/gkrellm/

2021-12-02 Thread Steve Arnold
commit: e2a2d6486a81f15b0f470c128edc17a9cdef4f85
Author: Steve Arnold  gentoo  org>
AuthorDate: Thu Dec  2 04:34:48 2021 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Thu Dec  2 20:34:46 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e2a2d648

app-admin/gkrellm: keyword ~riscv

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Steve Arnold  gentoo.org>

 app-admin/gkrellm/gkrellm-2.3.11-r1.ebuild | 2 +-
 app-admin/gkrellm/gkrellm-.ebuild  | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/app-admin/gkrellm/gkrellm-2.3.11-r1.ebuild 
b/app-admin/gkrellm/gkrellm-2.3.11-r1.ebuild
index 99c4bb7aaf3b..39dfbab8031b 100644
--- a/app-admin/gkrellm/gkrellm-2.3.11-r1.ebuild
+++ b/app-admin/gkrellm/gkrellm-2.3.11-r1.ebuild
@@ -14,7 +14,7 @@ if [[ "${PV}" ==  ]] ; then
EGIT_REPO_URI="https://git.srcbox.net/gkrellm";
 else
SRC_URI="http://gkrellm.srcbox.net/${MY_P}.tar.bz2";
-   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 sparc x86 
~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv 
sparc x86 ~amd64-linux ~x86-linux"
 fi
 LICENSE="GPL-3"
 SLOT="2"

diff --git a/app-admin/gkrellm/gkrellm-.ebuild 
b/app-admin/gkrellm/gkrellm-.ebuild
index 01398103d527..c88185125116 100644
--- a/app-admin/gkrellm/gkrellm-.ebuild
+++ b/app-admin/gkrellm/gkrellm-.ebuild
@@ -14,7 +14,7 @@ if [[ "${PV}" ==  ]] ; then
EGIT_REPO_URI="https://git.srcbox.net/gkrellm/gkrellm.git";
 else
SRC_URI="http://gkrellm.srcbox.net/${MY_P}.tar.bz2";
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~sparc ~x86 ~amd64-linux ~x86-linux"
+   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 
~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
 fi
 LICENSE="GPL-3"
 SLOT="2"



[gentoo-commits] repo/gentoo:master commit in: app-text/gv/

2021-11-03 Thread Steve Arnold
commit: ac5bd3bff6211f6427754a406b394d208cd9f03f
Author: Steve Arnold  gentoo  org>
AuthorDate: Wed Nov  3 16:43:13 2021 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Wed Nov  3 16:44:27 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac5bd3bf

app-text/gv: keyword ~arm64

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Steve Arnold  gentoo.org>

 app-text/gv/gv-3.7.3.90.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-text/gv/gv-3.7.3.90.ebuild b/app-text/gv/gv-3.7.3.90.ebuild
index fb9fe32c837..697602c649e 100644
--- a/app-text/gv/gv-3.7.3.90.ebuild
+++ b/app-text/gv/gv-3.7.3.90.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://alpha.gnu.org/gnu/gv/${P}.tar.gz";
 
 LICENSE="GPL-3"
 SLOT="0"
-KEYWORDS="~alpha amd64 ~arm ~hppa ~mips ppc ppc64 sparc x86 ~amd64-linux 
~x86-linux ~ppc-macos"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~mips ppc ppc64 sparc x86 
~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="xinerama"
 
 RDEPEND="



[gentoo-commits] repo/gentoo:master commit in: sys-apps/fbset/

2021-05-21 Thread Steve Arnold
commit: 03307cc92a0a18dad6c1fc14c4b6f2995bd4fa76
Author: Steve Arnold  gentoo  org>
AuthorDate: Fri May 21 19:05:26 2021 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Fri May 21 19:05:26 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03307cc9

sys-apps/fbset: keyword for riscv

* tested against geaglev beta hdmi framebuffer

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Steve Arnold  gentoo.org>

 sys-apps/fbset/fbset-2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-apps/fbset/fbset-2.1.ebuild b/sys-apps/fbset/fbset-2.1.ebuild
index 398f486926d..d6fac5aa37e 100644
--- a/sys-apps/fbset/fbset-2.1.ebuild
+++ b/sys-apps/fbset/fbset-2.1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="http://users.telenet.be/geertu/Linux/fbdev/${P}.tar.gz";
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~s390 sparc x86"
+KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~ia64 ppc ppc64 ~riscv ~s390 sparc x86"
 IUSE="static"
 
 BDEPEND="sys-devel/bison



[gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/files/, net-misc/ntpsec/

2021-04-10 Thread Steve Arnold
commit: 78639e367e43fc80fb6bcf8bdf8c78f7723b7f11
Author: Steve Arnold  gentoo  org>
AuthorDate: Sun Apr 11 01:33:41 2021 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sun Apr 11 01:33:41 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78639e36

net-misc/ntpsec: add missing seccomp patch for newfstatat

Closes: https://bugs.gentoo.org/779880
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Steve Arnold  gentoo.org>

 .../ntpsec/files/ntpsec-1.2.0-move-newfstatat.patch  | 20 
 net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild   |  1 +
 2 files changed, 21 insertions(+)

diff --git a/net-misc/ntpsec/files/ntpsec-1.2.0-move-newfstatat.patch 
b/net-misc/ntpsec/files/ntpsec-1.2.0-move-newfstatat.patch
new file mode 100644
index 000..75453c6cb5f
--- /dev/null
+++ b/net-misc/ntpsec/files/ntpsec-1.2.0-move-newfstatat.patch
@@ -0,0 +1,20 @@
+diff --git a/ntpd/ntp_sandbox.c b/ntpd/ntp_sandbox.c
+index e66faaa8c..b2af654e5 100644
+--- a/ntpd/ntp_sandbox.c
 b/ntpd/ntp_sandbox.c
+@@ -349,6 +349,7 @@ int scmp_sc[] = {
+   SCMP_SYS(lseek),
+   SCMP_SYS(membarrier),   /* Needed on Alpine 3.11.3 */
+   SCMP_SYS(munmap),
++  SCMP_SYS(newfstatat),
+   SCMP_SYS(open),
+ #ifdef __NR_openat
+   SCMP_SYS(openat),   /* SUSE */
+@@ -451,7 +452,6 @@ int scmp_sc[] = {
+ #endif
+ #if defined(__aarch64__)
+   SCMP_SYS(faccessat),
+-  SCMP_SYS(newfstatat),
+   SCMP_SYS(renameat),
+   SCMP_SYS(linkat),
+   SCMP_SYS(unlinkat),

diff --git a/net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild 
b/net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild
index 640727916e0..28c6723abb7 100644
--- a/net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild
@@ -60,6 +60,7 @@ DEPEND="${CDEPEND}
 PATCHES=(
"${FILESDIR}/${PN}-1.1.8-fix-missing-scmp_sys-on-aarch64.patch"
"${FILESDIR}/${PN}-1.1.9-remove-asciidoctor-from-config.patch"
+   "${FILESDIR}/${PN}-1.2.0-move-newfstatat.patch"
 )
 
 WAF_BINARY="${S}/waf"



[gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/

2021-04-10 Thread Steve Arnold
commit: 57a79f77b3ba9751622666956c52a558ec72de51
Author: Steve Arnold  gentoo  org>
AuthorDate: Sun Apr 11 01:08:33 2021 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sun Apr 11 01:08:33 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57a79f77

net-misc/ntpsec: switch to distutils-r1, fix shebangs

Should also fix bug 779880

Closes: https://bugs.gentoo.org/778011
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Steve Arnold  gentoo.org>

 net-misc/ntpsec/{ntpsec-1.2.0.ebuild => ntpsec-1.2.0-r1.ebuild} | 7 +--
 1 file changed, 5 insertions(+), 2 deletions(-)

diff --git a/net-misc/ntpsec/ntpsec-1.2.0.ebuild 
b/net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild
similarity index 96%
rename from net-misc/ntpsec/ntpsec-1.2.0.ebuild
rename to net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild
index a5193f99590..640727916e0 100644
--- a/net-misc/ntpsec/ntpsec-1.2.0.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.2.0-r1.ebuild
@@ -3,10 +3,11 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{6..9} )
 PYTHON_REQ_USE='threads(+)'
+DISTUTILS_USE_SETUPTOOLS=no
 
-inherit flag-o-matic python-r1 waf-utils systemd
+inherit distutils-r1 flag-o-matic waf-utils systemd
 
 if [[ ${PV} == ** ]]; then
inherit git-r3
@@ -72,6 +73,7 @@ src_prepare() {
fi
# remove extra default pool servers
sed -i '/use-pool/s/^/#/' "${S}"/etc/ntp.d/default.conf
+
python_copy_sources
 }
 
@@ -122,6 +124,7 @@ src_compile() {
 src_install() {
python_install() {
waf-utils_src_install
+   python_fix_shebang "${ED}"
}
python_foreach_impl run_in_build_dir python_install
python_foreach_impl python_optimize



[gentoo-commits] repo/gentoo:master commit in: profiles/

2021-02-17 Thread Steve Arnold
commit: 003bb63208e0a3061039f24abefa74097427983c
Author: Steve Arnold  gentoo  org>
AuthorDate: Wed Feb 17 22:28:45 2021 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Wed Feb 17 22:28:45 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=003bb632

package.mask: remove pdfrw mask for testing

Signed-off-by: Steve Arnold  gentoo.org>

 profiles/package.mask | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/profiles/package.mask b/profiles/package.mask
index 1325ef98f5c..bf1ad0f5bb7 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -225,7 +225,7 @@ media-plugins/vdr-atscepg
 # and we're doing only the minimal patching to make it not explode
 # immediately.  No revdeps left.
 # Removal on 2021-02-18.  Bug #718688.
-dev-python/pdfrw
+#dev-python/pdfrw
 
 # Sam James  (2021-01-18)
 # Older versions: need Python 2



[gentoo-commits] repo/gentoo:master commit in: dev-python/pdfrw/files/, dev-python/pdfrw/

2021-02-17 Thread Steve Arnold
commit: 01d2e9ec85aad891e9a7ba4d8a62aab1d1e314fb
Author: Steve Arnold  gentoo  org>
AuthorDate: Wed Feb 17 21:55:05 2021 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Wed Feb 17 21:56:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=01d2e9ec

dev-python/pdfrw: add missing bits and cleanup cruft

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Steve Arnold  gentoo.org>

 .../pdfrw-fix-import-collections-warning.patch | 48 ++
 ...frw-static-fix-import-collections-warning.patch | 26 
 dev-python/pdfrw/pdfrw-0.4_p1.ebuild   |  8 ++--
 3 files changed, 78 insertions(+), 4 deletions(-)

diff --git a/dev-python/pdfrw/files/pdfrw-fix-import-collections-warning.patch 
b/dev-python/pdfrw/files/pdfrw-fix-import-collections-warning.patch
new file mode 100644
index 000..fe5971264d8
--- /dev/null
+++ b/dev-python/pdfrw/files/pdfrw-fix-import-collections-warning.patch
@@ -0,0 +1,48 @@
+diff --git a/pdfrw/pdfreader.py b/pdfrw/pdfreader.py
+index 2c9c3a2..feb025b 100644
+--- a/pdfrw/pdfreader.py
 b/pdfrw/pdfreader.py
+@@ -12,9 +12,10 @@ of the object.
+ '''
+ import gc
+ import binascii
+-import collections
+ import itertools
+ 
++from collections import defaultdict
++
+ from .errors import PdfParseError, log
+ from .tokens import PdfTokens
+ from .objects import PdfDict, PdfArray, PdfName, PdfObject, PdfIndirect
+@@ -340,7 +341,7 @@ class PdfReader(PdfDict):
+ 
+ def parse_xref_stream(self, source, int=int, range=range,
+   enumerate=enumerate, islice=itertools.islice,
+-  defaultdict=collections.defaultdict,
++  defaultdict=defaultdict,
+   hexlify=binascii.hexlify):
+ ''' Parse (one of) the cross-reference file section(s)
+ '''
+diff --git a/tests/expected.py b/tests/expected.py
+index d153fc3..62c29aa 100644
+--- a/tests/expected.py
 b/tests/expected.py
+@@ -12,8 +12,8 @@
+ '''
+ 
+ import os
+-import collections
+ from pdfrw.py23_diffs import convert_load
++from collections import defaultdict
+ 
+ root_dir = os.path.dirname(__file__)
+ result_dir = 'tmp_results'
+@@ -28,7 +28,7 @@ for sourcef in ('mytests.txt', 'expected.txt'):
+ 
+ 
+ def results():
+-results = collections.defaultdict(set)
++results = defaultdict(set)
+ with open(expectedf, 'rb') as f:
+ for line in f:
+ line = convert_load(line)

diff --git 
a/dev-python/pdfrw/files/pdfrw-static-fix-import-collections-warning.patch 
b/dev-python/pdfrw/files/pdfrw-static-fix-import-collections-warning.patch
new file mode 100644
index 000..95d20358a4b
--- /dev/null
+++ b/dev-python/pdfrw/files/pdfrw-static-fix-import-collections-warning.patch
@@ -0,0 +1,26 @@
+diff --git a/__main__.py b/__main__.py
+index 55c6e3a..fa9dd47 100644
+--- a/tests/static_pdfs/__main__.py
 b/tests/static_pdfs/__main__.py
+@@ -14,10 +14,11 @@ Part of github.com/pmaupin/static_pdfs.
+ 
+ import sys
+ import os
+-import collections
+ import hashlib
+ import static_pdfs
+ 
++from collections import defaultdict
++
+ params = sys.argv[1:]
+ 
+ destroy = params == ['destroy']
+@@ -35,7 +36,7 @@ md5.
+ ''')
+ 
+ 
+-found = collections.defaultdict(list)
++found = defaultdict(list)
+ 
+ sys.stdout.write('\n\nReading PDFs:\n\n')
+ 

diff --git a/dev-python/pdfrw/pdfrw-0.4_p1.ebuild 
b/dev-python/pdfrw/pdfrw-0.4_p1.ebuild
index 701e68557c1..97423711ace 100644
--- a/dev-python/pdfrw/pdfrw-0.4_p1.ebuild
+++ b/dev-python/pdfrw/pdfrw-0.4_p1.ebuild
@@ -3,16 +3,16 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..9} )
+PYTHON_COMPAT=( python3_{7..8} )
 
 inherit distutils-r1
 
 PDFS_COMMIT=d646009a0e3e71daf13a52ab1029e2230920ebf4
 DESCRIPTION="PDF file reader/writer library"
-HOMEPAGE="https://github.com/pmaupin/pdfrw";
+HOMEPAGE="https://github.com/sarnold/pdfrw";
 
 if [[ ${PV} = * ]]; then
-   EGIT_REPO_URI="https://github.com/sarnold/hexdump.git";
+   EGIT_REPO_URI="https://github.com/sarnold/pdfrw.git";
EGIT_BRANCH="main"
inherit git-r3
 else
@@ -21,7 +21,7 @@ else
SRC_URI="https://github.com/sarnold/${PN}/archive/${MY_PV}.tar.gz -> 
${PN}-${MY_PV}.tar.gz
test? ( 
https://github.com/pmaupin/static_pdfs/archive/${PDFS_COMMIT}.tar.gz
-> pdfrw-static_pdfs-${PDFS_COMMIT}.tar.gz )"
-   KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
+   KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ppc ppc64 sparc x86"
S="${WORKDIR}/${MY_P}"
 fi
 



[gentoo-commits] repo/gentoo:master commit in: dev-python/smartypants/

2021-02-09 Thread Steve Arnold
commit: ccd55a54daadf101a5b224d40ec837c27e6396dc
Author: Steve Arnold  gentoo  org>
AuthorDate: Tue Feb  9 23:02:00 2021 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Tue Feb  9 23:03:25 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ccd55a54

dev-python/smartypants: fix header, py versions, metadata

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Steve Arnold  gentoo.org>

 dev-python/smartypants/metadata.xml | 4 +++-
 dev-python/smartypants/smartypants-2.0.1.ebuild | 2 +-
 dev-python/smartypants/smartypants-.ebuild  | 2 +-
 3 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/dev-python/smartypants/metadata.xml 
b/dev-python/smartypants/metadata.xml
index 21caf30ef38..5f9e81afc7a 100644
--- a/dev-python/smartypants/metadata.xml
+++ b/dev-python/smartypants/metadata.xml
@@ -6,7 +6,9 @@
    Steve Arnold
 
 
-   smartypants is a Python fork of SmartyPants (wha?)
+   smartypants does transformations of plain old ASCII straight quotes,
+   plain dashes, and plain dots, into smart quotes, em-dashes, and
+   proper ellipses.
 
 
smartypants

diff --git a/dev-python/smartypants/smartypants-2.0.1.ebuild 
b/dev-python/smartypants/smartypants-2.0.1.ebuild
index 1f0d94682d7..4edd324c0a6 100644
--- a/dev-python/smartypants/smartypants-2.0.1.ebuild
+++ b/dev-python/smartypants/smartypants-2.0.1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..8} )
+PYTHON_COMPAT=( python3_{6..9} )
 DISTUTILS_USE_SETUPTOOLS=no
 
 MY_PN="${PN}.py"

diff --git a/dev-python/smartypants/smartypants-.ebuild 
b/dev-python/smartypants/smartypants-.ebuild
index 1f0d94682d7..4edd324c0a6 100644
--- a/dev-python/smartypants/smartypants-.ebuild
+++ b/dev-python/smartypants/smartypants-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=7
 
-PYTHON_COMPAT=( python3_{7..8} )
+PYTHON_COMPAT=( python3_{6..9} )
 DISTUTILS_USE_SETUPTOOLS=no
 
 MY_PN="${PN}.py"



[gentoo-commits] repo/gentoo:master commit in: dev-python/pdfrw/

2021-01-28 Thread Steve Arnold
commit: c63c04acdcde27458756eda64bc32646b7bf9e65
Author: Steve Arnold  gentoo  org>
AuthorDate: Thu Jan 28 20:26:07 2021 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Thu Jan 28 20:26:56 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c63c04ac

dev-python/pdfrw: add upstream cleanup patch release

* not including removal bug closure here pending feedback

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Steve Arnold  gentoo.org>

 dev-python/pdfrw/Manifest|  2 +-
 dev-python/pdfrw/metadata.xml|  2 +-
 dev-python/pdfrw/pdfrw-0.4.ebuild| 53 
 dev-python/pdfrw/pdfrw-0.4_p1.ebuild | 58 
 4 files changed, 60 insertions(+), 55 deletions(-)

diff --git a/dev-python/pdfrw/Manifest b/dev-python/pdfrw/Manifest
index b435bb703dc..17ba1dd8c36 100644
--- a/dev-python/pdfrw/Manifest
+++ b/dev-python/pdfrw/Manifest
@@ -1,2 +1,2 @@
-DIST pdfrw-0.4.tar.gz 95402 BLAKE2B 
00f01f8d4cca9c5306d08094639d4cb10c53aca1c81b6c65f5639c8862a067e562c164523cc58abddb06b39dabcc50c2fbcdcf04a291309cac709cbfd0cf4673
 SHA512 
6c0b629e837f9bd479a288bcd040952b98920da345113bf90167becbdf2f90a9d6c082c5e7988c68118bd62a2a5a0d22f98523407996531bb5d3031e847e10b0
+DIST pdfrw-0.4-1.tar.gz 143615 BLAKE2B 
281dc94c762dcc776e2c9c84609b59ca32387510bcfbec39271a6073533f9ad5d416cf4250b3dcd8564973d197ce090719c5561f58b972c89d463b90723ac8e6
 SHA512 
f2ef6a966cb1b947425679e6c16e658b5d1dbc13d62fb2e1edc278508b03f6c6847b3c83dab8bcd7df3438e587df066bc16b653461ae402bb8688ddb05f4e886
 DIST pdfrw-static_pdfs-d646009a0e3e71daf13a52ab1029e2230920ebf4.tar.gz 
25243391 BLAKE2B 
5c491d56c9731352907787bbe10b8b3ac362f0c7892ddcd15a1299d3b2b4bb604662f6231aa22478290992a345e769af2e2c2459a25a16c370ea05fa68101f80
 SHA512 
9bf1d5ddc8f55b40b50041e745579406bb0036fb7795ac40064aad7cdf592869051ba84a5ab080042e237690bb2f1811b86b2a4424535aa4c367f6e29a0c34eb

diff --git a/dev-python/pdfrw/metadata.xml b/dev-python/pdfrw/metadata.xml
index d95f88bab1f..fe2a825dbce 100644
--- a/dev-python/pdfrw/metadata.xml
+++ b/dev-python/pdfrw/metadata.xml
@@ -8,6 +8,6 @@


pdfrw
-   pmaupin/pdfrw
+   sarnold/pdfrw

 

diff --git a/dev-python/pdfrw/pdfrw-0.4.ebuild 
b/dev-python/pdfrw/pdfrw-0.4.ebuild
deleted file mode 100644
index 9a00f180cbc..000
--- a/dev-python/pdfrw/pdfrw-0.4.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-PYTHON_COMPAT=( python3_{6,7,8} )
-
-inherit distutils-r1
-
-PDFS_COMMIT=d646009a0e3e71daf13a52ab1029e2230920ebf4
-DESCRIPTION="PDF file reader/writer library"
-HOMEPAGE="https://github.com/pmaupin/pdfrw";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz
-   test? (
-   
https://github.com/pmaupin/static_pdfs/archive/${PDFS_COMMIT}.tar.gz
-   -> pdfrw-static_pdfs-${PDFS_COMMIT}.tar.gz
-   )"
-
-LICENSE="BSD MIT"
-SLOT="0"
-KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ppc ppc64 sparc x86"
-
-BDEPEND="
-   test? ( dev-python/reportlab[${PYTHON_USEDEP}] )"
-
-# unittest would be sufficient but its output is unreadable
-distutils_enable_tests pytest
-
-src_unpack() {
-   default
-   if use test; then
-   mv "static_pdfs-${PDFS_COMMIT}"/* "${P}"/tests/static_pdfs/ || 
die
-   fi
-}
-
-src_prepare() {
-   # broken upstream (sensitive to reportlab version?)
-   sed -e 's:test_rl1_platypus:_&:' \
-   -i tests/test_examples.py || die
-   # fails with py3
-   sed -e '/repaginate\/7037/s:[0-9a-f]*$:skip:' \
-   -e '/.*\/72eb/s:[0-9a-f]*$:skip:' \
-   -i tests/expected.txt || die
-   # fix py3.7+ some
-   sed -i -e 's:raise StopIteration:return:' pdfrw/tokens.py || die
-
-   distutils-r1_src_prepare
-}
-
-src_test() {
-   cd tests || die
-   distutils-r1_src_test
-}

diff --git a/dev-python/pdfrw/pdfrw-0.4_p1.ebuild 
b/dev-python/pdfrw/pdfrw-0.4_p1.ebuild
new file mode 100644
index 000..00a4ad7b5a1
--- /dev/null
+++ b/dev-python/pdfrw/pdfrw-0.4_p1.ebuild
@@ -0,0 +1,58 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..9} )
+
+inherit distutils-r1
+
+PDFS_COMMIT=d646009a0e3e71daf13a52ab1029e2230920ebf4
+DESCRIPTION="PDF file reader/writer library"
+HOMEPAGE="https://github.com/pmaupin/pdfrw";
+
+if [[ ${PV} = * ]]; then
+   EGIT_REPO_URI="https://github.com/sarnold/hexdump.git";
+   EGIT_BRANCH="main"
+   inherit git-r3
+   KEYWORDS=""
+else
+   MY_PV="${PV/_p/-}"
+   MY_P=&quo

[gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/

2021-01-25 Thread Steve Arnold
commit: 9ba93e6469bc705f8acd83634a29a411fede044b
Author: Steve Arnold  gentoo  org>
AuthorDate: Tue Jan 26 03:25:12 2021 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Tue Jan 26 03:25:12 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ba93e64

net-misc/ntpsec: add latest release (with missing py extension)

Closes: https://bugs.gentoo.org/show_bug.cgi?id=751982
Closes: https://bugs.gentoo.org/show_bug.cgi?id=753785
Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Steve Arnold  gentoo.org>

 net-misc/ntpsec/Manifest|   1 +
 net-misc/ntpsec/ntpsec-1.2.0.ebuild | 163 
 2 files changed, 164 insertions(+)

diff --git a/net-misc/ntpsec/Manifest b/net-misc/ntpsec/Manifest
index ce7e422fd68..7de62087eed 100644
--- a/net-misc/ntpsec/Manifest
+++ b/net-misc/ntpsec/Manifest
@@ -1 +1,2 @@
 DIST ntpsec-1.1.9.tar.gz 2606066 BLAKE2B 
bbc482333c7f86936fa20751df1b427bc24be159969050caf5751e26724714bbf6491b120986563497f015c96ac9cdbdf0e999c6446a68798aff23076f631ecc
 SHA512 
e04267aa675a5b528f3478d00329a569ecb9bbe2b6ad18697020854d2ee451bc188c4603cd5f420a08a7e3bf047d2db1301416f57f9156df23aceb1f57303b0b
+DIST ntpsec-1.2.0.tar.gz 2625968 BLAKE2B 
23ceae5a1f241fcf5a17801fec2f15f9b9d9d64a108bebe29bdc75196303091eaf0efee7df67ce10acefb7c8dba90ce1144a0c0c5432797d7659714d162f26bb
 SHA512 
9e18b3ca2f786a1ea323ba2384b51cff3d862115cea1ae576fc98172c476ac5e7d0d0fc873e47be0b19b050204ea9ed49669d94e66eb94525068dd1b08a8ae71

diff --git a/net-misc/ntpsec/ntpsec-1.2.0.ebuild 
b/net-misc/ntpsec/ntpsec-1.2.0.ebuild
new file mode 100644
index 000..bc77d00d178
--- /dev/null
+++ b/net-misc/ntpsec/ntpsec-1.2.0.ebuild
@@ -0,0 +1,163 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{6..9} )
+PYTHON_REQ_USE='threads(+)'
+
+inherit flag-o-matic python-r1 waf-utils systemd
+
+if [[ ${PV} == ** ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git";
+else
+   SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz";
+   RESTRICT="mirror"
+   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+DESCRIPTION="The NTP reference implementation, refactored"
+HOMEPAGE="https://www.ntpsec.org/";
+
+NTPSEC_REFCLOCK=(
+   oncore trimble truetime gpsd jjy generic spectracom
+   shm pps hpgps zyfer arbiter nmea neoclock modem
+   local)
+
+IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
+
+LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
+SLOT="0"
+IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd nist ntpviz 
samba seccomp smear tests" #ionice
+REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
+
+# net-misc/pps-tools oncore,pps
+CDEPEND="${PYTHON_DEPS}
+   sys-libs/libcap
+   dev-python/psutil[${PYTHON_USEDEP}]
+   libbsd? ( dev-libs/libbsd:0= )
+   dev-libs/openssl:0=
+   seccomp? ( sys-libs/libseccomp )
+"
+RDEPEND="${CDEPEND}
+   ntpviz? ( sci-visualization/gnuplot media-fonts/liberation-fonts )
+   !net-misc/ntp
+   !net-misc/openntpd
+   acct-group/ntp
+   acct-user/ntp
+"
+DEPEND="${CDEPEND}
+   >=app-text/asciidoc-8.6.8
+   dev-libs/libxslt
+   app-text/docbook-xsl-stylesheets
+   sys-devel/bison
+   rclock_oncore? ( net-misc/pps-tools )
+   rclock_pps? ( net-misc/pps-tools )
+"
+
+PATCHES=(
+   "${FILESDIR}/${PN}-1.1.8-fix-missing-scmp_sys-on-aarch64.patch"
+   "${FILESDIR}/${PN}-1.1.9-remove-asciidoctor-from-config.patch"
+)
+
+WAF_BINARY="${S}/waf"
+
+src_prepare() {
+   default
+   # Remove autostripping of binaries
+   sed -i -e '/Strip binaries/d' wscript
+   if ! use libbsd ; then
+   epatch "${FILESDIR}/${PN}-no-bsd.patch"
+   fi
+   # remove extra default pool servers
+   sed -i '/use-pool/s/^/#/' "${S}"/etc/ntp.d/default.conf
+   python_copy_sources
+}
+
+src_configure() {
+   is-flagq -flto* && filter-flags -flto* -fuse-linker-plugin
+
+   local string_127=""
+   local rclocks="";
+   local CLOCKSTRING=""
+
+   for refclock in ${NTPSEC_REFCLOCK[@]} ; do
+   if use rclock_${refclock} ; then
+   string_127+="$refclock,"
+   fi
+   done
+   CLOCKSTRING="`echo ${string_127}|sed 's|,$||'`"
+
+   local myconf=(
+   --nopyc
+   --nopyo
+   --enable-pylib ext
+   --refclock="${CLOCKSTRING}"
+   --build-epoch="$(date +%s)"
+   $(use doc   || echo "--disable-doc")
+   $(use early   

[gentoo-commits] repo/gentoo:master commit in: dev-python/cssselect2/

2021-01-24 Thread Steve Arnold
commit: 4f3d59add642181aabd168067579dc3a4c913131
Author: Steve Arnold  gentoo  org>
AuthorDate: Sun Jan 24 19:55:33 2021 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sun Jan 24 19:55:33 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f3d59ad

dev-python/cssselect2: keyword for ~arm and ~arm64, update header

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Steve Arnold  gentoo.org>

 dev-python/cssselect2/cssselect2-0.4.1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/cssselect2/cssselect2-0.4.1.ebuild 
b/dev-python/cssselect2/cssselect2-0.4.1.ebuild
index 1efd526af69..15438c2bd69 100644
--- a/dev-python/cssselect2/cssselect2-0.4.1.ebuild
+++ b/dev-python/cssselect2/cssselect2-0.4.1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -16,7 +16,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="amd64 ~arm ~arm64 x86"
 
 RDEPEND="
dev-python/tinycss2[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/tinycss2/

2021-01-24 Thread Steve Arnold
commit: 6d9a6eba29a2eb3d7e42a7117758edb0dd66ad99
Author: Steve Arnold  gentoo  org>
AuthorDate: Sun Jan 24 19:45:56 2021 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sun Jan 24 19:46:55 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d9a6eba

dev-python/tinycss2: keyword for ~arm and update header

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Steve Arnold  gentoo.org>

 dev-python/tinycss2/tinycss2-1.1.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-python/tinycss2/tinycss2-1.1.0.ebuild 
b/dev-python/tinycss2/tinycss2-1.1.0.ebuild
index 5b05fabea7c..d5cf46ff8c8 100644
--- a/dev-python/tinycss2/tinycss2-1.1.0.ebuild
+++ b/dev-python/tinycss2/tinycss2-1.1.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -21,7 +21,7 @@ SRC_URI="
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 x86"
+KEYWORDS="amd64 ~arm ~arm64 x86"
 
 RDEPEND=">=dev-python/webencodings-0.4[${PYTHON_USEDEP}]"
 



[gentoo-commits] repo/gentoo:master commit in: media-gfx/svg2rlg/

2021-01-22 Thread Steve Arnold
commit: 68492f535ce82d95fe43ea7855234f77a704baee
Author: Steve Arnold  gentoo  org>
AuthorDate: Fri Jan 22 21:36:34 2021 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Fri Jan 22 21:37:27 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=68492f53

media-gfx/svg2rlg: new (revived) ebuild, dep for rst2pdf

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Steve Arnold  gentoo.org>

 media-gfx/svg2rlg/Manifest |  1 +
 media-gfx/svg2rlg/metadata.xml | 14 
 media-gfx/svg2rlg/svg2rlg-0.4.0.ebuild | 40 ++
 3 files changed, 55 insertions(+)

diff --git a/media-gfx/svg2rlg/Manifest b/media-gfx/svg2rlg/Manifest
new file mode 100644
index 000..90d6bb2a434
--- /dev/null
+++ b/media-gfx/svg2rlg/Manifest
@@ -0,0 +1 @@
+DIST svg2rlg-0.4.0.tar.gz 504861 BLAKE2B 
bfd147d824d5a49f8621e705f6bdeefdaa571918db94afea8e839d048d2089a8c8ebf8e2763caa9866f55a7142e1bb3522b01f53eaf5b8343164a08ee0983ef3
 SHA512 
e3813a22784c2199a1df69574c64093347a153fa2b7a40e2f38f52e5d46d7ca8d6e8e3bbe54ab59381f6c7246352c016ff3e19b1278c6f2c8dcfbe8bd7017b12

diff --git a/media-gfx/svg2rlg/metadata.xml b/media-gfx/svg2rlg/metadata.xml
new file mode 100644
index 000..6ca26678762
--- /dev/null
+++ b/media-gfx/svg2rlg/metadata.xml
@@ -0,0 +1,14 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+   
+   nerd...@gentoo.org
+       Steve Arnold
+   
+   
+   A tool to convert from SVG to reportlab graphics objects.
+   
+   
+   sarnold/svg2rlg
+   
+

diff --git a/media-gfx/svg2rlg/svg2rlg-0.4.0.ebuild 
b/media-gfx/svg2rlg/svg2rlg-0.4.0.ebuild
new file mode 100644
index 000..dd314bc752d
--- /dev/null
+++ b/media-gfx/svg2rlg/svg2rlg-0.4.0.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+PYTHON_COMPAT=( python3_{6,7,8,9} )
+DISTUTILS_USE_SETUPTOOLS=rdepend
+
+inherit distutils-r1
+
+DESCRIPTION="Converts SVG files to PDFs or reportlab graphics"
+HOMEPAGE="https://github.com/sarnold/svg2rlg 
https://pypi.python.org/pypi/svg2rlg/";
+
+if [[ ${PV} = * ]]; then
+   EGIT_REPO_URI="https://github.com/sarnold/svg2rlg.git";
+   EGIT_BRANCH="master"
+   inherit git-r3
+   KEYWORDS=""
+else
+   SRC_URI="https://github.com/sarnold/${PN}/archive/${PV}.tar.gz -> 
${PN}-${PV}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+LICENSE="BSD"
+SLOT="0"
+IUSE="test"
+
+RDEPEND="${PYTHON_DEPS}"
+
+DEPEND="${PYTHON_DEPS}
+   dev-python/reportlab[${PYTHON_USEDEP}]
+   dev-python/setuptools[${PYTHON_USEDEP}]
+   test? (
+   dev-python/nose[${PYTHON_USEDEP}] )
+"
+
+RESTRICT="!test? ( test )"
+
+python_test() {
+   nosetests -sx test_svg2rlg.py || die "Test failed with ${EPYTHON}"
+}



[gentoo-commits] repo/gentoo:master commit in: dev-python/smartypants/

2021-01-20 Thread Steve Arnold
commit: 5990d82fb7a1282cacd7aef95457dff48cb8c251
Author: Steve Arnold  gentoo  org>
AuthorDate: Thu Jan 21 00:49:22 2021 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Thu Jan 21 00:49:22 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5990d82f

dev-python/smartypants: new (revived) ebuild, dep for rst2pdf

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Steve Arnold  gentoo.org>

 dev-python/smartypants/Manifest |  1 +
 dev-python/smartypants/metadata.xml | 15 
 dev-python/smartypants/smartypants-2.0.1.ebuild | 32 +
 dev-python/smartypants/smartypants-.ebuild  | 32 +
 4 files changed, 80 insertions(+)

diff --git a/dev-python/smartypants/Manifest b/dev-python/smartypants/Manifest
new file mode 100644
index 000..79e9099de5d
--- /dev/null
+++ b/dev-python/smartypants/Manifest
@@ -0,0 +1 @@
+DIST smartypants-2.0.1.tar.gz 24152 BLAKE2B 
258c9692eec675054dc31f760cf3a9fc3995683d7a15fc549fb390611761c0b09f73e077f5917f9f071a8fc1ae3f06e36f745fdc0e2c368f465e29f6ce51457f
 SHA512 
d47a866a5478c3520251f87a93a468a5eea10318b24b2e8d4bc918d533b5a5789aa56d3a8d5fb8ccff9572fb63e5b6f2eafc44f93fb57a19e6621ebef5d64d9d

diff --git a/dev-python/smartypants/metadata.xml 
b/dev-python/smartypants/metadata.xml
new file mode 100644
index 000..21caf30ef38
--- /dev/null
+++ b/dev-python/smartypants/metadata.xml
@@ -0,0 +1,15 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+
+   nerd...@gentoo.org
+   Steve Arnold
+
+
+   smartypants is a Python fork of SmartyPants (wha?)
+
+
+   smartypants
+   leohemsted/smartypants.py
+
+

diff --git a/dev-python/smartypants/smartypants-2.0.1.ebuild 
b/dev-python/smartypants/smartypants-2.0.1.ebuild
new file mode 100644
index 000..0624ab1574f
--- /dev/null
+++ b/dev-python/smartypants/smartypants-2.0.1.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..8} )
+DISTUTILS_USE_SETUPTOOLS=no
+
+MY_PN="${PN}.py"
+MY_P="${MY_PN}-${PV}"
+
+inherit distutils-r1
+
+DESCRIPTION="ASCII quote-dot-dash to HTML entity converter"
+HOMEPAGE="https://pypi.python.org/pypi/smartypants/";
+
+if [[ ${PV} = * ]]; then
+   EGIT_REPO_URI="https://github.com/leohemsted/smartypants.py.git";
+   EGIT_BRANCH="master"
+   inherit git-r3
+   KEYWORDS=""
+else
+   SRC_URI="https://github.com/leohemsted/${MY_PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+   S="${WORKDIR}/${MY_P}"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+
+distutils_enable_sphinx docs

diff --git a/dev-python/smartypants/smartypants-.ebuild 
b/dev-python/smartypants/smartypants-.ebuild
new file mode 100644
index 000..0624ab1574f
--- /dev/null
+++ b/dev-python/smartypants/smartypants-.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+PYTHON_COMPAT=( python3_{6..8} )
+DISTUTILS_USE_SETUPTOOLS=no
+
+MY_PN="${PN}.py"
+MY_P="${MY_PN}-${PV}"
+
+inherit distutils-r1
+
+DESCRIPTION="ASCII quote-dot-dash to HTML entity converter"
+HOMEPAGE="https://pypi.python.org/pypi/smartypants/";
+
+if [[ ${PV} = * ]]; then
+   EGIT_REPO_URI="https://github.com/leohemsted/smartypants.py.git";
+   EGIT_BRANCH="master"
+   inherit git-r3
+   KEYWORDS=""
+else
+   SRC_URI="https://github.com/leohemsted/${MY_PN}/archive/v${PV}.tar.gz 
-> ${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+   S="${WORKDIR}/${MY_P}"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE=""
+
+distutils_enable_sphinx docs



[gentoo-commits] repo/gentoo:master commit in: sci-libs/eccodes/

2021-01-20 Thread Steve Arnold
commit: 9407d9102cd4c8625c8ee77abbe4fd9db8ae9ed0
Author: Steve Arnold  gentoo  org>
AuthorDate: Wed Jan 20 22:45:56 2021 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Wed Jan 20 22:46:50 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9407d910

sci-libs/eccodes: add missing test restrict to make QA happy again

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Steve Arnold  gentoo.org>

 sci-libs/eccodes/eccodes-2.18.0.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/sci-libs/eccodes/eccodes-2.18.0.ebuild 
b/sci-libs/eccodes/eccodes-2.18.0.ebuild
index 82c91c14eef..62965ad9e82 100644
--- a/sci-libs/eccodes/eccodes-2.18.0.ebuild
+++ b/sci-libs/eccodes/eccodes-2.18.0.ebuild
@@ -41,6 +41,8 @@ DEPEND="${RDEPEND}
 
 BDEPEND="virtual/pkgconfig"
 
+RESTRICT="!test? ( test )"
+
 S="${WORKDIR}/${MY_P}"
 
 CMAKE_BUILD_TYPE=RelWithDebInfo



[gentoo-commits] repo/gentoo:master commit in: sci-libs/eccodes/

2021-01-18 Thread Steve Arnold
commit: 25c8946be499b64f4b19be990292f3abbbaae9f3
Author: Steve Arnold  gentoo  org>
AuthorDate: Mon Jan 18 21:24:59 2021 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Mon Jan 18 22:43:01 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25c8946b

sci-libs/eccodes: bump to newer upstream release

Package-Manager: Portage-3.0.12, Repoman-3.0.2
Signed-off-by: Steve Arnold  gentoo.org>

 sci-libs/eccodes/Manifest  |  3 +-
 ...eccodes-2.16.0.ebuild => eccodes-2.18.0.ebuild} | 42 +++---
 2 files changed, 31 insertions(+), 14 deletions(-)

diff --git a/sci-libs/eccodes/Manifest b/sci-libs/eccodes/Manifest
index d5d6bb46ae6..4a424f0a2a7 100644
--- a/sci-libs/eccodes/Manifest
+++ b/sci-libs/eccodes/Manifest
@@ -1,2 +1,3 @@
-DIST eccodes-2.16.0-Source.tar.gz 11258869 BLAKE2B 
4a1b3e953fc041beed47046c6ea4f74bb18230019b71c884f1dc5a102a7bae2b9083f51b74fc4078c493d188433f08db833a571e7deadd93b6c137f975f03006
 SHA512 
6e8768824152d8782c1457cfe79daed32114d1b4694d2843bd02a8aa63c42ccc435b53f7db6942239b3e56999fbaaba4ecef345d39fc5c5f7a5d20ceecf4422a
+DIST eccodes-2.18.0-Source.tar.gz 11525701 BLAKE2B 
9dc2861472309c0483e4e7eb7b79c2eb2eb72b1e99f8656bb0355630e8012468d9d6513fb3bab7b3fbc7b2c02c3c74d291a6a8862aa8434cdcce82868f359961
 SHA512 
8daf7f2e1aed055ca6402881f5473e4ae90ba24cc779005f57f99adc7468da459c7539e64f455e2122dd83df29992fd7a6dad2700c8331c4083226e091fbb629
 DIST eccodes_test_data.tar.gz 139711871 BLAKE2B 
f2e89207835c78fa198f0a2fba8ac2cd4ab263c9160e02005a3ca851bc71586010e7f4742cbb9240463abb9421db83b7dadc83fe798f37321a553ca9856f68d7
 SHA512 
24c24ec9e01d230cf542abe5c131f05b8e627dd9d170c28bb5fd8f7b1a6aa11a35456b8d742c59f54c6aabac78658efd68b0c50779d466aba3d35b4a0231
+DIST mercator.grib2 6339 BLAKE2B 
b63a72c711c28fa81568d123758f61804d73886c1f8dc27ab444daf3d1a0d104ef40b1469e9940413b5311c1cdcfa5de76a9d46ea0c57d08ccfd44ab41b8d4fb
 SHA512 
e3d4e93833345675558b58c2e6f2b5a583c52083718da05cae72dd015d2e7699ee83c2dcce695143ee5e4423c890ef80f2448146d93e87fbfff8845f6efa8178

diff --git a/sci-libs/eccodes/eccodes-2.16.0.ebuild 
b/sci-libs/eccodes/eccodes-2.18.0.ebuild
similarity index 60%
rename from sci-libs/eccodes/eccodes-2.16.0.ebuild
rename to sci-libs/eccodes/eccodes-2.18.0.ebuild
index e7b28f72d27..82c91c14eef 100644
--- a/sci-libs/eccodes/eccodes-2.16.0.ebuild
+++ b/sci-libs/eccodes/eccodes-2.18.0.ebuild
@@ -1,26 +1,33 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=6
+EAPI=7
 
-PYTHON_COMPAT=( python{3_6,3_7} )
+PYTHON_COMPAT=( python3_{6..9} )
 
-inherit cmake-utils fortran-2 python-any-r1
+inherit cmake fortran-2 python-any-r1
 
 MY_P="${P}-Source"
 
 DESCRIPTION="A set of encoding/decoding APIs and tools for WMO GRIB, BUFR, and 
GTS messages"
 HOMEPAGE="https://confluence.ecmwf.int/display/ECC";
 
SRC_URI="https://confluence.ecmwf.int/download/attachments/45757960/${MY_P}.tar.gz
-   extra-test? ( 
http://download.ecmwf.org/test-data/eccodes/${PN}_test_data.tar.gz )"
+   extra-test? ( 
http://download.ecmwf.org/test-data/eccodes/${PN}_test_data.tar.gz
+   http://download.ecmwf.org/test-data/eccodes/data/mercator.grib2 )"
 
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~x86"
 
-IUSE="defs examples extra-test -fortran memfs netcdf jpeg2k png python szip 
test threads"
-RESTRICT="!test? ( test )"
-REQUIRED_USE="threads? ( !fortran ) test? ( defs !memfs ) extra-test? ( test ) 
!test? ( memfs? ( python ) )"
+IUSE="+defs examples extra-test fortran memfs netcdf jpeg2k openmp png python 
szip test threads"
+
+REQUIRED_USE="
+   fortran? ( !threads ( openmp ) )
+   openmp? ( !threads ( fortran ) )
+   threads? ( !fortran !openmp )
+   test? ( defs !memfs )
+   extra-test? ( test )
+   !test? ( memfs? ( python ) )"
 
 RDEPEND="
sys-libs/zlib
@@ -45,24 +52,29 @@ pkg_setup() {
 
 src_configure() {
local mycmakeargs=(
+   -DCMAKE_INSTALL_PREFIX="${EPREFIX}/usr"
+   -DINSTALL_LIB_DIR="$(get_libdir)"
+   -DCMAKE_SKIP_INSTALL_RPATH=TRUE
-DENABLE_ECCODES_THREADS=$(usex threads TRUE FALSE)
+   -DENABLE_ECCODES_OMP_THREADS=$(usex openmp TRUE FALSE)
-DENABLE_EXAMPLES=OFF  # no need to build examples
-DENABLE_INSTALL_ECCODES_DEFINITIONS=$(usex defs TRUE FALSE)
-DENABLE_FORTRAN=$(usex fortran TRUE FALSE)
-DENABLE_PYTHON=OFF  # py2 support is deprecated
-DENABLE_NETCDF=$(usex netcdf TRUE FALSE)
-DENABLE_JPG=$(usex jpeg2k TRUE FALSE)
+   -DENABLE_JPG_LIBOPENJPEG=$(usex jpeg2k TRUE FALSE)
-DENABLE_PNG=$(usex png TRUE FALSE)

[gentoo-commits] repo/gentoo:master commit in: dev-python/absl-py/

2020-12-04 Thread Steve Arnold
commit: e161ea9297508d70ecb8dc482b58dbf7c82ed3db
Author: Steve Arnold  gentoo  org>
AuthorDate: Fri Dec  4 18:29:54 2020 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Fri Dec  4 18:29:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e161ea92

dev-python/absl-py: keyword for arm/arm64 devices

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Steve Arnold  gentoo.org>

 dev-python/absl-py/absl-py-0.10.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/absl-py/absl-py-0.10.0.ebuild 
b/dev-python/absl-py/absl-py-0.10.0.ebuild
index 12fccf9e0da..520ea6be65e 100644
--- a/dev-python/absl-py/absl-py-0.10.0.ebuild
+++ b/dev-python/absl-py/absl-py-0.10.0.ebuild
@@ -12,7 +12,7 @@ 
SRC_URI="https://github.com/abseil/abseil-py/archive/pypi-v${PV}.tar.gz -> ${P}.
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="amd64 ~arm ~arm64 x86"
 IUSE=""
 
 RDEPEND="dev-python/six[${PYTHON_USEDEP}]



[gentoo-commits] repo/gentoo:master commit in: dev-python/minimock/

2020-11-08 Thread Steve Arnold
commit: c25dfdf2ddff5c9c8d2b079be6e97c3f2d2022de
Author: Steve Arnold  gentoo  org>
AuthorDate: Sun Nov  8 19:08:33 2020 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sun Nov  8 19:08:33 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c25dfdf2

dev-python/minimock: keyword for arm64 (test deps)

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Steve Arnold  gentoo.org>

 dev-python/minimock/minimock-1.2.8-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/minimock/minimock-1.2.8-r1.ebuild 
b/dev-python/minimock/minimock-1.2.8-r1.ebuild
index 6d973164842..526c5687240 100644
--- a/dev-python/minimock/minimock-1.2.8-r1.ebuild
+++ b/dev-python/minimock/minimock-1.2.8-r1.ebuild
@@ -16,7 +16,7 @@ S="${WORKDIR}/${MY_P}"
 
 LICENSE="MIT"
 SLOT="0"
-KEYWORDS="amd64 arm ppc x86"
+KEYWORDS="amd64 arm ~arm64 ppc x86"
 
 DOCS=( docs/changelog.rst docs/index.rst )
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/, net-misc/ntpsec/files/

2020-10-07 Thread Steve Arnold
commit: 7f1e7fafe1ce27758f59f65282b93b1b70f3badd
Author: Steve Arnold  gentoo  org>
AuthorDate: Wed Oct  7 22:47:07 2020 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Wed Oct  7 22:48:44 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7f1e7faf

net-misc/ntpsec: short-circuit broken asciidoctor version parsing

* update doc use flag for new upstream default

Closes: https://bugs.gentoo.org/746872
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Steve Arnold  gentoo.org>

 .../ntpsec-1.1.9-remove-asciidoctor-from-config.patch  | 14 ++
 net-misc/ntpsec/ntpsec-1.1.9.ebuild|  9 +++--
 2 files changed, 21 insertions(+), 2 deletions(-)

diff --git 
a/net-misc/ntpsec/files/ntpsec-1.1.9-remove-asciidoctor-from-config.patch 
b/net-misc/ntpsec/files/ntpsec-1.1.9-remove-asciidoctor-from-config.patch
new file mode 100644
index 000..1f483ce33fb
--- /dev/null
+++ b/net-misc/ntpsec/files/ntpsec-1.1.9-remove-asciidoctor-from-config.patch
@@ -0,0 +1,14 @@
+--- a/wafhelpers/asciidoc.py   2020-10-06 20:14:47.040245129 -0700
 b/wafhelpers/asciidoc.py   2020-10-06 20:17:48.100394117 -0700
+@@ -37,9 +37,9 @@
+ # asciidoc versions 8.6.5-8.6.7 throw warnings for warp.adoc and versions
+ # < 8.6.4 have no HTML5 backend.
+ # asciidoc3 versions < 3.0.2 throw errors.
+-adoc_list = [['asciidoctor', (1, 5, 8)],
+- ['asciidoc', (8, 6, 8)],
++adoc_list = [['asciidoc', (8, 6, 8)],
+  ['asciidoc3', (3, 0, 2)],
++ ['asciidoctor-bad', (1, 5, 8)],
+  ]
+ for progname, asciidocminver in adoc_list:
+ if 'BIN_ASCIIDOC' not in ctx.env or ctx.env.BIN_ASCIIDOC == []:

diff --git a/net-misc/ntpsec/ntpsec-1.1.9.ebuild 
b/net-misc/ntpsec/ntpsec-1.1.9.ebuild
index 1af747e2e91..51381f4b16b 100644
--- a/net-misc/ntpsec/ntpsec-1.1.9.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.1.9.ebuild
@@ -48,7 +48,7 @@ RDEPEND="${CDEPEND}
acct-user/ntp
 "
 DEPEND="${CDEPEND}
-   app-text/asciidoc
+   >=app-text/asciidoc-8.6.8
dev-libs/libxslt
app-text/docbook-xsl-stylesheets
sys-devel/bison
@@ -56,6 +56,11 @@ DEPEND="${CDEPEND}
rclock_pps? ( net-misc/pps-tools )
 "
 
+PATCHES=(
+   "${FILESDIR}/${PN}-1.1.8-fix-missing-scmp_sys-on-aarch64.patch"
+   "${FILESDIR}/${P}-remove-asciidoctor-from-config.patch"
+)
+
 WAF_BINARY="${S}/waf"
 
 src_prepare() {
@@ -87,7 +92,7 @@ src_configure() {
--nopyo
--refclock="${CLOCKSTRING}"
--build-epoch="$(date +%s)"
-   $(use doc   && echo "--enable-doc")
+   $(use doc   || echo "--disable-doc")
$(use early && echo "--enable-early-droproot")
$(use gdb   && echo "--enable-debug-gdb")
$(use samba && echo "--enable-mssntp")



[gentoo-commits] repo/gentoo:master commit in: dev-util/cccc/

2020-10-06 Thread Steve Arnold
commit: 22e104ccc5baf2cb3285a367a0d160ac5d50c39d
Author: Stephen L Arnold  gentoo  org>
AuthorDate: Tue Oct  6 22:46:54 2020 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Tue Oct  6 22:59:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=22e104cc

dev-util/: fix doc install, remove cruft left by melting HD

Closes: https://bugs.gentoo.org/746587
Package-Manager: Portage-3.0.8, Repoman-3.0.1
Signed-off-by: Steve Arnold  gentoo.org>

 dev-util//-3.1.5-r1.ebuild | 17 +
 dev-util//-3.1.6.ebuild| 22 +++---
 2 files changed, 20 insertions(+), 19 deletions(-)

diff --git a/dev-util//-3.1.5-r1.ebuild 
b/dev-util//-3.1.5-r1.ebuild
index 1d3cdf4bc73..b7c46d713a8 100644
--- a/dev-util//-3.1.5-r1.ebuild
+++ b/dev-util//-3.1.5-r1.ebuild
@@ -53,18 +53,19 @@ src_install() {
dodoc README.md
 
if use mfc ; then
-   insinto /usr/share/doc/${PF}
-   doins "${FILESDIR}"/-MFC-dialect.opt
+   docinto examples
+   dodoc "${FILESDIR}"/-MFC-dialect.opt
+   docompress -x "/usr/share/doc/${PF}/examples"
fi
 
if use doc ; then
-   insinto /usr/share/doc/${PF}/html
-   doins /*.html || die "html docs failed"
+   docinto html
+   dodoc /*.html || die "html docs failed"
if use apidoc ; then
-   insinto /usr/share/doc/${PF}/html/api
-   doins -r doxygen/html/* || die "dox failed"
-   insinto /usr/share/doc/${PF}/html/metrics
-   doins out/* || die "metrics failed"
+   docinto html/api
+   dodoc -r doxygen/html/. || die "apidocs failed"
+   docinto html/metrics
+   dodoc out/* || die "metrics failed"
fi
fi
 }

diff --git a/dev-util//-3.1.6.ebuild b/dev-util//-3.1.6.ebuild
index 5100eea55bb..b7c46d713a8 100644
--- a/dev-util//-3.1.6.ebuild
+++ b/dev-util//-3.1.6.ebuild
@@ -9,14 +9,15 @@ DESCRIPTION="Source metrics (line counts, complexity, etc) 
for Java and C++"
 HOMEPAGE="http://sarnold.github.io//";
 if [[ ${PV} = * ]]; then
EGIT_REPO_URI="https://github.com/sarnold/.git";
+   EGIT_BRANCH="master"
inherit git-r3
 else
SRC_URI="https://github.com/sarnold/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux 
~ppc-macos"
 fi
 
 LICENSE="GPL-2"
 SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="apidoc debug doc mfc"
 
 RDEPEND=""
@@ -24,8 +25,6 @@ DEPEND="${RDEPEND}
apidoc? ( app-doc/doxygen[dot] )
"
 
-PATCHES=( "${FILESDIR}/${PN}-fix-tests-for-name-swap.patch" )
-
 src_prepare() {
is-flagq -flto* && filter-flags -flto* -fuse-linker-plugin
use mfc && eapply "${FILESDIR}"/${PN}-c_dialect.patch
@@ -54,18 +53,19 @@ src_install() {
dodoc README.md
 
if use mfc ; then
-   insinto /usr/share/doc/${PF}
-   doins "${FILESDIR}"/-MFC-dialect.opt
+   docinto examples
+   dodoc "${FILESDIR}"/-MFC-dialect.opt
+   docompress -x "/usr/share/doc/${PF}/examples"
fi
 
if use doc ; then
-   insinto /usr/share/doc/${PF}/html
-   doins /*.html || die "html docs failed"
+   docinto html
+   dodoc /*.html || die "html docs failed"
if use apidoc ; then
-   insinto /usr/share/doc/${PF}/html/api
-   doins -r doxygen/html/* || die "dox failed"
-   insinto /usr/share/doc/${PF}/html/metrics
-   doins out/* || die "metrics failed"
+   docinto html/api
+   dodoc -r doxygen/html/. || die "apidocs failed"
+   docinto html/metrics
+   dodoc out/* || die "metrics failed"
fi
fi
 }



[gentoo-commits] repo/gentoo:master commit in: dev-util/cccc/

2020-10-04 Thread Steve Arnold
commit: 77a4af7c782f230e4f2aa30c1bfa8c24712ab6ce
Author: Stephen Arnold  gentoo  org>
AuthorDate: Sun Oct  4 17:17:44 2020 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sun Oct  4 17:20:18 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=77a4af7c

dev-util/: add latest release, fix current bug

* archaic build setup incompatible with parallel make

Bug: https://bugs.gentoo.org/720714
Closes: https://bugs.gentoo.org/720714
Package-Manager: Portage-2.3.67, Repoman-2.3.17
Signed-off-by: Steve Arnold  gentoo.org>

 dev-util//Manifest |  1 +
 dev-util//-3.1.5-r1.ebuild | 25 ++
 .../{-3.1.5-r1.ebuild => -3.1.6.ebuild}| 30 --
 3 files changed, 32 insertions(+), 24 deletions(-)

diff --git a/dev-util//Manifest b/dev-util//Manifest
index 887fa77c8cf..544fb644520 100644
--- a/dev-util//Manifest
+++ b/dev-util//Manifest
@@ -1 +1,2 @@
 DIST -3.1.5.tar.gz 662760 BLAKE2B 
57817ef9a44f002c017245d7dd3b1ef97fec59b59bce465d5e5e1cc12409b5602cfd8bf7ee938e526af9bcc11398639900d26848aa4f8c7f623669159de17117
 SHA512 
61544669a75ff7bd99c6ff5bb1e6ec163f2a09f4538493fe60e8f9f95eab7ba19ad6d39b6717ae010a223b8efe48c497a4feb8ead218e350ee2ab91b9c52c969
+DIST -3.1.6.tar.gz 663731 BLAKE2B 
28c2a3c29d549bb10fb0e905a0c3397ab7fcffa5f4a0e8a7b9ab0e91cfbfffd7312891c646c00e4b7687b1fc4a5766b9c9d45fce0175dc403e816d2deab24545
 SHA512 
4966d590dd479448392611b57758a1b0378e91c505f258db643a256c3c60b9908574e22aecbc57635248694959d429de5f356328f298f1260920ef4b6fb306e4

diff --git a/dev-util//-3.1.5-r1.ebuild 
b/dev-util//-3.1.5-r1.ebuild
index 47a91aadc54..1d3cdf4bc73 100644
--- a/dev-util//-3.1.5-r1.ebuild
+++ b/dev-util//-3.1.5-r1.ebuild
@@ -35,16 +35,16 @@ src_prepare() {
 src_compile() {
tc-export CC CXX LD AS AR NM RANLIB STRIP OBJCOPY
if use debug ; then
-   DEBUG="true" emake CCC=$(tc-getCXX) CC=$(tc-getCC) 
+   DEBUG="true" emake -j1 CCC=$(tc-getCXX) CC=$(tc-getCC) 
else
-   emake CCC=$(tc-getCXX) CC=$(tc-getCC) 
+   emake -j1 CCC=$(tc-getCXX) CC=$(tc-getCC) 
fi
 
-   use apidoc && emake CCC=$(tc-getCXX) metrics docs
+   use apidoc && emake -j1 CCC=$(tc-getCXX) metrics docs
 }
 
 src_test() {
-   emake CCC=$(tc-getCXX) test
+   emake -j1 CCC=$(tc-getCXX) test
 }
 
 src_install() {
@@ -52,16 +52,19 @@ src_install() {
 
dodoc README.md
 
-   use mfc && dodoc "${FILESDIR}"/-MFC-dialect.opt
+   if use mfc ; then
+   insinto /usr/share/doc/${PF}
+   doins "${FILESDIR}"/-MFC-dialect.opt
+   fi
 
if use doc ; then
-   docinto html
-   dodoc /*.html
+   insinto /usr/share/doc/${PF}/html
+   doins /*.html || die "html docs failed"
if use apidoc ; then
-   docinto html/api
-   dodoc -r doxygen/html/.
-   docinto html/metrics
-   dodoc -r out/.
+   insinto /usr/share/doc/${PF}/html/api
+   doins -r doxygen/html/* || die "dox failed"
+   insinto /usr/share/doc/${PF}/html/metrics
+   doins out/* || die "metrics failed"
fi
fi
 }

diff --git a/dev-util//-3.1.5-r1.ebuild 
b/dev-util//-3.1.6.ebuild
similarity index 57%
copy from dev-util//-3.1.5-r1.ebuild
copy to dev-util//-3.1.6.ebuild
index 47a91aadc54..5100eea55bb 100644
--- a/dev-util//-3.1.5-r1.ebuild
+++ b/dev-util//-3.1.6.ebuild
@@ -9,15 +9,14 @@ DESCRIPTION="Source metrics (line counts, complexity, etc) 
for Java and C++"
 HOMEPAGE="http://sarnold.github.io//";
 if [[ ${PV} = * ]]; then
EGIT_REPO_URI="https://github.com/sarnold/.git";
-   EGIT_BRANCH="master"
inherit git-r3
 else
SRC_URI="https://github.com/sarnold/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux 
~ppc-macos"
 fi
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="apidoc debug doc mfc"
 
 RDEPEND=""
@@ -25,6 +24,8 @@ DEPEND="${RDEPEND}
apidoc? ( app-doc/doxygen[dot] )
"
 
+PATCHES=( "${FILESDIR}/${PN}-fix-tests-for-name-swap.patch" )
+
 src_prepare() {
is-flagq -flto* && filter-flags -flto* -fuse-linker-plugin
use mfc && eapply "${FILESDIR}"/${PN}-c_dialect.patch
@@ -35,16 +36,16 @@ src_prepare() 

[gentoo-commits] repo/gentoo:master commit in: sys-process/at/

2020-08-30 Thread Steve Arnold
commit: b320582ae9e53b5cfec62c4ea35ca23b074d65e3
Author: Stephen Arnold  gentoo  org>
AuthorDate: Sun Aug 30 20:38:02 2020 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sun Aug 30 20:40:34 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b320582a

sys-process/at: add keyword for arm64

Package-Manager: Portage-2.3.67, Repoman-2.3.17
Signed-off-by: Steve Arnold  gentoo.org>

 sys-process/at/at-3.2.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sys-process/at/at-3.2.1.ebuild b/sys-process/at/at-3.2.1.ebuild
index b084bde037b..e24c9589dfe 100644
--- a/sys-process/at/at-3.2.1.ebuild
+++ b/sys-process/at/at-3.2.1.ebuild
@@ -14,7 +14,7 @@ SRC_URI="http://software.calhariz.com/at/${MY_P}.orig.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
 IUSE="pam selinux"
 
 DEPEND="virtual/mta



[gentoo-commits] repo/gentoo:master commit in: net-misc/stunnel/, net-misc/stunnel/files/

2020-08-09 Thread Steve Arnold
commit: 4ad773667769976017f40ad88c556c50a7a42158
Author: Stephen Arnold  gentoo  org>
AuthorDate: Sun Aug  9 19:15:21 2020 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sun Aug  9 19:15:21 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ad77366

net-misc/stunnel: update r1 init script, add ~arm64 to 5.56-r1

* adds --exec to stop args and einfo for symlink

Closes: https://bugs.gentoo.org/736332
Package-Manager: Portage-2.3.67, Repoman-2.3.17
Signed-off-by: Steve Arnold  gentoo.org>

 net-misc/stunnel/files/stunnel-r1   | 5 +++--
 net-misc/stunnel/stunnel-5.56-r1.ebuild | 6 --
 2 files changed, 7 insertions(+), 4 deletions(-)

diff --git a/net-misc/stunnel/files/stunnel-r1 
b/net-misc/stunnel/files/stunnel-r1
index a73527ed57e..11530eabe72 100644
--- a/net-misc/stunnel/files/stunnel-r1
+++ b/net-misc/stunnel/files/stunnel-r1
@@ -1,5 +1,5 @@
 #!/sbin/openrc-run
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 extra_started_commands="reload"
@@ -38,7 +38,8 @@ start() {
 stop() {
get_config || return 1
ebegin "Stopping ${SVCNAME}"
-   start-stop-daemon --stop --quiet --pidfile ${PIDFILE}
+   start-stop-daemon --stop --quiet --exec /usr/bin/stunnel \
+   --pidfile ${PIDFILE}
eend $? "Failed to stop ${SVCNAME}"
 }
 

diff --git a/net-misc/stunnel/stunnel-5.56-r1.ebuild 
b/net-misc/stunnel/stunnel-5.56-r1.ebuild
index 10f5581fa01..a6540f0fb4a 100644
--- a/net-misc/stunnel/stunnel-5.56-r1.ebuild
+++ b/net-misc/stunnel/stunnel-5.56-r1.ebuild
@@ -17,7 +17,7 @@ 
SRC_URI="ftp://ftp.stunnel.org/stunnel/archive/${PV%%.*}.x/${P}.tar.gz
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 
~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc 
~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
 IUSE="ipv6 selinux stunnel3 tcpd"
 
 DEPEND="dev-libs/openssl:0=
@@ -85,5 +85,7 @@ pkg_postinst() {
 
einfo "If you want to run multiple instances of stunnel, create a new 
config"
einfo "file ending with .conf in /etc/stunnel/. **Make sure** you 
change "
-   einfo "\'pid= \' with a unique filename."
+   einfo "\'pid= \' with a unique filename.  For openrc make a symlink 
from the"
+   einfo "stunnel init script to \'stunnel.name\' and use that to 
start|stop"
+   einfo "your custom instance"
 }



[gentoo-commits] repo/gentoo:master commit in: dev-python/diskcache/

2020-07-22 Thread Steve Arnold
commit: 4c1fd0122c117cae0b7adf1e1580b45cb39017b6
Author: Stephen Arnold  gentoo  org>
AuthorDate: Wed Jul 22 21:43:21 2020 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Wed Jul 22 21:43:21 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c1fd012

dev-python/diskcache: keyword for arm/arm64

* extensively tested on arm and arm64 (mainly deque/cache)
* nothin new from repoman for either arm or arm64

Package-Manager: Portage-2.3.67, Repoman-2.3.17
Signed-off-by: Steve Arnold  gentoo.org>

 dev-python/diskcache/diskcache-4.1.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-python/diskcache/diskcache-4.1.0.ebuild 
b/dev-python/diskcache/diskcache-4.1.0.ebuild
index 36f1dadb121..9f91b9ac968 100644
--- a/dev-python/diskcache/diskcache-4.1.0.ebuild
+++ b/dev-python/diskcache/diskcache-4.1.0.ebuild
@@ -18,7 +18,7 @@ S=${WORKDIR}/python-diskcache-${PV}
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
 
 BDEPEND="
test? (



[gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/files/, net-misc/ntpsec/

2020-03-13 Thread Steve Arnold
commit: ff1d3efe61ef0acd2803c72d4c84722a627c0166
Author: Stephen Arnold  gentoo  org>
AuthorDate: Sat Mar 14 03:24:07 2020 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sat Mar 14 03:24:07 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff1d3efe

net-misc/ntpsec: add missing asciidoc patch, force docs to behave

Bug: https://bugs.gentoo.org/710414
Package-Manager: Portage-2.3.67, Repoman-2.3.17
Signed-off-by: Steve Arnold  gentoo.org>

 .../ntpsec-1.1.8-fix-asciidoc-version-detect.patch | 372 +
 net-misc/ntpsec/ntpsec-1.1.8.ebuild|  10 +-
 2 files changed, 380 insertions(+), 2 deletions(-)

diff --git 
a/net-misc/ntpsec/files/ntpsec-1.1.8-fix-asciidoc-version-detect.patch 
b/net-misc/ntpsec/files/ntpsec-1.1.8-fix-asciidoc-version-detect.patch
new file mode 100644
index 000..aabd8365433
--- /dev/null
+++ b/net-misc/ntpsec/files/ntpsec-1.1.8-fix-asciidoc-version-detect.patch
@@ -0,0 +1,372 @@
+diff --git a/wafhelpers/asciidoc.py b/wafhelpers/asciidoc.py
+index b6aa1f116..a2218bb69 100644
+--- a/wafhelpers/asciidoc.py
 b/wafhelpers/asciidoc.py
+@@ -1,73 +1,173 @@
+-import re
+-
+-from waflib import Task
+-from waflib.TaskGen import extension
+-
+-# asciidoc -b html5 -a linkcss -a stylesdir=/mnt/devel/ntp/commit/docs \
+-#   -o asd driver32.adoc
+-
+-# Borrowed from waf/docs/book/wscript in the Waf Project.
+-re_xi = re.compile('''^(include|image)::(.*?.(adoc|\\{PIC\\}))\[''', re.M)
+-
+-
+-def ascii_doc_scan(self):
+-p = self.inputs[0].parent
+-node_lst = [self.inputs[0]]
+-seen = []
+-depnodes = []
+-
+-while node_lst:
+-nd = node_lst.pop(0)
+-if nd in seen:
+-continue
+-seen.append(nd)
+-
+-code = nd.read()
+-for m in re_xi.finditer(code):
+-name = m.group(2)
+-if m.group(3) == '{PIC}':
+-
+-ext = '.eps'
+-if self.generator.rule.rfind('A2X') > 0:
+-ext = '.png'
+-
+-k = p.find_resource(name.replace('{PIC}', ext))
+-if k:
+-depnodes.append(k)
+-else:
+-k = self.inputs[0].find_resource(name)
+-if k:
+-depnodes.append(k)
+-node_lst.append(k)
+-return [depnodes, ()]
++'''Most of the functionality for building HTML and man pages from AsciiDoc.'''
+ 
++import re
+ 
+-# ASCIIDOC_FLAGS are almost always needed and need to be set by the user.
+-class asciidoc(Task.Task):
+-color = "BLUE"
+-run_str = '${BIN_ASCIIDOC} -b html5 -a linkcss ${ASCIIDOC_FLAGS} ' \
+-  '-o ${TGT[0].name} ${SRC[0].abspath()}'
+-ext_out = ".html"
++from waflib import Task  # pylint: disable=import-error
++from waflib.TaskGen import extension  # pylint: disable=import-error
++
++
++def options(opt):
++'Add command line options for AsciiDoc processing.'
++grp = opt.add_option_group('NTP documentation configure options')
++grp.add_option('--disable-doc', action='store_true',
++   default=False, help='Disable HTML document building.')
++grp.add_option('--enable-doc', action='store_true',
++   default=False, help='Enable HTML document building.')
++grp.add_option('--disable-manpage', action='store_true',
++   default=False, help='Disable manpage building.')
++grp.add_option('--enable-manpage', action='store_true',
++   default=False, help='Enable manpage building.')
++
++
++def configure(ctx):
++'Set options from the extended environment and command line arguments.'
++
++if ctx.options.disable_doc and ctx.options.enable_doc:
++ctx.fatal('--disable-doc and --enable-doc conflict.')
++if ctx.options.disable_manpage and ctx.options.enable_manpage:
++ctx.fatal('--disable-manpage and --enable-manpage conflict.')
++
++ctx.env.BUILD_DOC = False
++ctx.env.BUILD_MAN = False
++if ctx.options.disable_doc and ctx.options.disable_manpage:
++ctx.msg('AsciiDoc processor', 'unnecessary')
++return
++
++# asciidoctor versions < 1.5.8 throw warnings for manpages and driver_shm.
++# asciidoc versions 8.6.5-8.6.7 throw warnings for warp.adoc and versions
++# < 8.6.4 have no HTML5 backend.
++# asciidoc3 versions < 3.0.2 throw errors.
++adoc_list = [['asciidoctor', (1, 5, 8)],
++ ['asciidoc', (8, 6, 8)],
++ ['asciidoc3', (3, 0, 2)],
++ ]
++for progname, asciidocminve

[gentoo-commits] repo/gentoo:master commit in: dev-python/schedule/

2020-03-12 Thread Steve Arnold
commit: ec21af3c3b05fb4b9a8b9191e956a737d05714d8
Author: Stephen Arnold  gentoo  org>
AuthorDate: Fri Mar 13 03:10:16 2020 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Fri Mar 13 03:10:16 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec21af3c

dev-python/schedule: update to latest upstream release

* all python versions through nightly tested in travis
* used extensively on current keywords (both glibc and musl)

Package-Manager: Portage-2.3.67, Repoman-2.3.17
Signed-off-by: Steve Arnold  gentoo.org>

 dev-python/schedule/Manifest  |  3 +--
 dev-python/schedule/schedule-0.4.2.ebuild | 25 
 dev-python/schedule/schedule-0.5.0.ebuild | 26 -
 dev-python/schedule/schedule-0.6.0.ebuild | 38 +++
 dev-python/schedule/schedule-.ebuild  | 38 +++
 5 files changed, 77 insertions(+), 53 deletions(-)

diff --git a/dev-python/schedule/Manifest b/dev-python/schedule/Manifest
index b4bda9f3e0d..cfc14fdb0ad 100644
--- a/dev-python/schedule/Manifest
+++ b/dev-python/schedule/Manifest
@@ -1,2 +1 @@
-DIST schedule-0.4.2.tar.gz 10104 BLAKE2B 
84089e7dde29587f4044097b85ddf4b9e3639c59c63da2268d6e2c94e94192271a6d0d65c385c9492cefac49d7abee681ebb0f56ff78965b67402306124ede40
 SHA512 
f088f82a0449350658028b2035c5fbc71bda4d019856fe6ab3363798e9d8d940cce603be544401ecf5f844606e5891ab560c390f5c334a825bf611e6ebfb00ac
-DIST schedule-0.5.0.tar.gz 10850 BLAKE2B 
b79ceb77d0149cccad4bd12c6fe8f3524a33898039319c411bf202928316d74586626d84e6921595d0c0a79f87115cbc27beb03919c4252b8468dcddf469c95a
 SHA512 
0d89afa3c9d986c53a8c61a92bfda08e23290c6556100d63f2c647003806398b8913c4bfa75a57617aeeda73f8f2eb26490c224ab70d621873453ca5dec35b0b
+DIST schedule-0.6.0.tar.gz 21671 BLAKE2B 
6076aff0c906782e554175b7e90cfca1417a31170e99009caccb5cbe318b5eb1295b24dfe1835109aec78fee53b615e170f03a7ec4470f596a9a2775c1072d5f
 SHA512 
48424707b57cbc7ce9440e1658784347b691a013552b9969fd95dd260efa2d8ba56b41920628540fc4ebebbc3dc78e8e919b83cfddfe9a3cc3d60ece6ef0998f

diff --git a/dev-python/schedule/schedule-0.4.2.ebuild 
b/dev-python/schedule/schedule-0.4.2.ebuild
deleted file mode 100644
index 9e6017cd861..000
--- a/dev-python/schedule/schedule-0.4.2.ebuild
+++ /dev/null
@@ -1,25 +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 distutils-r1
-
-DESCRIPTION="Python job scheduling for humans"
-HOMEPAGE="https://github.com/dbader/schedule";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
-   test? ( >=dev-python/mock-2.0.0
-   >=dev-python/pytest-3.0.3 )"
-
-python_test() {
-   py.test test_schedule.py || die
-}

diff --git a/dev-python/schedule/schedule-0.5.0.ebuild 
b/dev-python/schedule/schedule-0.5.0.ebuild
deleted file mode 100644
index 85fc997488d..000
--- a/dev-python/schedule/schedule-0.5.0.ebuild
+++ /dev/null
@@ -1,26 +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 distutils-r1
-
-DESCRIPTION="Python job scheduling for humans"
-HOMEPAGE="https://github.com/dbader/schedule";
-SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
-
-LICENSE="MIT"
-SLOT="0"
-KEYWORDS="~amd64"
-IUSE="test"
-RESTRICT="!test? ( test )"
-
-DEPEND="
-   dev-python/setuptools[${PYTHON_USEDEP}]
-   test? ( >=dev-python/mock-2.0.0
-   >=dev-python/pytest-3.0.3 )"
-
-python_test() {
-   py.test test_schedule.py || die
-}

diff --git a/dev-python/schedule/schedule-0.6.0.ebuild 
b/dev-python/schedule/schedule-0.6.0.ebuild
new file mode 100644
index 000..24015ca28f1
--- /dev/null
+++ b/dev-python/schedule/schedule-0.6.0.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{3_6,3_7,3_8} )
+
+inherit distutils-r1
+
+DESCRIPTION="Python job scheduling for humans"
+HOMEPAGE="https://github.com/dbader/schedule";
+
+if [[ ${PV} = * ]]; then
+   EGIT_REPO_URI="https://github.com/dbader/schedule";
+   EGIT_BRANCH="master"
+   inherit git-r3
+   KEYWORDS=""
+else
+   SRC_URI="https://github.com/dbader/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+   KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+fi
+
+LICENSE="MIT"
+SLOT="0"
+IUSE="test"
+
+RDEPEND="${PYTHON_DEPS}"
+
+DEPEND="

[gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/, net-misc/ntpsec/files/

2020-03-12 Thread Steve Arnold
commit: 7c1e475b98330cf1f061309369e832500a123388
Author: Stephen Arnold  gentoo  org>
AuthorDate: Fri Mar 13 02:48:45 2020 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Fri Mar 13 02:48:45 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7c1e475b

net-misc/ntpsec: add upstream seccomp fix and update systemd file

* closes bugs #705348 and #705128

Package-Manager: Portage-2.3.67, Repoman-2.3.17
Signed-off-by: Steve Arnold  gentoo.org>

 net-misc/ntpsec/files/ntpd-r1.service|  5 ++---
 .../ntpsec-1.1.8-fix-missing-scmp_sys-on-aarch64.patch   | 16 
 net-misc/ntpsec/ntpsec-1.1.8.ebuild  |  3 ++-
 3 files changed, 20 insertions(+), 4 deletions(-)

diff --git a/net-misc/ntpsec/files/ntpd-r1.service 
b/net-misc/ntpsec/files/ntpd-r1.service
index 5da473805aa..8bc16f9f634 100644
--- a/net-misc/ntpsec/files/ntpd-r1.service
+++ b/net-misc/ntpsec/files/ntpd-r1.service
@@ -4,10 +4,9 @@ After=network.target nss-lookup.target
 Conflicts=systemd-timesyncd.service
 
 [Service]
-Type=forking
+Type=simple
 PrivateTmp=true
-EnvironmentFile=-/etc/conf.d/ntp
-ExecStart=/usr/sbin/ntpd ${NTPD_OPTS}
+ExecStart=/usr/sbin/ntpd --configfile=/etc/ntp.conf --panicgate --user=ntp:ntp 
--nofork
 # Specifying -g on the command line allows ntpd to make large adjustments to
 # the clock on boot.  However, if Restart=yes is set, a malicious (or broken)
 # server could send the incorrect time, trip the panic threshold, and when

diff --git 
a/net-misc/ntpsec/files/ntpsec-1.1.8-fix-missing-scmp_sys-on-aarch64.patch 
b/net-misc/ntpsec/files/ntpsec-1.1.8-fix-missing-scmp_sys-on-aarch64.patch
new file mode 100644
index 000..ee75d103d2e
--- /dev/null
+++ b/net-misc/ntpsec/files/ntpsec-1.1.8-fix-missing-scmp_sys-on-aarch64.patch
@@ -0,0 +1,16 @@
+diff --git a/ntpd/ntp_sandbox.c b/ntpd/ntp_sandbox.c
+index 
4e5ceaa36c1a7b452445023e201ddb6211625c52..78ac7aea263ed3d3394b2d32e79a6836f0387434
 100644
+--- a/ntpd/ntp_sandbox.c
 b/ntpd/ntp_sandbox.c
+@@ -428,6 +428,11 @@ int scmp_sc[] = {
+   /* gentoo 64-bit and 32-bit, Intel and Arm use mmap */
+   SCMP_SYS(mmap),
+ #endif
++#if defined(__aarch64__)
++  SCMP_SYS(faccessat),
++  SCMP_SYS(newfstatat),
++  SCMP_SYS(renameat),
++#endif
+ #if defined(__i386__) || defined(__arm__) || defined(__powerpc__)
+   SCMP_SYS(_newselect),
+   SCMP_SYS(_llseek),

diff --git a/net-misc/ntpsec/ntpsec-1.1.8.ebuild 
b/net-misc/ntpsec/ntpsec-1.1.8.ebuild
index 128e2a23826..d0003067a4f 100644
--- a/net-misc/ntpsec/ntpsec-1.1.8.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.1.8.ebuild
@@ -62,7 +62,8 @@ DEPEND="${CDEPEND}
 
 WAF_BINARY="${S}/waf"
 
-PATCHES=( "${FILESDIR}/${P}-externalize-sys_maxclock-fix-for-bug-708522.patch" 
)
+PATCHES=( "${FILESDIR}/${P}-externalize-sys_maxclock-fix-for-bug-708522.patch"
+   "${FILESDIR}/${P}-fix-missing-scmp_sys-on-aarch64.patch" )
 
 src_prepare() {
default



[gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/, net-misc/ntpsec/files/

2020-03-09 Thread Steve Arnold
commit: 47924c9cc6c4597423b6147b2c246ab6438fa027
Author: Stephen Arnold  gentoo  org>
AuthorDate: Mon Mar  9 23:54:18 2020 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Tue Mar 10 00:01:50 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=47924c9c

net-misc/ntpsec: add upstream patch and expand py3 compat

* closes bugs #709258 and #710414

Package-Manager: Portage-2.3.67, Repoman-2.3.17
Signed-off-by: Steve Arnold  gentoo.org>

 ...ternalize-sys_maxclock-fix-for-bug-708522.patch | 23 ++
 net-misc/ntpsec/ntpsec-1.1.8.ebuild|  4 +++-
 net-misc/ntpsec/ntpsec-.ebuild |  2 +-
 3 files changed, 27 insertions(+), 2 deletions(-)

diff --git 
a/net-misc/ntpsec/files/ntpsec-1.1.8-externalize-sys_maxclock-fix-for-bug-708522.patch
 
b/net-misc/ntpsec/files/ntpsec-1.1.8-externalize-sys_maxclock-fix-for-bug-708522.patch
new file mode 100644
index 000..caeaf1824cc
--- /dev/null
+++ 
b/net-misc/ntpsec/files/ntpsec-1.1.8-externalize-sys_maxclock-fix-for-bug-708522.patch
@@ -0,0 +1,23 @@
+From ccdd9d4b941b30fc44b301595e42809dbe48628d Mon Sep 17 00:00:00 2001
+From: James Browning 
+Date: Sun, 26 Jan 2020 09:58:36 -0800
+Subject: [PATCH] Externalize sys_maxclock from include/ntpd.h ...
+
+I think this will shut up the Fedora Rawhide runners
+---
+ include/ntpd.h | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/include/ntpd.h b/include/ntpd.h
+index c4f9b9e45..ee16678e1 100644
+--- a/include/ntpd.h
 b/include/ntpd.h
+@@ -369,7 +369,7 @@ extern int peer_associations;  /* mobilized 
associations */
+  * System variables are declared here.See Section 3.2 of the
+  * specification.
+  */
+-int   sys_maxclock;   /* maximum candidates */
++extern intsys_maxclock;   /* maximum candidates */
+ struct system_variables {
+   uint8_t sys_leap;   /* system leap indicator */
+   uint8_t sys_stratum;/* system stratum */

diff --git a/net-misc/ntpsec/ntpsec-1.1.8.ebuild 
b/net-misc/ntpsec/ntpsec-1.1.8.ebuild
index 1316806dc69..128e2a23826 100644
--- a/net-misc/ntpsec/ntpsec-1.1.8.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.1.8.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7,8} )
 PYTHON_REQ_USE='threads(+)'
 
 inherit flag-o-matic python-r1 waf-utils systemd
@@ -62,6 +62,8 @@ DEPEND="${CDEPEND}
 
 WAF_BINARY="${S}/waf"
 
+PATCHES=( "${FILESDIR}/${P}-externalize-sys_maxclock-fix-for-bug-708522.patch" 
)
+
 src_prepare() {
default
# Remove autostripping of binaries

diff --git a/net-misc/ntpsec/ntpsec-.ebuild 
b/net-misc/ntpsec/ntpsec-.ebuild
index 1316806dc69..36dc8d08088 100644
--- a/net-misc/ntpsec/ntpsec-.ebuild
+++ b/net-misc/ntpsec/ntpsec-.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 
-PYTHON_COMPAT=( python3_6 )
+PYTHON_COMPAT=( python3_{6,7,8} )
 PYTHON_REQ_USE='threads(+)'
 
 inherit flag-o-matic python-r1 waf-utils systemd



[gentoo-commits] repo/gentoo:master commit in: sci-libs/eccodes/

2020-03-09 Thread Steve Arnold
commit: d0b0bb239cc58ab9a3d2b513f15d2d28a26d3b51
Author: Stephen Arnold  gentoo  org>
AuthorDate: Mon Mar  9 23:06:10 2020 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Mon Mar  9 23:06:10 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d0b0bb23

sci-libs/eccodes: new ebuild/upstream replacement for libbufr

* provides multi-language bindings and GRIB/BUFR C library
* obsoletes bugs #695486 and #709408

Package-Manager: Portage-2.3.67, Repoman-2.3.17
Signed-off-by: Steve Arnold  gentoo.org>

 sci-libs/eccodes/Manifest  |  2 +
 sci-libs/eccodes/eccodes-2.16.0.ebuild | 79 ++
 sci-libs/eccodes/metadata.xml  | 24 +++
 3 files changed, 105 insertions(+)

diff --git a/sci-libs/eccodes/Manifest b/sci-libs/eccodes/Manifest
new file mode 100644
index 000..d5d6bb46ae6
--- /dev/null
+++ b/sci-libs/eccodes/Manifest
@@ -0,0 +1,2 @@
+DIST eccodes-2.16.0-Source.tar.gz 11258869 BLAKE2B 
4a1b3e953fc041beed47046c6ea4f74bb18230019b71c884f1dc5a102a7bae2b9083f51b74fc4078c493d188433f08db833a571e7deadd93b6c137f975f03006
 SHA512 
6e8768824152d8782c1457cfe79daed32114d1b4694d2843bd02a8aa63c42ccc435b53f7db6942239b3e56999fbaaba4ecef345d39fc5c5f7a5d20ceecf4422a
+DIST eccodes_test_data.tar.gz 139711871 BLAKE2B 
f2e89207835c78fa198f0a2fba8ac2cd4ab263c9160e02005a3ca851bc71586010e7f4742cbb9240463abb9421db83b7dadc83fe798f37321a553ca9856f68d7
 SHA512 
24c24ec9e01d230cf542abe5c131f05b8e627dd9d170c28bb5fd8f7b1a6aa11a35456b8d742c59f54c6aabac78658efd68b0c50779d466aba3d35b4a0231

diff --git a/sci-libs/eccodes/eccodes-2.16.0.ebuild 
b/sci-libs/eccodes/eccodes-2.16.0.ebuild
new file mode 100644
index 000..5f49a25c6be
--- /dev/null
+++ b/sci-libs/eccodes/eccodes-2.16.0.ebuild
@@ -0,0 +1,79 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python{3_6,3_7} )
+
+inherit cmake-utils fortran-2 python-any-r1
+
+MY_P="${P}-Source"
+
+DESCRIPTION="A set of encoding/decoding APIs and tools for WMO GRIB, BUFR, and 
GTS messages"
+HOMEPAGE="https://confluence.ecmwf.int/display/ECC";
+SRC_URI="https://confluence.ecmwf.int/download/attachments/45757960/${MY_P}.tar.gz
+   extra-test? ( 
http://download.ecmwf.org/test-data/eccodes/${PN}_test_data.tar.gz )"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~x86"
+
+IUSE="defs examples extra-test -fortran memfs netcdf jpeg2k png python szip 
test threads"
+
+REQUIRED_USE="threads? ( !fortran ) test? ( defs !memfs ) extra-test? ( test ) 
!test? ( memfs? ( python ) )"
+
+RDEPEND="
+   sys-libs/zlib
+   szip? ( sci-libs/szip )
+   netcdf? ( >=sci-libs/netcdf-4.2[hdf5] )
+   jpeg2k? ( >=media-libs/openjpeg-2:2 )
+   png? ( media-libs/libpng )"
+
+DEPEND="${RDEPEND}
+   ${PYTHON_DEPS}"
+
+BDEPEND="virtual/pkgconfig"
+
+S="${WORKDIR}/${MY_P}"
+
+CMAKE_BUILD_TYPE=RelWithDebInfo
+
+pkg_setup() {
+   use fortran && fortran-2_pkg_setup
+   use python && python-any-r1_pkg_setup
+}
+
+src_configure() {
+   local mycmakeargs=(
+   -DENABLE_ECCODES_THREADS=$(usex threads TRUE FALSE)
+   -DENABLE_EXAMPLES=OFF  # no need to build examples
+   -DENABLE_INSTALL_ECCODES_DEFINITIONS=$(usex defs TRUE FALSE)
+   -DENABLE_FORTRAN=$(usex fortran TRUE FALSE)
+   -DENABLE_PYTHON=OFF  # py2 support is deprecated
+   -DENABLE_NETCDF=$(usex netcdf TRUE FALSE)
+   -DENABLE_JPG=$(usex jpeg2k TRUE FALSE)
+   -DENABLE_PNG=$(usex png TRUE FALSE)
+   -DENABLE_MEMFS=$(usex memfs TRUE FALSE)
+   -DENABLE_EXTRA_TESTS=$(usex extra-test TRUE FALSE)
+   -DBUILD_SHARED_LIBS=ON
+   -DINSTALL_LIB_DIR="${EPREFIX}/usr/$(get_libdir)"
+   )
+   cmake-utils_src_configure
+}
+
+src_install() {
+   cmake-utils_src_install
+
+   if use examples; then
+   insinto "/usr/share/${PN}/examples"
+   doins -r examples/C
+   use fortran && doins -r examples/F90
+   use python && doins -r examples/python
+   fi
+}
+
+src_test() {
+   use extra-test && cp -r "${WORKDIR}"/data/* "${BUILD_DIR}"/data/
+
+   cmake-utils_src_test
+}

diff --git a/sci-libs/eccodes/metadata.xml b/sci-libs/eccodes/metadata.xml
new file mode 100644
index 000..a59cfc2a528
--- /dev/null
+++ b/sci-libs/eccodes/metadata.xml
@@ -0,0 +1,24 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+
+   nerd...@gentoo.org
+   Steve Arnold
+
+
+   This is the new open source BUFR/GRIB library (from ECMWF)
+   supporting C, F90, and Python interfaces.
+
+
+   
+   Install full set of definition files.
+   
+   
+   Install full set of test data (large).
+   
+   
+   Enable memory based access to definition/sample files
+   (conflicts with tests).
+   
+
+



[gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/

2019-12-19 Thread Steve Arnold
commit: 83928092e0c6eb133590d961600edc91c37144f3
Author: Stephen Arnold  gentoo  org>
AuthorDate: Thu Dec 19 17:55:10 2019 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Thu Dec 19 17:55:10 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83928092

net-misc/ntpsec: stable on arm and arm64 (bug #697024 again)

Package-Manager: Portage-2.3.67, Repoman-2.3.17
Signed-off-by: Steve Arnold  gentoo.org>

 net-misc/ntpsec/ntpsec-1.1.7-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-misc/ntpsec/ntpsec-1.1.7-r1.ebuild 
b/net-misc/ntpsec/ntpsec-1.1.7-r1.ebuild
index 984a26200b8..4760ec4eef4 100644
--- a/net-misc/ntpsec/ntpsec-1.1.7-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.1.7-r1.ebuild
@@ -17,7 +17,7 @@ else
SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz";
RESTRICT="mirror"
BDEPEND=""
-   KEYWORDS="amd64 ~arm ~arm64 ~x86"
+   KEYWORDS="amd64 arm arm64 ~x86"
 fi
 
 DESCRIPTION="The NTP reference implementation, refactored"



[gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/

2019-12-19 Thread Steve Arnold
commit: c9a2875bfd4fa96798a4040980e4c6b03e928b2b
Author: Stephen Arnold  gentoo  org>
AuthorDate: Thu Dec 19 17:45:27 2019 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Thu Dec 19 17:48:23 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c9a2875b

net-misc/ntpsec: use fixed service file for all versions

* see bug #697024 and stablize 1.1.7

Package-Manager: Portage-2.3.67, Repoman-2.3.17
Signed-off-by: Steve Arnold  gentoo.org>

 net-misc/ntpsec/ntpsec-1.1.4.ebuild | 2 +-
 net-misc/ntpsec/ntpsec-1.1.6.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-misc/ntpsec/ntpsec-1.1.4.ebuild 
b/net-misc/ntpsec/ntpsec-1.1.4.ebuild
index fdf4cc4b9cc..5f78b849061 100644
--- a/net-misc/ntpsec/ntpsec-1.1.4.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.1.4.ebuild
@@ -132,7 +132,7 @@ src_install() {
newconfd "${FILESDIR}"/ntpd.confd ntp
 
# Install the systemd unit file
-   systemd_newunit "${FILESDIR}"/ntpd.service ntpd.service
+   systemd_newunit "${FILESDIR}"/ntpd-r1.service ntpd.service
 
# Prepare a directory for the ntp.drift file
mkdir -pv "${ED}"/var/lib/ntp

diff --git a/net-misc/ntpsec/ntpsec-1.1.6.ebuild 
b/net-misc/ntpsec/ntpsec-1.1.6.ebuild
index 7cc6f74f6d3..050f701b387 100644
--- a/net-misc/ntpsec/ntpsec-1.1.6.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.1.6.ebuild
@@ -131,7 +131,7 @@ src_install() {
newconfd "${FILESDIR}"/ntpd.confd ntp
 
# Install the systemd unit file
-   systemd_newunit "${FILESDIR}"/ntpd.service ntpd.service
+   systemd_newunit "${FILESDIR}"/ntpd-r1.service ntpd.service
 
# Prepare a directory for the ntp.drift file
mkdir -pv "${ED}"/var/lib/ntp



[gentoo-commits] repo/gentoo:master commit in: dev-python/python-distutils-extra/

2019-11-17 Thread Steve Arnold
commit: e4295c1a534c3d0a2a3d0f90e7cf20793ea22f4f
Author: Stephen Arnold  gentoo  org>
AuthorDate: Sun Nov 17 20:45:07 2019 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sun Nov 17 20:45:07 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e4295c1a

dev-python/python-distutils-extra: keyword for arm/arm64

Package-Manager: Portage-2.3.67, Repoman-2.3.17
Signed-off-by: Steve Arnold  gentoo.org>

 dev-python/python-distutils-extra/python-distutils-extra-2.42.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/dev-python/python-distutils-extra/python-distutils-extra-2.42.ebuild 
b/dev-python/python-distutils-extra/python-distutils-extra-2.42.ebuild
index 3b3e02753ac..f870cfc550a 100644
--- a/dev-python/python-distutils-extra/python-distutils-extra-2.42.ebuild
+++ b/dev-python/python-distutils-extra/python-distutils-extra-2.42.ebuild
@@ -13,7 +13,7 @@ 
SRC_URI="mirror://ubuntu/pool/universe/p/${PN}/${PN}_${PV}.tar.xz"
 
 LICENSE="GPL-2+"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86"
 IUSE="test"
 
 DEPEND="test? ( dev-python/pytest[${PYTHON_USEDEP}] )"



[gentoo-commits] repo/gentoo:master commit in: x11-misc/xautolock/

2019-11-17 Thread Steve Arnold
commit: a68c5464df026313949c57fa11b012751f90cd29
Author: Stephen Arnold  gentoo  org>
AuthorDate: Sun Nov 17 19:34:27 2019 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sun Nov 17 19:37:13 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a68c5464

x11-misc/xautolock: keyword for arm/arm64

Package-Manager: Portage-2.3.67, Repoman-2.3.17
Signed-off-by: Steve Arnold  gentoo.org>

 x11-misc/xautolock/xautolock-2.2_p5_p2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/x11-misc/xautolock/xautolock-2.2_p5_p2.ebuild 
b/x11-misc/xautolock/xautolock-2.2_p5_p2.ebuild
index 4a586f59b32..b83b2f63ac4 100644
--- a/x11-misc/xautolock/xautolock-2.2_p5_p2.ebuild
+++ b/x11-misc/xautolock/xautolock-2.2_p5_p2.ebuild
@@ -16,7 +16,7 @@ SRC_URI="
 "
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~ppc ~sparc ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~sparc ~x86"
 
 RDEPEND="
x11-libs/libXScrnSaver



[gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/

2019-11-10 Thread Steve Arnold
commit: 9d14e57c67797ad976bd6c5f45756c93c87dc92c
Author: Stephen Arnold  gentoo  org>
AuthorDate: Sun Nov 10 03:39:27 2019 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sun Nov 10 03:40:38 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9d14e57c

net-misc/ntpsec: fix logrotate, inherit user, QA issues (really)

* fixes bug 697948 (use acct-group/acct-user)
* fixes bug 698042 (logrotate)
* fixes some QA issues from bug 695088 but leaves clock flags (for now)
* does not address in-progress bugs or pre-1.1.7

Package-Manager: Portage-2.3.67, Repoman-2.3.17
Signed-off-by: Steve Arnold  gentoo.org>

 net-misc/ntpsec/ntpsec-1.1.7-r1.ebuild | 13 ++---
 net-misc/ntpsec/ntpsec-.ebuild | 11 +--
 2 files changed, 11 insertions(+), 13 deletions(-)

diff --git a/net-misc/ntpsec/ntpsec-1.1.7-r1.ebuild 
b/net-misc/ntpsec/ntpsec-1.1.7-r1.ebuild
index 1ef2fda749d..984a26200b8 100644
--- a/net-misc/ntpsec/ntpsec-1.1.7-r1.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.1.7-r1.ebuild
@@ -6,13 +6,13 @@ EAPI=6
 PYTHON_COMPAT=( python2_7 python3_{5,6} )
 PYTHON_REQ_USE='threads(+)'
 
-inherit flag-o-matic python-r1 waf-utils systemd user
+inherit flag-o-matic python-r1 waf-utils systemd
 
 if [[ ${PV} == ** ]]; then
inherit git-r3
EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git";
BDEPEND=""
-   KEYWORDS="amd64"
+   KEYWORDS=""
 else
SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz";
RESTRICT="mirror"
@@ -48,6 +48,8 @@ RDEPEND="${CDEPEND}
ntpviz? ( sci-visualization/gnuplot media-fonts/liberation-fonts )
!net-misc/ntp
!net-misc/openntpd
+   acct-group/ntp
+   acct-user/ntp
 "
 DEPEND="${CDEPEND}
app-text/asciidoc
@@ -60,15 +62,11 @@ DEPEND="${CDEPEND}
 
 WAF_BINARY="${S}/waf"
 
-pkg_setup() {
-   enewgroup ntp 123
-   enewuser ntp 123 -1 /dev/null ntp
-}
-
 src_prepare() {
default
# Remove autostripping of binaries
sed -i -e '/Strip binaries/d' wscript
+   eapply "${FILESDIR}/${P}"-make-sure-logrotate-config-has-missingok.patch
if ! use libbsd ; then
epatch "${FILESDIR}/${PN}-no-bsd.patch"
fi
@@ -123,6 +121,7 @@ src_install() {
waf-utils_src_install
}
python_foreach_impl run_in_build_dir python_install
+   python_foreach_impl python_optimize
 
# Install heat generating scripts
use heat && dosbin "${S}"/contrib/ntpheat{,usb}

diff --git a/net-misc/ntpsec/ntpsec-.ebuild 
b/net-misc/ntpsec/ntpsec-.ebuild
index 050f701b387..0d9f22dc3aa 100644
--- a/net-misc/ntpsec/ntpsec-.ebuild
+++ b/net-misc/ntpsec/ntpsec-.ebuild
@@ -6,7 +6,7 @@ EAPI=6
 PYTHON_COMPAT=( python2_7 python3_{5,6} )
 PYTHON_REQ_USE='threads(+)'
 
-inherit flag-o-matic python-r1 waf-utils systemd user
+inherit flag-o-matic python-r1 waf-utils systemd
 
 if [[ ${PV} == ** ]]; then
inherit git-r3
@@ -48,6 +48,8 @@ RDEPEND="${CDEPEND}
ntpviz? ( sci-visualization/gnuplot media-fonts/liberation-fonts )
!net-misc/ntp
!net-misc/openntpd
+   acct-group/ntp
+   acct-user/ntp
 "
 DEPEND="${CDEPEND}
app-text/asciidoc
@@ -60,11 +62,6 @@ DEPEND="${CDEPEND}
 
 WAF_BINARY="${S}/waf"
 
-pkg_setup() {
-   enewgroup ntp 123
-   enewuser ntp 123 -1 /dev/null ntp
-}
-
 src_prepare() {
default
# Remove autostripping of binaries
@@ -93,6 +90,7 @@ src_configure() {
--nopyc
--nopyo
--refclock="${CLOCKSTRING}"
+   --build-epoch="$(date +%s)"
$(use doc   && echo "--enable-doc")
$(use early && echo "--enable-early-droproot")
$(use gdb   && echo "--enable-debug-gdb")
@@ -122,6 +120,7 @@ src_install() {
waf-utils_src_install
}
python_foreach_impl run_in_build_dir python_install
+   python_foreach_impl python_optimize
 
# Install heat generating scripts
use heat && dosbin "${S}"/contrib/ntpheat{,usb}



[gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/files/

2019-11-10 Thread Steve Arnold
commit: a04a2aff83b5885ab0249b3ac7e18a9df792f9b9
Author: Stephen Arnold  gentoo  org>
AuthorDate: Sat Nov  9 19:13:35 2019 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sat Nov  9 19:15:09 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a04a2aff

net-misc/ntpsec: add acct deps, fix logrotate config, some QA issues

* fixes bug 697948 (use acct-group/acct-user)
* fixes bug 698042 (logrotate)
* fixes some QA issues from bug 695088 but leaves (adjusted) clock flags
  for time server requirements
* does not address in-progress bugs

Package-Manager: Portage-2.3.67, Repoman-2.3.12
Signed-off-by: Steve Arnold  gentoo.org>

 ...-make-sure-logrotate-config-has-missingok.patch | 28 ++
 1 file changed, 28 insertions(+)

diff --git 
a/net-misc/ntpsec/files/ntpsec-1.1.7-make-sure-logrotate-config-has-missingok.patch
 
b/net-misc/ntpsec/files/ntpsec-1.1.7-make-sure-logrotate-config-has-missingok.patch
new file mode 100644
index 000..4556d7a50f7
--- /dev/null
+++ 
b/net-misc/ntpsec/files/ntpsec-1.1.7-make-sure-logrotate-config-has-missingok.patch
@@ -0,0 +1,28 @@
+From 252a301aba9a685b5b6df7824c576f52cc19fb81 Mon Sep 17 00:00:00 2001
+From: Stephen Arnold 
+Date: Fri, 8 Nov 2019 16:41:16 -0800
+Subject: [PATCH] etc/logrotate-config.ntpd: make sure it has missingok
+
+* note master branch does not need this, but all the releases do
+
+Signed-off-by: Stephen Arnold 
+---
+ etc/logrotate-config.ntpd | 2 ++
+ 1 file changed, 2 insertions(+)
+
+diff --git a/etc/logrotate-config.ntpd b/etc/logrotate-config.ntpd
+index e5d8616bf..a49129d45 100644
+--- a/etc/logrotate-config.ntpd
 b/etc/logrotate-config.ntpd
+@@ -5,6 +5,8 @@
+ 
+ /var/log/ntpd.log {
+ monthly
++notifempty
++missingok
+ postrotate
+   /usr/bin/killall -HUP ntpd
+ endscript
+-- 
+2.21.0
+



[gentoo-commits] repo/gentoo:master commit in: app-misc/vit/files/, app-misc/vit/

2019-10-03 Thread Steve Arnold
commit: 7636d15b1344789ddaf187f2561b3f72efa15215
Author: Stephen Arnold  gentoo  org>
AuthorDate: Fri Oct  4 02:43:40 2019 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Fri Oct  4 02:43:40 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7636d15b

app-misc/vit: switch to current upstream, remove stale files/cruft

* add last perl-based release
* remove stale ebuilds and patches

Package-Manager: Portage-2.3.67, Repoman-2.3.12
Signed-off-by: Steve Arnold  gentoo.org>

 app-misc/vit/Manifest  |  2 +-
 app-misc/vit/files/vit-allow-nonsudo-install.patch | 36 ---
 app-misc/vit/files/vit-fix-man-installs.patch  | 19 --
 app-misc/vit/metadata.xml  | 13 ---
 app-misc/vit/vit-1.2-r1.ebuild | 38 
 app-misc/vit/vit-1.3.ebuild| 23 +
 app-misc/vit/vit-.ebuild   | 40 --
 7 files changed, 32 insertions(+), 139 deletions(-)

diff --git a/app-misc/vit/Manifest b/app-misc/vit/Manifest
index aa025bce1d4..a510b610e0b 100644
--- a/app-misc/vit/Manifest
+++ b/app-misc/vit/Manifest
@@ -1 +1 @@
-DIST vit-1.2.tar.gz 49346 BLAKE2B 
e1dd7cae2db714e20c60dbff704575e185ae2d844f3be8934dbfe0ca8e754b64ad3bd800407ab31024b81cf06f32fde61914e008e1c5d2d4293ee4060785321f
 SHA512 
dc0e09fbec7d77817b044f437e42108a9282e387698dfe23bfbe50a083b708d5d3b432ce9b1fdb93f3fef495af2a5f16107351557a4bb9184c7c762b264f0ed3
+DIST vit-1.3.tar.gz 56035 BLAKE2B 
871e29767dd5aeb39e6876981246c7d42cdbe45320e3a2524bbc3c2aa055b65a04a54ee4a2bc122c3bf689fec93f117ec7b238dd5462a9133c35cf177cf454e7
 SHA512 
45ae4a1d08560d534a02a046d2fcf55c5401f9aaab0abcfbd13070fee28854268ba327018aea40317a184b9e28b074973f5d3e4169a479227e94b8401f066527

diff --git a/app-misc/vit/files/vit-allow-nonsudo-install.patch 
b/app-misc/vit/files/vit-allow-nonsudo-install.patch
deleted file mode 100644
index 0f5626cce37..000
--- a/app-misc/vit/files/vit-allow-nonsudo-install.patch
+++ /dev/null
@@ -1,36 +0,0 @@
-diff --git a/Makefile.in b/Makefile.in
-index 87abf5b..66d6acd 100644
 a/Makefile.in
-+++ b/Makefile.in
-@@ -7,6 +7,8 @@ VERSION=@VERSION@
- TASK=@TASK@
- PERL=@PERL@
- CLEAR=@CLEAR@
-+SUDO=@SUDO@
-+SUDO=sudo
- 
- .PHONY : install
- 
-@@ -28,14 +30,14 @@ build:
-   chmod 755 vit
- 
- install:
--  sudo mkdir -p @prefix@/bin
--  sudo cp vit @prefix@/bin/vit
--  sudo mkdir -p @prefix@/man/man1
--  sudo cp vit.1 @prefix@/man/man1/
--  sudo mkdir -p @prefix@/man/man5
--  sudo cp vitrc.5 @prefix@/man/man5/
--  sudo mkdir -p @prefix@/etc/
--  sudo cp commands @prefix@/etc/vit-commands
-+  $(SUDO) mkdir -p $(DESTDIR)@prefix@/bin
-+  $(SUDO) cp vit $(DESTDIR)@prefix@/bin/vit
-+  $(SUDO) mkdir -p $(DESTDIR)@prefix@/man/man1
-+  $(SUDO) cp vit.1 $(DESTDIR)@prefix@/man/man1/
-+  $(SUDO) mkdir -p $(DESTDIR)@prefix@/man/man5
-+  $(SUDO) cp vitrc.5 $(DESTDIR)@prefix@/man/man5/
-+  $(SUDO) mkdir -p $(DESTDIR)@prefix@/etc/
-+  $(SUDO) cp commands $(DESTDIR)@prefix@/etc/vit-commands
- 
- autoconf:
-   @make -f .makefile autoconf

diff --git a/app-misc/vit/files/vit-fix-man-installs.patch 
b/app-misc/vit/files/vit-fix-man-installs.patch
deleted file mode 100644
index 9d13fbb287a..000
--- a/app-misc/vit/files/vit-fix-man-installs.patch
+++ /dev/null
@@ -1,19 +0,0 @@
-diff --git a/Makefile.in b/Makefile.in
-index 66d6acd..c167ae4 100644
 a/Makefile.in
-+++ b/Makefile.in
-@@ -32,10 +32,10 @@ build:
- install:
-   $(SUDO) mkdir -p $(DESTDIR)@prefix@/bin
-   $(SUDO) cp vit $(DESTDIR)@prefix@/bin/vit
--  $(SUDO) mkdir -p $(DESTDIR)@prefix@/man/man1
--  $(SUDO) cp vit.1 $(DESTDIR)@prefix@/man/man1/
--  $(SUDO) mkdir -p $(DESTDIR)@prefix@/man/man5
--  $(SUDO) cp vitrc.5 $(DESTDIR)@prefix@/man/man5/
-+  $(SUDO) mkdir -p $(DESTDIR)@prefix@/share/man/man1
-+  $(SUDO) cp vit.1 $(DESTDIR)@prefix@/share/man/man1/
-+  $(SUDO) mkdir -p $(DESTDIR)@prefix@/share/man/man5
-+  $(SUDO) cp vitrc.5 $(DESTDIR)@prefix@/share/man/man5/
-   $(SUDO) mkdir -p $(DESTDIR)@prefix@/etc/
-   $(SUDO) cp commands $(DESTDIR)@prefix@/etc/vit-commands
- 

diff --git a/app-misc/vit/metadata.xml b/app-misc/vit/metadata.xml
index 48a67656210..e5b8618e342 100644
--- a/app-misc/vit/metadata.xml
+++ b/app-misc/vit/metadata.xml
@@ -2,12 +2,15 @@
 http://www.gentoo.org/dtd/metadata.dtd";>
 
 
-   nerd...@gentoo.org
-   Stephen Arnold
+  nerd...@gentoo.org
+  Stephen Arnold
 
 
-   A perl/Curses front end for Taskwarrior (app-misc/task) that
-   provides a fullscreen terminal window with modes and commands
-   modeled after the vi editor.
+  A perl/Curses front end for Taskwarrior (app-misc/task) that
+  provides a fullscreen terminal window with modes and commands
+  modeled after the vi editor.
 
+  
+scottkosty/vit
+  
 

diff

[gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/

2019-09-11 Thread Steve Arnold
commit: b017de7de40f7388b5740769928b999c0314b46e
Author: Stephen Arnold  gentoo  org>
AuthorDate: Wed Sep 11 22:56:58 2019 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Wed Sep 11 22:56:58 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b017de7d

net-misc/ntpsec: libressl not supported upstream in current versions

closes: https://bugs.gentoo.org/689818
Package-Manager: Portage-2.3.67, Repoman-2.3.12
Signed-off-by: Steve Arnold  gentoo.org>

 net-misc/ntpsec/ntpsec-1.1.4.ebuild | 5 ++---
 net-misc/ntpsec/ntpsec-1.1.6.ebuild | 5 ++---
 net-misc/ntpsec/ntpsec-.ebuild  | 5 ++---
 3 files changed, 6 insertions(+), 9 deletions(-)

diff --git a/net-misc/ntpsec/ntpsec-1.1.4.ebuild 
b/net-misc/ntpsec/ntpsec-1.1.4.ebuild
index ed5401217aa..fdf4cc4b9cc 100644
--- a/net-misc/ntpsec/ntpsec-1.1.4.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.1.4.ebuild
@@ -32,7 +32,7 @@ IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
 
 LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
 SLOT="0"
-IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd libressl nist 
ntpviz samba seccomp smear tests" #ionice
+IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd nist ntpviz 
samba seccomp smear tests" #ionice
 REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
 
 # net-misc/pps-tools oncore,pps
@@ -41,8 +41,7 @@ CDEPEND="${PYTHON_DEPS}
sys-libs/libcap
dev-python/psutil[${PYTHON_USEDEP}]
libbsd? ( dev-libs/libbsd:0= )
-   libressl? ( dev-libs/libressl:0= )
-   !libressl? ( dev-libs/openssl:0= )
+   dev-libs/openssl:0=
seccomp? ( sys-libs/libseccomp )
 "
 RDEPEND="${CDEPEND}

diff --git a/net-misc/ntpsec/ntpsec-1.1.6.ebuild 
b/net-misc/ntpsec/ntpsec-1.1.6.ebuild
index cbf16e45b9f..7cc6f74f6d3 100644
--- a/net-misc/ntpsec/ntpsec-1.1.6.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.1.6.ebuild
@@ -32,7 +32,7 @@ IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
 
 LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
 SLOT="0"
-IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd libressl nist 
ntpviz samba seccomp smear tests" #ionice
+IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd nist ntpviz 
samba seccomp smear tests" #ionice
 REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
 
 # net-misc/pps-tools oncore,pps
@@ -41,8 +41,7 @@ CDEPEND="${PYTHON_DEPS}
sys-libs/libcap
dev-python/psutil[${PYTHON_USEDEP}]
libbsd? ( dev-libs/libbsd:0= )
-   libressl? ( dev-libs/libressl:0= )
-   !libressl? ( dev-libs/openssl:0= )
+   dev-libs/openssl:0=
seccomp? ( sys-libs/libseccomp )
 "
 RDEPEND="${CDEPEND}

diff --git a/net-misc/ntpsec/ntpsec-.ebuild 
b/net-misc/ntpsec/ntpsec-.ebuild
index cbf16e45b9f..7cc6f74f6d3 100644
--- a/net-misc/ntpsec/ntpsec-.ebuild
+++ b/net-misc/ntpsec/ntpsec-.ebuild
@@ -32,7 +32,7 @@ IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
 
 LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
 SLOT="0"
-IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd libressl nist 
ntpviz samba seccomp smear tests" #ionice
+IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libbsd nist ntpviz 
samba seccomp smear tests" #ionice
 REQUIRED_USE="${PYTHON_REQUIRED_USE} nist? ( rclock_local )"
 
 # net-misc/pps-tools oncore,pps
@@ -41,8 +41,7 @@ CDEPEND="${PYTHON_DEPS}
sys-libs/libcap
dev-python/psutil[${PYTHON_USEDEP}]
libbsd? ( dev-libs/libbsd:0= )
-   libressl? ( dev-libs/libressl:0= )
-   !libressl? ( dev-libs/openssl:0= )
+   dev-libs/openssl:0=
seccomp? ( sys-libs/libseccomp )
 "
 RDEPEND="${CDEPEND}



[gentoo-commits] repo/gentoo:master commit in: dev-lang/python-exec/

2019-08-30 Thread Steve Arnold
commit: 5cd1c950971cf3282c064a6a0ce8ebdd49c07698
Author: Stephen Arnold  gentoo  org>
AuthorDate: Fri Aug 30 16:45:29 2019 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Fri Aug 30 16:47:34 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cd1c950

dev-lang/python-exec: mark stable for arm (bug #692186)

Package-Manager: Portage-2.3.67, Repoman-2.3.12
Signed-off-by: Steve Arnold  gentoo.org>

 dev-lang/python-exec/python-exec-2.4.6-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-lang/python-exec/python-exec-2.4.6-r1.ebuild 
b/dev-lang/python-exec/python-exec-2.4.6-r1.ebuild
index 53ca49df8f3..e540c1d173b 100644
--- a/dev-lang/python-exec/python-exec-2.4.6-r1.ebuild
+++ b/dev-lang/python-exec/python-exec-2.4.6-r1.ebuild
@@ -11,7 +11,7 @@ 
SRC_URI="https://github.com/mgorny/python-exec/releases/download/v${PV}/${P}.tar
 
 LICENSE="BSD-2"
 SLOT="2"
-KEYWORDS="alpha amd64 ~arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~riscv s390 
~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
+KEYWORDS="alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~riscv s390 
~sh sparc x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux 
~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris 
~sparc64-solaris ~x64-solaris ~x86-solaris"
 # Internal Python project hack.  Do not copy it.  Ever.
 IUSE="${_PYTHON_ALL_IMPLS[@]/#/python_targets_}"
 



[gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/files/, net-misc/ntpsec/

2019-08-04 Thread Steve Arnold
commit: a9623dcbb24918843d9454ae04b6b277d25fa2ab
Author: Stephen Arnold  gentoo  org>
AuthorDate: Mon Aug  5 04:58:15 2019 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Mon Aug  5 04:59:18 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a9623dcb

net-misc/ntpsec: update ebuilds and use flags, fix for bug #685456

* (modified) patch supplied by James Browning  gmail.com>
  only applies to 1.1.4 and up
* remove obsolete configure option from 1.1.6 and up

Package-Manager: Portage-2.3.67, Repoman-2.3.12
Signed-off-by: Steve Arnold  gentoo.org>

 net-misc/ntpsec/Manifest   |  2 +-
 net-misc/ntpsec/files/ntpsec-no-bsd.patch  | 35 ++
 net-misc/ntpsec/metadata.xml   |  3 +-
 .../{ntpsec-1.1.3.ebuild => ntpsec-1.1.4.ebuild}   | 11 +--
 net-misc/ntpsec/ntpsec-1.1.6.ebuild| 11 +--
 net-misc/ntpsec/ntpsec-.ebuild | 11 +--
 6 files changed, 62 insertions(+), 11 deletions(-)

diff --git a/net-misc/ntpsec/Manifest b/net-misc/ntpsec/Manifest
index 3df5149733d..4b1db6e9657 100644
--- a/net-misc/ntpsec/Manifest
+++ b/net-misc/ntpsec/Manifest
@@ -1,2 +1,2 @@
-DIST ntpsec-1.1.3.tar.gz 2462330 BLAKE2B 
903e569ad72939def9df31d7b51b2623b140754de67362213f39e39ad770d903d70c45a10a18e98ae35927792666ae27de40b41a5c0bfe6fd8cfa6a37102d4e8
 SHA512 
df60c5fa63d4c94529ba1e8b21c7d6b5d0c9fb810ed7546a621b072725a6ff03edbd2dcbc3baf19ac3b3a9b82d7aff3ddee4ab8c93559b7065ed06a211b538c4
+DIST ntpsec-1.1.4.tar.gz 2536268 BLAKE2B 
320e7afee1b776e0327f8bf34bc0b8cd3a2c67fd9fd16564323ce825cb9e36d7d5fb48a38b734600286cbd039f41f296d9e488e25d2680f08412aa983101987b
 SHA512 
1b74e7cb87e189137e1b66b52ce89498e0061a10abf017c36bfdecb4aefe9c3fb6e8fd7819a9f822fb946dca6ae20ee724b2aed35e03d73f8e3015d8818d02db
 DIST ntpsec-1.1.6.tar.gz 2600632 BLAKE2B 
1ee3e266f9a0ff45fc8f001a2b5a1722c6acf75a2151ee3724812acef3409eccbb865b321a3a346c7ced1770aa24190281a94593b881b4bbb0a2b2e6df5629cc
 SHA512 
f57fde6f329a858313968798d64df5e93d7eba43edf4752cd0eb45ff1a2237ce2731b4603ec997c493dea85edb42976f96eb1508beae087a8c2ae8a76c0a6941

diff --git a/net-misc/ntpsec/files/ntpsec-no-bsd.patch 
b/net-misc/ntpsec/files/ntpsec-no-bsd.patch
new file mode 100644
index 000..66dc9d34d2e
--- /dev/null
+++ b/net-misc/ntpsec/files/ntpsec-no-bsd.patch
@@ -0,0 +1,35 @@
+--- a/wscript   2019-05-25 07:41:24.783651700 -0700
 b/wscript   2019-06-22 12:47:02.288170100 -0700
+@@ -305,12 +305,6 @@
+ ctx.check_cc(lib="m", comment="Math library")
+ ctx.check_cc(lib="rt", mandatory=False, comment="realtime library")
+ ctx.check_cc(lib="pthread", mandatory=False, comment="threads library")
+-ctx.check_cc(lib="execinfo", mandatory=False,
+- comment="BSD backtrace library")
+-ret = ctx.check_cc(lib="bsd", mandatory=False,
+-   comment="BSD compatibility library")
+-if ret:
+-ctx.env.LDFLAGS += ["-lbsd"]
+
+ # -lssp and -lssp_nonshared may be needed by older gcc to
+ # support "-fstack-protector-all"
+@@ -682,19 +676,6 @@
+prerequisites=ft[1], use=ft[2],
+mandatory=ft[3])
+
+-# check for BSD versions outside of libc
+-if not ctx.get_define("HAVE_STRLCAT"):
+-ret = probe_function(ctx, function='strlcat',
+- prerequisites=['bsd/string.h'])
+-if ret:
+-ctx.define("HAVE_STRLCAT", 1, comment="Using bsd/strlcat")
+-
+-if not ctx.get_define("HAVE_STRLCPY"):
+-ret = probe_function(ctx, function='strlcpy',
+- prerequisites=['bsd/string.h'])
+-if ret:
+-ctx.define("HAVE_STRLCPY", 1, comment="Using bsd/strlcpy")
+-
+ # Nobody uses the symbol, but this seems like a good sanity check.
+ ctx.check_cc(header_name="stdbool.h", mandatory=True,
+  comment="Sanity check.")

diff --git a/net-misc/ntpsec/metadata.xml b/net-misc/ntpsec/metadata.xml
index 018f5f40f71..cba4511bd70 100644
--- a/net-misc/ntpsec/metadata.xml
+++ b/net-misc/ntpsec/metadata.xml
@@ -16,7 +16,8 @@ NTPsec project - a secure, hardened, and improved 
implementation of Network Time
Drop root privileges early
Enable debugging with gdb
Install contrib heat generating scripts
-   Enable lockclock
+   Use libbsd instead of internal funcs
+   Set local clock deps
Make visualizations of offsets, jiffies, 
etc.
Oncore driver
Trimble driver

diff --git a/net-misc/ntpsec/ntpsec-1.1.3.ebuild 
b/net-misc/ntpsec/ntpsec-1.1.4.ebuild
similarity index 93%
r

[gentoo-commits] repo/gentoo:master commit in: x11-libs/vte/

2019-08-03 Thread Steve Arnold
commit: 822f33ece0a835b4f234c12af16cfc5d0e1cdd55
Author: Stephen Arnold  gentoo  org>
AuthorDate: Sun Aug  4 02:20:55 2019 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sun Aug  4 02:20:55 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=822f33ec

x11-libs/vte: set VALA_MAX_API_VERSION to 0.42 so it builds again

* also raise min version to 0.36 for cleanliness

Package-Manager: Portage-2.3.67, Repoman-2.3.12
Signed-off-by: Steve Arnold  gentoo.org>

 x11-libs/vte/vte-0.54.4.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/x11-libs/vte/vte-0.54.4.ebuild b/x11-libs/vte/vte-0.54.4.ebuild
index 5880df276f9..54d35883929 100644
--- a/x11-libs/vte/vte-0.54.4.ebuild
+++ b/x11-libs/vte/vte-0.54.4.ebuild
@@ -3,7 +3,8 @@
 
 EAPI="6"
 VALA_USE_DEPEND="vapigen"
-VALA_MIN_API_VERSION="0.32"
+VALA_MIN_API_VERSION="0.36"
+VALA_MAX_API_VERSION="0.42"
 
 inherit gnome2 vala
 



[gentoo-commits] repo/gentoo:master commit in: app-admin/hddtemp/, app-admin/hddtemp/files/

2019-07-27 Thread Steve Arnold
commit: f210149eaacd6e727606a316c0b5c864f4e9e6c8
Author: Stephen Arnold  gentoo  org>
AuthorDate: Sat Jul 27 22:47:46 2019 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sat Jul 27 22:47:46 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f210149e

app-admin/hddtemp: simplify and correct baseline init script

* some environments (eg, musl hardened) do not work properly with the
  pidfile arg, so fall back to procname for correct rc-status

Package-Manager: Portage-2.3.67, Repoman-2.3.12
Signed-off-by: Steve Arnold  gentoo.org>

 app-admin/hddtemp/files/hddtemp-init| 22 --
 app-admin/hddtemp/files/hddtemp-init-r1 | 11 +++
 app-admin/hddtemp/hddtemp-0.3_beta15-r28.ebuild |  2 +-
 3 files changed, 12 insertions(+), 23 deletions(-)

diff --git a/app-admin/hddtemp/files/hddtemp-init 
b/app-admin/hddtemp/files/hddtemp-init
deleted file mode 100644
index 39a640997cf..000
--- a/app-admin/hddtemp/files/hddtemp-init
+++ /dev/null
@@ -1,22 +0,0 @@
-#!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-depend() {
-   need localmount
-}
-
-start() {
-   ebegin "Starting hddtemp daemon"
-   /sbin/start-stop-daemon --start --quiet --exec ${HDDTEMP_EXEC} \
-   -- -d ${HDDTEMP_OPTS} ${HDDTEMP_DRIVES}
-   eend $?
-}
-
-stop() {
-   ebegin "Stopping hddtemp daemon"
-   start-stop-daemon --stop --quiet --exec ${HDDTEMP_EXEC}
-   eend $?
-}
-
-

diff --git a/app-admin/hddtemp/files/hddtemp-init-r1 
b/app-admin/hddtemp/files/hddtemp-init-r1
new file mode 100644
index 000..00d09ac2c61
--- /dev/null
+++ b/app-admin/hddtemp/files/hddtemp-init-r1
@@ -0,0 +1,11 @@
+#!/sbin/openrc-run
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+command="${HDDTEMP_EXEC}"
+command_args="-d ${HDDTEMP_OPTS} ${HDDTEMP_DRIVES}"
+procname="hddtemp"
+
+depend() {
+   need localmount
+}

diff --git a/app-admin/hddtemp/hddtemp-0.3_beta15-r28.ebuild 
b/app-admin/hddtemp/hddtemp-0.3_beta15-r28.ebuild
index c1ffdee13a6..293c78379ca 100644
--- a/app-admin/hddtemp/hddtemp-0.3_beta15-r28.ebuild
+++ b/app-admin/hddtemp/hddtemp-0.3_beta15-r28.ebuild
@@ -70,7 +70,7 @@ src_install() {
 
update_db "${ED}/usr/share/hddtemp/hddgentoo.db" 
"${ED}/usr/share/hddtemp/hddtemp.db"
newconfd "${FILESDIR}"/hddtemp-conf.d hddtemp
-   newinitd "${FILESDIR}"/hddtemp-init hddtemp
+   newinitd "${FILESDIR}"/hddtemp-init-r1 hddtemp
systemd_newunit "${FILESDIR}"/hddtemp.service-r1 "${PN}.service"
systemd_install_serviced "${FILESDIR}"/hddtemp.service.conf
 



[gentoo-commits] repo/gentoo:master commit in: dev-util/cccc/files/, dev-util/cccc/

2019-05-30 Thread Steve Arnold
commit: 9498391cdfe099fb51b68d5a0f68ef8be7476fb7
Author: Stephen Arnold  gentoo  org>
AuthorDate: Thu May 30 23:05:07 2019 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Thu May 30 23:05:07 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9498391c

dev-util/: rev-bump for eapi migration and QA cleanup

* use EAPI 6, filter lto flags, clean up QA issues
  (restore fixed version from the trash)

Bug: https://bugs.gentoo.org/651446
Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: Steve Arnold  gentoo.org>

 dev-util//Manifest   |  1 +
 dev-util//-3.1.5-r1.ebuild   | 70 
 dev-util//files/-MFC-dialect.opt | 21 +
 dev-util//files/-c_dialect.patch | 79 
 dev-util//metadata.xml   | 19 
 5 files changed, 190 insertions(+)

diff --git a/dev-util//Manifest b/dev-util//Manifest
new file mode 100644
index 000..887fa77c8cf
--- /dev/null
+++ b/dev-util//Manifest
@@ -0,0 +1 @@
+DIST -3.1.5.tar.gz 662760 BLAKE2B 
57817ef9a44f002c017245d7dd3b1ef97fec59b59bce465d5e5e1cc12409b5602cfd8bf7ee938e526af9bcc11398639900d26848aa4f8c7f623669159de17117
 SHA512 
61544669a75ff7bd99c6ff5bb1e6ec163f2a09f4538493fe60e8f9f95eab7ba19ad6d39b6717ae010a223b8efe48c497a4feb8ead218e350ee2ab91b9c52c969

diff --git a/dev-util//-3.1.5-r1.ebuild 
b/dev-util//-3.1.5-r1.ebuild
new file mode 100644
index 000..a26523720d4
--- /dev/null
+++ b/dev-util//-3.1.5-r1.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit eutils toolchain-funcs flag-o-matic
+
+DESCRIPTION="Source metrics (line counts, complexity, etc) for Java and C++"
+HOMEPAGE="http://sarnold.github.io//";
+if [[ ${PV} = * ]]; then
+   EGIT_REPO_URI="https://github.com/sarnold/.git";
+   EGIT_BRANCH="master"
+   inherit git-r3
+else
+   SRC_URI="https://github.com/sarnold/${PN}/archive/${PV}.tar.gz -> 
${P}.tar.gz"
+fi
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+IUSE="apidoc debug doc mfc"
+
+RDEPEND=""
+DEPEND="${RDEPEND}
+   apidoc? ( app-doc/doxygen[dot] )
+   "
+
+src_prepare() {
+   is-flagq -flto* && filter-flags -flto* -fuse-linker-plugin
+   use mfc && eapply "${FILESDIR}"/${PN}-c_dialect.patch
+   default
+
+}
+
+src_compile() {
+   tc-export CC CXX LD AS AR NM RANLIB STRIP OBJCOPY
+   if use debug ; then
+   DEBUG="true" emake CCC=$(tc-getCXX) CC=$(tc-getCC) 
+   else
+   emake CCC=$(tc-getCXX) CC=$(tc-getCC) 
+   fi
+
+   use apidoc && emake CCC=$(tc-getCXX) metrics docs
+}
+
+src_test() {
+   emake CCC=$(tc-getCXX) test
+}
+
+src_install() {
+   dobin /
+
+   dodoc README.md
+
+   if use mfc ; then
+   insinto /usr/share/doc/${PF}
+   doins "${FILESDIR}"/-MFC-dialect.opt
+   fi
+
+   if use doc ; then
+   insinto /usr/share/doc/${PF}/html
+   doins /*.html || die "html docs failed"
+   if use apidoc ; then
+   insinto /usr/share/doc/${PF}/html/api
+   doins -r doxygen/html/* || die "dox failed"
+   insinto /usr/share/doc/${PF}/html/metrics
+   doins out/* || die "metrics failed"
+   fi
+   fi
+}

diff --git a/dev-util//files/-MFC-dialect.opt 
b/dev-util//files/-MFC-dialect.opt
new file mode 100644
index 000..4c4acb32e1f
--- /dev/null
+++ b/dev-util//files/-MFC-dialect.opt
@@ -0,0 +1,21 @@
+;;Pro*C embedded SQL
+;; looks like
+;; EXEC SQL UPDATE ARM43_OD_PRODUIT_SERV
+;; SET ARM43ID_TPS_FIN = NULL WHERE
+ARM43ID_TPS_FIN = 0;
+
+_FileExt@.pc@c++.ansi@
+
+_Dialect@c++.pc@EXEC@skip_stmt@
+
+;;MFC
+_Dialect@c++.mfc@ON_WM_PAINT@skip_line@
+_Dialect@c++.mfc@DECLARE_MESSAGE_MAP@skip_line@
+_Dialect@c++.mfc@DECLARE_DISPATCH_MAP@skip_line@
+
+_Dialect@c++.stl@__STL_BEGIN_NAMESPACE@ignore@
+_Dialect@c++.stl@__STL_END_NAMESPACE@ignore@
+
+_Dialect@c++.mfc@BEGIN_EVENT_MAP@start_skipping@
+_Dialect@c++.mfc@END_EVENT_MAP@stop_skipping@
+

diff --git a/dev-util//files/-c_dialect.patch 
b/dev-util//files/-c_dialect.patch
new file mode 100644
index 000..c8951aef13c
--- /dev/null
+++ b/dev-util//files/-c_dialect.patch
@@ -0,0 +1,79 @@
+diff --git a//.g b//.g
+index bdb6805..fd7b504 100644
+--- a//.g
 b//.g
+@@ -84,6 +84,30 @@ inline void endOfLine(CLexer &

[gentoo-commits] repo/gentoo:master commit in: dev-util/cccc/

2019-05-05 Thread Steve Arnold
commit: ef188ada4d7af85d45a874a1a3da2547312280f4
Author: Stephen Arnold  gentoo  org>
AuthorDate: Sun May  5 18:31:30 2019 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sun May  5 18:31:30 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ef188ada

dev-util/: rev-bump for eapi migration and QA cleanup

* use EAPI 6, filter lto flags, clean up QA issues

Bug: https://bugs.gentoo.org/651446
Package-Manager: Portage-2.3.64, Repoman-2.3.12
Signed-off-by: Steve Arnold  gentoo.org>

 .../{-3.1.5.ebuild => -3.1.5-r1.ebuild}| 32 +++---
 1 file changed, 16 insertions(+), 16 deletions(-)

diff --git a/dev-util//-3.1.5.ebuild 
b/dev-util//-3.1.5-r1.ebuild
similarity index 60%
rename from dev-util//-3.1.5.ebuild
rename to dev-util//-3.1.5-r1.ebuild
index 07042e9343c..a26523720d4 100644
--- a/dev-util//-3.1.5.ebuild
+++ b/dev-util//-3.1.5-r1.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI=5
+EAPI=6
 
 inherit eutils toolchain-funcs flag-o-matic
 
@@ -17,7 +17,7 @@ fi
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux ~ppc-macos"
 IUSE="apidoc debug doc mfc"
 
 RDEPEND=""
@@ -25,15 +25,16 @@ DEPEND="${RDEPEND}
apidoc? ( app-doc/doxygen[dot] )
"
 
-MAKEOPTS="-j1"
-
 src_prepare() {
-   use mfc && epatch "${FILESDIR}"/${PN}-c_dialect.patch
+   is-flagq -flto* && filter-flags -flto* -fuse-linker-plugin
+   use mfc && eapply "${FILESDIR}"/${PN}-c_dialect.patch
+   default
+
 }
 
 src_compile() {
+   tc-export CC CXX LD AS AR NM RANLIB STRIP OBJCOPY
if use debug ; then
-   export STRIP_MASK="*/bin/*"
DEBUG="true" emake CCC=$(tc-getCXX) CC=$(tc-getCC) 
else
emake CCC=$(tc-getCXX) CC=$(tc-getCC) 
@@ -52,19 +53,18 @@ src_install() {
dodoc README.md
 
if use mfc ; then
-   dodoc "${FILESDIR}"/-MFC-dialect.opt
-   docompress -x "/usr/share/doc/${PF}/-MFC-dialect.opt"
+   insinto /usr/share/doc/${PF}
+   doins "${FILESDIR}"/-MFC-dialect.opt
fi
 
if use doc ; then
-   dodoc CHANGELOG.md HISTORY.md
-   dohtml /*.html || die "html docs failed"
+   insinto /usr/share/doc/${PF}/html
+   doins /*.html || die "html docs failed"
if use apidoc ; then
-   docinto api
-   dohtml -A svg -r doxygen/html || die "dox failed"
-   docompress -x "/usr/share/doc/${PF}/api"
-   docinto metrics
-   dohtml out/* || die "metrics failed"
+   insinto /usr/share/doc/${PF}/html/api
+   doins -r doxygen/html/* || die "dox failed"
+   insinto /usr/share/doc/${PF}/html/metrics
+   doins out/* || die "metrics failed"
fi
fi
 }



[gentoo-commits] repo/gentoo:master commit in: dev-lang/erlang/files/, dev-lang/erlang/

2018-08-06 Thread Steve Arnold
commit: cf2f2958d1397ef24fcb402e1115704058c05814
Author: Stephen L Arnold  gentoo  org>
AuthorDate: Tue Aug  7 00:24:33 2018 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Tue Aug  7 00:25:46 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf2f2958

dev-lang/erlang: add create pidfile patch for epmd and openrc

* this is supposed to be clean and minimally invasive, so follows
  upstream idef practices :/

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 dev-lang/erlang/erlang-20.3.2.ebuild   |  1 +
 dev-lang/erlang/erlang-20.3.8.ebuild   |  1 +
 dev-lang/erlang/erlang-20.3.ebuild |  3 +-
 dev-lang/erlang/erlang-21.0.2.ebuild   |  1 +
 dev-lang/erlang/files/epmd.init| 13 +++-
 ...ang-add-epmd-pid-file-creation-for-openrc.patch | 90 ++
 6 files changed, 105 insertions(+), 4 deletions(-)

diff --git a/dev-lang/erlang/erlang-20.3.2.ebuild 
b/dev-lang/erlang/erlang-20.3.2.ebuild
index d9828cad710..fa93bdca560 100644
--- a/dev-lang/erlang/erlang-20.3.2.ebuild
+++ b/dev-lang/erlang/erlang-20.3.2.ebuild
@@ -48,6 +48,7 @@ S="${WORKDIR}/otp-OTP-${PV}"
 PATCHES=(
"${FILESDIR}/18.2.1-wx3.0.patch"
"${FILESDIR}/${PN}-20.3.2-dont-ignore-LDFLAGS.patch"
+   "${FILESDIR}/${PN}-add-epmd-pid-file-creation-for-openrc.patch"
)
 
 SITEFILE=50"${PN}"-gentoo.el

diff --git a/dev-lang/erlang/erlang-20.3.8.ebuild 
b/dev-lang/erlang/erlang-20.3.8.ebuild
index ed20da173d4..5ca952eeb26 100644
--- a/dev-lang/erlang/erlang-20.3.8.ebuild
+++ b/dev-lang/erlang/erlang-20.3.8.ebuild
@@ -48,6 +48,7 @@ S="${WORKDIR}/otp-OTP-${PV}"
 PATCHES=(
"${FILESDIR}/18.2.1-wx3.0.patch"
"${FILESDIR}/${PN}-20.3.2-dont-ignore-LDFLAGS.patch"
+   "${FILESDIR}/${PN}-add-epmd-pid-file-creation-for-openrc.patch"
)
 
 SITEFILE=50"${PN}"-gentoo.el

diff --git a/dev-lang/erlang/erlang-20.3.ebuild 
b/dev-lang/erlang/erlang-20.3.ebuild
index 80c077ee54b..80b1e5b08a4 100644
--- a/dev-lang/erlang/erlang-20.3.ebuild
+++ b/dev-lang/erlang/erlang-20.3.ebuild
@@ -48,7 +48,8 @@ SITEFILE=50${PN}-gentoo.el
 src_prepare() {
default
 
-   eapply "${FILESDIR}"/18.2.1-wx3.0.patch
+   eapply "${FILESDIR}"/18.2.1-wx3.0.patch \
+   "${FILESDIR}"/${PN}-add-epmd-pid-file-creation-for-openrc.patch
 
if ! use odbc; then
sed -i 's: odbc : :' lib/Makefile || die

diff --git a/dev-lang/erlang/erlang-21.0.2.ebuild 
b/dev-lang/erlang/erlang-21.0.2.ebuild
index 4d85955c470..874512907a2 100644
--- a/dev-lang/erlang/erlang-21.0.2.ebuild
+++ b/dev-lang/erlang/erlang-21.0.2.ebuild
@@ -47,6 +47,7 @@ S="${WORKDIR}/otp-OTP-${PV}"
 PATCHES=(
"${FILESDIR}/18.2.1-wx3.0.patch"
"${FILESDIR}/${PN}-20.3.2-dont-ignore-LDFLAGS.patch"
+   "${FILESDIR}/${PN}-add-epmd-pid-file-creation-for-openrc.patch"
)
 
 SITEFILE=50"${PN}"-gentoo.el

diff --git a/dev-lang/erlang/files/epmd.init b/dev-lang/erlang/files/epmd.init
index 9b3b9e2ad72..f0ef7c22416 100644
--- a/dev-lang/erlang/files/epmd.init
+++ b/dev-lang/erlang/files/epmd.init
@@ -1,14 +1,21 @@
 #!/sbin/openrc-run
-# Copyright 1999-2012 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the Erlang Public License 1.1
 
+ZT_ADDRESS=""
+pidfile="/var/run/epmd.pid"
+command_args="-daemon -relaxed_command_check -address 127.0.0.1"
+
 depend() {
-   need net
+   need loopback
+   before sshd
 }
 
 start() {
ebegin "Starting Erlang Port Mapper Daemon"
-   start-stop-daemon --start --quiet --user nobody --group nobody --exec 
/usr/bin/epmd -- -daemon
+   start-stop-daemon --start --quiet \
+   --pidfile $pidfile \
+   --exec /usr/bin/epmd -- $command_args
eend $?
 }
 

diff --git 
a/dev-lang/erlang/files/erlang-add-epmd-pid-file-creation-for-openrc.patch 
b/dev-lang/erlang/files/erlang-add-epmd-pid-file-creation-for-openrc.patch
new file mode 100644
index 000..56e3946c93f
--- /dev/null
+++ b/dev-lang/erlang/files/erlang-add-epmd-pid-file-creation-for-openrc.patch
@@ -0,0 +1,90 @@
+From 04ace92c33a699f75445dc99c30d521311aba826 Mon Sep 17 00:00:00 2001
+From: Steve Arnold 
+Date: Mon, 6 Aug 2018 16:38:30 -0700
+Subject: [PATCH] Add daemon-mode pid file creation when not configured for
+ systemd
+
+Signed-off-by: Steve Arnold 
+---
+ erts/epmd/src/epmd.c | 39 ++-
+ erts/epmd/src/epmd.h |  3 +++
+ 2 files changed, 41 insertions(+), 1 deletion(-)
+
+diff --git a/erts/epmd/src/epmd.c b/erts/epmd/src/epmd.c
+index 44e997e609..c74888a1ee 100644
+--- a/erts/epmd

[gentoo-commits] repo/gentoo:master commit in: app-admin/logrotate/

2018-06-24 Thread Steve Arnold
commit: d03c93baf5e2eb9ed85eaadf24f9548d991e9adc
Author: Stephen L Arnold  gentoo  org>
AuthorDate: Sun Jun 24 21:55:53 2018 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sun Jun 24 21:55:53 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d03c93ba

app-admin/logrotate: fix patch-not-being-applied error on 3.14

* eapply_user is not currently a substitute for default

Package-Manager: Portage-2.3.40, Repoman-2.3.9

 app-admin/logrotate/logrotate-3.14.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/app-admin/logrotate/logrotate-3.14.0.ebuild 
b/app-admin/logrotate/logrotate-3.14.0.ebuild
index 64edaf09f13..2a41a2fa759 100644
--- a/app-admin/logrotate/logrotate-3.14.0.ebuild
+++ b/app-admin/logrotate/logrotate-3.14.0.ebuild
@@ -49,7 +49,7 @@ PATCHES=(
 
 src_prepare() {
sed -i -e 's#/usr/sbin/logrotate#/usr/bin/logrotate#' 
"${S}"/examples/logrotate.{cron,service} || die
-   eapply_user
+   default
 }
 
 src_configure() {



[gentoo-commits] repo/gentoo:master commit in: sys-apps/fbset/, sys-apps/fbset/files/

2018-04-05 Thread Steve Arnold
commit: 460e5389d2fb5003af2741d50ea347be9e7f104c
Author: Stephen L Arnold  gentoo  org>
AuthorDate: Fri Apr  6 06:16:31 2018 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Fri Apr  6 06:58:09 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=460e5389

sys-apps/fbset: add types patch for musl, update EAPI and copyright date

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 sys-apps/fbset/fbset-2.1.ebuild| 10 ++
 sys-apps/fbset/files/fbset-2.1-add-linux-types-h.patch | 11 +++
 2 files changed, 17 insertions(+), 4 deletions(-)

diff --git a/sys-apps/fbset/fbset-2.1.ebuild b/sys-apps/fbset/fbset-2.1.ebuild
index cd50cd3945d..1c334fdbfb9 100644
--- a/sys-apps/fbset/fbset-2.1.ebuild
+++ b/sys-apps/fbset/fbset-2.1.ebuild
@@ -1,6 +1,8 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
+EAPI=6
+
 inherit toolchain-funcs flag-o-matic eutils
 
 DESCRIPTION="A utility to set the framebuffer videomode"
@@ -16,10 +18,10 @@ DEPEND="sys-devel/bison
sys-devel/flex"
 RDEPEND=""
 
-src_unpack() {
-   unpack ${A}
-   cd "${S}"
+src_prepare() {
epatch "${FILESDIR}/${P}-build.patch"
+   epatch "${FILESDIR}/${P}-add-linux-types-h.patch"
+   default
 }
 
 src_compile() {

diff --git a/sys-apps/fbset/files/fbset-2.1-add-linux-types-h.patch 
b/sys-apps/fbset/files/fbset-2.1-add-linux-types-h.patch
new file mode 100644
index 000..589d61b0ee8
--- /dev/null
+++ b/sys-apps/fbset/files/fbset-2.1-add-linux-types-h.patch
@@ -0,0 +1,11 @@
+--- a/fbset.h  2018-04-05 18:17:18.292975594 +
 b/fbset.h  2018-04-05 18:22:20.448747231 +
+@@ -17,6 +17,8 @@
+ 
+ #ifdef __GLIBC__
+ #include 
++#else
++#include 
+ #endif
+ 
+ #define VERSION "Linux Frame Buffer Device Configuration " \



[gentoo-commits] repo/gentoo:master commit in: net-analyzer/sinfo/

2018-02-28 Thread Steve Arnold
commit: 14aa18c76244df14b60b150db0c0b5c6fff2c26b
Author: Stephen L Arnold  gentoo  org>
AuthorDate: Thu Mar  1 03:19:32 2018 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Thu Mar  1 03:19:32 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14aa18c7

net-analyzer/sinfo: keyword for ~arm, fix ncurses slot and date

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-analyzer/sinfo/sinfo-0.0.48.ebuild | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-analyzer/sinfo/sinfo-0.0.48.ebuild 
b/net-analyzer/sinfo/sinfo-0.0.48.ebuild
index ef6d765d62a..1ced2d8e3ea 100644
--- a/net-analyzer/sinfo/sinfo-0.0.48.ebuild
+++ b/net-analyzer/sinfo/sinfo-0.0.48.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -10,13 +10,13 @@ SRC_URI="${HOMEPAGE}download/${P}.tar.gz"
 
 LICENSE="GPL-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm ~x86"
 IUSE="ipv6 static-libs"
 
 RDEPEND="
!sys-cluster/slurm
dev-libs/boost
-   sys-libs/ncurses
+   sys-libs/ncurses:=
 "
 DEPEND="
${RDEPEND}



[gentoo-commits] repo/gentoo:master commit in: mail-client/claws-mail/

2018-02-28 Thread Steve Arnold
commit: 0338ca6188e2054e86d805bdab33120739ced86f
Author: Stephen L Arnold  gentoo  org>
AuthorDate: Thu Mar  1 02:55:34 2018 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Thu Mar  1 02:55:34 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0338ca61

mail-client/claws-mail: keyword for ~arm and fix date

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 mail-client/claws-mail/claws-mail-3.16.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/mail-client/claws-mail/claws-mail-3.16.0.ebuild 
b/mail-client/claws-mail/claws-mail-3.16.0.ebuild
index 69f04ac6397..06ab77edd3e 100644
--- a/mail-client/claws-mail/claws-mail-3.16.0.ebuild
+++ b/mail-client/claws-mail/claws-mail-3.16.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -13,7 +13,7 @@ 
SRC_URI="http://www.claws-mail.org/download.php?file=releases/${P}.tar.xz";
 
 SLOT="0"
 LICENSE="GPL-3"
-KEYWORDS="~alpha ~amd64 ~hppa ~ppc ~ppc64 ~x86"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~x86"
 
 IUSE="archive bogofilter calendar clamav dbus debug doc gdata +gnutls gtk3 
+imap ipv6 ldap +libcanberra +libindicate +libnotify networkmanager nls nntp 
+notification pda pdf perl +pgp python rss session sieve smime spamassassin 
spam-report spell startup-notification svg valgrind xface"
 REQUIRED_USE="libcanberra? ( notification )



[gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/

2018-02-26 Thread Steve Arnold
commit: 8b1d82cd97939eca1f801304c9a516533b1b9a9f
Author: Stephen L Arnold  gentoo  org>
AuthorDate: Tue Feb 27 07:13:34 2018 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Tue Feb 27 07:13:34 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b1d82cd

net-misc/ntpsec: fix debug flag in git ebuild and add einfo refclocks

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-misc/ntpsec/ntpsec-1.0.0-r4.ebuild |  9 +
 net-misc/ntpsec/ntpsec-.ebuild | 17 +++--
 2 files changed, 24 insertions(+), 2 deletions(-)

diff --git a/net-misc/ntpsec/ntpsec-1.0.0-r4.ebuild 
b/net-misc/ntpsec/ntpsec-1.0.0-r4.ebuild
index e0b19c3eb0d..3d627137b63 100644
--- a/net-misc/ntpsec/ntpsec-1.0.0-r4.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.0.0-r4.ebuild
@@ -143,3 +143,12 @@ src_install() {
cp -v "${FILESDIR}"/ntp.conf "${ED}"/etc/ntp.conf
cp -Rv "${S}"/etc/ntp.d/ "${ED}"/etc/
 }
+
+pkg_postinst() {
+   einfo "If you want to serve time on your local network, then"
+   einfo "you should disable all the ref_clocks unless you have"
+   einfo "one and can get stable time from it.  Feel free to try"
+   einfo "it but PPS probably won't work unless you have a UART"
+   einfo "GPS that actually provides PPS messages."
+}
+

diff --git a/net-misc/ntpsec/ntpsec-.ebuild 
b/net-misc/ntpsec/ntpsec-.ebuild
index a565abf1c84..6b202f93605 100644
--- a/net-misc/ntpsec/ntpsec-.ebuild
+++ b/net-misc/ntpsec/ntpsec-.ebuild
@@ -32,7 +32,7 @@ IUSE_NTPSEC_REFCLOCK=${NTPSEC_REFCLOCK[@]/#/rclock_}
 
 LICENSE="HPND MIT BSD-2 BSD CC-BY-SA-4.0"
 SLOT="0"
-IUSE="${IUSE_NTPSEC_REFCLOCK} doc early gdb heat libressl nist ntpviz samba 
seccomp smear tests" #ionice
+IUSE="${IUSE_NTPSEC_REFCLOCK} debug doc early gdb heat libressl nist ntpviz 
samba seccomp smear tests" #ionice
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
 # net-misc/pps-tools oncore,pps
@@ -57,6 +57,8 @@ DEPEND="${CDEPEND}
!net-misc/openntpd
 "
 
+WAF_BINARY="${S}/waf"
+
 pkg_setup() {
enewgroup ntp 123
enewuser ntp 123 -1 /dev/null ntp
@@ -95,7 +97,9 @@ src_configure() {
$(use samba && echo "--enable-mssntp")
$(use seccomp   && echo "--enable-seccomp")
$(use smear && echo "--enable-leap-smear")
-   $(use tests && echo "--alltests"))
+   $(use tests && echo "--alltests")
+   $(use debug && echo "--enable-debug")
+   )
 
python_configure() {
waf-utils_src_configure "${myconf[@]}"
@@ -104,6 +108,7 @@ src_configure() {
 }
 
 src_compile() {
+   unset MAKEOPTS
python_compile() {
waf-utils_src_compile
}
@@ -139,3 +144,11 @@ src_install() {
cp -v "${FILESDIR}"/ntp.conf "${ED}"/etc/ntp.conf
cp -Rv "${S}"/etc/ntp.d/ "${ED}"/etc/
 }
+
+pkg_postinst() {
+   einfo "If you want to serve time on your local network, then"
+   einfo "you should disable all the ref_clocks unless you have"
+   einfo "one and can get stable time from it.  Feel free to try"
+   einfo "it but PPS probably won't work unless you have a UART"
+   einfo "GPS that actually provides PPS messages."
+}



[gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/

2018-02-25 Thread Steve Arnold
commit: f9947690413d45afd9c34c99382fcab07235408c
Author: Stephen L Arnold  gentoo  org>
AuthorDate: Sun Feb 25 19:58:18 2018 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sun Feb 25 19:58:18 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f9947690

net-misc/ntpsec: unset MAKEOPTS since waf completely ignores it anyway

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-misc/ntpsec/{ntpsec-1.0.0-r3.ebuild => ntpsec-1.0.0-r4.ebuild} | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/net-misc/ntpsec/ntpsec-1.0.0-r3.ebuild 
b/net-misc/ntpsec/ntpsec-1.0.0-r4.ebuild
similarity index 98%
rename from net-misc/ntpsec/ntpsec-1.0.0-r3.ebuild
rename to net-misc/ntpsec/ntpsec-1.0.0-r4.ebuild
index ab3302255ec..e0b19c3eb0d 100644
--- a/net-misc/ntpsec/ntpsec-1.0.0-r3.ebuild
+++ b/net-misc/ntpsec/ntpsec-1.0.0-r4.ebuild
@@ -57,6 +57,8 @@ DEPEND="${CDEPEND}
!net-misc/openntpd
 "
 
+WAF_BINARY="${S}/waf"
+
 pkg_setup() {
enewgroup ntp 123
enewuser ntp 123 -1 /dev/null ntp
@@ -105,6 +107,7 @@ src_configure() {
 }
 
 src_compile() {
+   unset MAKEOPTS
python_compile() {
waf-utils_src_compile
}



[gentoo-commits] repo/gentoo:master commit in: net-misc/ntpsec/files/, net-misc/ntpsec/

2018-02-23 Thread Steve Arnold
commit: 99c380a654731d45bbffe372e5c1aa59613c74f9
Author: Stephen L Arnold  gentoo  org>
AuthorDate: Fri Feb 23 22:53:43 2018 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Fri Feb 23 22:54:27 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99c380a6

net-misc/ntpsec: new ebuild for secure ntp daemon

* refactored version of NTP reference implementation
* integration with gpsd and vendor clock sources

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 net-misc/ntpsec/Manifest|   1 +
 net-misc/ntpsec/files/ntpd.confd|   7 +++
 net-misc/ntpsec/files/ntpd.rc-r1|  23 
 net-misc/ntpsec/files/ntpd.service  |  15 +
 net-misc/ntpsec/metadata.xml|  34 
 net-misc/ntpsec/ntpsec-1.0.0.ebuild | 106 
 6 files changed, 186 insertions(+)

diff --git a/net-misc/ntpsec/Manifest b/net-misc/ntpsec/Manifest
new file mode 100644
index 000..29e5507e1ee
--- /dev/null
+++ b/net-misc/ntpsec/Manifest
@@ -0,0 +1 @@
+DIST ntpsec-1.0.0.tar.gz 2405862 BLAKE2B 
b1631491500cafa5d41761fe6cb2db523450ed7801d06678048d6b8878d93dbd1e9d7cb2081a8400421213cf78a6724220236149a7f719896d1e8e48f5337d85
 SHA512 
9fb06310508b30d2ae2d66212d7d87b00e8eea294cebc27eb70435d764bd639fcec234b66e78deafb700476c88e47afe2d1b463563008c32efbb0644dd611f43

diff --git a/net-misc/ntpsec/files/ntpd.confd b/net-misc/ntpsec/files/ntpd.confd
new file mode 100644
index 000..92c553a6261
--- /dev/null
+++ b/net-misc/ntpsec/files/ntpd.confd
@@ -0,0 +1,7 @@
+# /etc/conf.d/ntpd
+
+# Options to pass to the ntpd process
+# Most people should leave this line alone ...
+# however, if you know what you're doing, feel free to tweak
+#NTPD_OPTS="-g -n -u ntp:ntp"
+NTPD_OPTS="-g -u ntp:ntp"

diff --git a/net-misc/ntpsec/files/ntpd.rc-r1 b/net-misc/ntpsec/files/ntpd.rc-r1
new file mode 100644
index 000..dbe76c85e53
--- /dev/null
+++ b/net-misc/ntpsec/files/ntpd.rc-r1
@@ -0,0 +1,23 @@
+#!/sbin/openrc-run
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+description="ntpd - the network time protocol daemon"
+pidfile="/var/run/ntpd.pid"
+command="/usr/sbin/ntpd"
+command_args="-p ${pidfile} ${NTPD_OPTS}"
+start_stop_daemon_args="--pidfile ${pidfile}"
+
+depend() {
+   use net dns logger
+   after ntp-client
+}
+
+start_pre() {
+   if [ ! -f /etc/ntp.conf ] ; then
+   eerror "Please create /etc/ntp.conf"
+   return 1
+   fi
+   return 0
+}

diff --git a/net-misc/ntpsec/files/ntpd.service 
b/net-misc/ntpsec/files/ntpd.service
new file mode 100644
index 000..a551bb7b130
--- /dev/null
+++ b/net-misc/ntpsec/files/ntpd.service
@@ -0,0 +1,15 @@
+[Unit]
+Description=Network Time Service
+After=network.target nss-lookup.target
+Conflicts=systemd-timesyncd.service
+
+[Service]
+Type=forking
+PrivateTmp=true
+EnvironmentFile=-/etc/conf.d/ntp
+ExecStart=/usr/sbin/ntpd ${NTPD_OPTS}
+Restart=always
+RemainAfterExit=yes
+
+[Install]
+WantedBy=multi-user.target

diff --git a/net-misc/ntpsec/metadata.xml b/net-misc/ntpsec/metadata.xml
new file mode 100644
index 000..cc6f94e3b23
--- /dev/null
+++ b/net-misc/ntpsec/metadata.xml
@@ -0,0 +1,34 @@
+
+http://www.gentoo.org/dtd/metadata.dtd";>
+
+
+anthony.g.b...@gmail.com
+Anthony G. Basile
+
+
+
+
+Drop root privileges early
+Enable debugging with gdb
+Enable lockclock
+Make visualizations of offsets, jiffies, etc.
+Oncore driver
+Trimble driver
+Trutime driver (deprecated)
+Enable gpsd daemon support
+JJY driver
+Enable support for generic time radios and 
GPSDOs
+Spectracom driver
+Obtain refclock info from shared 
memory-segment
+PPS cesium clock driver
+Hewlett Packard GPS driver
+Zyfer driver
+Arbiter 1088A/B GPS driver
+NMEA GPS driver
+NeoClock4X DCF77/TDF driver
+NIST/USNO/PTB Modem Time Services
+Support for undisciplined local clock (not 
recommended)
+Specify the interval over which a leap second is 
applied (experimental)
+Enable tests
+
+

diff --git a/net-misc/ntpsec/ntpsec-1.0.0.ebuild 
b/net-misc/ntpsec/ntpsec-1.0.0.ebuild
new file mode 100644
index 000..d4cca435dbb
--- /dev/null
+++ b/net-misc/ntpsec/ntpsec-1.0.0.ebuild
@@ -0,0 +1,106 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PYTHON_COMPAT=( python3_{4,5,6} )
+PYTHON_REQ_USE='threads(+)'
+
+inherit flag-o-matic python-any-r1 waf-utils systemd user
+
+if [[ ${PV} == ** ]]; then
+   inherit git-r3
+   EGIT_REPO_URI="https://gitlab.com/NTPsec/ntpsec.git";
+   BDEPEND=""
+   KEYWORDS=""
+else
+   SRC_URI="ftp://ftp.ntpsec.org/pub/releases/${PN}-${PV}.tar.gz";
+   RESTRICT=&quo

[gentoo-commits] proj/crossdev:master commit in: /

2017-12-12 Thread Steve Arnold
commit: bde092588bad63b3532084d6a04cf41609151ac9
Author: Steve Arnold  gentoo  org>
AuthorDate: Tue Dec 12 21:26:15 2017 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Tue Dec 12 21:26:15 2017 +
URL:https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=bde09258

crossdev: turn on multilib for bare metal arm cortex-M

* note this is required for a toolchain that supports more than one
  cpu/fpu
* also note this needs some toolchain patches for proper multilib
  and armv8-M support (currently applied in ada overlay)
* grab from dev.g.o/~nerdboy/files/gcc-6.4.0-arm-patches-1.0.tar.gz
  and apply after other patches (or the ned of src_prepare)

Signed-off-by: Steve Arnold  gentoo.org>

 crossdev | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/crossdev b/crossdev
index 3df7f27..9d614a2 100755
--- a/crossdev
+++ b/crossdev
@@ -1045,6 +1045,9 @@ set_portage() {
# libgcc for all sub-architectures #378387
avr*)   set_use_force ${pkg} multilib -pie;
set_use_mask ${pkg} -multilib pie;;
+   *-newlib|*-elf|*-eabi)
+   set_use_force ${pkg} multilib;
+   set_use_mask ${pkg} -multilib;;
*)  set_use_force ${pkg} -multilib;;
esac
 



[gentoo-commits] repo/gentoo:master commit in: sys-kernel/raspberrypi-sources/

2017-12-07 Thread Steve Arnold
commit: 524925d4b833502b81a5c653b57cfe5437820d81
Author: Stephen L Arnold  gentoo  org>
AuthorDate: Thu Dec  7 23:03:51 2017 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Thu Dec  7 23:04:26 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=524925d4

sys-kernel/raspberrypi-sources: fix missing branch name

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 sys-kernel/raspberrypi-sources/raspberrypi-sources-4.14..ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git 
a/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.14..ebuild 
b/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.14..ebuild
index 391d5da1d92..51bf6caa0a8 100644
--- a/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.14..ebuild
+++ b/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.14..ebuild
@@ -13,7 +13,7 @@ detect_arch
 
 inherit git-r3 versionator
 EGIT_REPO_URI="https://github.com/raspberrypi/linux.git -> 
raspberrypi-linux.git"
-EGIT_CHECKOUT_DIR="${WORKDIR}/linux-${PV}-raspberrypi"
+EGIT_BRANCH="rpi-$(get_version_component_range 1-2).y"
 
 DESCRIPTION="Raspberry PI kernel sources"
 HOMEPAGE="https://github.com/raspberrypi/linux";



[gentoo-commits] repo/gentoo:master commit in: sys-kernel/raspberrypi-sources/

2017-12-07 Thread Steve Arnold
commit: b79eed3e2440dfda67fde2c041ce03928bed0f26
Author: Stephen L Arnold  gentoo  org>
AuthorDate: Thu Dec  7 20:36:42 2017 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Thu Dec  7 20:37:55 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b79eed3e

sys-kernel/raspberrypi-sources: remove deprecated EGIT_PROJECT param

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 sys-kernel/raspberrypi-sources/raspberrypi-sources-4.10..ebuild | 1 -
 sys-kernel/raspberrypi-sources/raspberrypi-sources-4.11..ebuild | 1 -
 sys-kernel/raspberrypi-sources/raspberrypi-sources-4.12..ebuild | 1 -
 sys-kernel/raspberrypi-sources/raspberrypi-sources-4.13..ebuild | 1 -
 sys-kernel/raspberrypi-sources/raspberrypi-sources-4.14..ebuild | 1 -
 sys-kernel/raspberrypi-sources/raspberrypi-sources-4.4..ebuild  | 1 -
 sys-kernel/raspberrypi-sources/raspberrypi-sources-4.9..ebuild  | 1 -
 7 files changed, 7 deletions(-)

diff --git 
a/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.10..ebuild 
b/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.10..ebuild
index 77955085938..ab52cf36414 100644
--- a/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.10..ebuild
+++ b/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.10..ebuild
@@ -13,7 +13,6 @@ detect_arch
 
 inherit git-r3 versionator
 EGIT_REPO_URI=https://github.com/raspberrypi/linux.git
-EGIT_PROJECT="raspberrypi-linux.git"
 EGIT_BRANCH="rpi-$(get_version_component_range 1-2).y"
 
 DESCRIPTION="Raspberry PI kernel sources"

diff --git 
a/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.11..ebuild 
b/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.11..ebuild
index 77955085938..ab52cf36414 100644
--- a/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.11..ebuild
+++ b/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.11..ebuild
@@ -13,7 +13,6 @@ detect_arch
 
 inherit git-r3 versionator
 EGIT_REPO_URI=https://github.com/raspberrypi/linux.git
-EGIT_PROJECT="raspberrypi-linux.git"
 EGIT_BRANCH="rpi-$(get_version_component_range 1-2).y"
 
 DESCRIPTION="Raspberry PI kernel sources"

diff --git 
a/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.12..ebuild 
b/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.12..ebuild
index 77955085938..ab52cf36414 100644
--- a/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.12..ebuild
+++ b/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.12..ebuild
@@ -13,7 +13,6 @@ detect_arch
 
 inherit git-r3 versionator
 EGIT_REPO_URI=https://github.com/raspberrypi/linux.git
-EGIT_PROJECT="raspberrypi-linux.git"
 EGIT_BRANCH="rpi-$(get_version_component_range 1-2).y"
 
 DESCRIPTION="Raspberry PI kernel sources"

diff --git 
a/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.13..ebuild 
b/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.13..ebuild
index 77955085938..ab52cf36414 100644
--- a/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.13..ebuild
+++ b/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.13..ebuild
@@ -13,7 +13,6 @@ detect_arch
 
 inherit git-r3 versionator
 EGIT_REPO_URI=https://github.com/raspberrypi/linux.git
-EGIT_PROJECT="raspberrypi-linux.git"
 EGIT_BRANCH="rpi-$(get_version_component_range 1-2).y"
 
 DESCRIPTION="Raspberry PI kernel sources"

diff --git 
a/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.14..ebuild 
b/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.14..ebuild
index 11c6e6acc9b..391d5da1d92 100644
--- a/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.14..ebuild
+++ b/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.14..ebuild
@@ -13,7 +13,6 @@ detect_arch
 
 inherit git-r3 versionator
 EGIT_REPO_URI="https://github.com/raspberrypi/linux.git -> 
raspberrypi-linux.git"
-EGIT_BRANCH="rpi-$(get_version_component_range 1-2).y"
 EGIT_CHECKOUT_DIR="${WORKDIR}/linux-${PV}-raspberrypi"
 
 DESCRIPTION="Raspberry PI kernel sources"

diff --git a/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.4..ebuild 
b/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.4..ebuild
index 77955085938..ab52cf36414 100644
--- a/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.4..ebuild
+++ b/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.4..ebuild
@@ -13,7 +13,6 @@ detect_arch
 
 inherit git-r3 versionator
 EGIT_REPO_URI=https://github.com/raspberrypi/linux.git
-EGIT_PROJECT="raspberrypi-linux.git"
 EGIT_BRANCH="rpi-$(get_version_component_range 1-2).y"
 
 DESCRIPTION="Raspberry PI kernel sources"

diff --git a/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.9..ebuild 
b/sys-kernel/raspberrypi-sources/raspberrypi-sources-4.9..ebuild
index 77955085938..ab52cf36414 100644
--- a/sys-kernel/raspberryp

[gentoo-commits] repo/gentoo:master commit in: app-accessibility/brltty/, app-accessibility/brltty/files/

2017-12-02 Thread Steve Arnold
commit: 2962db62851f26ba9ec7fa4aba505b7b372a1072
Author: Stephen L Arnold  gentoo  org>
AuthorDate: Sat Dec  2 23:45:25 2017 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sat Dec  2 23:46:27 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2962db62

app-accessibility/brltty: misc build and QA fixes

* add libtinfo check for ncurses
* add sysmacros.h patch for newer glibc breakage
* fix repoman warnings
* fixes bug 547786 and minor/major symbol errors

Package-Manager: Portage-2.3.16, Repoman-2.3.6

 app-accessibility/brltty/Manifest  |  2 +-
 app-accessibility/brltty/brltty-5.2-r1.ebuild  | 15 +-
 .../brltty/files/brltty-5.2-sysmacros.patch| 24 ++
 3 files changed, 35 insertions(+), 6 deletions(-)

diff --git a/app-accessibility/brltty/Manifest 
b/app-accessibility/brltty/Manifest
index 6e11ab2ba9c..018608d0bc4 100644
--- a/app-accessibility/brltty/Manifest
+++ b/app-accessibility/brltty/Manifest
@@ -1 +1 @@
-DIST brltty-5.2.tar.xz 2532684 SHA256 
f1293940317a675d0eaeaf3f363bbfe4bfaa5225c2116123a61ce2d3c71943f7 SHA512 
8e16701e9c9d776c76e3ad0cb4319b2753295fea229bd3f60cb0dffc0b6946037e6f98daafae873238c4eff90d4b8ddb697b7d425e700c5a098aba8fed9eed3f
 WHIRLPOOL 
33fcf326be381309f2baa3f59807145a0ca3a614f32b0b27e4b76af1c1f46f6459f7be1d629002538588ce71ab017b52bfc642fc06aa2c3f883aba272e61f20e
+DIST brltty-5.2.tar.xz 2532684 BLAKE2B 
9b0555289177971abe12119f0604eebb196b8f493294741a31c684ebb5546eaccc0a729a8ca6b24e4075f0c29bf371e773743f02e0a102799c44c2293dc9894f
 SHA512 
8e16701e9c9d776c76e3ad0cb4319b2753295fea229bd3f60cb0dffc0b6946037e6f98daafae873238c4eff90d4b8ddb697b7d425e700c5a098aba8fed9eed3f

diff --git a/app-accessibility/brltty/brltty-5.2-r1.ebuild 
b/app-accessibility/brltty/brltty-5.2-r1.ebuild
index 59aa9142308..12ea62ef94e 100644
--- a/app-accessibility/brltty/brltty-5.2-r1.ebuild
+++ b/app-accessibility/brltty/brltty-5.2-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=5
 
-PYTHON_COMPAT=( python2_7 python3_4 python3_5 )
+PYTHON_COMPAT=( python2_7 python3_3 python3_4 python3_5 )
 FINDLIB_USE="ocaml"
 
 inherit findlib eutils multilib toolchain-funcs java-pkg-opt-2 flag-o-matic \
@@ -15,14 +15,14 @@ SRC_URI="http://brltty.com/archive/${P}.tar.xz";
 
 LICENSE="GPL-2 LGPL-2.1"
 SLOT="0"
-KEYWORDS="alpha amd64 ~arm ~arm64 hppa ia64 ppc ppc64 x86"
+KEYWORDS="alpha amd64 ~arm hppa ia64 ppc ppc64 x86"
 IUSE="+api +beeper bluetooth +contracted-braille doc +fm gpm iconv icu
java +midi ncurses nls ocaml +pcm python usb +speech
tcl X"
 REQUIRED_USE="doc? ( api )
java? ( api )
ocaml? ( api )
-   python? ( api ${PYTHON_REQUIRED_USE} )
+   python? ( api )
tcl? ( api )"
 
 COMMON_DEP="bluetooth? ( net-wireless/bluez )
@@ -30,7 +30,7 @@ COMMON_DEP="bluetooth? ( net-wireless/bluez )
iconv? ( virtual/libiconv )
icu? ( dev-libs/icu:= )
python? ( ${PYTHON_DEPS} )
-   ncurses? ( sys-libs/ncurses:0= )
+   ncurses? ( sys-libs/ncurses:= )
nls? ( virtual/libintl )
tcl? ( >=dev-lang/tcl-8.4.15:0= )
usb? ( virtual/libusb:0 )
@@ -46,7 +46,7 @@ src_prepare() {
epatch "${FILESDIR}"/${P}-fix-ldflags.patch \
"${FILESDIR}"/${P}-udev.patch \
"${FILESDIR}"/${P}-respect-AR.patch \
-   "${FILESDIR}"/${P}-major.patch
+   "${FILESDIR}"/${P}-sysmacros.patch
 
java-pkg-opt-2_src_prepare
 
@@ -64,6 +64,11 @@ src_prepare() {
 }
 
 src_configure() {
+   filter-flags "_*_SOURCE*"
+   append-cppflags -D_DEFAULT_SOURCE
+   has_version ">=sys-libs/glibc-2.25-r5" && append-cppflags 
-DHAVE_SYS_SYSMACROS_H
+   has_version "sys-libs/ncurses[tinfo]" && append-libs -ltinfo
+
tc-export AR LD PKG_CONFIG
# override prefix in order to install into /
# braille terminal needs to be available as soon in the boot process as

diff --git a/app-accessibility/brltty/files/brltty-5.2-sysmacros.patch 
b/app-accessibility/brltty/files/brltty-5.2-sysmacros.patch
new file mode 100644
index 000..d45d6104e4b
--- /dev/null
+++ b/app-accessibility/brltty/files/brltty-5.2-sysmacros.patch
@@ -0,0 +1,24 @@
+--- a/Programs/system_linux.c  2017-12-02 12:54:34.098643832 -0800
 b/Programs/system_linux.c  2017-12-02 12:59:00.683592161 -0800
+@@ -24,6 +24,9 @@
+ #include 
+ #include 
+ #include 
++#ifdef HAVE_SYS_SYSMACROS_H
++#include   /* major() w/newer glibc */
++#endif
+ 
+ #include "log.h"
+ #include "file.h"
+--- a/Programs/brlapi_client.c 2017-12-02 14:29:37.524205316 -0800
 b/Programs/brlapi_client.c 2017-12-02 14:32:45.679948051 -0800
+@@ -73,6 +73,9 @@
+ #include 
+ #include 
+ #define MAXIMUM_VIRTUAL_CONSOLE MAX_NR_CONSOLES
++#ifdef HAVE_SYS_SYSMACROS_H
++#include   /* major() w/newer glibc */
++#endif
+ #endif /* linux */
+ 
+ #ifdef __OpenBSD__



[gentoo-commits] proj/crossdev:master commit in: /

2017-11-23 Thread Steve Arnold
commit: 5a64f6df999643d6631b3d9cca71f6d70f048226
Author: Steve Arnold  gentoo  org>
AuthorDate: Thu Nov 23 18:12:59 2017 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Thu Nov 23 18:15:29 2017 +
URL:https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=5a64f6df

crossdev: force USE=-pie for cross-avr toolchain

Signed-off-by: Steve Arnold  gentoo.org>

 crossdev | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/crossdev b/crossdev
index 2d937d1..3df7f27 100755
--- a/crossdev
+++ b/crossdev
@@ -69,7 +69,7 @@ Options:
 Overlay Options:
 ${GOOD}-oS, --overlays${NORMAL} list Space delimited list of overlays 
to search
 [default: \`portageq 
repositories_configuration\`]
-${GOOD}-oO, --ov-output${NORMAL} pathOverlay to write crossdev package 
links
+${GOOD}-oO, --ov-output${NORMAL} pathParent directory of overlay to 
write crossdev package links
 [default: uses repo with name 'crossdev', or
  'cross-\${CTARGET}', or falls back to first
  from --overlays list]
@@ -1043,8 +1043,8 @@ set_portage() {
case ${CTARGET} in
# avr requires multilib, that provides
# libgcc for all sub-architectures #378387
-   avr*)   set_use_force ${pkg} multilib;
-   set_use_mask ${pkg} -multilib;;
+   avr*)   set_use_force ${pkg} multilib -pie;
+   set_use_mask ${pkg} -multilib pie;;
*)  set_use_force ${pkg} -multilib;;
esac
 



[gentoo-commits] repo/gentoo:master commit in: sys-devel/binutils-config/files/

2017-11-22 Thread Steve Arnold
commit: 1b129b82462191f6adf022a2327d5b3a72dcb893
Author: Stephen L Arnold  gentoo  org>
AuthorDate: Wed Nov 22 18:24:12 2017 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Wed Nov 22 18:25:06 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1b129b82

sys-devel/binutils-config: add avr/msp symlink handling

* fixes bug #147155 for all the happy arduino people

Package-Manager: Portage-2.3.13, Repoman-2.3.4

 sys-devel/binutils-config/files/binutils-config-5 | 8 ++--
 1 file changed, 6 insertions(+), 2 deletions(-)

diff --git a/sys-devel/binutils-config/files/binutils-config-5 
b/sys-devel/binutils-config/files/binutils-config-5
index acb72b7e343..e6c5fac0026 100755
--- a/sys-devel/binutils-config/files/binutils-config-5
+++ b/sys-devel/binutils-config/files/binutils-config-5
@@ -1,5 +1,5 @@
 #!/bin/bash
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 # Format of /etc/env.d/binutils/:
@@ -145,13 +145,17 @@ switch_profile() {
cd "${ROOT}/${LIBPATH}" || exit 1
if [[ ${TARGET} == ${HOST} ]] ; then
dstlib=${EROOT}/usr/${HOST}/lib
+   elif [[ -d ${EROOT}/usr/${TARGET}/lib ]] ; then
+   # true for at least avr and msp targets
+   dstlib=${EROOT}/usr/${TARGET}/lib
else
dstlib=${EROOT}/usr/${HOST}/${TARGET}/lib
fi
# When upgrading, we need to clean up ldscripts and libs.
# Don't symlink back in the libs -- the binutils-lib package handles
# these now.
-   # TODO: Stop requiring even the ldscripts symlink.
+   # TODO: Stop requiring even the ldscripts symlink, except
+   # we can't for bare-metal toolchains, so...  bug #147155
mkdir -p "${dstlib}"
rm -rf "${ROOT}/${BINPATH_LINKS}"/ldscripts
atomic_ln "${LIBPATH}/ldscripts" "${dstlib}" "ldscripts"



[gentoo-commits] repo/gentoo:master commit in: eclass/

2017-11-16 Thread Steve Arnold
commit: 80360e33a5e4f8d3fbf9cd7b31ea704ad4518a75
Author: Stephen L Arnold  gentoo  org>
AuthorDate: Fri Nov 17 06:42:48 2017 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Fri Nov 17 06:44:55 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=80360e33

flag-o-matic.eclass: add ADA to flags for proper filtering

* this is needed for some Ada packages using system gcc

 eclass/flag-o-matic.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass
index 4e3cfff5afd..d14221624d6 100644
--- a/eclass/flag-o-matic.eclass
+++ b/eclass/flag-o-matic.eclass
@@ -16,7 +16,7 @@ inherit eutils toolchain-funcs multilib
 
 # Return all the flag variables that our high level funcs operate on.
 all-flag-vars() {
-   echo {C,CPP,CXX,CCAS,F,FC,LD}FLAGS
+   echo {ADA,C,CPP,CXX,CCAS,F,FC,LD}FLAGS
 }
 
 # {C,CPP,CXX,CCAS,F,FC,LD}FLAGS that we allow in strip-flags



[gentoo-commits] proj/crossdev:master commit in: /

2017-10-24 Thread Steve Arnold
commit: a5554b4a85fa320781af41483488cfc65d22b98c
Author: Steve Arnold  gentoo  org>
AuthorDate: Tue Oct 24 17:32:55 2017 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Tue Oct 24 17:32:55 2017 +
URL:https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=a5554b4a

Update avr/armv7m with USE=cxx for stage4, use crossdev HCHOST variable

* upstream projects need c++, however, stage3 is still the default

Signed-off-by: Steve Arnold  gentoo.org>

 crossdev | 9 +
 1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/crossdev b/crossdev
index 1a0bded..0eaa721 100755
--- a/crossdev
+++ b/crossdev
@@ -227,8 +227,9 @@ parse_target() {
avr*) KPKG="[none]"
  LCAT="dev-embedded"
  LPKG="avr-libc"
- GUSE="-fortran -go -pie nopie" # doesn't work
+ GUSE+=" -fortran -go -pie nopie" # doesn't work
  MULTILIB_USE="yes" #377039
+ BUSE+=" cxx"
  STAGE_DEFAULT=${STAGE_LIBC}
  MAKE_SYMLINK="yes"
  WITH_DEF_HEADERS="no";;
@@ -306,7 +307,7 @@ parse_target() {
LPKG="newlib"
KPKG="[none]"
STAGE_DEFAULT=${STAGE_LIBC}
-   GUSE+=" -openmp" #489798
+   GUSE+=" cxx -openmp" #489798
MULTILIB_USE="yes" #407275
WITH_DEF_HEADERS="no"
;;
@@ -1229,7 +1230,7 @@ USE="${USE} -selinux"
 if ! ex_fast ; then
 
# stage 0: binutils
-   doemerge ${BPKG}
+   USE="${BUSE}" doemerge ${BPKG}
 
# stage1: bare C compiler
if is_s1 ; then
@@ -1292,7 +1293,7 @@ if ! ex_fast ; then
if [[ ${MAKE_SYMLINK} == "yes" ]] ; then
case ${CTARGET} in
avr*)   ( ! [[ -h 
${EPREFIX}/usr/${CTARGET}/lib/ldscripts ]] && [[ -d 
${EPREFIX}/usr/${CTARGET}/lib ]] ) && \
-   ln -s 
${EPREFIX}/usr/${CHOST}/${CTARGET}/lib/ldscripts ${EPREFIX}/usr/${CTARGET}/lib/
+   ln -s 
${EPREFIX}/usr/${HCHOST}/${CTARGET}/lib/ldscripts ${EPREFIX}/usr/${CTARGET}/lib/
;;
*)  ;;
esac



[gentoo-commits] proj/crossdev:master commit in: /

2017-10-14 Thread Steve Arnold
commit: 8f04ee910e38c38f597ebebc35190140e6ffa310
Author: Steve Arnold  gentoo  org>
AuthorDate: Sat Oct 14 22:28:08 2017 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sat Oct 14 22:28:08 2017 +
URL:https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=8f04ee91

sys-devel/crossdev: avr: disable pie, set default stage, make symlink
more robust

Signed-off-by: Steve Arnold  gentoo.org>

 crossdev | 22 +++---
 1 file changed, 11 insertions(+), 11 deletions(-)

diff --git a/crossdev b/crossdev
index 048f82a..7fdb3e3 100755
--- a/crossdev
+++ b/crossdev
@@ -224,12 +224,14 @@ parse_target() {
# this is a linux+ target, not microcontroller (below)
avr32*) :;;
 
-   avr*) KPKG="[none]";
- LCAT="dev-embedded"; LPKG="avr-libc";
- GUSE="-fortran -go" # doesn't work
+   avr*) KPKG="[none]"
+ LCAT="dev-embedded"
+ LPKG="avr-libc"
+ GUSE="-fortran -go -pie nopie" # doesn't work
  MULTILIB_USE="yes" #377039
- WITH_DEF_HEADERS="no"
- MAKE_SYMLINK="yes";;
+ STAGE_DEFAULT=${STAGE_LIBC}
+ MAKE_SYMLINK="yes"
+ WITH_DEF_HEADERS="no";;
 
# due to upstream lameness, build C/C++ at first glance
*-cygwin)
@@ -1027,15 +1029,13 @@ set_portage() {
case ${CTARGET} in
# avr requires multilib, that provides
# libgcc for all sub-architectures #378387
-   avr*)  set_use_force ${pkg} multilib
-   ;;
-   *)set_use_force ${pkg} -multilib
-   ;;
+   avr*)   set_use_force ${pkg} multilib;
+   set_use_mask ${pkg} -multilib;;
+   *)  set_use_force ${pkg} -multilib;;
esac
 
set_keywords ${pkg} ${ver}
set_use ${pkg} ${use}
-   set_use_mask ${pkg} -multilib
set_links ${cat} ${pkg} "${ovl}"
set_env ${l} ${pkg} "${env}"
 }
@@ -1297,7 +1297,7 @@ if ! ex_fast ; then
# this is to make sure that avr linker can find its a**, er, ldscripts
if [[ ${MAKE_SYMLINK} == "yes" ]] ; then
case ${CTARGET} in
-   avr*)   [[ -e ${EPREFIX}/usr/${CTARGET}/lib/ldscripts 
]] || \
+   avr*)   ( ! [[ -h 
${EPREFIX}/usr/${CTARGET}/lib/ldscripts ]] && [[ -d 
${EPREFIX}/usr/${CTARGET}/lib ]] ) && \
ln -s 
${EPREFIX}/usr/$CHOST/${CTARGET}/lib/ldscripts ${EPREFIX}/usr/${CTARGET}/lib/
;;
*)  ;;



[gentoo-commits] proj/crossdev:master commit in: /

2017-10-14 Thread Steve Arnold
commit: 17c5594fe0fe33d2226ebcb087763e4592b67c71
Author: Steve Arnold  gentoo  org>
AuthorDate: Sat Oct 14 23:45:10 2017 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sat Oct 14 23:45:10 2017 +
URL:https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=17c5594f

sys-devel/crossdev: fix silly typo in link target

Signed-off-by: Steve Arnold  gentoo.org>

 crossdev | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/crossdev b/crossdev
index 3f60517..1a0bded 100755
--- a/crossdev
+++ b/crossdev
@@ -452,7 +452,7 @@ uninstall() {
# clean out files from crossdev itself
[[ -e ${EPREFIX}/var/db/pkg/cross-${CTARGET} ]] && rmdir 
"${EPREFIX}"/var/db/pkg/cross-${CTARGET}
rm -f "${EPREFIX}"/usr/bin/${CTARGET}-{emerge,fix-root,pkg-config} 
"${EPREFIX}"/usr/bin/emerge-${CTARGET}
-   [[ -e ${EPREFIX}/usr/${CTARGET}/lib/ldscripts ]] && rm 
"${EPREFIX}"/usr/${CTARGET}/lib/ldscripts
+   [[ -h ${EPREFIX}/usr/${CTARGET}/lib/ldscripts ]] && rm 
"${EPREFIX}"/usr/${CTARGET}/lib/ldscripts
 
for f in make.{conf,globals,profile} ; do
f="${EPREFIX}/usr/${CTARGET}/etc/${f}"
@@ -1292,7 +1292,7 @@ if ! ex_fast ; then
if [[ ${MAKE_SYMLINK} == "yes" ]] ; then
case ${CTARGET} in
avr*)   ( ! [[ -h 
${EPREFIX}/usr/${CTARGET}/lib/ldscripts ]] && [[ -d 
${EPREFIX}/usr/${CTARGET}/lib ]] ) && \
-   ln -s 
${EPREFIX}/usr/$CHOST/${CTARGET}/lib/ldscripts ${EPREFIX}/usr/${CTARGET}/lib/
+   ln -s 
${EPREFIX}/usr/${CHOST}/${CTARGET}/lib/ldscripts ${EPREFIX}/usr/${CTARGET}/lib/
;;
*)  ;;
esac



[gentoo-commits] proj/crossdev:master commit in: /

2017-10-14 Thread Steve Arnold
commit: 250707e426f3bd775d85671743df3053e6868c74
Author: Steve Arnold  gentoo  org>
AuthorDate: Sat Oct 14 22:33:04 2017 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sat Oct 14 22:33:04 2017 +
URL:https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=250707e4

Revert "ROOT method for glibc."

This reverts commit d770cdb3feb397cedfdc36ac4b9f07f984152c86.

 crossdev | 10 ++
 1 file changed, 2 insertions(+), 8 deletions(-)

diff --git a/crossdev b/crossdev
index 7fdb3e3..3f60517 100755
--- a/crossdev
+++ b/crossdev
@@ -1153,9 +1153,8 @@ emerge-wrapper --target ${CTARGET} --init || exit 1
 
 #
 emerged_with_use() {
-   local pkg=$1 use=$2 alt
-   case $pkg in *lib*|musl) alt="/usr/${CTARGET}" ;; esac
-   grep -qs ${use} 
"${EPREFIX}"${alt}/var/db/pkg/cross-${CTARGET}/${pkg}-*/USE
+   local pkg=$1 use=$2
+   grep -qs ${use} "${EPREFIX}"/var/db/pkg/cross-${CTARGET}/${pkg}-*/USE
 }
 set_eopts_on_pkg_status() {
emerged_with_use "$@" \
@@ -1249,9 +1248,6 @@ if ! ex_fast ; then
# care about at this point -- we aren't 
compiling yet
USE="${LUSE} ${USE}" \
CROSSCOMPILE_OPTS="headers-only" \
-   ROOT="${EPREFIX}"/usr/${CTARGET} \
-   ALT_BUILD_HEADERS="${ROOT}"/usr/include \
-   EPREFIX="/" \
EOPTS="${EOPTS} --nodeps" \
doemerge ${LPKG} ${LPKG}-headers
fi
@@ -1279,8 +1275,6 @@ if ! ex_fast ; then
set_eopts_on_pkg_status ${LPKG} crosscompile_opts_headers-only
 
USE="${LUSE} ${USE}" \
-   ROOT=${EPREFIX}/usr/${CTARGET} \
-   EPREFIX="/" \
CROSSCOMPILE_OPTS="" \
doemerge ${LPKG}
fi



[gentoo-commits] repo/gentoo:master commit in: sys-devel/crossdev/

2017-10-13 Thread Steve Arnold
commit: 8d8d65810344d48769b7f0addee27aea2613ab2e
Author: Stephen L Arnold  gentoo  org>
AuthorDate: Sat Oct 14 05:58:49 2017 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sat Oct 14 05:58:49 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d8d6581

sys-devel/crossdev: remove obsolete patch (change pushed)

Package-Manager: Portage-2.3.11, Repoman-2.3.3

 sys-devel/crossdev/crossdev-.ebuild | 6 +-
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/sys-devel/crossdev/crossdev-.ebuild 
b/sys-devel/crossdev/crossdev-.ebuild
index aa413719ace..724d297db4a 100644
--- a/sys-devel/crossdev/crossdev-.ebuild
+++ b/sys-devel/crossdev/crossdev-.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="6"
@@ -26,10 +26,6 @@ RDEPEND=">=sys-apps/portage-2.1
!sys-devel/crossdev-wrappers"
 DEPEND="app-arch/xz-utils"
 
-PATCHES=(
-   "${FILESDIR}"/use-new-path-for-functions.sh.patch
-)
-
 src_install() {
default
if [[ "${PV}" == "" ]] ; then



[gentoo-commits] proj/crossdev:master commit in: /

2017-10-13 Thread Steve Arnold
commit: 575a4b1528fa27be50680011a544ca89f6e332e3
Author: Steve Arnold  gentoo  org>
AuthorDate: Fri Oct 13 17:54:27 2017 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Fri Oct 13 17:54:27 2017 +
URL:https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=575a4b15

sys-devel/crossdev: Fix avr hack, move it inside doemerge block

Signed-off-by: Steve Arnold  gentoo.org>

 crossdev | 17 +
 1 file changed, 9 insertions(+), 8 deletions(-)

diff --git a/crossdev b/crossdev
index 8ba0360..048f82a 100755
--- a/crossdev
+++ b/crossdev
@@ -1293,15 +1293,16 @@ if ! ex_fast ; then
USE="${GUSE} ${USE} ${GUSE_DISABLE_STAGE_2}" \
doemerge ${GPKG} ${GPKG}-stage2
fi
-fi
 
-# this is to make sure that avr linker can find its a**, er, ldscripts
-if [[ ${MAKE_SYMLINK} == "yes" ]] ; then
-   case ${CTARGET} in
-   avr*)   ln -s ${EPREFIX}/usr/$CHOST/${CTARGET}/lib/ldscripts 
${EPREFIX}/usr/${CTARGET}/lib/ldscripts
-   ;;
-   *)  ;;
-   esac
+   # this is to make sure that avr linker can find its a**, er, ldscripts
+   if [[ ${MAKE_SYMLINK} == "yes" ]] ; then
+   case ${CTARGET} in
+   avr*)   [[ -e ${EPREFIX}/usr/${CTARGET}/lib/ldscripts 
]] || \
+   ln -s 
${EPREFIX}/usr/$CHOST/${CTARGET}/lib/ldscripts ${EPREFIX}/usr/${CTARGET}/lib/
+   ;;
+   *)  ;;
+   esac
+   fi
 fi
 
 # all the extra things (like debuggers)



[gentoo-commits] proj/crossdev:master commit in: wrappers/etc/portage/, /, wrappers/

2017-10-13 Thread Steve Arnold
commit: d370474e3f85a3bbcbb2026ca5ec55257b7a0f39
Author: XU Benda  gmail  com>
AuthorDate: Thu Dec 22 04:37:11 2011 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sat Jun 25 13:45:04 2016 +
URL:https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=d370474e

prefixify build system and scripts.

 Makefile   |  2 ++
 crossdev   | 52 +++---
 settings.mk|  3 ++-
 wrappers/Makefile  |  3 +++
 wrappers/cross-emerge  |  7 +-
 wrappers/emerge-wrapper|  2 +-
 wrappers/etc/portage/make.conf |  2 +-
 7 files changed, 44 insertions(+), 27 deletions(-)

diff --git a/Makefile b/Makefile
index a36fa1f..26c5b37 100644
--- a/Makefile
+++ b/Makefile
@@ -4,6 +4,8 @@
 include settings.mk
 
 all:
+   sed -i -e "s,@GENTOO_PORTAGE_EPREFIX@,$(EPREFIX),g" crossdev
+   $(MAKE) -C wrappers
 
 install:
$(INSTALL_DIR) $(DESTDIR)/$(PREFIX)/bin/

diff --git a/crossdev b/crossdev
index 877c68f..00ddea7 100755
--- a/crossdev
+++ b/crossdev
@@ -13,9 +13,15 @@ if [[ ${ROOT} != "/" ]] ; then
exit 2
 fi
 
+EPREFIX="@GENTOO_PORTAGE_EPREFIX@"
+if [[ ${EPREFIX} == "@"GENTOO_PORTAGE_EPREFIX"@" ]] ; then
+   EPREFIX=""
+fi
+EROOT=${ROOT%/}"${EPREFIX}"/
+: ${PORTAGE_CONFIGROOT:=${EROOT}}
 CONFIGROOT="${PORTAGE_CONFIGROOT}/etc/portage"
 
-source /etc/init.d/functions.sh || exit 1
+source "${EPREFIX}"/etc/init.d/functions.sh || exit 1
 esyslog() { :; }
 die_logs() {
echo
@@ -318,7 +324,7 @@ parse_repo_config() {
# location = /usr/local/portage
# masters = gentoo
# priority = 0
-   local repo_config=$(portageq repositories_configuration "${ROOT}")
+   local repo_config=$(portageq repositories_configuration "${EROOT}")
local flat_config=$(echo "${repo_config}" | gawk '
function push(arr, idx, ele) {
if (idx in arr)
@@ -400,7 +406,7 @@ setup_portage_vars() {
fi
 
# make sure we have a valid logdir
-   : ${PORT_LOGDIR:=/var/log/portage}
+   : ${PORT_LOGDIR:=${EPREFIX}/var/log/portage}
xmkdir -p "${PORT_LOGDIR}"
 }
 
@@ -421,8 +427,8 @@ uninstall() {
done
rm -rf "${CONFIGROOT}"/env/cross-${CTARGET}
rmdir "${CONFIGROOT}"/env 2>/dev/null
-   rm -f /etc/revdep-rebuild/05cross-${CTARGET}
-   rmdir /etc/revdep-rebuild 2>/dev/null
+   rm -f "${EPREFIX}"/etc/revdep-rebuild/05cross-${CTARGET}
+   rmdir "${EPREFIX}"/etc/revdep-rebuild 2>/dev/null
 
# Unmerge all toolchain packages for this target.
qmerge -Uqy $(qlist -IC "cross-${CTARGET}/")
@@ -433,29 +439,29 @@ uninstall() {
gcc-{ar,nm,ranlib} gccbug gprof ld nm objcopy objdump \
ranlib readelf size strings strip windmc windres
do
-   rm -f /usr/bin/${CTARGET}-${f} /usr/${CTARGET}/bin/${f}
+   rm -f "${EPREFIX}"/usr/bin/${CTARGET}-${f} 
"${EPREFIX}"/usr/${CTARGET}/bin/${f}
done
-   rm -f /usr/${CTARGET}/{sys-include,usr}
-   rmdir /usr/${CTARGET}/{include/asm,include} 2>/dev/null
-   rm -f /usr/bin/${CTARGET}-{gcc,{c,g}++,cpp,gfortran,gcov}
-   rm -f /etc/env.d/{binutils,gcc}/config-${CTARGET}
+   rm -f "${EPREFIX}"/usr/${CTARGET}/{sys-include,usr}
+   rmdir "${EPREFIX}"/usr/${CTARGET}/{include/asm,include} 2>/dev/null
+   rm -f "${EPREFIX}"/usr/bin/${CTARGET}-{gcc,{c,g}++,cpp,gfortran,gcov}
+   rm -f "${EPREFIX}"/etc/env.d/{binutils,gcc}/config-${CTARGET}
 
# clean out files from crossdev itself
-   [[ -e /var/db/pkg/cross-${CTARGET} ]] && rmdir 
/var/db/pkg/cross-${CTARGET}
-   rm -f /usr/bin/${CTARGET}-{emerge,fix-root,pkg-config} 
/usr/bin/emerge-${CTARGET}
+   [[ -e ${EPREFIX}/var/db/pkg/cross-${CTARGET} ]] && rmdir 
"${EPREFIX}"/var/db/pkg/cross-${CTARGET}
+   rm -f "${EPREFIX}"/usr/bin/${CTARGET}-{emerge,fix-root,pkg-config} 
"${EPREFIX}"/usr/bin/emerge-${CTARGET}
 
for f in make.{conf,globals,profile} ; do
-   f="/usr/${CTARGET}/etc/${f}"
+   f="${EPREFIX}/usr/${CTARGET}/etc/${f}"
[[ -L ${f} ]] && rm -f ${f}
-   f="/usr/${CTARGET}/etc/portage/${f##*/}"
+   f="${EPREFIX}/usr/${CTARGET}/etc/portage/${f##*/}"
[[ -L ${f} ]] && rm -f ${f}
done
-   find /usr/share/crossdev/etc/ -type f | \
+   find "${EPREFIX}"/usr/share/crossdev/etc/ -type f | \
while read f ; do
f1=${f}
[[ ! -e ${f1} ]] && continue

[gentoo-commits] proj/crossdev:master commit in: /

2017-10-13 Thread Steve Arnold
commit: 03640757f2af1471324fc3e305f899f377d6409d
Author: Steve Arnold  gentoo  org>
AuthorDate: Fri Oct 13 04:46:58 2017 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Fri Oct 13 04:46:58 2017 +
URL:https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=03640757

sys-devel/crossdev: add one more avr-specific hack

* link ldscripts to the right place (parameterized and expandable even)

Signed-off-by: Steve Arnold  gentoo.org>

 crossdev | 12 +++-
 1 file changed, 11 insertions(+), 1 deletion(-)

diff --git a/crossdev b/crossdev
index 78d63da..8ba0360 100755
--- a/crossdev
+++ b/crossdev
@@ -228,7 +228,8 @@ parse_target() {
  LCAT="dev-embedded"; LPKG="avr-libc";
  GUSE="-fortran -go" # doesn't work
  MULTILIB_USE="yes" #377039
- WITH_DEF_HEADERS="no";;
+ WITH_DEF_HEADERS="no"
+ MAKE_SYMLINK="yes";;
 
# due to upstream lameness, build C/C++ at first glance
*-cygwin)
@@ -449,6 +450,7 @@ uninstall() {
# clean out files from crossdev itself
[[ -e ${EPREFIX}/var/db/pkg/cross-${CTARGET} ]] && rmdir 
"${EPREFIX}"/var/db/pkg/cross-${CTARGET}
rm -f "${EPREFIX}"/usr/bin/${CTARGET}-{emerge,fix-root,pkg-config} 
"${EPREFIX}"/usr/bin/emerge-${CTARGET}
+   [[ -e ${EPREFIX}/usr/${CTARGET}/lib/ldscripts ]] && rm 
"${EPREFIX}"/usr/${CTARGET}/lib/ldscripts
 
for f in make.{conf,globals,profile} ; do
f="${EPREFIX}/usr/${CTARGET}/etc/${f}"
@@ -1291,7 +1293,15 @@ if ! ex_fast ; then
USE="${GUSE} ${USE} ${GUSE_DISABLE_STAGE_2}" \
doemerge ${GPKG} ${GPKG}-stage2
fi
+fi
 
+# this is to make sure that avr linker can find its a**, er, ldscripts
+if [[ ${MAKE_SYMLINK} == "yes" ]] ; then
+   case ${CTARGET} in
+   avr*)   ln -s ${EPREFIX}/usr/$CHOST/${CTARGET}/lib/ldscripts 
${EPREFIX}/usr/${CTARGET}/lib/ldscripts
+   ;;
+   *)  ;;
+   esac
 fi
 
 # all the extra things (like debuggers)



[gentoo-commits] proj/crossdev:master commit in: /

2017-10-13 Thread Steve Arnold
commit: f9e1a26e5f6ed8f0df7fe16f5f3fe4c3aa5d69af
Author: Steve Arnold  gentoo  org>
AuthorDate: Fri Oct 13 02:16:00 2017 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Fri Oct 13 02:19:14 2017 +
URL:https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=f9e1a26e

sys-devel/crossdev: add fixes for several bugs and patches

* pull in EPREFIX/ROOT fixes from heroxbd on github
* includes portage patch for functions path
* add snippet to force multilib on for avr targets

see: https://github.com/heroxbd/crossdev
 https://bugs.gentoo.org/show_bug.cgi?id=378387
 http://forum.arduino.cc/index.php?topic=93672.0

Signed-off-by: Steve Arnold  gentoo.org>

 crossdev | 10 +-
 1 file changed, 9 insertions(+), 1 deletion(-)

diff --git a/crossdev b/crossdev
index 5bb4b77..78d63da 100755
--- a/crossdev
+++ b/crossdev
@@ -1022,9 +1022,17 @@ set_portage() {
 
[[ ${pkg} == "[none]" ]] && return 0
 
+   case ${CTARGET} in
+   # avr requires multilib, that provides
+   # libgcc for all sub-architectures #378387
+   avr*)  set_use_force ${pkg} multilib
+   ;;
+   *)set_use_force ${pkg} -multilib
+   ;;
+   esac
+
set_keywords ${pkg} ${ver}
set_use ${pkg} ${use}
-   set_use_force ${pkg} -multilib
set_use_mask ${pkg} -multilib
set_links ${cat} ${pkg} "${ovl}"
set_env ${l} ${pkg} "${env}"



[gentoo-commits] proj/crossdev:master commit in: /

2017-10-13 Thread Steve Arnold
commit: d5a37316925ff7bfa438da95826c9ffc8dd280ac
Author: Benda Xu  gentoo  org>
AuthorDate: Mon Jun  6 05:58:41 2016 +
Commit:     Steve Arnold  gentoo  org>
CommitDate: Sat Jun 25 13:45:04 2016 +
URL:https://gitweb.gentoo.org/proj/crossdev.git/commit/?id=d5a37316

crossdev: use new path for functions.sh

 crossdev | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/crossdev b/crossdev
index 00ddea7..6939c70 100755
--- a/crossdev
+++ b/crossdev
@@ -21,7 +21,7 @@ EROOT=${ROOT%/}"${EPREFIX}"/
 : ${PORTAGE_CONFIGROOT:=${EROOT}}
 CONFIGROOT="${PORTAGE_CONFIGROOT}/etc/portage"
 
-source "${EPREFIX}"/etc/init.d/functions.sh || exit 1
+source "${EPREFIX}"/lib/gentoo/functions.sh || exit 1
 esyslog() { :; }
 die_logs() {
echo



  1   2   >