[gentoo-commits] repo/gentoo:master commit in: dev-ruby/x25519/

2023-12-31 Thread Hans de Graaff
commit: e226c532b84a8268d3fd64085c8ce4d6e482f80f
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Dec 31 08:01:14 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Dec 31 08:01:14 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e226c532

dev-ruby/x25519: enable ruby33

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/x25519/x25519-1.0.10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/x25519/x25519-1.0.10.ebuild 
b/dev-ruby/x25519/x25519-1.0.10.ebuild
index 069cd7396995..f7d61e4b04f4 100644
--- a/dev-ruby/x25519/x25519-1.0.10.ebuild
+++ b/dev-ruby/x25519/x25519-1.0.10.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-USE_RUBY="ruby27 ruby30 ruby31 ruby32"
+USE_RUBY="ruby31 ruby32 ruby33"
 
 RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/x25519/

2023-03-28 Thread Sam James
commit: 3557ba909b4499b440591f19d1b3c6c172f38dd3
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar 28 19:24:05 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 28 19:24:05 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3557ba90

dev-ruby/x25519: Stabilize 1.0.10 amd64, #903401

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/x25519/x25519-1.0.10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/x25519/x25519-1.0.10.ebuild 
b/dev-ruby/x25519/x25519-1.0.10.ebuild
index 850158eedcaf..069cd7396995 100644
--- a/dev-ruby/x25519/x25519-1.0.10.ebuild
+++ b/dev-ruby/x25519/x25519-1.0.10.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="https://github.com/crypto-rb/x25519/archive/v${PV}.tar.gz -> ${P}.tar.g
 
 LICENSE="BSD"
 SLOT="$(ver_cut 1)"
-KEYWORDS="~amd64 ~arm ~arm64 ppc ppc64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 x86"
 IUSE=""
 
 all_ruby_prepare() {



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/x25519/

2023-03-28 Thread Sam James
commit: c8fc2963d769c58a9af284219899c223a7aa7e92
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar 28 19:14:57 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 28 19:15:23 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8fc2963

dev-ruby/x25519: Stabilize 1.0.10 x86, #903401

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/x25519/x25519-1.0.10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/x25519/x25519-1.0.10.ebuild 
b/dev-ruby/x25519/x25519-1.0.10.ebuild
index baf4b4415b58..5c831c35e9ec 100644
--- a/dev-ruby/x25519/x25519-1.0.10.ebuild
+++ b/dev-ruby/x25519/x25519-1.0.10.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="https://github.com/crypto-rb/x25519/archive/v${PV}.tar.gz -> ${P}.tar.g
 
 LICENSE="BSD"
 SLOT="$(ver_cut 1)"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ppc64 x86"
 IUSE=""
 
 all_ruby_prepare() {



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/x25519/

2023-03-28 Thread Sam James
commit: 1397957541c12cdaf60fe7520101c1ed1cdb170e
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar 28 19:14:59 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 28 19:15:24 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=13979575

dev-ruby/x25519: Stabilize 1.0.10 ppc, #903401

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/x25519/x25519-1.0.10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/x25519/x25519-1.0.10.ebuild 
b/dev-ruby/x25519/x25519-1.0.10.ebuild
index 5c831c35e9ec..850158eedcaf 100644
--- a/dev-ruby/x25519/x25519-1.0.10.ebuild
+++ b/dev-ruby/x25519/x25519-1.0.10.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="https://github.com/crypto-rb/x25519/archive/v${PV}.tar.gz -> ${P}.tar.g
 
 LICENSE="BSD"
 SLOT="$(ver_cut 1)"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ppc64 x86"
+KEYWORDS="~amd64 ~arm ~arm64 ppc ppc64 x86"
 IUSE=""
 
 all_ruby_prepare() {



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/x25519/

2023-03-28 Thread Sam James
commit: b8cea5452362aed19da961d9463ea5222a38a2cd
Author: Sam James  gentoo  org>
AuthorDate: Tue Mar 28 19:04:28 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Tue Mar 28 19:04:28 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b8cea545

dev-ruby/x25519: Stabilize 1.0.10 ppc64, #903401

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/x25519/x25519-1.0.10.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/x25519/x25519-1.0.10.ebuild 
b/dev-ruby/x25519/x25519-1.0.10.ebuild
index adf56b6d6bbf..baf4b4415b58 100644
--- a/dev-ruby/x25519/x25519-1.0.10.ebuild
+++ b/dev-ruby/x25519/x25519-1.0.10.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="https://github.com/crypto-rb/x25519/archive/v${PV}.tar.gz -> ${P}.tar.g
 
 LICENSE="BSD"
 SLOT="$(ver_cut 1)"
-KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ppc64 ~x86"
 IUSE=""
 
 all_ruby_prepare() {



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/x25519/

2023-03-10 Thread Hans de Graaff
commit: e1997faae0ea95d9ad3f3f13eb1faf769bc27528
Author: Hans de Graaff  gentoo  org>
AuthorDate: Fri Mar 10 10:32:52 2023 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Fri Mar 10 20:29:07 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e1997faa

dev-ruby/x25519: enable ruby32

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/x25519/x25519-1.0.10.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/x25519/x25519-1.0.10.ebuild 
b/dev-ruby/x25519/x25519-1.0.10.ebuild
index 9033f7551f12..adf56b6d6bbf 100644
--- a/dev-ruby/x25519/x25519-1.0.10.ebuild
+++ b/dev-ruby/x25519/x25519-1.0.10.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
 
-USE_RUBY="ruby27 ruby30 ruby31"
+USE_RUBY="ruby27 ruby30 ruby31 ruby32"
 
 RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/x25519/

2022-10-08 Thread Hans de Graaff
commit: f0b92e1ca4a50da98856532d749d116a8649994c
Author: Hans de Graaff  gentoo  org>
AuthorDate: Fri Oct  7 07:07:49 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Oct  8 06:26:34 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f0b92e1c

dev-ruby/x25519: add 1.0.10

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/x25519/Manifest |  1 +
 dev-ruby/x25519/x25519-1.0.10.ebuild | 39 
 2 files changed, 40 insertions(+)

diff --git a/dev-ruby/x25519/Manifest b/dev-ruby/x25519/Manifest
index e02da291b442..628a3b08b7e9 100644
--- a/dev-ruby/x25519/Manifest
+++ b/dev-ruby/x25519/Manifest
@@ -1 +1,2 @@
+DIST x25519-1.0.10.tar.gz 44353 BLAKE2B 
5ad7a7b68af8bdc5e64692b9b650504df3d152c63c6044cea6978e42cef856dfbd3c0bc9261b014eab80a3bfcfaaf6c7a85675806aa9529e6978228ce2956497
 SHA512 
10a2baeff5be2eca31ae96893f08877ae351f6c7d30d0cc5d2a9b63ada74733ab30ed7dd709b26802d3f1a130aa513747a32c370d031fc95b136e3a699eb2987
 DIST x25519-1.0.9.tar.gz 44042 BLAKE2B 
65129fdfc0c40099487da3eacbd91436b625fd1224d58139a09d2ec571cb063f69767d468c89af512b0bef81912786b44b6923afaeb4a14f97a47034b702d848
 SHA512 
48349960b69f88177b772f431a1751ad190a9d71ebb01e0aced7dcc278a18c2e7cb1dbb621524950685b974f2f63d23039973accf067720ce1b74c5bb1eb4f77

diff --git a/dev-ruby/x25519/x25519-1.0.10.ebuild 
b/dev-ruby/x25519/x25519-1.0.10.ebuild
new file mode 100644
index ..9033f7551f12
--- /dev/null
+++ b/dev-ruby/x25519/x25519-1.0.10.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby27 ruby30 ruby31"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_GEMSPEC="x25519.gemspec"
+
+RUBY_FAKEGEM_EXTENSIONS=(ext/x25519_ref10/extconf.rb)
+
+inherit ruby-fakegem
+
+DESCRIPTION="Key exchange via the X25519 (Curve25519) Elliptic Curve 
Diffie-Hellman function"
+HOMEPAGE="https://github.com/crypto-rb/x25519;
+SRC_URI="https://github.com/crypto-rb/x25519/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86"
+IUSE=""
+
+all_ruby_prepare() {
+   sed -i -e '/bundler/ s:^:#: ; /coverall/I s:^:#:' spec/spec_helper.rb 
|| die
+
+   sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} 
|| die
+
+   # The precomputed implementation only works on amd64
+   if use amd64 ; then
+   RUBY_FAKEGEM_EXTENSIONS+=(ext/x25519_precomputed/extconf.rb)
+   else
+   sed -i -e 
'/\(x25519_precomputed\|X25519::Provider::Precomputed\)/ s:^:#:' lib/x25519.rb 
|| die
+   rm -f spec/x25519/provider/precomputed_spec.rb || die
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/x25519/

2022-08-17 Thread Sam James
commit: 111fea62b0b2b380a7df27ebc5667b2cbb6c084a
Author: Sam James  gentoo  org>
AuthorDate: Wed Aug 17 15:39:02 2022 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Aug 17 15:39:02 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=111fea62

dev-ruby/x25519: Keyword 1.0.9 arm64, #851081

Signed-off-by: Sam James  gentoo.org>

 dev-ruby/x25519/x25519-1.0.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/x25519/x25519-1.0.9.ebuild 
b/dev-ruby/x25519/x25519-1.0.9.ebuild
index 8a619e17e788..6fbcd5d4bb3b 100644
--- a/dev-ruby/x25519/x25519-1.0.9.ebuild
+++ b/dev-ruby/x25519/x25519-1.0.9.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="https://github.com/crypto-rb/x25519/archive/v${PV}.tar.gz -> ${P}.tar.g
 
 LICENSE="BSD"
 SLOT="$(ver_cut 1)"
-KEYWORDS="amd64 ~arm ppc ppc64 x86"
+KEYWORDS="amd64 ~arm ~arm64 ppc ppc64 x86"
 IUSE=""
 
 all_ruby_prepare() {



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/x25519/

2022-04-16 Thread Hans de Graaff
commit: b90a344ef954d5b981479c937d8fedcaec30
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sat Apr 16 06:15:27 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sat Apr 16 06:15:27 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b90a344e

dev-ruby/x25519: drop 1.0.8

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/x25519/Manifest|  1 -
 dev-ruby/x25519/x25519-1.0.8.ebuild | 53 -
 2 files changed, 54 deletions(-)

diff --git a/dev-ruby/x25519/Manifest b/dev-ruby/x25519/Manifest
index 165f3831ce7a..e02da291b442 100644
--- a/dev-ruby/x25519/Manifest
+++ b/dev-ruby/x25519/Manifest
@@ -1,2 +1 @@
-DIST x25519-1.0.8.tar.gz 44313 BLAKE2B 
844408f6bb77b55a2ca0222c46d4d09688838d7fc86517636a465da7fb225d9de2f14fda3d38d593f0feddb5e4aeab28ec900766a190759139bf05f6e0e6bd56
 SHA512 
42a9a2f1c470ea82c070435e4d85317c69fbd6e994f765c46b3aa4b544a5557559ff36194e37100bd8f581711156d185117535aeb3da9f5b6b5523e5a4b347b6
 DIST x25519-1.0.9.tar.gz 44042 BLAKE2B 
65129fdfc0c40099487da3eacbd91436b625fd1224d58139a09d2ec571cb063f69767d468c89af512b0bef81912786b44b6923afaeb4a14f97a47034b702d848
 SHA512 
48349960b69f88177b772f431a1751ad190a9d71ebb01e0aced7dcc278a18c2e7cb1dbb621524950685b974f2f63d23039973accf067720ce1b74c5bb1eb4f77

diff --git a/dev-ruby/x25519/x25519-1.0.8.ebuild 
b/dev-ruby/x25519/x25519-1.0.8.ebuild
deleted file mode 100644
index fb8db353268f..
--- a/dev-ruby/x25519/x25519-1.0.8.ebuild
+++ /dev/null
@@ -1,53 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-USE_RUBY="ruby25 ruby26 ruby27 ruby30"
-
-RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
-
-RUBY_FAKEGEM_RECIPE_TEST="rspec3"
-
-RUBY_FAKEGEM_GEMSPEC="x25519.gemspec"
-
-inherit ruby-fakegem
-
-DESCRIPTION="Key exchange via the X25519 (Curve25519) Elliptic Curve 
Diffie-Hellman function"
-HOMEPAGE="https://github.com/crypto-rb/x25519;
-SRC_URI="https://github.com/crypto-rb/x25519/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="$(ver_cut 1)"
-KEYWORDS="amd64 ~arm ppc ppc64 x86"
-IUSE=""
-
-all_ruby_prepare() {
-   sed -i -e '/bundler/ s:^:#: ; /coverall/I s:^:#:' spec/spec_helper.rb 
|| die
-
-   sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} 
|| die
-
-   # The precomputed implementation only works on amd64
-   if ! use amd64 ; then
-   sed -i -e 
'/\(x25519_precomputed\|X25519::Provider::Precomputed\)/ s:^:#:' lib/x25519.rb 
|| die
-   rm -f spec/x25519/provider/precomputed_spec.rb || die
-   fi
-}
-
-each_ruby_configure() {
-   if use amd64 ; then
-   ${RUBY} -Cext/x25519_precomputed extconf.rb || die
-   fi
-
-   ${RUBY} -Cext/x25519_ref10 extconf.rb || die
-}
-
-each_ruby_compile() {
-   if use amd64 ; then
-   emake V=1 -Cext/x25519_precomputed
-   cp ext/x25519_precomputed/x25519_precomputed.so lib/ || die
-   fi
-
-   emake V=1 -Cext/x25519_ref10
-   cp ext/x25519_ref10/x25519_ref10.so lib/ || die
-}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/x25519/

2022-04-02 Thread Agostino Sarubbo
commit: 6ef011b77da28c29b18e1394fab19e2cf8c89f43
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Sat Apr  2 08:03:10 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Sat Apr  2 08:03:10 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ef011b7

dev-ruby/x25519: x86 stable wrt bug #836409

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-ruby/x25519/x25519-1.0.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/x25519/x25519-1.0.9.ebuild 
b/dev-ruby/x25519/x25519-1.0.9.ebuild
index 14c42adfd8ec..8a619e17e788 100644
--- a/dev-ruby/x25519/x25519-1.0.9.ebuild
+++ b/dev-ruby/x25519/x25519-1.0.9.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="https://github.com/crypto-rb/x25519/archive/v${PV}.tar.gz -> ${P}.tar.g
 
 LICENSE="BSD"
 SLOT="$(ver_cut 1)"
-KEYWORDS="amd64 ~arm ppc ppc64 ~x86"
+KEYWORDS="amd64 ~arm ppc ppc64 x86"
 IUSE=""
 
 all_ruby_prepare() {



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/x25519/

2022-03-31 Thread Agostino Sarubbo
commit: 926a76c09581d7302c5f8a420347bc5eb52324dc
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Mar 31 09:04:24 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Mar 31 09:04:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=926a76c0

dev-ruby/x25519: ppc64 stable wrt bug #836409

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-ruby/x25519/x25519-1.0.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/x25519/x25519-1.0.9.ebuild 
b/dev-ruby/x25519/x25519-1.0.9.ebuild
index def7fb861750..14c42adfd8ec 100644
--- a/dev-ruby/x25519/x25519-1.0.9.ebuild
+++ b/dev-ruby/x25519/x25519-1.0.9.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="https://github.com/crypto-rb/x25519/archive/v${PV}.tar.gz -> ${P}.tar.g
 
 LICENSE="BSD"
 SLOT="$(ver_cut 1)"
-KEYWORDS="amd64 ~arm ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ppc ppc64 ~x86"
 IUSE=""
 
 all_ruby_prepare() {



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/x25519/

2022-03-31 Thread Agostino Sarubbo
commit: f6eb5abe86b62167979646f668c81eee63c2d0a4
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Thu Mar 31 09:00:58 2022 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Thu Mar 31 09:00:58 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6eb5abe

dev-ruby/x25519: ppc stable wrt bug #836409

Package-Manager: Portage-3.0.30, Repoman-3.0.3
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-ruby/x25519/x25519-1.0.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/x25519/x25519-1.0.9.ebuild 
b/dev-ruby/x25519/x25519-1.0.9.ebuild
index d227e78dedd0..def7fb861750 100644
--- a/dev-ruby/x25519/x25519-1.0.9.ebuild
+++ b/dev-ruby/x25519/x25519-1.0.9.ebuild
@@ -21,7 +21,7 @@ 
SRC_URI="https://github.com/crypto-rb/x25519/archive/v${PV}.tar.gz -> ${P}.tar.g
 
 LICENSE="BSD"
 SLOT="$(ver_cut 1)"
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ppc ~ppc64 ~x86"
 IUSE=""
 
 all_ruby_prepare() {



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/x25519/

2022-03-30 Thread Hans de Graaff
commit: 016b49f02dfcad7e0e72021b33da649cac80
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Mar 30 08:25:57 2022 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Mar 31 05:39:24 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=016b49f0

dev-ruby/x25519: enable ruby31

Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/x25519/x25519-1.0.9.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/x25519/x25519-1.0.9.ebuild 
b/dev-ruby/x25519/x25519-1.0.9.ebuild
index 4fcd86a05d77..d227e78dedd0 100644
--- a/dev-ruby/x25519/x25519-1.0.9.ebuild
+++ b/dev-ruby/x25519/x25519-1.0.9.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-USE_RUBY="ruby26 ruby27 ruby30"
+USE_RUBY="ruby26 ruby27 ruby30 ruby31"
 
 RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/x25519/

2022-03-30 Thread Jakov Smolić
commit: fdc507d14049724271b54b56007a42f21fbfff12
Author: Jakov Smolić  gentoo  org>
AuthorDate: Wed Mar 30 11:08:32 2022 +
Commit: Jakov Smolić  gentoo  org>
CommitDate: Wed Mar 30 11:08:32 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fdc507d1

dev-ruby/x25519: Stabilize 1.0.9 amd64, #836409

Signed-off-by: Jakov Smolić  gentoo.org>

 dev-ruby/x25519/x25519-1.0.9.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/x25519/x25519-1.0.9.ebuild 
b/dev-ruby/x25519/x25519-1.0.9.ebuild
index f00eb3f62157..4fcd86a05d77 100644
--- a/dev-ruby/x25519/x25519-1.0.9.ebuild
+++ b/dev-ruby/x25519/x25519-1.0.9.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -21,7 +21,7 @@ 
SRC_URI="https://github.com/crypto-rb/x25519/archive/v${PV}.tar.gz -> ${P}.tar.g
 
 LICENSE="BSD"
 SLOT="$(ver_cut 1)"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86"
 IUSE=""
 
 all_ruby_prepare() {



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/x25519/

2021-11-21 Thread Hans de Graaff
commit: 6b8e10390993b27a2d5896d52db088054ed367aa
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Nov 21 08:31:12 2021 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Nov 21 08:31:18 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6b8e1039

dev-ruby/x25519: add 1.0.9; fix extension install

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/x25519/Manifest|  1 +
 dev-ruby/x25519/x25519-1.0.9.ebuild | 39 +
 2 files changed, 40 insertions(+)

diff --git a/dev-ruby/x25519/Manifest b/dev-ruby/x25519/Manifest
index 4e3929e2a389..165f3831ce7a 100644
--- a/dev-ruby/x25519/Manifest
+++ b/dev-ruby/x25519/Manifest
@@ -1 +1,2 @@
 DIST x25519-1.0.8.tar.gz 44313 BLAKE2B 
844408f6bb77b55a2ca0222c46d4d09688838d7fc86517636a465da7fb225d9de2f14fda3d38d593f0feddb5e4aeab28ec900766a190759139bf05f6e0e6bd56
 SHA512 
42a9a2f1c470ea82c070435e4d85317c69fbd6e994f765c46b3aa4b544a5557559ff36194e37100bd8f581711156d185117535aeb3da9f5b6b5523e5a4b347b6
+DIST x25519-1.0.9.tar.gz 44042 BLAKE2B 
65129fdfc0c40099487da3eacbd91436b625fd1224d58139a09d2ec571cb063f69767d468c89af512b0bef81912786b44b6923afaeb4a14f97a47034b702d848
 SHA512 
48349960b69f88177b772f431a1751ad190a9d71ebb01e0aced7dcc278a18c2e7cb1dbb621524950685b974f2f63d23039973accf067720ce1b74c5bb1eb4f77

diff --git a/dev-ruby/x25519/x25519-1.0.9.ebuild 
b/dev-ruby/x25519/x25519-1.0.9.ebuild
new file mode 100644
index ..f00eb3f62157
--- /dev/null
+++ b/dev-ruby/x25519/x25519-1.0.9.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby26 ruby27 ruby30"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_GEMSPEC="x25519.gemspec"
+
+RUBY_FAKEGEM_EXTENSIONS=(ext/x25519_ref10/extconf.rb)
+
+inherit ruby-fakegem
+
+DESCRIPTION="Key exchange via the X25519 (Curve25519) Elliptic Curve 
Diffie-Hellman function"
+HOMEPAGE="https://github.com/crypto-rb/x25519;
+SRC_URI="https://github.com/crypto-rb/x25519/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+IUSE=""
+
+all_ruby_prepare() {
+   sed -i -e '/bundler/ s:^:#: ; /coverall/I s:^:#:' spec/spec_helper.rb 
|| die
+
+   sed -i -e 's/git ls-files -z/find * -print0/' ${RUBY_FAKEGEM_GEMSPEC} 
|| die
+
+   # The precomputed implementation only works on amd64
+   if use amd64 ; then
+   RUBY_FAKEGEM_EXTENSIONS+=(ext/x25519_precomputed/extconf.rb)
+   else
+   sed -i -e 
'/\(x25519_precomputed\|X25519::Provider::Precomputed\)/ s:^:#:' lib/x25519.rb 
|| die
+   rm -f spec/x25519/provider/precomputed_spec.rb || die
+   fi
+}



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/x25519/

2021-10-14 Thread Hans de Graaff
commit: 307863494427b4bb4732e550a402b0351703
Author: Hans de Graaff  gentoo  org>
AuthorDate: Thu Oct 14 06:44:11 2021 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Thu Oct 14 06:44:42 2021 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=30786349

dev-ruby/x25519: add ruby30

Package-Manager: Portage-3.0.20, Repoman-3.0.3
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/x25519/x25519-1.0.8.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/x25519/x25519-1.0.8.ebuild 
b/dev-ruby/x25519/x25519-1.0.8.ebuild
index 3220c03c343..fb8db353268 100644
--- a/dev-ruby/x25519/x25519-1.0.8.ebuild
+++ b/dev-ruby/x25519/x25519-1.0.8.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-USE_RUBY="ruby24 ruby25 ruby26 ruby27"
+USE_RUBY="ruby25 ruby26 ruby27 ruby30"
 
 RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/x25519/

2020-07-21 Thread Agostino Sarubbo
commit: a7e996c9f1ab5088f9c716cadae4ddd9ba6cfda2
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Jul 21 09:33:42 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Jul 21 09:33:42 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a7e996c9

dev-ruby/x25519: x86 stable wrt bug #733272

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-ruby/x25519/x25519-1.0.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/x25519/x25519-1.0.8.ebuild 
b/dev-ruby/x25519/x25519-1.0.8.ebuild
index b52c16779c2..3220c03c343 100644
--- a/dev-ruby/x25519/x25519-1.0.8.ebuild
+++ b/dev-ruby/x25519/x25519-1.0.8.ebuild
@@ -19,7 +19,7 @@ 
SRC_URI="https://github.com/crypto-rb/x25519/archive/v${PV}.tar.gz -> ${P}.tar.g
 
 LICENSE="BSD"
 SLOT="$(ver_cut 1)"
-KEYWORDS="amd64 ~arm ppc ppc64 ~x86"
+KEYWORDS="amd64 ~arm ppc ppc64 x86"
 IUSE=""
 
 all_ruby_prepare() {



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/x25519/

2020-07-21 Thread Agostino Sarubbo
commit: 5dbf1e773e192cabffe0ce2bc9e6c6a8fba35f44
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Jul 21 09:31:15 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Jul 21 09:31:15 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5dbf1e77

dev-ruby/x25519: ppc64 stable wrt bug #733272

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-ruby/x25519/x25519-1.0.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/x25519/x25519-1.0.8.ebuild 
b/dev-ruby/x25519/x25519-1.0.8.ebuild
index 8245f6a6a8f..b52c16779c2 100644
--- a/dev-ruby/x25519/x25519-1.0.8.ebuild
+++ b/dev-ruby/x25519/x25519-1.0.8.ebuild
@@ -19,7 +19,7 @@ 
SRC_URI="https://github.com/crypto-rb/x25519/archive/v${PV}.tar.gz -> ${P}.tar.g
 
 LICENSE="BSD"
 SLOT="$(ver_cut 1)"
-KEYWORDS="amd64 ~arm ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ppc ppc64 ~x86"
 IUSE=""
 
 all_ruby_prepare() {



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/x25519/

2020-07-21 Thread Agostino Sarubbo
commit: 62297de9923bff2938c89f18e81d6b0393d79dce
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Jul 21 09:29:35 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Jul 21 09:29:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=62297de9

dev-ruby/x25519: ppc stable wrt bug #733272

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="ppc"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-ruby/x25519/x25519-1.0.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/x25519/x25519-1.0.8.ebuild 
b/dev-ruby/x25519/x25519-1.0.8.ebuild
index 258ca37d59a..8245f6a6a8f 100644
--- a/dev-ruby/x25519/x25519-1.0.8.ebuild
+++ b/dev-ruby/x25519/x25519-1.0.8.ebuild
@@ -19,7 +19,7 @@ 
SRC_URI="https://github.com/crypto-rb/x25519/archive/v${PV}.tar.gz -> ${P}.tar.g
 
 LICENSE="BSD"
 SLOT="$(ver_cut 1)"
-KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ppc ~ppc64 ~x86"
 IUSE=""
 
 all_ruby_prepare() {



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/x25519/

2020-07-21 Thread Agostino Sarubbo
commit: 880f187f643e677ac5a61382e8b80f8d0565c305
Author: Agostino Sarubbo  gentoo  org>
AuthorDate: Tue Jul 21 08:48:38 2020 +
Commit: Agostino Sarubbo  gentoo  org>
CommitDate: Tue Jul 21 08:48:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=880f187f

dev-ruby/x25519: amd64 stable wrt bug #733272

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="amd64"
Signed-off-by: Agostino Sarubbo  gentoo.org>

 dev-ruby/x25519/x25519-1.0.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/x25519/x25519-1.0.8.ebuild 
b/dev-ruby/x25519/x25519-1.0.8.ebuild
index 61a00f786cd..258ca37d59a 100644
--- a/dev-ruby/x25519/x25519-1.0.8.ebuild
+++ b/dev-ruby/x25519/x25519-1.0.8.ebuild
@@ -19,7 +19,7 @@ 
SRC_URI="https://github.com/crypto-rb/x25519/archive/v${PV}.tar.gz -> ${P}.tar.g
 
 LICENSE="BSD"
 SLOT="$(ver_cut 1)"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm ~ppc ~ppc64 ~x86"
 IUSE=""
 
 all_ruby_prepare() {



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/x25519/

2020-07-19 Thread Sam James
commit: 5f37ab0c0a38612f2cc6386f1654564315b620e1
Author: Sam James  gentoo  org>
AuthorDate: Mon Jul 20 02:08:11 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Mon Jul 20 02:23:35 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5f37ab0c

dev-ruby/x25519: x86 keyworded (bug #728064)

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 dev-ruby/x25519/x25519-1.0.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/x25519/x25519-1.0.8.ebuild 
b/dev-ruby/x25519/x25519-1.0.8.ebuild
index edd964ec864..61a00f786cd 100644
--- a/dev-ruby/x25519/x25519-1.0.8.ebuild
+++ b/dev-ruby/x25519/x25519-1.0.8.ebuild
@@ -19,7 +19,7 @@ 
SRC_URI="https://github.com/crypto-rb/x25519/archive/v${PV}.tar.gz -> ${P}.tar.g
 
 LICENSE="BSD"
 SLOT="$(ver_cut 1)"
-KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86"
 IUSE=""
 
 all_ruby_prepare() {



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/x25519/

2020-07-11 Thread Sam James
commit: 212acc081864e3c1eefe104d4a098924974240b5
Author: Sam James  gentoo  org>
AuthorDate: Sat Jul 11 17:43:28 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul 11 17:43:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=212acc08

dev-ruby/x25519: arm keyworded (bug #728064)

Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 dev-ruby/x25519/x25519-1.0.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/x25519/x25519-1.0.8.ebuild 
b/dev-ruby/x25519/x25519-1.0.8.ebuild
index ee82534761c..edd964ec864 100644
--- a/dev-ruby/x25519/x25519-1.0.8.ebuild
+++ b/dev-ruby/x25519/x25519-1.0.8.ebuild
@@ -19,7 +19,7 @@ 
SRC_URI="https://github.com/crypto-rb/x25519/archive/v${PV}.tar.gz -> ${P}.tar.g
 
 LICENSE="BSD"
 SLOT="$(ver_cut 1)"
-KEYWORDS="~amd64 ~ppc ~ppc64"
+KEYWORDS="~amd64 ~arm ~ppc ~ppc64"
 IUSE=""
 
 all_ruby_prepare() {



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/x25519/

2020-07-11 Thread Sam James
commit: 3fa58d217dee18b7d6bd9c57fc9f70d4d6e8f123
Author: Sam James  gentoo  org>
AuthorDate: Sat Jul 11 15:27:54 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul 11 15:27:54 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3fa58d21

dev-ruby/x25519: ppc keyworded (bug #728064)

Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 dev-ruby/x25519/x25519-1.0.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/x25519/x25519-1.0.8.ebuild 
b/dev-ruby/x25519/x25519-1.0.8.ebuild
index d4099bd640d..ee82534761c 100644
--- a/dev-ruby/x25519/x25519-1.0.8.ebuild
+++ b/dev-ruby/x25519/x25519-1.0.8.ebuild
@@ -19,7 +19,7 @@ 
SRC_URI="https://github.com/crypto-rb/x25519/archive/v${PV}.tar.gz -> ${P}.tar.g
 
 LICENSE="BSD"
 SLOT="$(ver_cut 1)"
-KEYWORDS="~amd64 ~ppc64"
+KEYWORDS="~amd64 ~ppc ~ppc64"
 IUSE=""
 
 all_ruby_prepare() {



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/x25519/

2020-07-10 Thread Sam James
commit: 41f94b591c3f39af3c5279b65021d3df5399557b
Author: Sam James  gentoo  org>
AuthorDate: Sat Jul 11 03:35:57 2020 +
Commit: Sam James  gentoo  org>
CommitDate: Sat Jul 11 03:36:26 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=41f94b59

dev-ruby/x25519: ppc64 keyworded (bug #728064)

Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Sam James  gentoo.org>

 dev-ruby/x25519/x25519-1.0.8.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-ruby/x25519/x25519-1.0.8.ebuild 
b/dev-ruby/x25519/x25519-1.0.8.ebuild
index 4030532414f..d4099bd640d 100644
--- a/dev-ruby/x25519/x25519-1.0.8.ebuild
+++ b/dev-ruby/x25519/x25519-1.0.8.ebuild
@@ -19,7 +19,7 @@ 
SRC_URI="https://github.com/crypto-rb/x25519/archive/v${PV}.tar.gz -> ${P}.tar.g
 
 LICENSE="BSD"
 SLOT="$(ver_cut 1)"
-KEYWORDS="~amd64"
+KEYWORDS="~amd64 ~ppc64"
 IUSE=""
 
 all_ruby_prepare() {



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/x25519/

2020-07-05 Thread Hans de Graaff
commit: 37bad98e1352f6e62f0dded01c6708fb7f6c002f
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Jul  5 06:39:01 2020 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Jul  5 06:39:01 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=37bad98e

dev-ruby/x25519: fix tests on non-amd64

Don't run tests for unsupported implementations.

Closes: https://bugs.gentoo.org/729068
Package-Manager: Portage-2.3.99, Repoman-2.3.23
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/x25519/x25519-1.0.8.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-ruby/x25519/x25519-1.0.8.ebuild 
b/dev-ruby/x25519/x25519-1.0.8.ebuild
index cd2b4a702e7..4030532414f 100644
--- a/dev-ruby/x25519/x25519-1.0.8.ebuild
+++ b/dev-ruby/x25519/x25519-1.0.8.ebuild
@@ -30,6 +30,7 @@ all_ruby_prepare() {
# The precomputed implementation only works on amd64
if ! use amd64 ; then
sed -i -e 
'/\(x25519_precomputed\|X25519::Provider::Precomputed\)/ s:^:#:' lib/x25519.rb 
|| die
+   rm -f spec/x25519/provider/precomputed_spec.rb || die
fi
 }
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/x25519/

2020-06-21 Thread Hans de Graaff
commit: eea031d253fac214034a2b18e2ee16d4c3295a14
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Jun 21 07:47:55 2020 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Jun 21 07:48:06 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=eea031d2

dev-ruby/x25519: precomputed impl only works on amd64

The precomputed implementation only works on amd64, so avoid it
on other arches and let them fall back to the unoptimized reference
implementation.

Closes: https://bugs.gentoo.org/728420
Closes: https://bugs.gentoo.org/72
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/x25519/x25519-1.0.8.ebuild | 17 ++---
 1 file changed, 14 insertions(+), 3 deletions(-)

diff --git a/dev-ruby/x25519/x25519-1.0.8.ebuild 
b/dev-ruby/x25519/x25519-1.0.8.ebuild
index 36e65576f66..cd2b4a702e7 100644
--- a/dev-ruby/x25519/x25519-1.0.8.ebuild
+++ b/dev-ruby/x25519/x25519-1.0.8.ebuild
@@ -26,16 +26,27 @@ all_ruby_prepare() {
sed -i -e '/bundler/ s:^:#: ; /coverall/I s:^:#:' spec/spec_helper.rb 
|| die
 
sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} 
|| die
+
+   # The precomputed implementation only works on amd64
+   if ! use amd64 ; then
+   sed -i -e 
'/\(x25519_precomputed\|X25519::Provider::Precomputed\)/ s:^:#:' lib/x25519.rb 
|| die
+   fi
 }
 
 each_ruby_configure() {
-   ${RUBY} -Cext/x25519_precomputed extconf.rb || die
+   if use amd64 ; then
+   ${RUBY} -Cext/x25519_precomputed extconf.rb || die
+   fi
+
${RUBY} -Cext/x25519_ref10 extconf.rb || die
 }
 
 each_ruby_compile() {
-   emake V=1 -Cext/x25519_precomputed
-   cp ext/x25519_precomputed/x25519_precomputed.so lib/ || die
+   if use amd64 ; then
+   emake V=1 -Cext/x25519_precomputed
+   cp ext/x25519_precomputed/x25519_precomputed.so lib/ || die
+   fi
+
emake V=1 -Cext/x25519_ref10
cp ext/x25519_ref10/x25519_ref10.so lib/ || die
 }



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/x25519/

2020-01-18 Thread Hans de Graaff
commit: bc67ca6235aefbfeeb268c943bfecfff364cc6b7
Author: Hans de Graaff  gentoo  org>
AuthorDate: Sun Jan 19 06:46:44 2020 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Sun Jan 19 06:52:29 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bc67ca62

dev-ruby/x25519: add ruby27

Package-Manager: Portage-2.3.79, Repoman-2.3.16
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/x25519/x25519-1.0.8.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-ruby/x25519/x25519-1.0.8.ebuild 
b/dev-ruby/x25519/x25519-1.0.8.ebuild
index 69c7f169907..36e65576f66 100644
--- a/dev-ruby/x25519/x25519-1.0.8.ebuild
+++ b/dev-ruby/x25519/x25519-1.0.8.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2019 Gentoo Authors
+# Copyright 1999-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-USE_RUBY="ruby24 ruby25 ruby26"
+USE_RUBY="ruby24 ruby25 ruby26 ruby27"
 
 RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
 



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/x25519/

2019-09-18 Thread Hans de Graaff
commit: 46b18784e9b5a965e42ec839bfb877413e10e090
Author: Hans de Graaff  gentoo  org>
AuthorDate: Wed Sep 18 16:01:31 2019 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Wed Sep 18 16:01:31 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=46b18784

dev-ruby/x25519: fix gemspec generation

Fixes: https://bugs.gentoo.org/694754
Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/x25519/x25519-1.0.8.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/dev-ruby/x25519/x25519-1.0.8.ebuild 
b/dev-ruby/x25519/x25519-1.0.8.ebuild
index bdc8cd16bb9..69c7f169907 100644
--- a/dev-ruby/x25519/x25519-1.0.8.ebuild
+++ b/dev-ruby/x25519/x25519-1.0.8.ebuild
@@ -24,6 +24,8 @@ IUSE=""
 
 all_ruby_prepare() {
sed -i -e '/bundler/ s:^:#: ; /coverall/I s:^:#:' spec/spec_helper.rb 
|| die
+
+   sed -i -e 's/git ls-files -z/find . -print0/' ${RUBY_FAKEGEM_GEMSPEC} 
|| die
 }
 
 each_ruby_configure() {



[gentoo-commits] repo/gentoo:master commit in: dev-ruby/x25519/

2019-09-16 Thread Hans de Graaff
commit: 15e5b7da57e9c627100e9319b98c099eb209bcdb
Author: Hans de Graaff  gentoo  org>
AuthorDate: Tue Sep 17 05:37:50 2019 +
Commit: Hans de Graaff  gentoo  org>
CommitDate: Tue Sep 17 05:38:04 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=15e5b7da

dev-ruby/x25519: initial import of 1.0.8

New dependency for forthcoming dev-ruby/net-ssh release.

Package-Manager: Portage-2.3.69, Repoman-2.3.16
Signed-off-by: Hans de Graaff  gentoo.org>

 dev-ruby/x25519/Manifest|  1 +
 dev-ruby/x25519/metadata.xml| 11 +++
 dev-ruby/x25519/x25519-1.0.8.ebuild | 39 +
 3 files changed, 51 insertions(+)

diff --git a/dev-ruby/x25519/Manifest b/dev-ruby/x25519/Manifest
new file mode 100644
index 000..4e3929e2a38
--- /dev/null
+++ b/dev-ruby/x25519/Manifest
@@ -0,0 +1 @@
+DIST x25519-1.0.8.tar.gz 44313 BLAKE2B 
844408f6bb77b55a2ca0222c46d4d09688838d7fc86517636a465da7fb225d9de2f14fda3d38d593f0feddb5e4aeab28ec900766a190759139bf05f6e0e6bd56
 SHA512 
42a9a2f1c470ea82c070435e4d85317c69fbd6e994f765c46b3aa4b544a5557559ff36194e37100bd8f581711156d185117535aeb3da9f5b6b5523e5a4b347b6

diff --git a/dev-ruby/x25519/metadata.xml b/dev-ruby/x25519/metadata.xml
new file mode 100644
index 000..188a5d7afc8
--- /dev/null
+++ b/dev-ruby/x25519/metadata.xml
@@ -0,0 +1,11 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+  
+r...@gentoo.org
+Gentoo Ruby Project
+  
+  
+crypto-rb/x25519
+  
+

diff --git a/dev-ruby/x25519/x25519-1.0.8.ebuild 
b/dev-ruby/x25519/x25519-1.0.8.ebuild
new file mode 100644
index 000..bdc8cd16bb9
--- /dev/null
+++ b/dev-ruby/x25519/x25519-1.0.8.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+USE_RUBY="ruby24 ruby25 ruby26"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGES.md README.md"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+RUBY_FAKEGEM_GEMSPEC="x25519.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Key exchange via the X25519 (Curve25519) Elliptic Curve 
Diffie-Hellman function"
+HOMEPAGE="https://github.com/crypto-rb/x25519;
+SRC_URI="https://github.com/crypto-rb/x25519/archive/v${PV}.tar.gz -> 
${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64"
+IUSE=""
+
+all_ruby_prepare() {
+   sed -i -e '/bundler/ s:^:#: ; /coverall/I s:^:#:' spec/spec_helper.rb 
|| die
+}
+
+each_ruby_configure() {
+   ${RUBY} -Cext/x25519_precomputed extconf.rb || die
+   ${RUBY} -Cext/x25519_ref10 extconf.rb || die
+}
+
+each_ruby_compile() {
+   emake V=1 -Cext/x25519_precomputed
+   cp ext/x25519_precomputed/x25519_precomputed.so lib/ || die
+   emake V=1 -Cext/x25519_ref10
+   cp ext/x25519_ref10/x25519_ref10.so lib/ || die
+}