mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-31 19:31:07 +02:00
Merge pull request #13 from marineam/updates
bump(app-portage/gentoolkit): sync with upstream
This commit is contained in:
commit
03dacde642
1991
sdk_container/src/third_party/portage-stable/app-portage/gentoolkit/ChangeLog
vendored
Normal file
1991
sdk_container/src/third_party/portage-stable/app-portage/gentoolkit/ChangeLog
vendored
Normal file
File diff suppressed because it is too large
Load Diff
@ -1 +1,37 @@
|
||||
DIST gentoolkit-0.3.0.6.tar.gz 191896 RMD160 0906f6b7ac2796dabd123774cda9ae08c09ccddd SHA1 181d8f412bba427e812a00cbdc4545bcdf8f09a2 SHA256 5b1b7e9e0363764b3c8349540e3a16fcdd850ec2441bb56b24fdb729130e604a
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA256
|
||||
|
||||
AUX 0.3.0.6-eread-413577.patch 2360 SHA256 333bec7fb612b104633766d58d6299adf2cd798a585b5d69303bdb5c9d92f276 SHA512 22c859cda0c6fe0114515551974c43e72f22773cc9d035e9241e65fe18f47af4e3044829335044626c0db9a6081cde7725761c491e51cf2de95fab6eeb4c5b63 WHIRLPOOL 3810a248c8a28bafa21a00a0b01da5fb90d0ee178166bc3a1ea40d2ecd0d6305d01d99763ef6528edbd4a52956b15ad6ac9076fafd707561ec9850a3cc7fe744
|
||||
AUX 0.3.0.6-eshowkw-409449.patch 920 SHA256 1a6510da53fd94b618f5564e7b66c7cf97be5310655f7d315c18a58326b6d537 SHA512 1bf59e6c41cf52120688db78c48737d5d0a304dc1edd30ac93859f0e1b4eebc24ea680cdc445a3e669c7eb0ef29f6d2ae384ecd9a5ce4221a03bc48c59cd2835 WHIRLPOOL 7f919aa1c4ac4db5774443e6471b524308a00f0fbd36858d462c091982c7d592804e556671737c99991135da06e34dd87d428f9281ec748bdac5431a542956bb
|
||||
AUX 0.3.0.6-eshowkw-414627.patch 1654 SHA256 bb1687141292d613e1cb52dc6c88c61dd44f12a33cd77f3788f945f2586bcaac SHA512 39537338bd719080477fa22be7ee99515d2771ef3c19dd4f9674c9d57d9e8ce3331f0ad67e98b7a104adc292faa0cbde6194b9877b677893cb7ce5824987e0c2 WHIRLPOOL 8c13dccff0177d1aaaa318bfb6414a8bf28e88609f632a70434ca93a7bffd3a1058b8795589a6aeeeb788b8b3f5140aa69b3009676b6cf2f115cc23f9deba6c3
|
||||
AUX 0.3.0.6-euse-410365.patch 1106 SHA256 337ff7a7b09dd5c8701cd2746dc5ab2412c51664cfbc81f6a09e806cfa1bea7d SHA512 f954a344914f1462174560b12841376831963e9e1aca9ce9108ea3a3ccc1405548bda5756abe3112941c1961701028434e201be94c406044f9941fb1f16229c6 WHIRLPOOL 6a25aadadf11847264e395e9a9e2f007d6ae558e43c0261647472d8986abe76a1df81dc9e22206322dca20edad4b29b01a2a964a164a26c7d969d125234490bf
|
||||
AUX 0.3.0.6-euse-422675.patch 2705 SHA256 11420d7cf47fe8af9d9d61d267ba6d7674dabeb7e16a083a9a5d52d80aa39e5d SHA512 6230fca66134f1c71628fac39af9571da5d2df5251bdd50bcdb6162e36ef4ecf95ea430f269e66ebe78786013a912e34aa1a09db5b5cc4128500190eb7a1da12 WHIRLPOOL b295c47bcba730b56f2f4e70db35a680c1525eaeddae58598666fa9ef92ae0b3a736f5e6fcfd41bb79ddfa3abd682b0574dfc646a07d73c074b34794f0591cb9
|
||||
AUX 0.3.0.6-gentoolkit-304125.patch 1092 SHA256 2de37146351e90b1bcc2ed7074ff66f607df379bd6b2f53bf83efe4c3d086b6e SHA512 e05d0fc1afe0e6b0fdb95736382ae288d66bc43c3fcb7d3a3be270e20feec4718675d01512867740a25a3c22a9bd21270c4ca6a7e3a21bb7fab4e44ac7936bb3 WHIRLPOOL d19d40ba4154713c4f41ba58d2f5d431213a7089c202374199a718b8e9d30e62c22e362d19c13c920423ea094c8033f87f06010ecc92c4bcd758cf94821d23b1
|
||||
AUX 0.3.0.7-configroot.patch 820 SHA256 d27661499dd92c23d3f0b74fd15b405dcae1ead711fa178fa51611b131fe7a0e SHA512 f50d6b84351b222579548f0021f452fac9a4e3dac9fbb8f566f251d19bb5a09d182d14abf6d6ab01dcfaee3dcb0a9bbfd5a48f07d5d8883cb3a5d0d7d9f722f3 WHIRLPOOL f34431e82126b9c6032cf1c597c66a54e1c0448f069d699cd9f04938a2f67ea59eea26da666e11e0e518e87e22955cd248ace3465a5cc271a118c81eb4237c79
|
||||
AUX 0.3.0.7-root.patch 4857 SHA256 8727fab6a19cdb024fddb79f09d93b6dcebaff0715043d19bae23c165259a63b SHA512 202bbda5e880a4481f063beb1c47f71ad9784c31490c8c3c59fbead56923324793dc94c4bd78b636d679de198ec3e450ef2859fb232a41f09f6943bca9d22ec4 WHIRLPOOL ab95567f22588ddc4e9928e766820f6f22d4fa218db40871db906dd736e4eb6fddb3a0d3869ee133b9e8a5488f1bb855ad35c2e4969c0241c76857e5affd9b30
|
||||
DIST gentoolkit-0.3.0.6.tar.gz 191896 SHA256 5b1b7e9e0363764b3c8349540e3a16fcdd850ec2441bb56b24fdb729130e604a SHA512 6bc46fd364cba3326e9e4f1083485f1220a8dc6675b75ad058fbee59d3c103f2ca103be6035f5f726e92f496a854dca72ec08b0d2cfe012aa7efbdc3a95891a0 WHIRLPOOL e928b8d3c493ac00b622b859985e144cd7828d4c4e1be7c2a4b8abae9864f10aa22c4626b991d9ba81c6408dc7769be2346f2f9abf3c2ec864ce9eed2ae3d9e5
|
||||
DIST gentoolkit-0.3.0.7.tar.gz 3191108 SHA256 45ca2b48cfba7939a76428213f2fc4c3a1fc58716290f7a352ccd9299beb49d7 SHA512 798a058a58cf881a24b92ae32fabe7c6d49305e2611bab568004dd711392e5af97b7d66029e344f4e7c52d0b6cf47690b76cf7e3d77b5482c30b6883f872c1d1 WHIRLPOOL c21ce47365500cd93c6c617d79ee9c979f1f6a06966ed41a69eb73014354b6e066fef904c2d221b64f6116a76792f2060a8863ee633f781764c270ce954de1a7
|
||||
EBUILD gentoolkit-0.3.0.6-r3.ebuild 3584 SHA256 338531d464db51d2353f0ceb7cf8930bc48995e198c85ffed7833599bad7fa4d SHA512 e94ce46d660f8f336a70e9d9440be2ab098a9be412e05707d679eb199340fd0f0a31af6fa4bdab58d2c52a7b6469ac79461dac2e4b38fd28d40ec9d1a2c488ea WHIRLPOOL 28181a9c7aee2196d4f68b2d750b655f1dff88a337afc47efc01ede3625c17082bd54a07709f7a7ec473cc1ee280d7183ce8d7da99b75853f0fbd5370dfa7934
|
||||
EBUILD gentoolkit-0.3.0.7-r1.ebuild 3299 SHA256 63a75a6c1bbc4521c1403daa569161627dfa1383f532523dd25796256fc5f966 SHA512 0d8158dfdef74c41a7c7fe844890b7c8357e02a2c69c792429553d3aae4842824f84bb8036fa965219561f1addf8d8a065c8f61faa0202c4b4437ad3ee0aa602 WHIRLPOOL d467b42a72c88155c1322dcff7e4c1b3733bece2b594eadb32d634f332494d5b32276849cd6bdf5add753f77041d6cb9bc8ef22d0254ee2f59477e2243c84ee7
|
||||
EBUILD gentoolkit-0.3.0.7-r2.ebuild 3344 SHA256 7059e57f363b13e74278eacf22ac7af1aaffbb5cc4ee2f3d8df96df533a1ef83 SHA512 188b609391df1da9ecf2ce012c66ed2f1e4d8459cd068a93e6bb5534512fa4313e7ab3130f6442bca5e14da43f6afe2ab76a8617ce13755809737496357d020c WHIRLPOOL f4af731d9f691abf1f983d846a177a05ca7feab4460060bcbf36f242527a68980ef8d368c648f252671fd87c6851226dcff2faff62006d2ce85b8f82da49880b
|
||||
EBUILD gentoolkit-0.3.0.7.ebuild 3221 SHA256 e193c7749cd595c544f2f2390161aa56e89ae01a6f2abec7286fe4f08a57c14f SHA512 b4dba20d1c7a05dffa651c1014c018f80b97548e5c2b65d979c943c5995ca562f6e20a9263d93aa391171ec08d2528e0d169212c90e01a2faf68a547751c59a8 WHIRLPOOL b868a4c297d872d3318febe8072224d38d4e60b629309b2f4445a8a08ee37ccdc4b03436b75afc0559f55fb2389d3a37fa678308cfe4a6b83251b5e7c74b1361
|
||||
EBUILD gentoolkit-9999.ebuild 2360 SHA256 83b058983d5296a427834d72b338a0ac4a31dcdc69cc3e0ba95393c7a17193be SHA512 2f8e848fe0d48a9aacefdb74495861b1046ff8f76ba21538ef7b1233faa1ac618808ed390b7cc7227254351d3369f28b4811e3cd177856527dee3d5412045962 WHIRLPOOL 2fa1368816f13b07f72eadc3745a7a78884d4cd3813e5a70167fde11688170555de17a8b88fcc704be711d9f80bb0a4011927ef2c82094adb0abadb13844a3f5
|
||||
MISC ChangeLog 74584 SHA256 6664bab3c738f458a6dbfe0c3ba4dd3016d59bc5ecf288199df983123898e506 SHA512 5bc2d13799d6383265f42e75b250bd8877e9df3a16c49469c044f6037c73d600d90f2b44de5c0edfedc4b335749d074735f737d0dc2118765a8dd238622e45ee WHIRLPOOL f6348eaad3844fb21b0319da1b5781bdfe00cb91e75d4b08cf0e25fc2df1a0e38983774dd4f447339302a5f8f5cc46f5bb1ba0aa94d1db18ede09242e661a0e6
|
||||
MISC metadata.xml 451 SHA256 1a2def4d28f69d6bffeb0b09e97ce53e6822e457d5d9308000a1010dca32abeb SHA512 dae13a7b17e9f425f620d1cd71da9c3142353eed53489540f05878b9c6b9799b4ca4b97c72cf81576c095cc99b3b4d57faeb3a052a72110d638c4961ed7a645d WHIRLPOOL 6e333d72a075ae313c914c204dadc66c36686f05b01f6eb9071813555d5d0a12da38e9a8548f7526f315c838c3ada6570d393d7f8dbee6570748090a8c7e8050
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
Version: GnuPG v2.0.19 (GNU/Linux)
|
||||
|
||||
iQIcBAEBCAAGBQJRP1UoAAoJELEHsLL7fEFW+DwQAIG2qEB8jiYr9cUHvSteqhxv
|
||||
m2X25QTePgOCQAyDHLKgXFTY1iKF9vvopzlFfRAmc+meIq1Ie/a0mcWcZOqmTiPD
|
||||
d9BqqZPpeR+55C7TfVyIpf533iTlQ7JDOfaGSww4ENNUOUeBvYFqUqdT1bL2sWd3
|
||||
9JauAj3up4oRLFAir8vKOGhxeCpVagWRj5y9l+CJkpoyCgE4egYv+BSs0ISAlrTs
|
||||
kEXGYRbLWqigdjoswaWEwfDwkdZdflZWUnn+WB85X3hES5qeOnAExNC7J3GvmSjP
|
||||
e8+3hL1GPUP96gaKxaYmY1WU4ehV121AV4adBOZjYAppziUz7wlmivpzqOIw72TN
|
||||
pLeG0J3Fhp+C4+1JFbfgbrC9UQyVfaNRnrzSE7qVnrHzT9DcOXZMIAPvLvPeRtB5
|
||||
PO4JKh343bmwhGpMu7mDCSMoAEeG3sD+IP1MgeHrES91HSQtETv1qk6EQcNDwm/g
|
||||
X6evOeFQovLlEeLissqmZ6qJuLNjJnHBkZ4slrrYPT7/MrfzKWAzFrGubhwwQa3Y
|
||||
piRsJJaO2NhoYExhbAnCGtuTkTuxtu6cZWBgkIWmjZMXJOPIJEnRYDbV0cRpSVnn
|
||||
FWzzObakymAGBKfgTri+QHCkLw+xCzoullpqrzDQZ/i/xlFlP+o7Tq5VTq2Y08lu
|
||||
3lWnbfjlWqEQBeIFlFWr
|
||||
=myfs
|
||||
-----END PGP SIGNATURE-----
|
||||
|
@ -0,0 +1,25 @@
|
||||
From 95648e0369e74d65582ee3ef44b0a0a338f82cf0 Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@gentoo.org>
|
||||
Date: Tue, 12 Mar 2013 12:08:56 -0400
|
||||
Subject: [PATCH] equery: respect PORTAGE_CONFIGROOT too
|
||||
|
||||
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
||||
---
|
||||
pym/gentoolkit/package.py | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/pym/gentoolkit/package.py b/pym/gentoolkit/package.py
|
||||
index 2a103de..da9d65c 100644
|
||||
--- a/pym/gentoolkit/package.py
|
||||
+++ b/pym/gentoolkit/package.py
|
||||
@@ -61,6 +61,7 @@ from gentoolkit.eprefix import EPREFIX
|
||||
def _NewPortageConfig(local_config):
|
||||
ret = portage.config(local_config=local_config,
|
||||
eprefix=EPREFIX if EPREFIX else None,
|
||||
+ config_root=os.environ.get('PORTAGE_CONFIGROOT', None),
|
||||
target_root=os.environ.get('ROOT', None))
|
||||
ret.lock()
|
||||
return ret
|
||||
--
|
||||
1.8.1.2
|
||||
|
153
sdk_container/src/third_party/portage-stable/app-portage/gentoolkit/files/0.3.0.7-root.patch
vendored
Normal file
153
sdk_container/src/third_party/portage-stable/app-portage/gentoolkit/files/0.3.0.7-root.patch
vendored
Normal file
@ -0,0 +1,153 @@
|
||||
From 35cc856ee0ce03858a39210525b9893ca061f079 Mon Sep 17 00:00:00 2001
|
||||
From: Mike Frysinger <vapier@gentoo.org>
|
||||
Date: Wed, 19 Dec 2012 18:50:17 -0500
|
||||
Subject: [PATCH] equery: make more ROOT aware
|
||||
|
||||
This at least fixes:
|
||||
belongs
|
||||
check
|
||||
depends
|
||||
files
|
||||
list
|
||||
size
|
||||
|
||||
URL: https://bugs.gentoo.org/160815
|
||||
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
|
||||
Signed-off-by: Paul Varner <fuzzyray@gentoo.org>
|
||||
---
|
||||
pym/gentoolkit/equery/check.py | 17 +++++++++--------
|
||||
pym/gentoolkit/package.py | 35 ++++++++++++++++++++++-------------
|
||||
2 files changed, 31 insertions(+), 21 deletions(-)
|
||||
|
||||
diff --git a/pym/gentoolkit/equery/check.py b/pym/gentoolkit/equery/check.py
|
||||
index 84be634..e903355 100644
|
||||
--- a/pym/gentoolkit/equery/check.py
|
||||
+++ b/pym/gentoolkit/equery/check.py
|
||||
@@ -105,26 +105,27 @@ class VerifyContents(object):
|
||||
for cfile in files:
|
||||
n_checked += 1
|
||||
ftype = files[cfile][0]
|
||||
- if not os.path.exists(cfile):
|
||||
+ real_cfile = os.environ.get('ROOT', '') + cfile
|
||||
+ if not os.path.exists(real_cfile):
|
||||
errs.append("%s does not exist" % cfile)
|
||||
continue
|
||||
elif ftype == "dir":
|
||||
- if not os.path.isdir(cfile):
|
||||
+ if not os.path.isdir(real_cfile):
|
||||
err = "%(cfile)s exists, but is not a directory"
|
||||
errs.append(err % locals())
|
||||
continue
|
||||
elif ftype == "obj":
|
||||
- obj_errs = self._verify_obj(files, cfile, errs)
|
||||
+ obj_errs = self._verify_obj(files, cfile, real_cfile, errs)
|
||||
if len(obj_errs) > len(errs):
|
||||
errs = obj_errs[:]
|
||||
continue
|
||||
elif ftype == "sym":
|
||||
target = files[cfile][2].strip()
|
||||
- if not os.path.islink(cfile):
|
||||
+ if not os.path.islink(real_cfile):
|
||||
err = "%(cfile)s exists, but is not a symlink"
|
||||
errs.append(err % locals())
|
||||
continue
|
||||
- tgt = os.readlink(cfile)
|
||||
+ tgt = os.readlink(real_cfile)
|
||||
if tgt != target:
|
||||
err = "%(cfile)s does not point to %(target)s"
|
||||
errs.append(err % locals())
|
||||
@@ -137,14 +138,14 @@ class VerifyContents(object):
|
||||
|
||||
return n_passed, n_checked, errs
|
||||
|
||||
- def _verify_obj(self, files, cfile, errs):
|
||||
+ def _verify_obj(self, files, cfile, real_cfile, errs):
|
||||
"""Verify the MD5 sum and/or mtime and return any errors."""
|
||||
|
||||
obj_errs = errs[:]
|
||||
if self.check_sums:
|
||||
md5sum = files[cfile][2]
|
||||
try:
|
||||
- cur_checksum = checksum.perform_md5(cfile, calc_prelink=1)
|
||||
+ cur_checksum = checksum.perform_md5(real_cfile, calc_prelink=1)
|
||||
except IOError:
|
||||
err = "Insufficient permissions to read %(cfile)s"
|
||||
obj_errs.append(err % locals())
|
||||
@@ -155,7 +156,7 @@ class VerifyContents(object):
|
||||
return obj_errs
|
||||
if self.check_timestamps:
|
||||
mtime = int(files[cfile][1])
|
||||
- st_mtime = int(os.lstat(cfile).st_mtime)
|
||||
+ st_mtime = int(os.lstat(real_cfile).st_mtime)
|
||||
if st_mtime != mtime:
|
||||
err = (
|
||||
"%(cfile)s has wrong mtime (is %(st_mtime)d, should be "
|
||||
diff --git a/pym/gentoolkit/package.py b/pym/gentoolkit/package.py
|
||||
index e324399..2a103de 100644
|
||||
--- a/pym/gentoolkit/package.py
|
||||
+++ b/pym/gentoolkit/package.py
|
||||
@@ -58,16 +58,14 @@ from gentoolkit.eprefix import EPREFIX
|
||||
# Settings
|
||||
# =======
|
||||
|
||||
-if EPREFIX:
|
||||
- default_settings = portage.config(local_config=True, eprefix=EPREFIX)
|
||||
- default_settings.lock()
|
||||
- nolocal_settings = portage.config(local_config=False, eprefix=EPREFIX)
|
||||
- nolocal_settings.lock()
|
||||
-else:
|
||||
- default_settings = portage.config(local_config=True)
|
||||
- default_settings.lock()
|
||||
- nolocal_settings = portage.config(local_config=False)
|
||||
- nolocal_settings.lock()
|
||||
+def _NewPortageConfig(local_config):
|
||||
+ ret = portage.config(local_config=local_config,
|
||||
+ eprefix=EPREFIX if EPREFIX else None,
|
||||
+ target_root=os.environ.get('ROOT', None))
|
||||
+ ret.lock()
|
||||
+ return ret
|
||||
+default_settings = _NewPortageConfig(local_config=True)
|
||||
+nolocal_settings = _NewPortageConfig(local_config=False)
|
||||
|
||||
# =======
|
||||
# Classes
|
||||
@@ -350,14 +348,25 @@ class Package(CPV):
|
||||
iuse, final_flags = get_flags(self.cpv, final_setting=True)
|
||||
return final_flags
|
||||
|
||||
- def parsed_contents(self):
|
||||
+ def parsed_contents(self, prefix_root=False):
|
||||
"""Returns the parsed CONTENTS file.
|
||||
|
||||
@rtype: dict
|
||||
@return: {'/full/path/to/obj': ['type', 'timestamp', 'md5sum'], ...}
|
||||
"""
|
||||
|
||||
- return self.dblink.getcontents()
|
||||
+ contents = self.dblink.getcontents()
|
||||
+
|
||||
+ # Portage will automatically prepend ROOT. Undo that.
|
||||
+ if not prefix_root:
|
||||
+ myroot = self._settings["ROOT"]
|
||||
+ if myroot != '/':
|
||||
+ ret = {}
|
||||
+ for key, val in self.dblink.getcontents().iteritems():
|
||||
+ ret['/' + os.path.relpath(key, myroot)] = val
|
||||
+ contents = ret
|
||||
+
|
||||
+ return contents
|
||||
|
||||
def size(self):
|
||||
"""Estimates the installed size of the contents of this package.
|
||||
@@ -368,7 +377,7 @@ class Package(CPV):
|
||||
|
||||
seen = set()
|
||||
size = n_files = n_uncounted = 0
|
||||
- for f in self.parsed_contents():
|
||||
+ for f in self.parsed_contents(prefix_root=True):
|
||||
try:
|
||||
st = os.lstat(path)
|
||||
except OSError:
|
||||
--
|
||||
1.8.1.2
|
||||
|
95
sdk_container/src/third_party/portage-stable/app-portage/gentoolkit/gentoolkit-0.3.0.7-r1.ebuild
vendored
Normal file
95
sdk_container/src/third_party/portage-stable/app-portage/gentoolkit/gentoolkit-0.3.0.7-r1.ebuild
vendored
Normal file
@ -0,0 +1,95 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.7-r1.ebuild,v 1.1 2013/02/25 18:03:52 vapier Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.[45]"
|
||||
PYTHON_USE_WITH="xml"
|
||||
PYTHON_NONVERSIONED_EXECUTABLES=(".*")
|
||||
|
||||
inherit distutils python eutils
|
||||
|
||||
DESCRIPTION="Collection of administration scripts for Gentoo"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/portage/tools/index.xml"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
# Note: dev-lang/python dependencies are so emerge will print a blocker if any
|
||||
# installed slot of python is not built with +xml. This is used since
|
||||
# PYTHON_USE_WITH just dies in the middle of the emerge. See bug 399331.
|
||||
DEPEND="sys-apps/portage"
|
||||
RDEPEND="${DEPEND}
|
||||
>=dev-lang/python-2.6[xml]
|
||||
!>=dev-lang/python-2.6[-xml]
|
||||
!<=app-portage/gentoolkit-dev-0.2.7
|
||||
|| ( >=sys-apps/coreutils-8.15 app-misc/realpath sys-freebsd/freebsd-bin )
|
||||
sys-apps/gawk
|
||||
sys-apps/grep
|
||||
virtual/python-argparse"
|
||||
|
||||
distutils_src_compile_pre_hook() {
|
||||
echo VERSION="${PVR}" "$(PYTHON)" setup.py set_version
|
||||
VERSION="${PVR}" "$(PYTHON)" setup.py set_version \
|
||||
|| die "setup.py set_version failed"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PV}-root.patch
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_convert_shebangs -r "" build-*/scripts-*
|
||||
distutils_src_install
|
||||
|
||||
# Rename the python versions of revdep-rebuild, since we are not ready
|
||||
# to switch to the python version yet. Link /usr/bin/revdep-rebuild to
|
||||
# revdep-rebuild.sh. Leaving the python version available for potential
|
||||
# testing by a wider audience.
|
||||
mv "${ED}"/usr/bin/revdep-rebuild "${ED}"/usr/bin/revdep-rebuild.py
|
||||
dosym revdep-rebuild.sh /usr/bin/revdep-rebuild
|
||||
|
||||
# Create cache directory for revdep-rebuild
|
||||
dodir /var/cache/revdep-rebuild
|
||||
keepdir /var/cache/revdep-rebuild
|
||||
use prefix || fowners root:root /var/cache/revdep-rebuild
|
||||
fperms 0700 /var/cache/revdep-rebuild
|
||||
|
||||
# remove on Gentoo Prefix platforms where it's broken anyway
|
||||
if use prefix; then
|
||||
elog "The revdep-rebuild command is removed, the preserve-libs"
|
||||
elog "feature of portage will handle issues."
|
||||
rm "${ED}"/usr/bin/revdep-rebuild*
|
||||
rm "${ED}"/usr/share/man/man1/revdep-rebuild.1
|
||||
rm -rf "${ED}"/etc/revdep-rebuild
|
||||
rm -rf "${ED}"/var
|
||||
fi
|
||||
|
||||
# Can distutils handle this?
|
||||
dosym eclean /usr/bin/eclean-dist
|
||||
dosym eclean /usr/bin/eclean-pkg
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
distutils_pkg_postinst
|
||||
|
||||
einfo
|
||||
einfo "For further information on gentoolkit, please read the gentoolkit"
|
||||
einfo "guide: http://www.gentoo.org/doc/en/gentoolkit.xml"
|
||||
einfo
|
||||
einfo "Another alternative to equery is app-portage/portage-utils"
|
||||
einfo
|
||||
einfo "Additional tools that may be of interest:"
|
||||
einfo
|
||||
einfo " app-admin/eclean-kernel"
|
||||
einfo " app-portage/diffmask"
|
||||
einfo " app-portage/flaggie"
|
||||
einfo " app-portage/install-mask"
|
||||
einfo " app-portage/portpeek"
|
||||
einfo " app-portage/smart-live-rebuild"
|
||||
}
|
96
sdk_container/src/third_party/portage-stable/app-portage/gentoolkit/gentoolkit-0.3.0.7-r2.ebuild
vendored
Normal file
96
sdk_container/src/third_party/portage-stable/app-portage/gentoolkit/gentoolkit-0.3.0.7-r2.ebuild
vendored
Normal file
@ -0,0 +1,96 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.7-r2.ebuild,v 1.1 2013/03/12 16:14:57 vapier Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.[45]"
|
||||
PYTHON_USE_WITH="xml"
|
||||
PYTHON_NONVERSIONED_EXECUTABLES=(".*")
|
||||
|
||||
inherit distutils python eutils
|
||||
|
||||
DESCRIPTION="Collection of administration scripts for Gentoo"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/portage/tools/index.xml"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
# Note: dev-lang/python dependencies are so emerge will print a blocker if any
|
||||
# installed slot of python is not built with +xml. This is used since
|
||||
# PYTHON_USE_WITH just dies in the middle of the emerge. See bug 399331.
|
||||
DEPEND="sys-apps/portage"
|
||||
RDEPEND="${DEPEND}
|
||||
>=dev-lang/python-2.6[xml]
|
||||
!>=dev-lang/python-2.6[-xml]
|
||||
!<=app-portage/gentoolkit-dev-0.2.7
|
||||
|| ( >=sys-apps/coreutils-8.15 app-misc/realpath sys-freebsd/freebsd-bin )
|
||||
sys-apps/gawk
|
||||
sys-apps/grep
|
||||
virtual/python-argparse"
|
||||
|
||||
distutils_src_compile_pre_hook() {
|
||||
echo VERSION="${PVR}" "$(PYTHON)" setup.py set_version
|
||||
VERSION="${PVR}" "$(PYTHON)" setup.py set_version \
|
||||
|| die "setup.py set_version failed"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch "${FILESDIR}"/${PV}-root.patch
|
||||
epatch "${FILESDIR}"/${PV}-configroot.patch
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_convert_shebangs -r "" build-*/scripts-*
|
||||
distutils_src_install
|
||||
|
||||
# Rename the python versions of revdep-rebuild, since we are not ready
|
||||
# to switch to the python version yet. Link /usr/bin/revdep-rebuild to
|
||||
# revdep-rebuild.sh. Leaving the python version available for potential
|
||||
# testing by a wider audience.
|
||||
mv "${ED}"/usr/bin/revdep-rebuild "${ED}"/usr/bin/revdep-rebuild.py
|
||||
dosym revdep-rebuild.sh /usr/bin/revdep-rebuild
|
||||
|
||||
# Create cache directory for revdep-rebuild
|
||||
dodir /var/cache/revdep-rebuild
|
||||
keepdir /var/cache/revdep-rebuild
|
||||
use prefix || fowners root:root /var/cache/revdep-rebuild
|
||||
fperms 0700 /var/cache/revdep-rebuild
|
||||
|
||||
# remove on Gentoo Prefix platforms where it's broken anyway
|
||||
if use prefix; then
|
||||
elog "The revdep-rebuild command is removed, the preserve-libs"
|
||||
elog "feature of portage will handle issues."
|
||||
rm "${ED}"/usr/bin/revdep-rebuild*
|
||||
rm "${ED}"/usr/share/man/man1/revdep-rebuild.1
|
||||
rm -rf "${ED}"/etc/revdep-rebuild
|
||||
rm -rf "${ED}"/var
|
||||
fi
|
||||
|
||||
# Can distutils handle this?
|
||||
dosym eclean /usr/bin/eclean-dist
|
||||
dosym eclean /usr/bin/eclean-pkg
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
distutils_pkg_postinst
|
||||
|
||||
einfo
|
||||
einfo "For further information on gentoolkit, please read the gentoolkit"
|
||||
einfo "guide: http://www.gentoo.org/doc/en/gentoolkit.xml"
|
||||
einfo
|
||||
einfo "Another alternative to equery is app-portage/portage-utils"
|
||||
einfo
|
||||
einfo "Additional tools that may be of interest:"
|
||||
einfo
|
||||
einfo " app-admin/eclean-kernel"
|
||||
einfo " app-portage/diffmask"
|
||||
einfo " app-portage/flaggie"
|
||||
einfo " app-portage/install-mask"
|
||||
einfo " app-portage/portpeek"
|
||||
einfo " app-portage/smart-live-rebuild"
|
||||
}
|
91
sdk_container/src/third_party/portage-stable/app-portage/gentoolkit/gentoolkit-0.3.0.7.ebuild
vendored
Normal file
91
sdk_container/src/third_party/portage-stable/app-portage/gentoolkit/gentoolkit-0.3.0.7.ebuild
vendored
Normal file
@ -0,0 +1,91 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-0.3.0.7.ebuild,v 1.10 2013/02/22 18:07:16 zmedico Exp $
|
||||
|
||||
EAPI="3"
|
||||
SUPPORT_PYTHON_ABIS="1"
|
||||
RESTRICT_PYTHON_ABIS="2.[45]"
|
||||
PYTHON_USE_WITH="xml"
|
||||
PYTHON_NONVERSIONED_EXECUTABLES=(".*")
|
||||
|
||||
inherit distutils python
|
||||
|
||||
DESCRIPTION="Collection of administration scripts for Gentoo"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/portage/tools/index.xml"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~ppc-aix ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
# Note: dev-lang/python dependencies are so emerge will print a blocker if any
|
||||
# installed slot of python is not built with +xml. This is used since
|
||||
# PYTHON_USE_WITH just dies in the middle of the emerge. See bug 399331.
|
||||
DEPEND="sys-apps/portage"
|
||||
RDEPEND="${DEPEND}
|
||||
>=dev-lang/python-2.6[xml]
|
||||
!>=dev-lang/python-2.6[-xml]
|
||||
!<=app-portage/gentoolkit-dev-0.2.7
|
||||
|| ( >=sys-apps/coreutils-8.15 app-misc/realpath sys-freebsd/freebsd-bin )
|
||||
sys-apps/gawk
|
||||
sys-apps/grep
|
||||
virtual/python-argparse"
|
||||
|
||||
distutils_src_compile_pre_hook() {
|
||||
echo VERSION="${PVR}" "$(PYTHON)" setup.py set_version
|
||||
VERSION="${PVR}" "$(PYTHON)" setup.py set_version \
|
||||
|| die "setup.py set_version failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
python_convert_shebangs -r "" build-*/scripts-*
|
||||
distutils_src_install
|
||||
|
||||
# Rename the python versions of revdep-rebuild, since we are not ready
|
||||
# to switch to the python version yet. Link /usr/bin/revdep-rebuild to
|
||||
# revdep-rebuild.sh. Leaving the python version available for potential
|
||||
# testing by a wider audience.
|
||||
mv "${ED}"/usr/bin/revdep-rebuild "${ED}"/usr/bin/revdep-rebuild.py
|
||||
dosym revdep-rebuild.sh /usr/bin/revdep-rebuild
|
||||
|
||||
# Create cache directory for revdep-rebuild
|
||||
dodir /var/cache/revdep-rebuild
|
||||
keepdir /var/cache/revdep-rebuild
|
||||
use prefix || fowners root:root /var/cache/revdep-rebuild
|
||||
fperms 0700 /var/cache/revdep-rebuild
|
||||
|
||||
# remove on Gentoo Prefix platforms where it's broken anyway
|
||||
if use prefix; then
|
||||
elog "The revdep-rebuild command is removed, the preserve-libs"
|
||||
elog "feature of portage will handle issues."
|
||||
rm "${ED}"/usr/bin/revdep-rebuild*
|
||||
rm "${ED}"/usr/share/man/man1/revdep-rebuild.1
|
||||
rm -rf "${ED}"/etc/revdep-rebuild
|
||||
rm -rf "${ED}"/var
|
||||
fi
|
||||
|
||||
# Can distutils handle this?
|
||||
dosym eclean /usr/bin/eclean-dist
|
||||
dosym eclean /usr/bin/eclean-pkg
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
distutils_pkg_postinst
|
||||
|
||||
einfo
|
||||
einfo "For further information on gentoolkit, please read the gentoolkit"
|
||||
einfo "guide: http://www.gentoo.org/doc/en/gentoolkit.xml"
|
||||
einfo
|
||||
einfo "Another alternative to equery is app-portage/portage-utils"
|
||||
einfo
|
||||
einfo "Additional tools that may be of interest:"
|
||||
einfo
|
||||
einfo " app-admin/eclean-kernel"
|
||||
einfo " app-portage/diffmask"
|
||||
einfo " app-portage/flaggie"
|
||||
einfo " app-portage/install-mask"
|
||||
einfo " app-portage/portpeek"
|
||||
einfo " app-portage/smart-live-rebuild"
|
||||
}
|
81
sdk_container/src/third_party/portage-stable/app-portage/gentoolkit/gentoolkit-9999.ebuild
vendored
Normal file
81
sdk_container/src/third_party/portage-stable/app-portage/gentoolkit/gentoolkit-9999.ebuild
vendored
Normal file
@ -0,0 +1,81 @@
|
||||
# Copyright 1999-2013 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: /var/cvsroot/gentoo-x86/app-portage/gentoolkit/gentoolkit-9999.ebuild,v 1.26 2013/01/02 22:56:29 fuzzyray Exp $
|
||||
|
||||
EAPI="5"
|
||||
|
||||
PYTHON_COMPAT=(python{2_6,2_7,3_1,3_2,3_3} pypy1_9 )
|
||||
PYTHON_REQ_USE="xml"
|
||||
|
||||
EGIT_MASTER="gentoolkit"
|
||||
EGIT_BRANCH="gentoolkit"
|
||||
|
||||
inherit distutils-r1 git-2
|
||||
|
||||
EGIT_REPO_URI="git://git.overlays.gentoo.org/proj/gentoolkit.git"
|
||||
|
||||
DESCRIPTION="Collection of administration scripts for Gentoo"
|
||||
HOMEPAGE="http://www.gentoo.org/proj/en/portage/tools/index.xml"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
KEYWORDS=""
|
||||
|
||||
DEPEND="sys-apps/portage"
|
||||
RDEPEND="${DEPEND}
|
||||
!<=app-portage/gentoolkit-dev-0.2.7
|
||||
|| ( >=sys-apps/coreutils-8.15 app-misc/realpath sys-freebsd/freebsd-bin )
|
||||
sys-apps/gawk
|
||||
sys-apps/grep
|
||||
virtual/python-argparse[${PYTHON_USEDEP}]"
|
||||
|
||||
python_prepare_all() {
|
||||
python_export_best
|
||||
echo VERSION="9999-${EGIT_VERSION}" "${PYTHON}" setup.py set_version
|
||||
VERSION="9999-${EGIT_VERSION}" "${PYTHON}" setup.py set_version
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
# Create cache directory for revdep-rebuild
|
||||
keepdir /var/cache/revdep-rebuild
|
||||
use prefix || fowners root:root /var/cache/revdep-rebuild
|
||||
fperms 0700 /var/cache/revdep-rebuild
|
||||
|
||||
# remove on Gentoo Prefix platforms where it's broken anyway
|
||||
if use prefix; then
|
||||
elog "The revdep-rebuild command is removed, the preserve-libs"
|
||||
elog "feature of portage will handle issues."
|
||||
rm "${ED}"/usr/bin/revdep-rebuild*
|
||||
rm "${ED}"/usr/share/man/man1/revdep-rebuild.1
|
||||
rm -rf "${ED}"/etc/revdep-rebuild
|
||||
rm -rf "${ED}"/var
|
||||
fi
|
||||
# Can distutils handle this?
|
||||
dosym eclean /usr/bin/eclean-dist
|
||||
dosym eclean /usr/bin/eclean-pkg
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Only show the elog information on a new install
|
||||
if [[ ! ${REPLACING_VERSIONS} ]]; then
|
||||
elog
|
||||
elog "For further information on gentoolkit, please read the gentoolkit"
|
||||
elog "guide: http://www.gentoo.org/doc/en/gentoolkit.xml"
|
||||
elog
|
||||
elog "Another alternative to equery is app-portage/portage-utils"
|
||||
elog
|
||||
elog "Additional tools that may be of interest:"
|
||||
elog
|
||||
elog " app-admin/eclean-kernel"
|
||||
elog " app-portage/diffmask"
|
||||
elog " app-portage/flaggie"
|
||||
elog " app-portage/install-mask"
|
||||
elog " app-portage/portpeek"
|
||||
elog " app-portage/smart-live-rebuild"
|
||||
fi
|
||||
}
|
12
sdk_container/src/third_party/portage-stable/app-portage/gentoolkit/metadata.xml
vendored
Normal file
12
sdk_container/src/third_party/portage-stable/app-portage/gentoolkit/metadata.xml
vendored
Normal file
@ -0,0 +1,12 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<herd>tools-portage</herd>
|
||||
|
||||
<longdescription>
|
||||
Gentoolkit is a collection of useful adminstration scripts particular to
|
||||
the Gentoo Linux distribution. It contains rough drafts and
|
||||
implementations of features that may in time make it into Portage, or
|
||||
into full-fledged tools in their own right.
|
||||
</longdescription>
|
||||
</pkgmetadata>
|
Loading…
x
Reference in New Issue
Block a user