From 03107fd1ed966a6eb33fbc93c422c4c38df0dabf Mon Sep 17 00:00:00 2001 From: Arfrever Frehtes Taifersar Arahesis Date: Thu, 28 Sep 2017 17:48:01 +0200 Subject: dev-util/gyp: Initial addition. --- dev-util/gyp/Manifest | 1 + dev-util/gyp/gyp-20170904022846.ebuild | 39 ++++++++++++++++++++++++++++++++++ dev-util/gyp/gyp-99999999999999.ebuild | 39 ++++++++++++++++++++++++++++++++++ dev-util/gyp/metadata.xml | 8 +++++++ 4 files changed, 87 insertions(+) create mode 100644 dev-util/gyp/Manifest create mode 100644 dev-util/gyp/gyp-20170904022846.ebuild create mode 100644 dev-util/gyp/gyp-99999999999999.ebuild create mode 100644 dev-util/gyp/metadata.xml (limited to 'dev-util/gyp') 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 @@ + + + + + arfrever.fta@gmail.com + Arfrever Frehtes Taifersar Arahesis + + -- cgit v1.2.3-65-gdbad