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

2023-09-26 Thread WANG Xuerui
commit: 2706dca78aef49b673e29c63bdd7452097b73ec5
Author: WANG Xuerui  gentoo  org>
AuthorDate: Mon Sep 25 11:16:47 2023 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Tue Sep 26 06:32:32 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2706dca7

dev-util/gyp: keyword 20200512145953 for ~loong

Signed-off-by: WANG Xuerui  gentoo.org>

 dev-util/gyp/gyp-20200512145953.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/gyp/gyp-20200512145953.ebuild 
b/dev-util/gyp/gyp-20200512145953.ebuild
index f8a77f126c1e..43b5a4a623a0 100644
--- a/dev-util/gyp/gyp-20200512145953.ebuild
+++ b/dev-util/gyp/gyp-20200512145953.ebuild
@@ -23,7 +23,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~ppc64 x86"
+KEYWORDS="amd64 ~arm64 ~loong ~ppc64 x86"
 IUSE=""
 
 BDEPEND=""



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

2023-09-26 Thread WANG Xuerui
commit: 67e030e5a1a470ea41d6a164ce682528982f0a0f
Author: WANG Xuerui  gentoo  org>
AuthorDate: Mon Sep 25 11:20:39 2023 +
Commit: WANG Xuerui  gentoo  org>
CommitDate: Tue Sep 26 06:32:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67e030e5

dev-util/gyp: simplify code wrt live ebuild logic

And sync with the live ebuild while at it.

Signed-off-by: WANG Xuerui  gentoo.org>

 dev-util/gyp/gyp-20200512145953.ebuild | 12 
 dev-util/gyp/gyp-99.ebuild | 12 
 2 files changed, 8 insertions(+), 16 deletions(-)

diff --git a/dev-util/gyp/gyp-20200512145953.ebuild 
b/dev-util/gyp/gyp-20200512145953.ebuild
index 43b5a4a623a0..c075371e9081 100644
--- a/dev-util/gyp/gyp-20200512145953.ebuild
+++ b/dev-util/gyp/gyp-20200512145953.ebuild
@@ -7,23 +7,19 @@ DISTUTILS_SINGLE_IMPL="1"
 
 inherit distutils-r1
 
-if [[ "${PV}" == "99" ]]; then
-   inherit git-r3
-
-   EGIT_REPO_URI="https://chromium.googlesource.com/external/gyp;
-fi
-
 DESCRIPTION="GYP (Generate Your Projects) meta-build system"
 HOMEPAGE="https://gyp.gsrc.io/ https://chromium.googlesource.com/external/gyp;
+
 if [[ "${PV}" == "99" ]]; then
-   SRC_URI=""
+   EGIT_REPO_URI="https://chromium.googlesource.com/external/gyp;
+   inherit git-r3
 else
SRC_URI="https://home.apache.org/~arfrever/distfiles/${P}.tar.xz;
+   KEYWORDS="amd64 ~arm64 ~loong ~ppc64 x86"
 fi
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~arm64 ~loong ~ppc64 x86"
 IUSE=""
 
 BDEPEND=""

diff --git a/dev-util/gyp/gyp-99.ebuild 
b/dev-util/gyp/gyp-99.ebuild
index 8861e63de779..a45a96d28f83 100644
--- a/dev-util/gyp/gyp-99.ebuild
+++ b/dev-util/gyp/gyp-99.ebuild
@@ -7,23 +7,19 @@ DISTUTILS_SINGLE_IMPL="1"
 
 inherit distutils-r1
 
-if [[ "${PV}" == "99" ]]; then
-   inherit git-r3
-
-   EGIT_REPO_URI="https://chromium.googlesource.com/external/gyp;
-fi
-
 DESCRIPTION="GYP (Generate Your Projects) meta-build system"
 HOMEPAGE="https://gyp.gsrc.io/ https://chromium.googlesource.com/external/gyp;
+
 if [[ "${PV}" == "99" ]]; then
-   SRC_URI=""
+   EGIT_REPO_URI="https://chromium.googlesource.com/external/gyp;
+   inherit git-r3
 else
SRC_URI="https://home.apache.org/~arfrever/distfiles/${P}.tar.xz;
+   KEYWORDS="amd64 ~arm64 ~loong ~ppc64 x86"
 fi
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS=""
 IUSE=""
 
 BDEPEND=""



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

2023-05-01 Thread Sam James
commit: f6f47da965673ce8435b2cf8331e2af304a87c6b
Author: Sam James  gentoo  org>
AuthorDate: Mon May  1 08:30:41 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Mon May  1 08:33:51 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6f47da9

dev-util/gyp: enable py3.11

Closes: https://bugs.gentoo.org/896930
Signed-off-by: Sam James  gentoo.org>

 dev-util/gyp/gyp-20200512145953.ebuild | 2 +-
 dev-util/gyp/gyp-99.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/gyp/gyp-20200512145953.ebuild 
b/dev-util/gyp/gyp-20200512145953.ebuild
index 748f232c0c8d..f8a77f126c1e 100644
--- a/dev-util/gyp/gyp-20200512145953.ebuild
+++ b/dev-util/gyp/gyp-20200512145953.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="8"
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 DISTUTILS_SINGLE_IMPL="1"
 
 inherit distutils-r1

diff --git a/dev-util/gyp/gyp-99.ebuild 
b/dev-util/gyp/gyp-99.ebuild
index 22b7cac6dc60..8861e63de779 100644
--- a/dev-util/gyp/gyp-99.ebuild
+++ b/dev-util/gyp/gyp-99.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="8"
-PYTHON_COMPAT=( python3_{9..10} )
+PYTHON_COMPAT=( python3_{9..11} )
 DISTUTILS_SINGLE_IMPL="1"
 
 inherit distutils-r1



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

2023-01-24 Thread Sam James
commit: 673d98d340be8a49f6c7360d8f5b9d6e0cfb100b
Author: WANG Xuerui  gentoo  org>
AuthorDate: Tue Jan 24 12:21:30 2023 +
Commit: Sam James  gentoo  org>
CommitDate: Wed Jan 25 06:10:33 2023 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=673d98d3

dev-util/gyp: fix faulty sed usage

It currently mis-replaces `from six.moves import collections_abc`,
giving `from ... import collections.abc_abc` which is invalid
syntax.

Signed-off-by: WANG Xuerui  gentoo.org>
Closes: https://github.com/gentoo/gentoo/pull/29241
Signed-off-by: Sam James  gentoo.org>

 dev-util/gyp/gyp-99.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/gyp/gyp-99.ebuild 
b/dev-util/gyp/gyp-99.ebuild
index cc8257c39716..22b7cac6dc60 100644
--- a/dev-util/gyp/gyp-99.ebuild
+++ b/dev-util/gyp/gyp-99.ebuild
@@ -35,12 +35,12 @@ python_prepare_all() {
 
sed -e "s/'  Linux %s' % ' '\.join(platform.linux_distribution())/'  
Linux'/" -i gyptest.py || die
sed \
-   -e "s/import collections/import collections.abc/" \
+   -e "s/^import collections/import collections.abc/" \
-e "s/collections\.MutableSet/collections.abc.MutableSet/" \
-i pylib/gyp/common.py || die
sed -e "s/the_dict_key is 'variables'/the_dict_key == 'variables'/" -i 
pylib/gyp/input.py || die
sed \
-   -e "s/import collections/import collections.abc/" \
+   -e "s/^import collections/import collections.abc/" \
-e "s/collections\.Iterable/collections.abc.Iterable/" \
-i pylib/gyp/msvs_emulation.py || die
sed \



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

2022-01-29 Thread Yixun Lan
commit: edb8e4dedf5186514ceaa588eec2066a99341780
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Mon Jan 24 04:00:00 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sat Jan 29 15:19:29 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=edb8e4de

dev-util/gyp: Set CJK as co-maintainer.

Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Yixun Lan  gentoo.org>

 dev-util/gyp/metadata.xml | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/dev-util/gyp/metadata.xml b/dev-util/gyp/metadata.xml
index afbc38b27c6f..58dbc167607e 100644
--- a/dev-util/gyp/metadata.xml
+++ b/dev-util/gyp/metadata.xml
@@ -5,8 +5,8 @@
arfrever@gmail.com
Arfrever Frehtes Taifersar Arahesis

-   
-   flop...@gentoo.org
-   Mike Gilbert
+   
+   c...@gentoo.org
+   Cjk

 



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

2022-01-29 Thread Yixun Lan
commit: 5fb313e4f4ad8dab8a429118991a967ac56903b5
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Thu Jan 27 00:00:00 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sat Jan 29 15:19:39 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fb313e4

dev-util/gyp: Use EAPI="8".

Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Yixun Lan  gentoo.org>

 dev-util/gyp/gyp-20200512145953.ebuild | 2 +-
 dev-util/gyp/gyp-99.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/gyp/gyp-20200512145953.ebuild 
b/dev-util/gyp/gyp-20200512145953.ebuild
index a927c1e81115..63d9a50cbde2 100644
--- a/dev-util/gyp/gyp-20200512145953.ebuild
+++ b/dev-util/gyp/gyp-20200512145953.ebuild
@@ -1,7 +1,7 @@
 # Copyright 2017-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="7"
+EAPI="8"
 PYTHON_COMPAT=( python3_{8..10} )
 DISTUTILS_SINGLE_IMPL="1"
 

diff --git a/dev-util/gyp/gyp-99.ebuild 
b/dev-util/gyp/gyp-99.ebuild
index d8a948d82bc6..9f059ca6f95f 100644
--- a/dev-util/gyp/gyp-99.ebuild
+++ b/dev-util/gyp/gyp-99.ebuild
@@ -1,7 +1,7 @@
 # Copyright 2017-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="7"
+EAPI="8"
 PYTHON_COMPAT=( python3_{8..10} )
 DISTUTILS_SINGLE_IMPL="1"
 



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

2022-01-29 Thread Yixun Lan
commit: c55ac63e4388948dde9e566d21b3c2cf8188d141
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Thu Jan 20 00:00:00 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sat Jan 29 15:18:42 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c55ac63e

dev-util/gyp: Add support for Python 3.10.

Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Yixun Lan  gentoo.org>

 dev-util/gyp/gyp-20200512145953.ebuild | 2 +-
 dev-util/gyp/gyp-99.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/gyp/gyp-20200512145953.ebuild 
b/dev-util/gyp/gyp-20200512145953.ebuild
index f499409a7905..a927c1e81115 100644
--- a/dev-util/gyp/gyp-20200512145953.ebuild
+++ b/dev-util/gyp/gyp-20200512145953.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
-PYTHON_COMPAT=(python{3_7,3_8,3_9})
+PYTHON_COMPAT=( python3_{8..10} )
 DISTUTILS_SINGLE_IMPL="1"
 
 inherit distutils-r1

diff --git a/dev-util/gyp/gyp-99.ebuild 
b/dev-util/gyp/gyp-99.ebuild
index 4f1e8527d561..d8a948d82bc6 100644
--- a/dev-util/gyp/gyp-99.ebuild
+++ b/dev-util/gyp/gyp-99.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
-PYTHON_COMPAT=(python{3_7,3_8,3_9})
+PYTHON_COMPAT=( python3_{8..10} )
 DISTUTILS_SINGLE_IMPL="1"
 
 inherit distutils-r1



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

2022-01-29 Thread Yixun Lan
commit: ab98a503a3371198b6fc0279cd47442f039b9b41
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Sun Jan 16 00:00:00 2022 +
Commit: Yixun Lan  gentoo  org>
CommitDate: Sat Jan 29 15:18:38 2022 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ab98a503

dev-util/gyp: Delete no longer needed DISTUTILS_USE_SETUPTOOLS="rdepend".

Closes: https://bugs.gentoo.org/818577
Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Yixun Lan  gentoo.org>

 dev-util/gyp/gyp-20200512145953.ebuild | 3 +--
 dev-util/gyp/gyp-99.ebuild | 3 +--
 2 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/dev-util/gyp/gyp-20200512145953.ebuild 
b/dev-util/gyp/gyp-20200512145953.ebuild
index 04041f153491..f499409a7905 100644
--- a/dev-util/gyp/gyp-20200512145953.ebuild
+++ b/dev-util/gyp/gyp-20200512145953.ebuild
@@ -1,10 +1,9 @@
-# Copyright 2017-2020 Gentoo Authors
+# Copyright 2017-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
 PYTHON_COMPAT=(python{3_7,3_8,3_9})
 DISTUTILS_SINGLE_IMPL="1"
-DISTUTILS_USE_SETUPTOOLS="rdepend"
 
 inherit distutils-r1
 

diff --git a/dev-util/gyp/gyp-99.ebuild 
b/dev-util/gyp/gyp-99.ebuild
index f163e0f3957b..4f1e8527d561 100644
--- a/dev-util/gyp/gyp-99.ebuild
+++ b/dev-util/gyp/gyp-99.ebuild
@@ -1,10 +1,9 @@
-# Copyright 2017-2020 Gentoo Authors
+# Copyright 2017-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
 PYTHON_COMPAT=(python{3_7,3_8,3_9})
 DISTUTILS_SINGLE_IMPL="1"
-DISTUTILS_USE_SETUPTOOLS="rdepend"
 
 inherit distutils-r1
 



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

2020-10-20 Thread Mike Gilbert
commit: 35b6880e96552d413b1790e82487f7f78a16b42c
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Tue Oct 20 01:00:00 2020 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Tue Oct 20 20:35:51 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35b6880e

dev-util/gyp: Drop support for Python 3.6. Add support for Python 3.9.

Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Mike Gilbert  gentoo.org>

 dev-util/gyp/gyp-20200512145953.ebuild | 10 +-
 dev-util/gyp/gyp-99.ebuild | 10 +-
 2 files changed, 18 insertions(+), 2 deletions(-)

diff --git a/dev-util/gyp/gyp-20200512145953.ebuild 
b/dev-util/gyp/gyp-20200512145953.ebuild
index 9ee7379992f..04041f15349 100644
--- a/dev-util/gyp/gyp-20200512145953.ebuild
+++ b/dev-util/gyp/gyp-20200512145953.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
-PYTHON_COMPAT=(python{3_6,3_7,3_8})
+PYTHON_COMPAT=(python{3_7,3_8,3_9})
 DISTUTILS_SINGLE_IMPL="1"
 DISTUTILS_USE_SETUPTOOLS="rdepend"
 
@@ -35,7 +35,15 @@ python_prepare_all() {
distutils-r1_python_prepare_all
 
sed -e "s/'  Linux %s' % ' '\.join(platform.linux_distribution())/'  
Linux'/" -i gyptest.py || die
+   sed \
+   -e "s/import collections/import collections.abc/" \
+   -e "s/collections\.MutableSet/collections.abc.MutableSet/" \
+   -i pylib/gyp/common.py || die
sed -e "s/the_dict_key is 'variables'/the_dict_key == 'variables'/" -i 
pylib/gyp/input.py || die
+   sed \
+   -e "s/import collections/import collections.abc/" \
+   -e "s/collections\.Iterable/collections.abc.Iterable/" \
+   -i pylib/gyp/msvs_emulation.py || die
sed \
-e "s/os\.environ\['PRESERVE'\] is not 
''/os.environ['PRESERVE'] != ''/" \
-e "s/conditions is ()/conditions == ()/" \

diff --git a/dev-util/gyp/gyp-99.ebuild 
b/dev-util/gyp/gyp-99.ebuild
index bf36a597b2c..f163e0f3957 100644
--- a/dev-util/gyp/gyp-99.ebuild
+++ b/dev-util/gyp/gyp-99.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
-PYTHON_COMPAT=(python{3_6,3_7,3_8})
+PYTHON_COMPAT=(python{3_7,3_8,3_9})
 DISTUTILS_SINGLE_IMPL="1"
 DISTUTILS_USE_SETUPTOOLS="rdepend"
 
@@ -35,7 +35,15 @@ python_prepare_all() {
distutils-r1_python_prepare_all
 
sed -e "s/'  Linux %s' % ' '\.join(platform.linux_distribution())/'  
Linux'/" -i gyptest.py || die
+   sed \
+   -e "s/import collections/import collections.abc/" \
+   -e "s/collections\.MutableSet/collections.abc.MutableSet/" \
+   -i pylib/gyp/common.py || die
sed -e "s/the_dict_key is 'variables'/the_dict_key == 'variables'/" -i 
pylib/gyp/input.py || die
+   sed \
+   -e "s/import collections/import collections.abc/" \
+   -e "s/collections\.Iterable/collections.abc.Iterable/" \
+   -i pylib/gyp/msvs_emulation.py || die
sed \
-e "s/os\.environ\['PRESERVE'\] is not 
''/os.environ['PRESERVE'] != ''/" \
-e "s/conditions is ()/conditions == ()/" \



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

2020-09-21 Thread Mike Gilbert
commit: 02310d03f49947a2b7cd04e7dc6e9298d47eb3ad
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Sun Sep 20 03:00:00 2020 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Mon Sep 21 16:05:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=02310d03

dev-util/gyp: Delete old version (20170904022846-r1).

Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Mike Gilbert  gentoo.org>

 dev-util/gyp/Manifest |  1 -
 dev-util/gyp/gyp-20170904022846-r1.ebuild | 34 ---
 2 files changed, 35 deletions(-)

diff --git a/dev-util/gyp/Manifest b/dev-util/gyp/Manifest
index 154c7d85862..66686b3ce77 100644
--- a/dev-util/gyp/Manifest
+++ b/dev-util/gyp/Manifest
@@ -1,2 +1 @@
-DIST gyp-20170904022846.tar.xz 447608 BLAKE2B 
41f0e28d04039358a9e4ec9628fe1d936d19748061ea882a4e47f2cb23549db3866c5281e102b8f95d6ed37cfe999e7342129a81333671ee42534fc53d2a0d0e
 SHA512 
9336be1103048fe5f51f90fcb2a153bba7638e71e4b579c47b725db81ae4257a56a8f7dacddc936e627862ee6149a453f1c7f5bede633cbd3076e0fa2fce07a7
 DIST gyp-20200512145953.tar.xz 443884 BLAKE2B 
74ff269e3e8aa51e6b34f795892f6e8922d098a81b4d855619520d3d366e79b611931cddf4ee2ec60a7e040af11ac8eba7582ad10e24de627df5a4aa4eba6474
 SHA512 
35bf2af22f2e632b3d6e546e5017df8effd0c7ad80beed9b95ed1e2f294d70215889bc6a0147506461254e951d70189dc48824af10a6620e996945d2cf5586ee

diff --git a/dev-util/gyp/gyp-20170904022846-r1.ebuild 
b/dev-util/gyp/gyp-20170904022846-r1.ebuild
deleted file mode 100644
index 4c94b7b218e..000
--- a/dev-util/gyp/gyp-20170904022846-r1.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 2017-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI="7"
-PYTHON_COMPAT=(python2_7)
-DISTUTILS_SINGLE_IMPL="1"
-
-inherit distutils-r1
-
-if [[ "${PV}" == "99" ]]; then
-   inherit git-r3
-
-   EGIT_REPO_URI="https://chromium.googlesource.com/external/gyp;
-fi
-
-DESCRIPTION="GYP (Generate Your Projects) meta-build system"
-HOMEPAGE="https://gyp.gsrc.io/ https://chromium.googlesource.com/external/gyp;
-if [[ "${PV}" == "99" ]]; then
-   SRC_URI=""
-else
-   SRC_URI="https://home.apache.org/~arfrever/distfiles/${P}.tar.xz;
-fi
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="amd64 ~arm64 ~ppc64 x86"
-IUSE=""
-
-src_test() {
-   # More errors when DeprecationWarnings enabled.
-   local -x PYTHONWARNINGS=""
-
-   "${PYTHON}" gyptest.py --all --verbose
-}



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

2020-09-21 Thread Mike Gilbert
commit: 5eba1ad19f198fd452a4c3ccd8570b50328c8bae
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Sun Sep 20 00:00:00 2020 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Mon Sep 21 16:05:36 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5eba1ad1

dev-util/gyp: Version bump (20200512145953).

Bug: https://bugs.gentoo.org/695000
Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Mike Gilbert  gentoo.org>

 dev-util/gyp/Manifest  |  1 +
 dev-util/gyp/gyp-20200512145953.ebuild | 39 ++
 2 files changed, 40 insertions(+)

diff --git a/dev-util/gyp/Manifest b/dev-util/gyp/Manifest
index a8345477155..154c7d85862 100644
--- a/dev-util/gyp/Manifest
+++ b/dev-util/gyp/Manifest
@@ -1 +1,2 @@
 DIST gyp-20170904022846.tar.xz 447608 BLAKE2B 
41f0e28d04039358a9e4ec9628fe1d936d19748061ea882a4e47f2cb23549db3866c5281e102b8f95d6ed37cfe999e7342129a81333671ee42534fc53d2a0d0e
 SHA512 
9336be1103048fe5f51f90fcb2a153bba7638e71e4b579c47b725db81ae4257a56a8f7dacddc936e627862ee6149a453f1c7f5bede633cbd3076e0fa2fce07a7
+DIST gyp-20200512145953.tar.xz 443884 BLAKE2B 
74ff269e3e8aa51e6b34f795892f6e8922d098a81b4d855619520d3d366e79b611931cddf4ee2ec60a7e040af11ac8eba7582ad10e24de627df5a4aa4eba6474
 SHA512 
35bf2af22f2e632b3d6e546e5017df8effd0c7ad80beed9b95ed1e2f294d70215889bc6a0147506461254e951d70189dc48824af10a6620e996945d2cf5586ee

diff --git a/dev-util/gyp/gyp-20200512145953.ebuild 
b/dev-util/gyp/gyp-20200512145953.ebuild
new file mode 100644
index 000..95e9e43a2ee
--- /dev/null
+++ b/dev-util/gyp/gyp-20200512145953.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2017-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="7"
+PYTHON_COMPAT=(python{3_6,3_7})
+DISTUTILS_SINGLE_IMPL="1"
+DISTUTILS_USE_SETUPTOOLS="rdepend"
+
+inherit distutils-r1
+
+if [[ "${PV}" == "99" ]]; then
+   inherit git-r3
+
+   EGIT_REPO_URI="https://chromium.googlesource.com/external/gyp;
+fi
+
+DESCRIPTION="GYP (Generate Your Projects) meta-build system"
+HOMEPAGE="https://gyp.gsrc.io/ https://chromium.googlesource.com/external/gyp;
+if [[ "${PV}" == "99" ]]; then
+   SRC_URI=""
+else
+   SRC_URI="https://home.apache.org/~arfrever/distfiles/${P}.tar.xz;
+fi
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+IUSE=""
+
+BDEPEND=""
+DEPEND=""
+RDEPEND=""
+
+python_test() {
+   # More errors with DeprecationWarnings enabled.
+   local -x PYTHONWARNINGS=""
+
+   "${PYTHON}" gyptest.py --all --verbose
+}



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

2020-09-21 Thread Mike Gilbert
commit: 17a5eec31983efe168a5e157f58b59fd736fb4e7
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Sun Sep 20 01:00:00 2020 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Mon Sep 21 16:05:37 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=17a5eec3

dev-util/gyp: Add support for Python 3.8.

Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Mike Gilbert  gentoo.org>

 dev-util/gyp/gyp-20200512145953.ebuild | 13 -
 dev-util/gyp/gyp-99.ebuild | 17 ++---
 2 files changed, 26 insertions(+), 4 deletions(-)

diff --git a/dev-util/gyp/gyp-20200512145953.ebuild 
b/dev-util/gyp/gyp-20200512145953.ebuild
index 95e9e43a2ee..12db11a3d62 100644
--- a/dev-util/gyp/gyp-20200512145953.ebuild
+++ b/dev-util/gyp/gyp-20200512145953.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
-PYTHON_COMPAT=(python{3_6,3_7})
+PYTHON_COMPAT=(python{3_6,3_7,3_8})
 DISTUTILS_SINGLE_IMPL="1"
 DISTUTILS_USE_SETUPTOOLS="rdepend"
 
@@ -31,6 +31,17 @@ BDEPEND=""
 DEPEND=""
 RDEPEND=""
 
+python_prepare_all() {
+   distutils-r1_python_prepare_all
+
+   sed -e "s/'  Linux %s' % ' '\.join(platform.linux_distribution())/'  
Linux'/" -i gyptest.py || die
+   sed -e "s/the_dict_key is 'variables'/the_dict_key == 'variables'/" -i 
pylib/gyp/input.py || die
+   sed \
+   -e "s/os\.environ\['PRESERVE'\] is not 
''/os.environ['PRESERVE'] != ''/" \
+   -e "s/conditions is ()/conditions == ()/" \
+   -i test/lib/TestCmd.py || die
+}
+
 python_test() {
# More errors with DeprecationWarnings enabled.
local -x PYTHONWARNINGS=""

diff --git a/dev-util/gyp/gyp-99.ebuild 
b/dev-util/gyp/gyp-99.ebuild
index da57f66635d..bf36a597b2c 100644
--- a/dev-util/gyp/gyp-99.ebuild
+++ b/dev-util/gyp/gyp-99.ebuild
@@ -2,7 +2,7 @@
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
-PYTHON_COMPAT=(python{3_6,3_7})
+PYTHON_COMPAT=(python{3_6,3_7,3_8})
 DISTUTILS_SINGLE_IMPL="1"
 DISTUTILS_USE_SETUPTOOLS="rdepend"
 
@@ -31,8 +31,19 @@ BDEPEND=""
 DEPEND=""
 RDEPEND=""
 
-src_test() {
-   # More errors when DeprecationWarnings enabled.
+python_prepare_all() {
+   distutils-r1_python_prepare_all
+
+   sed -e "s/'  Linux %s' % ' '\.join(platform.linux_distribution())/'  
Linux'/" -i gyptest.py || die
+   sed -e "s/the_dict_key is 'variables'/the_dict_key == 'variables'/" -i 
pylib/gyp/input.py || die
+   sed \
+   -e "s/os\.environ\['PRESERVE'\] is not 
''/os.environ['PRESERVE'] != ''/" \
+   -e "s/conditions is ()/conditions == ()/" \
+   -i test/lib/TestCmd.py || die
+}
+
+python_test() {
+   # More errors with DeprecationWarnings enabled.
local -x PYTHONWARNINGS=""
 
"${PYTHON}" gyptest.py --all --verbose



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

2020-09-21 Thread Mike Gilbert
commit: 5fefa2dd0f914023f6d9cf2a6b678e1fc56ebe54
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Sun Sep 20 02:00:00 2020 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Mon Sep 21 16:05:38 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fefa2dd

dev-util/gyp: 20200512145953 AMD64/X86 stabilization.

Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Mike Gilbert  gentoo.org>

 dev-util/gyp/gyp-20200512145953.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/gyp/gyp-20200512145953.ebuild 
b/dev-util/gyp/gyp-20200512145953.ebuild
index 12db11a3d62..9ee7379992f 100644
--- a/dev-util/gyp/gyp-20200512145953.ebuild
+++ b/dev-util/gyp/gyp-20200512145953.ebuild
@@ -24,7 +24,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
+KEYWORDS="amd64 ~arm64 ~ppc64 x86"
 IUSE=""
 
 BDEPEND=""



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

2020-07-04 Thread Mike Gilbert
commit: 6090fa132c7d48798c23f035daf0c2d776a0a0a9
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Thu Jul  2 14:01:37 2020 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Sat Jul  4 13:52:28 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6090fa13

dev-util/gyp: ~ARM64 keywording (bug #730282).

Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Mike Gilbert  gentoo.org>

 dev-util/gyp/gyp-20170904022846-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/gyp/gyp-20170904022846-r1.ebuild 
b/dev-util/gyp/gyp-20170904022846-r1.ebuild
index 24cd176a09b..4c94b7b218e 100644
--- a/dev-util/gyp/gyp-20170904022846-r1.ebuild
+++ b/dev-util/gyp/gyp-20170904022846-r1.ebuild
@@ -23,7 +23,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~ppc64 x86"
+KEYWORDS="amd64 ~arm64 ~ppc64 x86"
 IUSE=""
 
 src_test() {



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

2020-01-01 Thread Mike Gilbert
commit: 1dd235337ac96f0c1b5d87a84600576839e98e3e
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Wed Jan  1 21:06:52 2020 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Wed Jan  1 22:09:53 2020 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1dd23533

dev-util/gyp: Use Python 3.

Bug: https://bugs.gentoo.org/695000
Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Mike Gilbert  gentoo.org>

 dev-util/gyp/gyp-99.ebuild | 11 +--
 1 file changed, 5 insertions(+), 6 deletions(-)

diff --git a/dev-util/gyp/gyp-99.ebuild 
b/dev-util/gyp/gyp-99.ebuild
index 062dcc11375..da57f66635d 100644
--- a/dev-util/gyp/gyp-99.ebuild
+++ b/dev-util/gyp/gyp-99.ebuild
@@ -1,9 +1,10 @@
-# Copyright 2017-2019 Gentoo Authors
+# Copyright 2017-2020 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"
-PYTHON_COMPAT=(python2_7)
+PYTHON_COMPAT=(python{3_6,3_7})
 DISTUTILS_SINGLE_IMPL="1"
+DISTUTILS_USE_SETUPTOOLS="rdepend"
 
 inherit distutils-r1
 
@@ -25,12 +26,10 @@ LICENSE="BSD"
 SLOT="0"
 KEYWORDS=""
 IUSE=""
-REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
-BDEPEND="${PYTHON_DEPS}
-   dev-python/setuptools[${PYTHON_USEDEP}]"
+BDEPEND=""
 DEPEND=""
-RDEPEND="${BDEPEND}"
+RDEPEND=""
 
 src_test() {
# More errors when DeprecationWarnings enabled.



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

2019-08-09 Thread Mike Gilbert
commit: 0f3ac8b7f35a46de32a5035cf3cc36d12ef3aef9
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Fri Aug  9 17:28:05 2019 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Fri Aug  9 18:39:00 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0f3ac8b7

dev-util/gyp: Use simplified form of copyright line.

Fixes: https://bugs.gentoo.org/691660
Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Mike Gilbert  gentoo.org>

 dev-util/gyp/gyp-20170904022846.ebuild | 2 +-
 dev-util/gyp/gyp-99.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/gyp/gyp-20170904022846.ebuild 
b/dev-util/gyp/gyp-20170904022846.ebuild
index 01a8975bd42..1642a828af1 100644
--- a/dev-util/gyp/gyp-20170904022846.ebuild
+++ b/dev-util/gyp/gyp-20170904022846.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2017-2019 Arfrever Frehtes Taifersar Arahesis
+# Copyright 2017-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"

diff --git a/dev-util/gyp/gyp-99.ebuild 
b/dev-util/gyp/gyp-99.ebuild
index f427d6156ee..062dcc11375 100644
--- a/dev-util/gyp/gyp-99.ebuild
+++ b/dev-util/gyp/gyp-99.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2017-2019 Arfrever Frehtes Taifersar Arahesis
+# Copyright 2017-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="7"



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

2019-04-20 Thread Mike Gilbert
commit: 9e70387aeef2b67d759dea6b027a216a2a26bcbe
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Thu Apr 18 16:58:51 2019 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Fri Apr 19 16:39:05 2019 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e70387a

dev-util/gyp: Use EAPI="7".

Signed-off-by: Arfrever Frehtes Taifersar Arahesis  Apache.Org>
Signed-off-by: Mike Gilbert  gentoo.org>

 dev-util/gyp/gyp-20170904022846.ebuild | 9 +
 dev-util/gyp/gyp-99.ebuild | 9 +
 2 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/dev-util/gyp/gyp-20170904022846.ebuild 
b/dev-util/gyp/gyp-20170904022846.ebuild
index d5f888d0b40..01a8975bd42 100644
--- a/dev-util/gyp/gyp-20170904022846.ebuild
+++ b/dev-util/gyp/gyp-20170904022846.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 2017-2019 Arfrever Frehtes Taifersar Arahesis
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="6"
+EAPI="7"
 PYTHON_COMPAT=(python2_7)
 DISTUTILS_SINGLE_IMPL="1"
 
@@ -27,9 +27,10 @@ KEYWORDS="amd64 ~ppc64 x86"
 IUSE=""
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
-DEPEND="${PYTHON_DEPS}
+BDEPEND="${PYTHON_DEPS}
dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND="${DEPEND}"
+DEPEND=""
+RDEPEND="${BDEPEND}"
 
 src_test() {
# More errors when DeprecationWarnings enabled.

diff --git a/dev-util/gyp/gyp-99.ebuild 
b/dev-util/gyp/gyp-99.ebuild
index 0c933a99edc..f427d6156ee 100644
--- a/dev-util/gyp/gyp-99.ebuild
+++ b/dev-util/gyp/gyp-99.ebuild
@@ -1,7 +1,7 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 2017-2019 Arfrever Frehtes Taifersar Arahesis
 # Distributed under the terms of the GNU General Public License v2
 
-EAPI="6"
+EAPI="7"
 PYTHON_COMPAT=(python2_7)
 DISTUTILS_SINGLE_IMPL="1"
 
@@ -27,9 +27,10 @@ KEYWORDS=""
 IUSE=""
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 
-DEPEND="${PYTHON_DEPS}
+BDEPEND="${PYTHON_DEPS}
dev-python/setuptools[${PYTHON_USEDEP}]"
-RDEPEND="${DEPEND}"
+DEPEND=""
+RDEPEND="${BDEPEND}"
 
 src_test() {
# More errors when DeprecationWarnings enabled.



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

2018-03-15 Thread Sergei Trofimovich
commit: 29a07aeb8797b453539eca68b6b1aec93e78d988
Author: Sergei Trofimovich  gentoo  org>
AuthorDate: Thu Mar 15 19:23:29 2018 +
Commit: Sergei Trofimovich  gentoo  org>
CommitDate: Thu Mar 15 19:23:29 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=29a07aeb

dev-util/gyp: keyworded 20170904022846 for ppc64, bug #642714

Package-Manager: Portage-2.3.24, Repoman-2.3.6
RepoMan-Options: --include-arches="ppc64"

 dev-util/gyp/gyp-20170904022846.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-util/gyp/gyp-20170904022846.ebuild 
b/dev-util/gyp/gyp-20170904022846.ebuild
index b1cf14a58db..d5f888d0b40 100644
--- a/dev-util/gyp/gyp-20170904022846.ebuild
+++ b/dev-util/gyp/gyp-20170904022846.ebuild
@@ -23,7 +23,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="amd64 ~ppc64 x86"
 IUSE=""
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 



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

2018-03-08 Thread Mike Gilbert
commit: db5c4beb4fd5e6a57c90df86d0d0bc6986cb7886
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Thu Mar  8 18:05:59 2018 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Thu Mar  8 19:32:48 2018 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=db5c4beb

dev-util/gyp: Stabilize 20170904022846 on amd64/x86.

 dev-util/gyp/gyp-20170904022846.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-util/gyp/gyp-20170904022846.ebuild 
b/dev-util/gyp/gyp-20170904022846.ebuild
index 49679f6504e..b1cf14a58db 100644
--- a/dev-util/gyp/gyp-20170904022846.ebuild
+++ b/dev-util/gyp/gyp-20170904022846.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"
@@ -23,7 +23,7 @@ fi
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="amd64 x86"
 IUSE=""
 REQUIRED_USE="${PYTHON_REQUIRED_USE}"
 



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

2017-09-28 Thread Mike Gilbert
commit: 03107fd1ed966a6eb33fbc93c422c4c38df0dabf
Author: Arfrever Frehtes Taifersar Arahesis  Apache  Org>
AuthorDate: Thu Sep 28 15:48:01 2017 +
Commit: Mike Gilbert  gentoo  org>
CommitDate: Thu Sep 28 17:11:00 2017 +
URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=03107fd1

dev-util/gyp: Initial addition.

 dev-util/gyp/Manifest  |  1 +
 dev-util/gyp/gyp-20170904022846.ebuild | 39 ++
 dev-util/gyp/gyp-99.ebuild | 39 ++
 dev-util/gyp/metadata.xml  |  8 +++
 4 files changed, 87 insertions(+)

diff --git a/dev-util/gyp/Manifest b/dev-util/gyp/Manifest
new file mode 100644
index 000..8c0b1306453
--- /dev/null
+++ b/dev-util/gyp/Manifest
@@ -0,0 +1 @@
+DIST gyp-20170904022846.tar.xz 447608 SHA256 
01b59ceda78b611690c0f3a3eed1117153ac88d7f48af0c414adde65cb78d367 SHA512 
9336be1103048fe5f51f90fcb2a153bba7638e71e4b579c47b725db81ae4257a56a8f7dacddc936e627862ee6149a453f1c7f5bede633cbd3076e0fa2fce07a7
 WHIRLPOOL 
de5e6d4723814fe1bec5ad77c78491c6417eb03bc983b78a2c2d74045091f46921bce9b535988a43219a8f9bdd20c2f4c71919dd16ab0c7e0c3d86a8c6ab2e6b

diff --git a/dev-util/gyp/gyp-20170904022846.ebuild 
b/dev-util/gyp/gyp-20170904022846.ebuild
new file mode 100644
index 000..49679f6504e
--- /dev/null
+++ b/dev-util/gyp/gyp-20170904022846.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+PYTHON_COMPAT=(python2_7)
+DISTUTILS_SINGLE_IMPL="1"
+
+inherit distutils-r1
+
+if [[ "${PV}" == "99" ]]; then
+   inherit git-r3
+
+   EGIT_REPO_URI="https://chromium.googlesource.com/external/gyp;
+fi
+
+DESCRIPTION="GYP (Generate Your Projects) meta-build system"
+HOMEPAGE="https://gyp.gsrc.io/ https://chromium.googlesource.com/external/gyp;
+if [[ "${PV}" == "99" ]]; then
+   SRC_URI=""
+else
+   SRC_URI="https://home.apache.org/~arfrever/distfiles/${P}.tar.xz;
+fi
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}
+   dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}"
+
+src_test() {
+   # More errors when DeprecationWarnings enabled.
+   local -x PYTHONWARNINGS=""
+
+   "${PYTHON}" gyptest.py --all --verbose
+}

diff --git a/dev-util/gyp/gyp-99.ebuild 
b/dev-util/gyp/gyp-99.ebuild
new file mode 100644
index 000..0c933a99edc
--- /dev/null
+++ b/dev-util/gyp/gyp-99.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+PYTHON_COMPAT=(python2_7)
+DISTUTILS_SINGLE_IMPL="1"
+
+inherit distutils-r1
+
+if [[ "${PV}" == "99" ]]; then
+   inherit git-r3
+
+   EGIT_REPO_URI="https://chromium.googlesource.com/external/gyp;
+fi
+
+DESCRIPTION="GYP (Generate Your Projects) meta-build system"
+HOMEPAGE="https://gyp.gsrc.io/ https://chromium.googlesource.com/external/gyp;
+if [[ "${PV}" == "99" ]]; then
+   SRC_URI=""
+else
+   SRC_URI="https://home.apache.org/~arfrever/distfiles/${P}.tar.xz;
+fi
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS=""
+IUSE=""
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+
+DEPEND="${PYTHON_DEPS}
+   dev-python/setuptools[${PYTHON_USEDEP}]"
+RDEPEND="${DEPEND}"
+
+src_test() {
+   # More errors when DeprecationWarnings enabled.
+   local -x PYTHONWARNINGS=""
+
+   "${PYTHON}" gyptest.py --all --verbose
+}

diff --git a/dev-util/gyp/metadata.xml b/dev-util/gyp/metadata.xml
new file mode 100644
index 000..7b9c409fca7
--- /dev/null
+++ b/dev-util/gyp/metadata.xml
@@ -0,0 +1,8 @@
+
+http://www.gentoo.org/dtd/metadata.dtd;>
+
+   
+   arfrever@gmail.com
+   Arfrever Frehtes Taifersar Arahesis
+   
+