summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArfrever Frehtes Taifersar Arahesis <Arfrever@Apache.Org>2017-09-28 17:48:01 +0200
committerMike Gilbert <floppym@gentoo.org>2017-09-28 13:11:00 -0400
commit03107fd1ed966a6eb33fbc93c422c4c38df0dabf (patch)
treed7125a42b5e0426c723308f3c576d1345edd3308 /dev-util
parentdev-db/sqlite: Disable tests broken on x86 (bug #628242). (diff)
downloadgentoo-03107fd1ed966a6eb33fbc93c422c4c38df0dabf.tar.gz
gentoo-03107fd1ed966a6eb33fbc93c422c4c38df0dabf.tar.bz2
gentoo-03107fd1ed966a6eb33fbc93c422c4c38df0dabf.zip
dev-util/gyp: Initial addition.
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/gyp/Manifest1
-rw-r--r--dev-util/gyp/gyp-20170904022846.ebuild39
-rw-r--r--dev-util/gyp/gyp-99999999999999.ebuild39
-rw-r--r--dev-util/gyp/metadata.xml8
4 files changed, 87 insertions, 0 deletions
diff --git a/dev-util/gyp/Manifest b/dev-util/gyp/Manifest
new file mode 100644
index 000000000000..8c0b13064537
--- /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 000000000000..49679f6504ef
--- /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}" == "99999999999999" ]]; 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}" == "99999999999999" ]]; 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-99999999999999.ebuild b/dev-util/gyp/gyp-99999999999999.ebuild
new file mode 100644
index 000000000000..0c933a99edc5
--- /dev/null
+++ b/dev-util/gyp/gyp-99999999999999.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}" == "99999999999999" ]]; 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}" == "99999999999999" ]]; 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 000000000000..7b9c409fca7e
--- /dev/null
+++ b/dev-util/gyp/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>arfrever.fta@gmail.com</email>
+ <name>Arfrever Frehtes Taifersar Arahesis</name>
+ </maintainer>
+</pkgmetadata>