[gentoo-commits] repo/gentoo:master commit in: sys-devel/llvm/, profiles/, sys-devel/llvm/files/cmake/, sys-devel/clang/
commit: e63ee31ad20bfd2d7e2159c63b62913bfd001353 Author: Bernard Cafarelli gentoo org> AuthorDate: Wed Jan 27 22:35:24 2016 + Commit: Bernard Cafarelli gentoo org> CommitDate: Wed Jan 27 22:35:36 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e63ee31a sys-devel/llvm: add (masked) 3.8 release candidate for testing Package-Manager: portage-2.2.27 profiles/package.mask | 5 + sys-devel/clang/clang-3.8.0_rc1-r100.ebuild| 36 ++ sys-devel/llvm/Manifest| 5 + .../llvm-3.8.0-compiler_rt_arm_march_flags.patch | 17 +++ .../{llvm-.ebuild => llvm-3.8.0_rc1.ebuild}| 134 ++--- sys-devel/llvm/llvm-.ebuild| 4 +- 6 files changed, 158 insertions(+), 43 deletions(-) diff --git a/profiles/package.mask b/profiles/package.mask index e11faa4..520c128 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -30,6 +30,11 @@ #--- END OF EXAMPLES --- +# Bernard Cafarelli(27 Jan 2016) +# New llvm version, masked for testing +=sys-devel/llvm-3.8.0* +=sys-devel/clang-3.8.0* + # James Le Cuirot (26 Jan 2016) # No new release since 2008. Removal in 30 days. app-cdr/webcdwriter diff --git a/sys-devel/clang/clang-3.8.0_rc1-r100.ebuild b/sys-devel/clang/clang-3.8.0_rc1-r100.ebuild new file mode 100644 index 000..1ba7a70 --- /dev/null +++ b/sys-devel/clang/clang-3.8.0_rc1-r100.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit multilib-build + +DESCRIPTION="C language family frontend for LLVM (meta-ebuild)" +HOMEPAGE="http://clang.llvm.org/; +SRC_URI="" + +LICENSE="UoI-NCSA" +SLOT="0/3.7" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos" +IUSE="debug multitarget python +static-analyzer" + +RDEPEND="~sys-devel/llvm-${PV}[clang(-),debug=,multitarget?,python?,static-analyzer?,${MULTILIB_USEDEP}]" + +# Please keep this package around since it's quite likely that we'll +# return to separate LLVM & clang ebuilds when the cmake build system +# is complete. + +pkg_postinst() { + if has_version ">=dev-util/ccache-3.1.9-r2" ; then + #add ccache links as clang might get installed after ccache + "${EROOT}"/usr/bin/ccache-config --install-links + fi +} + +pkg_postrm() { + if has_version ">=dev-util/ccache-3.1.9-r2" && [[ -z ${REPLACED_BY_VERSION} ]]; then + # --remove-links would remove all links, --install-links updates them + "${EROOT}"/usr/bin/ccache-config --install-links + fi +} diff --git a/sys-devel/llvm/Manifest b/sys-devel/llvm/Manifest index 6112cab..177b034 100644 --- a/sys-devel/llvm/Manifest +++ b/sys-devel/llvm/Manifest @@ -5,12 +5,14 @@ DIST cfe-3.5.2.src.tar.xz 8268008 SHA256 4feb575f74fb3a74b6245400460230141bf610f DIST cfe-3.6.2.src.tar.xz 8617576 SHA256 ae9180466a23acb426d12444d866b266ff2289b266064d362462e44f8d4699f3 SHA512 ed837c48f38d8998efd675b56477c8681dcedfcf3f71bba65930f145501289bebb6fe6a6d9de336548f94c381d016b99f10c58e046b885449755d44ac782de03 WHIRLPOOL a17419cea32c8662c0008dbd0391ed5f52045d0175488979e7620f6a9a21b08e451a5e21d3bf944597bb37934a8228fa89c09d773882359822d59bd447a8 DIST cfe-3.7.0.src.tar.xz 9147204 SHA256 4ed740c5a91df1c90a4118c5154851d6a475f39a91346bdf268c1c29c13aa1cc SHA512 099d34cb019ea548c6ee85efd22b150beba0aa92061394fa3e423b1ebfe4a5c98c0586e5d56fc5c39e2b1606d36db59f442c056cc59473e32df76c8790c9d0ae WHIRLPOOL 1078d962edfb1b90044f19921f64a28c32259e34d983ddf9f9c198d13c8cd0679778a640d7a06c0bf1224d982602294c79a510034276216e3a6de21c739e6c39 DIST cfe-3.7.1.src.tar.xz 9110616 SHA256 56e2164c7c2a1772d5ed2a3e57485ff73ff06c97dff12edbeea1acc4412b0674 SHA512 8e3285a32ad0fd4721fa77c4fb9709f31bb4e4f7cb5245357aaf57b0767b6ef18a30d902b59d1437a6febffb6c2128214f9ce5aa913bb298743221a28c4f9de5 WHIRLPOOL ce300f5023bddda59ee055e4dccdca8bf459fae5d4e91c44262d2830c406b798d697d1bf3c6326ff41b969a8439f94a3c83570f1d0151a7f0223eb0d8f324f7b +DIST cfe-3.8.0rc1.src.tar.xz 9621648 SHA256 11cd5e001fe83a55040a976c8e7d7b2c808534980df16b97b200b3b897df89c3 SHA512 c22ca7630b3433fd5b3e4f81380efd1156111acaf29c94b6010fdf4295e4e08afe8e1d1719e05a6fe524adc6bea087b3a84c54f2052f920719529796c766a63f WHIRLPOOL a08e671cc2ac621199e3763585cf0a84ba5f85b7916043242033d654574f2ead217825974b3d235c66cad55f4617b322e16ca5dfe4fa9efb2ee7b55a94b2025b DIST clang-tools-extra-3.4.src.tar.gz 230729 SHA256 ba85187551ae97fe1c8ab569903beae5ff0900e21233e5eb5389f6ceab1028b4 SHA512 9656678acea490fd5674b2d47ad30ec69e5aedb450924e566a90418c94ce6483faa254e7dde0d5163cb0643153113d27b6b000fea7bba08f0ba55741b35873b1 WHIRLPOOL
[gentoo-commits] repo/gentoo:master commit in: /
commit: e85ba51b9f68363913ca5c72489a242214991edb Author: Ian Delaney gentoo org> AuthorDate: Wed Jan 27 23:00:50 2016 + Commit: Ian Delaney gentoo org> CommitDate: Wed Jan 27 23:02:39 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e85ba51b Merge remote-tracking branch 'remotes/sbraz/gdiplus' Pull request: https://github.com/gentoo/gentoo/pull/729 .../libgdiplus/{libgdiplus-4.2.ebuild => libgdiplus-4.2-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
[gentoo-commits] dev/mrueg:master commit in: x11-drivers/xf86-video-intel/
commit: d31deaef13c2da8c5aecaf3b60897abc9721ac32 Author: Manuel Rüger gentoo org> AuthorDate: Wed Jan 27 22:08:22 2016 + Commit: Manuel Rüger gentoo org> CommitDate: Wed Jan 27 22:08:22 2016 + URL:https://gitweb.gentoo.org/dev/mrueg.git/commit/?id=d31deaef x11-drivers/xf86-video-intel: Update snapshot x11-drivers/xf86-video-intel/Manifest | 2 +- 917_p20160126.ebuild => xf86-video-intel-2.99.917_p20160127.ebuild} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/x11-drivers/xf86-video-intel/Manifest b/x11-drivers/xf86-video-intel/Manifest index 4a0e65b..3b22298 100644 --- a/x11-drivers/xf86-video-intel/Manifest +++ b/x11-drivers/xf86-video-intel/Manifest @@ -1 +1 @@ -DIST xf86-video-intel-2.99.917_p20160126.tar.xz 931800 SHA256 5e85afc4decd8d5e71e26b51612a2e2b7bb83f42431030d32010620708764b8e SHA512 06c85b2e0c6246fb2efb43c97d43fb0e8007d382d070717a0877f73d7abc3e57dfa684c6fb400320f70c2b5d09fdcd7a1b5a3e8f2be753f9e8e6295d86cbbb97 WHIRLPOOL cecdb1e15fb081568e2472b125fa0ced21044a2803ace493f55be9c66739f89168c794e4403e5b3f1a0676f6a120e5ee7c236cf63569d7d0217ca2e5c34c0fae +DIST xf86-video-intel-2.99.917_p20160127.tar.xz 931860 SHA256 bb036bb41b76564772fe02238a9c057a5b992a444a444171599eaafb3eb107a3 SHA512 c6d73430ce0bc46cb9bac07ed42ed65013f693ccbbfe10558d2e26f0bd962c798cbbae3c842e886cc9b7d5dc06af83d633a8605400c776c1fc7183b59ecc7b79 WHIRLPOOL 0cf0a134f4060a4552955f3c330e279f5cd0f3dd8c2eb92719c3e8c488493a5c59740c0472da960acf0f0b07d765113076c58c1faddf5f02fc2ad944deebf4ca diff --git a/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20160126.ebuild b/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20160127.ebuild similarity index 96% rename from x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20160126.ebuild rename to x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20160127.ebuild index 1a93782..9fd9e12 100644 --- a/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20160126.ebuild +++ b/x11-drivers/xf86-video-intel/xf86-video-intel-2.99.917_p20160127.ebuild @@ -11,7 +11,7 @@ DESCRIPTION="X.Org driver for Intel cards" KEYWORDS="~amd64 ~x86 ~amd64-fbsd -x86-fbsd" IUSE="debug +sna +udev uxa xvmc" -COMMIT_ID="bb8dc3ef37580a221a40ba3dcbde755edc59bb62" +COMMIT_ID="2bee35a86b77bc7371a81dfa1586398edde56917" SRC_URI="http://cgit.freedesktop.org/xorg/driver/xf86-video-intel/snapshot/${COMMIT_ID}.tar.xz -> ${P}.tar.xz" S=${WORKDIR}/${COMMIT_ID}
[gentoo-commits] repo/gentoo:master commit in: net-fs/samba/
commit: 8d9b41684eb35cc504c092f17226b904238ffaa7 Author: Ian Stakenvicius gentoo org> AuthorDate: Wed Jan 27 22:23:50 2016 + Commit: Ian Stakenvicius gentoo org> CommitDate: Wed Jan 27 23:05:06 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8d9b4168 net-fs/samba: remove 4.3.3 in favour of keeping 4.3.4 Package-Manager: portage-2.2.26 net-fs/samba/Manifest | 1 - net-fs/samba/samba-4.3.3-r1.ebuild | 250 - net-fs/samba/samba-4.3.3.ebuild| 192 3 files changed, 443 deletions(-) diff --git a/net-fs/samba/Manifest b/net-fs/samba/Manifest index 6c62fa1..7d70b7a 100644 --- a/net-fs/samba/Manifest +++ b/net-fs/samba/Manifest @@ -2,7 +2,6 @@ DIST samba-3.5.21.tar.gz 35377315 SHA256 fd9a66056b1ba9496762394efff41fcaa0e58f2 DIST samba-3.5.22.tar.gz 35385144 SHA256 b4c98f77f5634478da109063334acd9b6ad7bcb38151a5b1cac6dc5feb6679dc SHA512 0e1b4816d921ca82f0426a254cf103066634cc54e28d707a62da951118413f7f5ca5f87d60688cab802a58b0af87f797fbbe12f4e1284d5d7f545a98aba97616 WHIRLPOOL 6e59655dd7a537f0c7c889c43ddf5afb8060706e1ec79b3835698181c5c7478059f91c93eefbde50b03e0154a686eda35eabf807bb7ae01dd2b9b39648a009ae DIST samba-3.6.25.tar.gz 34121828 SHA256 8f2c8a7f2bd89b0dfd228ed917815852f7c625b2bc0936304ac3ed63aaf83751 SHA512 25a5c56dae4517e82e196b59fa301b661ec75db57effbb0ede35fb23b018f78cdea6513e8760966caf58abc43335fcebda77fe5bf5bb9d4b27fd3ca6e5a3b626 WHIRLPOOL 68c4a335b3912bf3c6baecae337b1131127515191052366ca9a04ec6d919f2fb69c912aefb087e2578134f3a9bde7b496ea880f2197a8dbf8221058dd1e8444d DIST samba-4.2.7.tar.gz 20741971 SHA256 f586ab3166ce4c663360f15b1de24ef083816a5471856e3ad49bc26b35f0104a SHA512 74314083c04689696f0423bc990947bfafad679edcac97e6c137e99c17de1e262a4d8450b57de733a70c86c746300c7c5a1365b56c0e353ce79b05e0baf8eb9a WHIRLPOOL 84e7d2f3a60701ee929198caf86371c9e1694be6def47a4f0f12d4d221b995209505c23564c304fbdd95ab5ae528f941946bd361ec6e388f7ba4db08792ff3ba -DIST samba-4.3.3.tar.gz 20427281 SHA256 e62d21313acbb29e24b0b80aaf2b63fdd1ccce4cfb741f333deca95a1a3a70df SHA512 2c66d97f543e22a25ff77481359e7c69817d97c20b77a3ab02a1aab415e0b8a9a6024f4466abcca8312979f9b26596e016ca5bb78ccfe3746e3e9cec0fa303be WHIRLPOOL dae3cbe3aebd0aa70a726b4946470829b703f30c0aaf59f9ae094e7f4dfa25b0573e6c49690d91308f3dddc25cf6fbf0b1341da33446dc4ee29a115db48f9604 DIST samba-4.3.4.tar.gz 20434434 SHA256 5d0eb52e842832af922f7d57716eacff23192906ec3bdf6727e18ca24f1419d9 SHA512 021351534a70cd351934d7f8bfc3c4e9ed9ea3f11f778f6f9d076b3368103f7f478ff1745cb257de0bf2ee38ae76ecba58e01a4db6cbcacbd8a4876e8e1b30f2 WHIRLPOOL 328721951ed932c5813d6157ca2933e22adb793d5cd6667577e40151bcdae8dcddf5ca4e053cd6494e0f82f5801ae480716520c625dd9c337557abc168e00dec DIST samba-disable-python-patches-4.2.7.tar.xz 6296 SHA256 06a1b9aeb91b622d3c2a02a86edfc26e26f10303699c8b2badbd21ce68b10ec0 SHA512 ff746c2969b254d9ccad1440699fccd5958222eea8284a8e068b96df377d6cea8551ec3c6be7103cebf227b0b9038a5b06d3b06d9b247e181403e9fe1ad7eedf WHIRLPOOL 8ea9f34c5f011624b43c0f3f27601574c27e00c5a728d9af5b1cece090da362d51f93ef6cecd37f1204bbd4e608ed58027f52ef5c3d700a1cfdbbb0e5355c3b8 DIST samba-disable-python-patches-4.3.3.tar.xz 6016 SHA256 00debe6c5cc57b87150ded67db8dc54e5ec487f6ed610c96e8fa393743c47f66 SHA512 775abcee86690605e156f4c560f25d762f5cc2e72177a55003ad5124ed643322f2c84514342ed0eadad2c8e1ea97006bc6ce7d504ca8a29c27a201666ce4bdf6 WHIRLPOOL 86c40669e706f6c3b955e6fb892931532e241dd92cae2e7b5986e78f6b5fe50c42c019b97650942de81c8c4989568bcb93e49a7bcb2f9fd300d189da5fa08fe4 diff --git a/net-fs/samba/samba-4.3.3-r1.ebuild b/net-fs/samba/samba-4.3.3-r1.ebuild deleted file mode 100644 index 17a8911..000 --- a/net-fs/samba/samba-4.3.3-r1.ebuild +++ /dev/null @@ -1,250 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -PYTHON_COMPAT=( python2_7 ) -PYTHON_REQ_USE='threads(+)' - -inherit python-single-r1 waf-utils multilib-minimal linux-info systemd eutils - -MY_PV="${PV/_rc/rc}" -MY_P="${PN}-${MY_PV}" - -SRC_PATH="stable" -[[ ${PV} = *_rc* ]] && SRC_PATH="rc" - -SRC_URI="mirror://samba/${SRC_PATH}/${MY_P}.tar.gz - https://dev.gentoo.org/~axs/distfiles/samba-disable-python-patches-${PV}.tar.xz; -KEYWORDS="~amd64 ~hppa ~x86" -[[ ${PV} = *_rc* ]] && KEYWORDS="~hppa" - -DESCRIPTION="Samba Suite Version 4" -HOMEPAGE="http://www.samba.org/; -LICENSE="GPL-3" - -SLOT="0" - -IUSE="acl addc addns ads aio avahi client cluster cups dmapi fam gnutls iprint -ldap pam quota selinux syslog +system-mitkrb5 systemd test winbind" - -MULTILIB_WRAPPED_HEADERS=( - /usr/include/samba-4.0/policy.h - /usr/include/samba-4.0/dcerpc_server.h - /usr/include/samba-4.0/ctdb.h - /usr/include/samba-4.0/ctdb_client.h - /usr/include/samba-4.0/ctdb_protocol.h - /usr/include/samba-4.0/ctdb_private.h - /usr/include/samba-4.0/ctdb_typesafe_cb.h -
[gentoo-commits] proj/portage:repoman commit in: pym/repoman/
commit: a6ace81fe795174b65cc13c54c1d46ab19c257f9 Author: Brian Dolbec gentoo org> AuthorDate: Sun Jan 3 05:33:17 2016 + Commit: Brian Dolbec gentoo org> CommitDate: Wed Jan 27 22:44:25 2016 + URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=a6ace81f repoman: Enable verbosity option to be useful for setting the logging level Verbosity option was not being used internally. Convert debug print's added to proper debug messages. pym/repoman/main.py| 13 ++--- pym/repoman/scanner.py | 35 +++ 2 files changed, 29 insertions(+), 19 deletions(-) diff --git a/pym/repoman/main.py b/pym/repoman/main.py index 890e034..6921005 100755 --- a/pym/repoman/main.py +++ b/pym/repoman/main.py @@ -19,7 +19,6 @@ from portage import os import portage.checksum import portage.const import portage.repository.config -from portage import util from portage.output import create_color_func, nocolor from portage.output import ConsoleStyleFile, StyleWriter from portage.util import formatter @@ -37,13 +36,14 @@ from repoman.modules.vcs.settings import VCSSettings if sys.hexversion >= 0x300: basestring = str -util.initialize_logger() - bad = create_color_func("BAD") # A sane umask is needed for files that portage creates. os.umask(0o22) +LOGLEVEL = logging.WARNING +portage.util.initialize_logger(LOGLEVEL) + def repoman_main(argv): config_root = os.environ.get("PORTAGE_CONFIGROOT") @@ -61,6 +61,13 @@ def repoman_main(argv): print("Portage", portage.VERSION) sys.exit(0) + logger = logging.getLogger() + + if options.verbosity > 0: + logger.setLevel(LOGLEVEL - 10 * options.verbosity) + else: + logger.setLevel(LOGLEVEL) + if options.experimental_inherit == 'y': # This is experimental, so it's non-fatal. qawarnings.add("inherit.missing") diff --git a/pym/repoman/scanner.py b/pym/repoman/scanner.py index e486282..e286a81 100644 --- a/pym/repoman/scanner.py +++ b/pym/repoman/scanner.py @@ -19,13 +19,13 @@ from portage.module import Modules MODULES_PATH = os.path.join(os.path.dirname(__file__), "modules", "scan") # initial development debug info -#print("module path:", path) +logging.debug("module path: %s", MODULES_PATH) MODULE_CONTROLLER = Modules(path=MODULES_PATH, namepath="repoman.modules.scan") -# initial development debug info -#print(module_controller.module_names) MODULE_NAMES = MODULE_CONTROLLER.module_names[:] +# initial development debug info +logging.debug("module_names: %s", MODULE_NAMES) class Scanner(object): @@ -200,7 +200,7 @@ class Scanner(object): for mod in ['manifests', 'isebuild', 'keywords', 'files', 'vcsstatus', 'fetches', 'pkgmetadata']: mod_class = MODULE_CONTROLLER.get_class(mod) - print("Initializing class name:", mod_class.__name__) + logging.debug("Initializing class name: %s", mod_class.__name__) self.modules[mod_class.__name__] = mod_class(**self.kwargs) # initialize our checks classes here before the big xpkg loop @@ -210,7 +210,7 @@ class Scanner(object): for xpkg in self.effective_scanlist: xpkg_continue = False # ebuilds and digests added to cvs respectively. - logging.info("checking package %s" % xpkg) + logging.info("checking package %s", xpkg) # save memory by discarding xmatch caches from previous package(s) self.caches['arch_xmatch'].clear() self.eadded = [] @@ -238,7 +238,7 @@ class Scanner(object): # need to set it up for ==> self.modules or some other ordered list for mod in ['Manifests', 'IsEbuild', 'KeywordChecks', 'FileChecks', 'VCSStatus', 'FetchChecks', 'PkgMetadata']: - print("scan_pkgs(): module:", mod) + logging.debug("scan_pkgs; module: %s", mod) do_it, functions = self.modules[mod].runInPkgs if do_it: for func in functions: @@ -302,7 +302,7 @@ class Scanner(object): logging.debug("do_it: %s, functions: %s", do_it, [x.__name__ for x in functions]) if do_it: for func in functions: - print("\tRunning function:", func) + logging.debug("\tRunning function: %s", func) rdata = func(**dynamic_data)
[gentoo-commits] proj/portage:repoman commit in: pym/repoman/checks/ebuilds/, pym/repoman/, pym/repoman/modules/scan/mirrors/
commit: a67a1444d90a8d764200063461d7c5dd37d53c1a Author: Brian Dolbec gentoo org> AuthorDate: Fri Jan 8 01:29:42 2016 + Commit: Brian Dolbec gentoo org> CommitDate: Wed Jan 27 22:44:21 2016 + URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=a67a1444 repoman: Create the ThirdPartyMirrors class plugin pym/repoman/checks/ebuilds/thirdpartymirrors.py| 39 -- pym/repoman/modules/scan/mirrors/__init__.py | 24 + .../modules/scan/mirrors/thirdpartymirrors.py | 59 ++ pym/repoman/scanner.py | 6 +-- 4 files changed, 86 insertions(+), 42 deletions(-) diff --git a/pym/repoman/checks/ebuilds/thirdpartymirrors.py b/pym/repoman/checks/ebuilds/thirdpartymirrors.py deleted file mode 100644 index 848dfb9..000 --- a/pym/repoman/checks/ebuilds/thirdpartymirrors.py +++ /dev/null @@ -1,39 +0,0 @@ -# -*- coding:utf-8 -*- - -# import our initialized portage instance -from repoman._portage import portage - - -class ThirdPartyMirrors(object): - - def __init__(self, repoman_settings, qatracker): - # TODO: Build a regex instead here, for the SRC_URI.mirror check. - self.thirdpartymirrors = {} - profile_thirdpartymirrors = repoman_settings.thirdpartymirrors().items() - for mirror_alias, mirrors in profile_thirdpartymirrors: - for mirror in mirrors: - if not mirror.endswith("/"): - mirror += "/" - self.thirdpartymirrors[mirror] = mirror_alias - - self.qatracker = qatracker - - def check(self, myaux, relative_path): - # Check that URIs don't reference a server from thirdpartymirrors. - for uri in portage.dep.use_reduce( - myaux["SRC_URI"], matchall=True, is_src_uri=True, - eapi=myaux["EAPI"], flat=True): - contains_mirror = False - for mirror, mirror_alias in self.thirdpartymirrors.items(): - if uri.startswith(mirror): - contains_mirror = True - break - if not contains_mirror: - continue - - new_uri = "mirror://%s/%s" % (mirror_alias, uri[len(mirror):]) - self.qatracker.add_error( - "SRC_URI.mirror", - "%s: '%s' found in thirdpartymirrors, use '%s'" % ( - relative_path, mirror, new_uri)) - return diff --git a/pym/repoman/modules/scan/mirrors/__init__.py b/pym/repoman/modules/scan/mirrors/__init__.py new file mode 100644 index 000..6bf7d2d --- /dev/null +++ b/pym/repoman/modules/scan/mirrors/__init__.py @@ -0,0 +1,24 @@ +# Copyright 2015-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +doc = """Mirrors plug-in module for repoman. +Performs third party mirrors checks on ebuilds.""" +__doc__ = doc[:] + + +module_spec = { + 'name': 'mirrors', + 'description': doc, + 'provides':{ + 'mirrors-module': { + 'name': "thirdpartymirrors", + 'sourcefile': "thirdpartymirrors", + 'class': "ThirdPartyMirrors", + 'description': doc, + 'functions': ['check'], + 'func_desc': { + }, + }, + } +} + diff --git a/pym/repoman/modules/scan/mirrors/thirdpartymirrors.py b/pym/repoman/modules/scan/mirrors/thirdpartymirrors.py new file mode 100644 index 000..9404e28 --- /dev/null +++ b/pym/repoman/modules/scan/mirrors/thirdpartymirrors.py @@ -0,0 +1,59 @@ +# -*- coding:utf-8 -*- + +# import our initialized portage instance +from repoman._portage import portage +from repoman.modules.scan.scanbase import ScanBase + + +class ThirdPartyMirrors(ScanBase): + + def __init__(self, **kwargs): + '''Class init + + @param repo_settings: settings instance + @param qatracker: QATracker instance + ''' + super(ThirdPartyMirrors, self).__init__(**kwargs) + repo_settings = kwargs.get('repo_settings') + self.qatracker = kwargs.get('qatracker') + + # TODO: Build a regex instead here, for the SRC_URI.mirror check. + self.thirdpartymirrors = {} + profile_thirdpartymirrors = repo_settings.repoman_settings.thirdpartymirrors().items() + for mirror_alias, mirrors in profile_thirdpartymirrors: + for mirror in mirrors: + if not mirror.endswith("/"): +
[gentoo-commits] proj/portage:repoman commit in: pym/repoman/checks/ebuilds/variables/, pym/repoman/, ...
commit: d644184677aba1e916b000e7a33ad5ae24c92e0b Author: Brian Dolbec gentoo org> AuthorDate: Sun Jan 3 23:09:27 2016 + Commit: Brian Dolbec gentoo org> CommitDate: Wed Jan 27 22:44:24 2016 + URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=d6441846 repoman: Migrate license checks to a plugin module pym/repoman/checks/ebuilds/variables/license.py | 47 -- pym/repoman/modules/scan/metadata/__init__.py | 9 + pym/repoman/modules/scan/metadata/license.py| 53 + pym/repoman/scanner.py | 7 +--- 4 files changed, 63 insertions(+), 53 deletions(-) diff --git a/pym/repoman/checks/ebuilds/variables/license.py b/pym/repoman/checks/ebuilds/variables/license.py deleted file mode 100644 index bdc859c..000 --- a/pym/repoman/checks/ebuilds/variables/license.py +++ /dev/null @@ -1,47 +0,0 @@ - -'''description.py -Perform checks on the LICENSE variable. -''' - -# import our initialized portage instance -from repoman._portage import portage - - -class LicenseChecks(object): - '''Perform checks on the LICENSE variable.''' - - def __init__(self, qatracker, liclist, liclist_deprecated): - ''' - @param qatracker: QATracker instance - @param liclist: List of licenses. - @param liclist: List of deprecated licenses. - ''' - self.qatracker = qatracker - self.liclist = liclist - self.liclist_deprecated = liclist_deprecated - - def check( - self, pkg, package, ebuild, y_ebuild): - ''' - @param pkg: Package in which we check (object). - @param package: Package in which we check (string). - @param ebuild: Ebuild which we check (object). - @param y_ebuild: Ebuild which we check (string). - ''' - - # Parse the LICENSE variable, remove USE conditions and flatten it. - licenses = portage.dep.use_reduce( - pkg._metadata["LICENSE"], matchall=1, flat=True) - - # Check each entry to ensure that it exists in ${PORTDIR}/licenses/. - for lic in licenses: - # Need to check for "||" manually as no portage - # function will remove it without removing values. - if lic not in self.liclist and lic != "||": - self.qatracker.add_error( - "LICENSE.invalid", - package + "/" + y_ebuild + ".ebuild: %s" % lic) - elif lic in self.liclist_deprecated: - self.qatracker.add_error( - "LICENSE.deprecated", - "%s: %s" % (ebuild.relative_path, lic)) diff --git a/pym/repoman/modules/scan/metadata/__init__.py b/pym/repoman/modules/scan/metadata/__init__.py index 83aac7f..c8f3609 100644 --- a/pym/repoman/modules/scan/metadata/__init__.py +++ b/pym/repoman/modules/scan/metadata/__init__.py @@ -37,6 +37,15 @@ module_spec = { 'func_desc': { }, }, + 'license-metadata': { + 'name': "license", + 'sourcefile': "license", + 'class': "LicenseChecks", + 'description': doc, + 'functions': ['check'], + 'func_desc': { + }, + }, } } diff --git a/pym/repoman/modules/scan/metadata/license.py b/pym/repoman/modules/scan/metadata/license.py new file mode 100644 index 000..b022b20 --- /dev/null +++ b/pym/repoman/modules/scan/metadata/license.py @@ -0,0 +1,53 @@ + +'''license.py +Perform checks on the LICENSE variable. +''' + +# import our initialized portage instance +from repoman._portage import portage + + +class LicenseChecks(object): + '''Perform checks on the LICENSE variable.''' + + def __init__(self, **kwargs): + ''' + @param qatracker: QATracker instance + @param repo_metadata: dictionary of various repository items. + ''' + self.qatracker = kwargs.get('qatracker') + self.repo_metadata = kwargs.get('repo_metadata') + + def check(self, **kwargs): + ''' + @param xpkg: Package in which we check (string). + @param ebuild: Ebuild which we check (object). + @param y_ebuild: Ebuild which we check (string). + ''' + xpkg = kwargs.get('xpkg') + ebuild = kwargs.get('ebuild') + y_ebuild = kwargs.get('y_ebuild') + if not kwargs.get('badlicsyntax'): + # Parse the
[gentoo-commits] proj/portage:repoman commit in: pym/repoman/, pym/repoman/modules/scan/depend/
commit: df0b6b385eb583a1f9d8d99f5e11c19818366922 Author: Brian Dolbec gentoo org> AuthorDate: Sun Jan 3 21:19:59 2016 + Commit: Brian Dolbec gentoo org> CommitDate: Wed Jan 27 22:44:23 2016 + URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=df0b6b38 repoman: Migrate some additional Dependency code to the plugin pym/repoman/modules/scan/depend/depend.py | 13 - pym/repoman/scanner.py| 22 +++--- 2 files changed, 15 insertions(+), 20 deletions(-) diff --git a/pym/repoman/modules/scan/depend/depend.py b/pym/repoman/modules/scan/depend/depend.py index 8a0ff48..7f1d007 100644 --- a/pym/repoman/modules/scan/depend/depend.py +++ b/pym/repoman/modules/scan/depend/depend.py @@ -1,3 +1,5 @@ +# -*- coding:utf-8 -*- + from _emerge.Package import Package @@ -121,7 +123,16 @@ class DependChecks(object): qacat = m + ".syntax" self.qatracker.add_error( qacat, "%s: %s: %s" % (ebuild.relative_path, m, b)) - return {'continue': False, 'unknown_pkgs': unknown_pkgs, 'type_list': type_list} + + # data required for some other tests + badlicsyntax = len([z for z in type_list if z == "LICENSE"]) + badprovsyntax = len([z for z in type_list if z == "PROVIDE"]) + baddepsyntax = len(type_list) != badlicsyntax + badprovsyntax + badlicsyntax = badlicsyntax > 0 + #badprovsyntax = badprovsyntax > 0 + + return {'continue': False, 'unknown_pkgs': unknown_pkgs, 'type_list': type_list, + 'badlicsyntax': badlicsyntax, 'baddepsyntax': baddepsyntax} @property def runInPkgs(self): diff --git a/pym/repoman/scanner.py b/pym/repoman/scanner.py index 335590b..bec943d 100644 --- a/pym/repoman/scanner.py +++ b/pym/repoman/scanner.py @@ -327,26 +327,10 @@ class Scanner(object): if y_ebuild_continue: continue - if dynamic_data['live_ebuild'] and self.repo_settings.repo_config.name == "gentoo": - self.liveeclasscheck.check( - dynamic_data['pkg'], xpkg, dynamic_data['ebuild'], y_ebuild, dynamic_data['ebuild'].keywords, self.repo_metadata['pmaskdict']) - - unknown_pkgs = set() - baddepsyntax = False - badlicsyntax = False - badprovsyntax = False - # catpkg = catdir + "/" + y_ebuild - - badlicsyntax = len([z for z in dynamic_data['type_list'] if z == "LICENSE"]) - badprovsyntax = len([z for z in dynamic_data['type_list'] if z == "PROVIDE"]) - baddepsyntax = len(dynamic_data['type_list']) != badlicsyntax + badprovsyntax - badlicsyntax = badlicsyntax > 0 - badprovsyntax = badprovsyntax > 0 - used_useflags = used_useflags.union(dynamic_data['ebuild_UsedUseFlags']) # license checks - if not badlicsyntax: + if not dynamic_data['badlicsyntax']: self.licensecheck.check(dynamic_data['pkg'], xpkg, dynamic_data['ebuild'], y_ebuild) self.restrictcheck.check(dynamic_data['pkg'], xpkg, dynamic_data['ebuild'], y_ebuild) @@ -452,7 +436,7 @@ class Scanner(object): dep_settings.usemask = dep_settings._use_manager.getUseMask( dynamic_data['pkg'], stable=dep_settings._parent_stable) - if not baddepsyntax: + if not dynamic_data['baddepsyntax']: ismasked = not dynamic_data['ebuild'].archs or \ dynamic_data['pkg'].cpv not in self.portdb.xmatch("match-visible", Atom("%s::%s" % (dynamic_data['pkg'].cp, self.repo_settings.repo_config.name))) @@ -542,7 +526,7 @@ class Scanner(object): % (dynamic_data['ebuild'].relative_path, mytype, keyword, prof, pformat(atoms, indent=6))) - if not baddepsyntax and dynamic_data['unknown_pkgs']: + if not dynamic_data['baddepsyntax'] and dynamic_data['unknown_pkgs']: type_map = {} for mytype, atom in dynamic_data['unknown_pkgs']: type_map.setdefault(mytype, set()).add(atom)
[gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/scan/directories/, pym/repoman/
commit: 8a0ca4414e34006590b51272df10f0febf6e9abb Author: Brian Dolbec gentoo org> AuthorDate: Sun Jan 3 23:23:52 2016 + Commit: Brian Dolbec gentoo org> CommitDate: Wed Jan 27 22:44:24 2016 + URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=8a0ca441 repoman: Migrate code to a new MtimeChecks class in directories plugin pym/repoman/modules/scan/directories/__init__.py | 9 + pym/repoman/modules/scan/directories/mtime.py| 24 pym/repoman/scanner.py | 5 + 3 files changed, 34 insertions(+), 4 deletions(-) diff --git a/pym/repoman/modules/scan/directories/__init__.py b/pym/repoman/modules/scan/directories/__init__.py index bcc6eca..ec18d30 100644 --- a/pym/repoman/modules/scan/directories/__init__.py +++ b/pym/repoman/modules/scan/directories/__init__.py @@ -19,6 +19,15 @@ module_spec = { 'func_kwargs': { }, }, + 'mtime-module': { + 'name': "mtime", + 'sourcefile': "mtime", + 'class': "MtimeChecks", + 'description': doc, + 'functions': ['check'], + 'func_kwargs': { + }, + }, } } diff --git a/pym/repoman/modules/scan/directories/mtime.py b/pym/repoman/modules/scan/directories/mtime.py new file mode 100644 index 000..e113cdd --- /dev/null +++ b/pym/repoman/modules/scan/directories/mtime.py @@ -0,0 +1,24 @@ + + +class MtimeChecks(object): + + def __init__(self, **kwargs): + self.vcs_settings = kwargs.get('vcs_settings') + + def check(self, **kwargs): + ebuild = kwargs.get('ebuild') + changed = kwargs.get('changed') + pkg = kwargs.get('pkg') + if not self.vcs_settings.vcs_preserves_mtime: + if ebuild.ebuild_path not in changed.new_ebuilds and \ + ebuild.ebuild_path not in changed.ebuilds: + pkg.mtime = None + return {'continue': False} + + @property + def runInPkgs(self): + return (False, []) + + @property + def runInEbuilds(self): + return (True, [self.check]) diff --git a/pym/repoman/scanner.py b/pym/repoman/scanner.py index 1b6bbb4..683d791 100644 --- a/pym/repoman/scanner.py +++ b/pym/repoman/scanner.py @@ -296,6 +296,7 @@ class Scanner(object): ('arches', 'ArchChecks'), ('depend', 'DependChecks'), ('use_flags', 'USEFlagChecks'), ('ruby', 'RubyEclassChecks'), ('license', 'LicenseChecks'), ('restrict', 'RestrictChecks'), + ('mtime', 'MtimeChecks'), ]: if mod[0]: mod_class = MODULE_CONTROLLER.get_class(mod[0]) @@ -324,10 +325,6 @@ class Scanner(object): continue # Syntax Checks - if not self.vcs_settings.vcs_preserves_mtime: - if dynamic_data['ebuild'].ebuild_path not in self.changed.new_ebuilds and \ - dynamic_data['ebuild'].ebuild_path not in self.changed.ebuilds: - dynamic_data['pkg'].mtime = None try: # All ebuilds should have utf_8 encoding. f = io.open(
[gentoo-commits] repo/gentoo:master commit in: media-sound/moc/, media-sound/moc/files/
commit: 3f0f37a8631c9ed6b863bbfe3ac13d57eafb145b Author: David Seifert gentoo org> AuthorDate: Wed Jan 27 23:15:44 2016 + Commit: David Seifert gentoo org> CommitDate: Wed Jan 27 23:16:24 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3f0f37a8 media-sound/moc: Use pkgconfig to detect sys-libs/ncurses flags Gentoo-Bug: 521860 * EAPI=6 * Remove .la files unconditionally Package-Manager: portage-2.2.27 .../moc-2.6_alpha1-fix-ncurses-underlinking.patch | 180 + media-sound/moc/moc-2.6_alpha1-r1.ebuild | 90 +++ 2 files changed, 270 insertions(+) diff --git a/media-sound/moc/files/moc-2.6_alpha1-fix-ncurses-underlinking.patch b/media-sound/moc/files/moc-2.6_alpha1-fix-ncurses-underlinking.patch new file mode 100644 index 000..a5715ba --- /dev/null +++ b/media-sound/moc/files/moc-2.6_alpha1-fix-ncurses-underlinking.patch @@ -0,0 +1,180 @@ +Fix missing ncurses underlinking issue caused by broken detection mechanisms. +https://bugs.gentoo.org/show_bug.cgi?id=521860 + +--- moc-2.6-alpha1/configure.ac moc-2.6-alpha1/configure.ac +@@ -340,17 +340,13 @@ + [Define if we have __attribute__ extension])]) + + dnl ncurses +-MP_WITH_CURSES +-if test -z "$CURSES_LIB" +-then +- AC_MSG_ERROR([You need curses/ncurses library and header files.]) +-else +- AC_CHECK_LIB([$CURSES_LIB], [set_escdelay], +- AC_DEFINE([HAVE_SET_ESCDELAY], 1, [Define if you have set_escdelay.]), +- [AC_CHECK_FUNC([setenv], , +- AC_MSG_ERROR([Required function setenv not found.]))]) +- EXTRA_LIBS="$EXTRA_LIBS -l$CURSES_LIB" +-fi ++AC_ARG_WITH([ncursesw], ++ AS_HELP_STRING([--without-ncursesw], [Don't use ncursesw (UTF-8 support)])) ++AS_IF([test "x$with_ncursesw" != "xno"], ++ [PKG_CHECK_MODULES([CURSES],[ncursesw]) ++ AC_DEFINE([HAVE_NCURSESW], [1], [Define if you have ncursesw])], ++ [PKG_CHECK_MODULES([CURSES],[ncurses]) ++ AC_DEFINE([HAVE_CURSES], [1], [Define if you have curses])]) + + dnl popt + AC_CHECK_LIB([popt], [poptGetContext], [true], [POPT_MISSING="yes"]) +--- moc-2.6-alpha1/interface_elements.c moc-2.6-alpha1/interface_elements.c +@@ -37,11 +37,10 @@ + # define _XOPEN_SOURCE_EXTENDED /* for wget_wch() */ + #endif + +-#ifdef HAVE_NCURSESW_H ++#ifdef HAVE_NCURSESW + # include +-#elif HAVE_NCURSES_H + # include +-#elif HAVE_CURSES_H ++#elif HAVE_CURSES + # include + #endif + +--- moc-2.6-alpha1/interface_elements.h moc-2.6-alpha1/interface_elements.h +@@ -1,11 +1,10 @@ + #ifndef INTERFACE_ELEMENTS_H + #define INTERFACE_ELEMENTS_H + +-#ifdef HAVE_NCURSESW_H ++#ifdef HAVE_NCURSESW + # include +-#elif HAVE_NCURSES_H + # include +-#elif HAVE_CURSES_H ++#elif HAVE_CURSES + # include + #endif + +--- moc-2.6-alpha1/keys.c moc-2.6-alpha1/keys.c +@@ -17,11 +17,10 @@ + #include + #include + +-#ifdef HAVE_NCURSESW_H ++#ifdef HAVE_NCURSESW + # include +-#elif HAVE_NCURSES_H + # include +-#elif HAVE_CURSES_H ++#elif HAVE_CURSES + # include + #endif + +--- moc-2.6-alpha1/Makefile.am moc-2.6-alpha1/Makefile.am +@@ -2,6 +2,7 @@ + SUBDIRS = themes decoder_plugins + AM_CPPFLAGS = -DSYSTEM_THEMES_DIR=\"$(pkgdatadir)/themes\" \ + -DPLUGIN_DIR=\"$(plugindir)/$(DECODER_PLUGIN_DIR)\" ++AM_CFLAGS = @CURSES_CFLAGS@ + + bin_PROGRAMS = mocp + mocp_SOURCES = log.c \ +@@ -81,7 +82,7 @@ +jack.c \ +jack.h + man_MANS = mocp.1 +-mocp_LDADD = @EXTRA_OBJS@ -lltdl ++mocp_LDADD = @EXTRA_OBJS@ -lltdl @CURSES_LIBS@ + mocp_DEPENDENCIES = @EXTRA_OBJS@ + mocp_LDFLAGS = @EXTRA_LIBS@ $(RCC_LIBS) -export-dynamic + EXTRA_DIST = README_equalizer mocp.1 THANKS keymap.example Doxyfile \ +--- moc-2.6-alpha1/menu.c moc-2.6-alpha1/menu.c +@@ -17,11 +17,10 @@ + #include + #include + +-#ifdef HAVE_NCURSESW_H ++#ifdef HAVE_NCURSESW + # include +-#elif HAVE_NCURSES_H + # include +-#elif HAVE_CURSES_H ++#elif HAVE_CURSES + # include + #endif + +--- moc-2.6-alpha1/menu.h moc-2.6-alpha1/menu.h +@@ -1,11 +1,10 @@ + #ifndef MENU_H + #define MENU_H + +-#ifdef HAVE_NCURSESW_H ++#ifdef HAVE_NCURSESW + # include +-#elif HAVE_NCURSES_H + # include +-#elif HAVE_CURSES_H ++#elif HAVE_CURSES + # include + #endif + +--- moc-2.6-alpha1/themes.c moc-2.6-alpha1/themes.c +@@ -13,11 +13,10 @@ + # include "config.h" + #endif + +-#ifdef HAVE_NCURSESW_H ++#ifdef HAVE_NCURSESW + # include +-#elif HAVE_NCURSES_H + # include +-#elif HAVE_CURSES_H ++#elif HAVE_CURSES + # include + #endif + +--- moc-2.6-alpha1/utf8.c moc-2.6-alpha1/utf8.c +@@ -30,13 +30,13 @@ + # include + #endif + +-#ifdef HAVE_NCURSESW_H ++#ifdef HAVE_NCURSESW + # include +-#elif HAVE_NCURSES_H + # include +-#else ++#elif HAVE_CURSES + # include + #endif ++ + #include + #include + #include +--- moc-2.6-alpha1/utf8.h moc-2.6-alpha1/utf8.h +@@ -1,11 +1,10 @@ + #ifndef UTF8_H + #define UTF8_H +
[gentoo-commits] proj/portage:repoman commit in: pym/repoman/, pym/repoman/modules/scan/depend/
commit: 5127cf5187ac4e4f757a9e0036cb5f6ef4d63950 Author: Brian Dolbec gentoo org> AuthorDate: Mon Jan 4 07:57:36 2016 + Commit: Brian Dolbec gentoo org> CommitDate: Wed Jan 27 22:44:25 2016 + URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=5127cf51 repoman: Move the large depency checks loop to a new plugin ProfileDependsChecks class pym/repoman/modules/scan/depend/__init__.py | 9 ++ pym/repoman/modules/scan/depend/profile.py | 211 pym/repoman/repos.py| 1 + pym/repoman/scanner.py | 181 +--- 4 files changed, 228 insertions(+), 174 deletions(-) diff --git a/pym/repoman/modules/scan/depend/__init__.py b/pym/repoman/modules/scan/depend/__init__.py index ebc716c..cddb7f1 100644 --- a/pym/repoman/modules/scan/depend/__init__.py +++ b/pym/repoman/modules/scan/depend/__init__.py @@ -19,6 +19,15 @@ module_spec = { 'func_desc': { }, }, + 'profile-module': { + 'name': "profile", + 'sourcefile': "profile", + 'class': "ProfileDependsChecks", + 'description': doc, + 'functions': ['check'], + 'func_desc': { + }, + }, } } diff --git a/pym/repoman/modules/scan/depend/profile.py b/pym/repoman/modules/scan/depend/profile.py new file mode 100644 index 000..91c52cc --- /dev/null +++ b/pym/repoman/modules/scan/depend/profile.py @@ -0,0 +1,211 @@ +# -*- coding:utf-8 -*- + + +import copy +from pprint import pformat + +from _emerge.Package import Package + +# import our initialized portage instance +from repoman._portage import portage +from portage.dep import Atom + + +def sort_key(item): + return item[2].sub_path + + +class ProfileDependsChecks(object): + + def __init__(self, **kwargs): + self.qatracker = kwargs.get('qatracker') + self.portdb = kwargs.get('portdb') + self.profiles = kwargs.get('profiles') + self.options = kwargs.get('options') + self.repo_settings = kwargs.get('repo_settings') + self.include_arches = kwargs.get('include_arches') + self.caches = kwargs.get('caches') + self.repoman_incrementals = kwargs.get('repoman_incrementals') + self.env = kwargs.get('env') + self.have = kwargs.get('have') + self.dev_keywords = kwargs.get('dev_keywords') + + def check(self, **kwargs): + arches = kwargs.get('arches') + ebuild = kwargs.get('ebuild') + pkg = kwargs.get('pkg') + baddepsyntax = kwargs.get('baddepsyntax') + unknown_pkgs = kwargs.get('unknown_pkgs') + + relevant_profiles = [] + for keyword, arch, groups in arches: + if arch not in self.profiles: + # A missing profile will create an error further down + # during the KEYWORDS verification. + continue + + if self.include_arches is not None: + if arch not in self.include_arches: + continue + + relevant_profiles.extend( + (keyword, groups, prof) for prof in self.profiles[arch]) + + relevant_profiles.sort(key=sort_key) + + for keyword, groups, prof in relevant_profiles: + + is_stable_profile = prof.status == "stable" + is_dev_profile = prof.status == "dev" and \ + self.options.include_dev + is_exp_profile = prof.status == "exp" and \ + self.options.include_exp_profiles == 'y' + if not (is_stable_profile or is_dev_profile or is_exp_profile): + continue + + dep_settings = self.caches['arch'].get(prof.sub_path) + if dep_settings is None: + dep_settings = portage.config( + config_profile_path=prof.abs_path, + config_incrementals=self.repoman_incrementals, + config_root=self.repo_settings.config_root, + local_config=False, + _unmatched_removal=self.options.unmatched_removal, + env=self.env, repositories=self.repo_settings.repoman_settings.repositories) + dep_settings.categories =
[gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/manifest/, pym/repoman/modules/fix/, ...
commit: 64cf4cb583876f48f11f550437a6d067fdb7e5e6 Author: Brian Dolbec gentoo org> AuthorDate: Wed Jan 6 03:08:08 2016 + Commit: Brian Dolbec gentoo org> CommitDate: Wed Jan 27 22:44:25 2016 + URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=64cf4cb5 repoman: Delete unused subpkgs pym/repoman/checks/ebuilds/variables/__init__.py | 0 pym/repoman/modules/fix/__init__.py | 0 pym/repoman/modules/full/__init__.py | 0 pym/repoman/modules/manifest/__init__.py | 0 4 files changed, 0 insertions(+), 0 deletions(-) diff --git a/pym/repoman/checks/ebuilds/variables/__init__.py b/pym/repoman/checks/ebuilds/variables/__init__.py deleted file mode 100644 index e69de29..000 diff --git a/pym/repoman/modules/fix/__init__.py b/pym/repoman/modules/fix/__init__.py deleted file mode 100644 index e69de29..000 diff --git a/pym/repoman/modules/full/__init__.py b/pym/repoman/modules/full/__init__.py deleted file mode 100644 index e69de29..000 diff --git a/pym/repoman/modules/manifest/__init__.py b/pym/repoman/modules/manifest/__init__.py deleted file mode 100644 index e69de29..000
[gentoo-commits] proj/portage:repoman commit in: pym/repoman/
commit: 5512df3af943c4f5c086a43874b1459ec270b785 Author: Mike Gilbert gentoo org> AuthorDate: Thu Jan 21 18:51:16 2016 + Commit: Brian Dolbec gentoo org> CommitDate: Wed Jan 27 22:44:26 2016 + URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=5512df3a metadata.py: Resolve error when moving metadata.dtd If DISTDIR and PORTDIR/metadata/dtd live on different filesystems, os.rename() will fail. Use shutil.move() instead. pym/repoman/metadata.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pym/repoman/metadata.py b/pym/repoman/metadata.py index f1fa53a..e95ad41 100644 --- a/pym/repoman/metadata.py +++ b/pym/repoman/metadata.py @@ -19,6 +19,7 @@ from repoman._portage import portage from portage import exception from portage import os +from portage import shutil from portage.output import green if sys.hexversion >= 0x300: @@ -143,7 +144,7 @@ def fetch_metadata_dtd(metadata_dtd, repoman_settings): except portage.exception.PortageException: pass - os.rename(metadata_dtd_tmp, metadata_dtd) + shutil.move(metadata_dtd_tmp, metadata_dtd) finally: try: os.unlink(metadata_dtd_tmp)
[gentoo-commits] proj/portage:repoman commit in: pym/repoman/, pym/repoman/modules/scan/eclasses/, ...
commit: 651d49efec761a6058cd484e6cfb6827c793681d Author: Brian Dolbec gentoo org> AuthorDate: Fri Jan 8 08:46:01 2016 + Commit: Brian Dolbec gentoo org> CommitDate: Wed Jan 27 22:44:22 2016 + URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=651d49ef repoman: Create RubyEclassChecks class plugin pym/repoman/checks/ebuilds/eclasses/__init__.py| 0 pym/repoman/modules/scan/eclasses/__init__.py | 9 + .../{checks/ebuilds => modules/scan}/eclasses/ruby.py | 18 ++ pym/repoman/scanner.py | 9 ++--- 4 files changed, 25 insertions(+), 11 deletions(-) diff --git a/pym/repoman/checks/ebuilds/eclasses/__init__.py b/pym/repoman/checks/ebuilds/eclasses/__init__.py deleted file mode 100644 index e69de29..000 diff --git a/pym/repoman/modules/scan/eclasses/__init__.py b/pym/repoman/modules/scan/eclasses/__init__.py index ed9a7c7..126f2a6 100644 --- a/pym/repoman/modules/scan/eclasses/__init__.py +++ b/pym/repoman/modules/scan/eclasses/__init__.py @@ -19,6 +19,15 @@ module_spec = { 'func_kwargs': { }, }, + 'ruby-module': { + 'name': "ruby", + 'sourcefile': "ruby", + 'class': "RubyEclassChecks", + 'description': doc, + 'functions': ['check'], + 'func_kwargs': { + }, + }, } } diff --git a/pym/repoman/checks/ebuilds/eclasses/ruby.py b/pym/repoman/modules/scan/eclasses/ruby.py similarity index 62% rename from pym/repoman/checks/ebuilds/eclasses/ruby.py rename to pym/repoman/modules/scan/eclasses/ruby.py index e8d36ea..4dc5d62 100644 --- a/pym/repoman/checks/ebuilds/eclasses/ruby.py +++ b/pym/repoman/modules/scan/eclasses/ruby.py @@ -4,19 +4,23 @@ Performs Ruby eclass checks ''' from repoman.qa_data import ruby_deprecated +from repoman.modules.scan.scanbase import ScanBase -class RubyEclassChecks(object): +class RubyEclassChecks(ScanBase): '''Performs checks for the usage of Ruby eclasses in ebuilds''' - def __init__(self, qatracker): + def __init__(self, **kwargs): ''' @param qatracker: QATracker instance ''' - self.qatracker = qatracker + super(RubyEclassChecks, self).__init__(**kwargs) + self.qatracker = kwargs.get('qatracker') self.old_ruby_eclasses = ["ruby-ng", "ruby-fakegem", "ruby"] - def check(self, pkg, ebuild): + def check(self, **kwargs): + pkg = kwargs.get('pkg') + ebuild = kwargs.get('ebuild') is_inherited = lambda eclass: eclass in pkg.inherited is_old_ruby_eclass_inherited = filter( is_inherited, self.old_ruby_eclasses) @@ -30,3 +34,9 @@ class RubyEclassChecks(object): "IUSE.rubydeprecated", (ebuild.relative_path + ": Deprecated ruby target: %s") % myruby) + return {'continue': False} + + @property + def runInEbuilds(self): + '''Ebuild level scans''' + return (True, [self.check]) diff --git a/pym/repoman/scanner.py b/pym/repoman/scanner.py index 2101f13..febbc1d 100644 --- a/pym/repoman/scanner.py +++ b/pym/repoman/scanner.py @@ -18,7 +18,6 @@ from portage import _unicode_encode from portage.dep import Atom from portage.output import green from repoman.checks.ebuilds.checks import run_checks -from repoman.checks.ebuilds.eclasses.ruby import RubyEclassChecks from repoman.checks.ebuilds.variables.license import LicenseChecks from repoman.checks.ebuilds.variables.restrict import RestrictChecks from repoman.modules.commit import repochecks @@ -214,7 +213,6 @@ class Scanner(object): self.modules[mod_class.__name__] = mod_class(**self.kwargs) # initialize our checks classes here before the big xpkg loop - self.rubyeclasscheck = RubyEclassChecks(self.qatracker) self.licensecheck = LicenseChecks(self.qatracker, liclist, liclist_deprecated) self.restrictcheck = RestrictChecks(self.qatracker) @@ -301,7 +299,7 @@ class Scanner(object): ('thirdpartymirrors', 'ThirdPartyMirrors'), ('description', 'DescriptionChecks'), (None, 'KeywordChecks'), ('arches', 'ArchChecks'), ('depend', 'DependChecks'), - ('use_flags', 'USEFlagChecks'), + ('use_flags', 'USEFlagChecks'), ('ruby', 'RubyEclassChecks'), ]: if
[gentoo-commits] proj/portage:repoman commit in: pym/repoman/, pym/repoman/modules/scan/metadata/
commit: 319db47c9c12492dc499632ef94c95916c8d4bd2 Author: Brian Dolbec gentoo org> AuthorDate: Sun Jan 3 11:31:26 2016 + Commit: Brian Dolbec gentoo org> CommitDate: Wed Jan 27 22:44:22 2016 + URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=319db47c scanner.py: Migrate another metadata check to ebuild_metadata pym/repoman/modules/scan/metadata/ebuild_metadata.py | 3 +++ pym/repoman/scanner.py | 2 -- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/pym/repoman/modules/scan/metadata/ebuild_metadata.py b/pym/repoman/modules/scan/metadata/ebuild_metadata.py index 143a40e..2dc1db2 100644 --- a/pym/repoman/modules/scan/metadata/ebuild_metadata.py +++ b/pym/repoman/modules/scan/metadata/ebuild_metadata.py @@ -28,6 +28,9 @@ class EbuildMetadata(object): "%s: %s variable contains non-ASCII " "character at position %s" % (ebuild.relative_path, k, m.start() + 1)) + if ebuild.metadata.get("PROVIDE"): + self.qatracker.add_error("virtual.oldstyle", ebuild.relative_path) + return {'continue': False} @property diff --git a/pym/repoman/scanner.py b/pym/repoman/scanner.py index febbc1d..3ea27b6 100644 --- a/pym/repoman/scanner.py +++ b/pym/repoman/scanner.py @@ -327,8 +327,6 @@ class Scanner(object): if y_ebuild_continue: continue - if dynamic_data['ebuild'].metadata.get("PROVIDE"): - self.qatracker.add_error("virtual.oldstyle", dynamic_data['ebuild'].relative_path) for pos, missing_var in enumerate(missingvars): if not dynamic_data['ebuild'].metadata.get(missing_var):
[gentoo-commits] proj/portage:repoman commit in: pym/repoman/, pym/repoman/modules/scan/depend/
commit: 25876bd8133fefab2c47457d8f89e78f1086370d Author: Brian Dolbec gentoo org> AuthorDate: Mon Jan 4 08:09:33 2016 + Commit: Brian Dolbec gentoo org> CommitDate: Wed Jan 27 22:44:25 2016 + URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=25876bd8 repoman: Create a new DependUnknown plugin class pym/repoman/modules/scan/depend/__init__.py | 9 + pym/repoman/modules/scan/depend/unknown.py | 30 + pym/repoman/scanner.py | 10 +- 3 files changed, 40 insertions(+), 9 deletions(-) diff --git a/pym/repoman/modules/scan/depend/__init__.py b/pym/repoman/modules/scan/depend/__init__.py index cddb7f1..9fd7970 100644 --- a/pym/repoman/modules/scan/depend/__init__.py +++ b/pym/repoman/modules/scan/depend/__init__.py @@ -28,6 +28,15 @@ module_spec = { 'func_desc': { }, }, + 'unknown-module': { + 'name': "unknown", + 'sourcefile': "unknown", + 'class': "DependUnknown", + 'description': doc, + 'functions': ['check'], + 'func_desc': { + }, + }, } } diff --git a/pym/repoman/modules/scan/depend/unknown.py b/pym/repoman/modules/scan/depend/unknown.py new file mode 100644 index 000..61d51b9 --- /dev/null +++ b/pym/repoman/modules/scan/depend/unknown.py @@ -0,0 +1,30 @@ +# -*- coding:utf-8 -*- + + +class DependUnknown(object): + + def __init__(self, **kwargs): + self.qatracker = kwargs.get('qatracker') + + def check(self, **kwargs): + ebuild = kwargs.get('ebuild') + baddepsyntax = kwargs.get('baddepsyntax') + unknown_pkgs = kwargs.get('unknown_pkgs') + + if not baddepsyntax and unknown_pkgs: + type_map = {} + for mytype, atom in unknown_pkgs: + type_map.setdefault(mytype, set()).add(atom) + for mytype, atoms in type_map.items(): + self.qatracker.add_error( + "dependency.unknown", "%s: %s: %s" + % (ebuild.relative_path, mytype, ", ".join(sorted(atoms + return {'continue': False} + + @property + def runInPkgs(self): + return (False, []) + + @property + def runInEbuilds(self): + return (True, [self.check]) diff --git a/pym/repoman/scanner.py b/pym/repoman/scanner.py index bd337fc..4472f88 100644 --- a/pym/repoman/scanner.py +++ b/pym/repoman/scanner.py @@ -292,6 +292,7 @@ class Scanner(object): ('mtime', 'MtimeChecks'), ('multicheck', 'MultiCheck'), # Options.is_forced() is used to bypass further checks ('options', 'Options'), ('profile', 'ProfileDependsChecks'), + ('unknown', 'DependUnknown'), ]: if mod[0]: mod_class = MODULE_CONTROLLER.get_class(mod[0]) @@ -319,15 +320,6 @@ class Scanner(object): if y_ebuild_continue: continue - if not dynamic_data['baddepsyntax'] and dynamic_data['unknown_pkgs']: - type_map = {} - for mytype, atom in dynamic_data['unknown_pkgs']: - type_map.setdefault(mytype, set()).add(atom) - for mytype, atoms in type_map.items(): - self.qatracker.add_error( - "dependency.unknown", "%s: %s: %s" - % (dynamic_data['ebuild'].relative_path, mytype, ", ".join(sorted(atoms - # check if there are unused local USE-descriptions in metadata.xml # (unless there are any invalids, to avoid noise) if dynamic_data['allvalid']:
[gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/scan/metadata/, pym/repoman/
commit: 0dcc20356b9c4e482c0e898d4a16fe63fc13e14d Author: Brian Dolbec gentoo org> AuthorDate: Sun Jan 3 11:56:25 2016 + Commit: Brian Dolbec gentoo org> CommitDate: Wed Jan 27 22:44:23 2016 + URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=0dcc2035 repoman: Migrate more metadata checks to ebuild_metadata.py .../modules/scan/metadata/ebuild_metadata.py | 32 -- pym/repoman/scanner.py | 17 2 files changed, 30 insertions(+), 19 deletions(-) diff --git a/pym/repoman/modules/scan/metadata/ebuild_metadata.py b/pym/repoman/modules/scan/metadata/ebuild_metadata.py index 2dc1db2..77c947e 100644 --- a/pym/repoman/modules/scan/metadata/ebuild_metadata.py +++ b/pym/repoman/modules/scan/metadata/ebuild_metadata.py @@ -5,6 +5,8 @@ import re import sys +from repoman.qa_data import missingvars + if sys.hexversion >= 0x300: basestring = str @@ -16,7 +18,7 @@ class EbuildMetadata(object): def __init__(self, **kwargs): self.qatracker = kwargs.get('qatracker') - def check(self, **kwargs): + def invalidchar(self, **kwargs): ebuild = kwargs.get('ebuild') for k, v in ebuild.metadata.items(): if not isinstance(v, basestring): @@ -28,9 +30,35 @@ class EbuildMetadata(object): "%s: %s variable contains non-ASCII " "character at position %s" % (ebuild.relative_path, k, m.start() + 1)) + return {'continue': False} + + def missing(self, **kwargs): + ebuild = kwargs.get('ebuild') + for pos, missing_var in enumerate(missingvars): + if not ebuild.metadata.get(missing_var): + if kwargs.get('catdir') == "virtual" and \ + missing_var in ("HOMEPAGE", "LICENSE"): + continue + if kwargs.get('live_ebuild') and missing_var == "KEYWORDS": + continue + myqakey = missingvars[pos] + ".missing" + self.qatracker.add_error(myqakey, '%s/%s.ebuild' + % (kwargs.get('xpkg'), kwargs.get('y_ebuild'))) + return {'continue': False} + + def old_virtual(self, **kwargs): + ebuild = kwargs.get('ebuild') if ebuild.metadata.get("PROVIDE"): self.qatracker.add_error("virtual.oldstyle", ebuild.relative_path) + return {'continue': False} + def virtual(self, **kwargs): + ebuild = kwargs.get('ebuild') + if kwargs.get('catdir') == "virtual": + for var in ("HOMEPAGE", "LICENSE"): + if ebuild.metadata.get(var): + myqakey = var + ".virtual" + self.qatracker.add_error(myqakey, ebuild.relative_path) return {'continue': False} @property @@ -39,4 +67,4 @@ class EbuildMetadata(object): @property def runInEbuilds(self): - return (True, [self.check]) + return (True, [self.invalidchar, self.missing, self.old_virtual, self.virtual]) diff --git a/pym/repoman/scanner.py b/pym/repoman/scanner.py index 3ea27b6..335590b 100644 --- a/pym/repoman/scanner.py +++ b/pym/repoman/scanner.py @@ -327,23 +327,6 @@ class Scanner(object): if y_ebuild_continue: continue - - for pos, missing_var in enumerate(missingvars): - if not dynamic_data['ebuild'].metadata.get(missing_var): - if dynamic_data['catdir'] == "virtual" and \ - missing_var in ("HOMEPAGE", "LICENSE"): - continue - if dynamic_data['live_ebuild'] and missing_var == "KEYWORDS": - continue - myqakey = missingvars[pos] + ".missing" - self.qatracker.add_error(myqakey, xpkg + "/" + y_ebuild + ".ebuild") - - if dynamic_data['catdir'] == "virtual": - for var in ("HOMEPAGE", "LICENSE"): - if dynamic_data['ebuild'].metadata.get(var): - myqakey = var + ".virtual" - self.qatracker.add_error(myqakey, dynamic_data['ebuild'].relative_path) - if
[gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/scan/metadata/, pym/repoman/
commit: 563f65e4b167f213981ec030c71ebd35a2ca9780 Author: Brian Dolbec gentoo org> AuthorDate: Thu Jan 21 18:29:07 2016 + Commit: Brian Dolbec gentoo org> CommitDate: Wed Jan 27 22:44:26 2016 + URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=563f65e4 repoman: Fix a traceback due to xmlint not being installed for a manifest generation Mike helped find teh fact that self.binary was None, causing the misleading traceback. Tighten up the logic in XmlLint. Bypass the PkgMetadata check for manifest mode. floppym@naomi btrfs-progs % repoman manifest >>> Creating Manifest for /home/floppym/repos/gentoo/sys-fs/btrfs-progs Traceback (most recent call last): File "/home/floppym/bin/repoman", line 37, in repoman_main(sys.argv[1:]) File "/home/floppym/src/portage/pym/repoman/main.py", line 111, in repoman_main can_force = scanner.scan_pkgs(can_force) File "/home/floppym/src/portage/pym/repoman/scanner.py", line 242, in scan_pkgs rdata = func(**dynamic_data) File "/home/floppym/src/portage/pym/repoman/modules/scan/metadata/pkgmetadata.py", line 180, in check if not self.xmllint.check(checkdir, repolevel): File "/home/floppym/src/portage/pym/repoman/_xml.py", line 98, in check os.path.join(checkdir, "metadata.xml" TypeError: unsupported operand type(s) for +: 'NoneType' and 'str' pym/repoman/_xml.py | 2 +- pym/repoman/modules/scan/metadata/pkgmetadata.py | 3 +++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/pym/repoman/_xml.py b/pym/repoman/_xml.py index 2661f14..f7ff9fb 100644 --- a/pym/repoman/_xml.py +++ b/pym/repoman/_xml.py @@ -60,6 +60,7 @@ class XmlLint(object): self.repoman_settings = repoman_settings self._is_capable = metadata_dtd is not None self.binary = None + self._is_capable = False self._check_capable() def _check_capable(self): @@ -68,7 +69,6 @@ class XmlLint(object): self.binary = find_binary('xmllint') if not self.binary: print(red("!!! xmllint not found. Can't check metadata.xml.\n")) - self._is_capable = False elif not self._is_capable: if not fetch_metadata_dtd(self.metadata_dtd, self.repoman_settings): sys.exit(1) diff --git a/pym/repoman/modules/scan/metadata/pkgmetadata.py b/pym/repoman/modules/scan/metadata/pkgmetadata.py index 220fd23..8e93457 100644 --- a/pym/repoman/modules/scan/metadata/pkgmetadata.py +++ b/pym/repoman/modules/scan/metadata/pkgmetadata.py @@ -71,6 +71,9 @@ class PkgMetadata(ScanBase): repolevel = kwargs.get('repolevel') self.musedict = {} + if self.options.mode in ['manifest']: + return {'continue': False, 'muselist': frozenset(self.musedict)} + # metadata.xml file check if "metadata.xml" not in checkdirlist: self.qatracker.add_error("metadata.missing", xpkg + "/metadata.xml")
[gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/scan/ebuild/, pym/repoman/, pym/repoman/checks/ebuilds/
commit: f0ce32eac9289bfaca9bc0d9ff8f1eba19a5cdd8 Author: Brian Dolbec gentoo org> AuthorDate: Mon Jan 4 04:44:05 2016 + Commit: Brian Dolbec gentoo org> CommitDate: Wed Jan 27 22:44:24 2016 + URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=f0ce32ea repoman: Create a new MultiCheck class plugin Move ebuilds/ checks.py and errors.py to the scan/ebuild plugin Remove the checks_init from main(), initialize it in the MultiCheck class where it is needed. pym/repoman/checks/ebuilds/__init__.py | 0 pym/repoman/main.py| 2 - pym/repoman/modules/scan/ebuild/__init__.py| 9 + .../ebuilds => modules/scan/ebuild}/checks.py | 2 +- .../ebuilds => modules/scan/ebuild}/errors.py | 0 pym/repoman/modules/scan/ebuild/multicheck.py | 43 ++ pym/repoman/scanner.py | 21 +-- 7 files changed, 54 insertions(+), 23 deletions(-) diff --git a/pym/repoman/checks/ebuilds/__init__.py b/pym/repoman/checks/ebuilds/__init__.py deleted file mode 100644 index e69de29..000 diff --git a/pym/repoman/main.py b/pym/repoman/main.py index 8784685..890e034 100755 --- a/pym/repoman/main.py +++ b/pym/repoman/main.py @@ -26,7 +26,6 @@ from portage.util import formatter from repoman.actions import Actions from repoman.argparser import parse_args -from repoman.checks.ebuilds.checks import checks_init from repoman.qa_data import ( format_qa_output, format_qa_output_column, qahelp, qawarnings, qacats) @@ -65,7 +64,6 @@ def repoman_main(argv): if options.experimental_inherit == 'y': # This is experimental, so it's non-fatal. qawarnings.add("inherit.missing") - checks_init(experimental_inherit=True) # Set this to False when an extraordinary issue (generally # something other than a QA issue) makes it impossible to diff --git a/pym/repoman/modules/scan/ebuild/__init__.py b/pym/repoman/modules/scan/ebuild/__init__.py index a22e736..e712e4b 100644 --- a/pym/repoman/modules/scan/ebuild/__init__.py +++ b/pym/repoman/modules/scan/ebuild/__init__.py @@ -28,6 +28,15 @@ module_spec = { 'func_desc': { }, }, + 'multicheck-module': { + 'name': "multicheck", + 'sourcefile': "multicheck", + 'class': "MultiCheck", + 'description': doc, + 'functions': ['check'], + 'func_kwargs': { + }, + }, } } diff --git a/pym/repoman/checks/ebuilds/checks.py b/pym/repoman/modules/scan/ebuild/checks.py similarity index 99% rename from pym/repoman/checks/ebuilds/checks.py rename to pym/repoman/modules/scan/ebuild/checks.py index 5420e51..be59b05 100644 --- a/pym/repoman/checks/ebuilds/checks.py +++ b/pym/repoman/modules/scan/ebuild/checks.py @@ -21,7 +21,7 @@ from portage.eapi import ( eapi_has_src_prepare_and_src_configure, eapi_has_dosed_dohard, eapi_exports_AA, eapi_has_pkg_pretend) -import repoman.checks.ebuilds.errors as errors +from . import errors class LineCheck(object): diff --git a/pym/repoman/checks/ebuilds/errors.py b/pym/repoman/modules/scan/ebuild/errors.py similarity index 100% rename from pym/repoman/checks/ebuilds/errors.py rename to pym/repoman/modules/scan/ebuild/errors.py diff --git a/pym/repoman/modules/scan/ebuild/multicheck.py b/pym/repoman/modules/scan/ebuild/multicheck.py new file mode 100644 index 000..989d695 --- /dev/null +++ b/pym/repoman/modules/scan/ebuild/multicheck.py @@ -0,0 +1,43 @@ + +import io + +from portage import _encodings, _unicode_encode + +from .checks import run_checks, checks_init + + +class MultiCheck(object): + '''Class to run multiple different checks on an ebuild''' + + def __init__(self, **kwargs): + self.qatracker = kwargs.get('qatracker') + self.options = kwargs.get('options') + checks_init(self.options.experimental_inherit == 'y') + + def check(self, **kwargs): + ebuild = kwargs.get('ebuild') + pkg = kwargs.get('pkg') + try: + # All ebuilds should have utf_8 encoding. + f = io.open( + _unicode_encode(ebuild.full_path, encoding=_encodings['fs'], + errors='strict'), + mode='r', encoding=_encodings['repo.content']) + try: + for check_name, e in run_checks(f, pkg): + self.qatracker.add_error( + check_name, ebuild.relative_path + ': %s' % e) + finally: +
[gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/scan/options/, pym/repoman/
commit: a4c6c0735dfebfafa3c1418e8517e482cd2e76e8 Author: Brian Dolbec gentoo org> AuthorDate: Mon Jan 4 07:55:55 2016 + Commit: Brian Dolbec gentoo org> CommitDate: Wed Jan 27 22:44:24 2016 + URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=a4c6c073 repoman: Create a new Options class plugin This handles an options.force bypass using the is_forced() from withing the plugin system. pym/repoman/modules/scan/options/__init__.py | 24 pym/repoman/modules/scan/options/options.py | 22 ++ pym/repoman/scanner.py | 10 ++ 3 files changed, 48 insertions(+), 8 deletions(-) diff --git a/pym/repoman/modules/scan/options/__init__.py b/pym/repoman/modules/scan/options/__init__.py new file mode 100644 index 000..2d3d9d2 --- /dev/null +++ b/pym/repoman/modules/scan/options/__init__.py @@ -0,0 +1,24 @@ +# Copyright 2015-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +doc = """Options plug-in module for repoman. +Performs option related actions on ebuilds.""" +__doc__ = doc[:] + + +module_spec = { + 'name': 'options', + 'description': doc, + 'provides':{ + 'options-module': { + 'name': "options", + 'sourcefile': "options", + 'class': "Options", + 'description': doc, + 'functions': ['is_forced'], + 'func_desc': { + }, + }, + } +} + diff --git a/pym/repoman/modules/scan/options/options.py b/pym/repoman/modules/scan/options/options.py new file mode 100644 index 000..b592884 --- /dev/null +++ b/pym/repoman/modules/scan/options/options.py @@ -0,0 +1,22 @@ + + +class Options(object): + + def __init__(self, **kwargs): + self.options = kwargs.get('options') + + def is_forced(self, **kwargs): + if self.options.force: + # The dep_check() calls are the most expensive QA test. If --force + # is enabled, there's no point in wasting time on these since the + # user is intent on forcing the commit anyway. + return {'continue': True} + return {'continue': False} + + @property + def runInPkgs(self): + return (False, []) + + @property + def runInEbuilds(self): + return (True, [self.is_forced]) diff --git a/pym/repoman/scanner.py b/pym/repoman/scanner.py index 54aeb49..50e9752 100644 --- a/pym/repoman/scanner.py +++ b/pym/repoman/scanner.py @@ -293,6 +293,8 @@ class Scanner(object): ('use_flags', 'USEFlagChecks'), ('ruby', 'RubyEclassChecks'), ('license', 'LicenseChecks'), ('restrict', 'RestrictChecks'), ('mtime', 'MtimeChecks'), ('multicheck', 'MultiCheck'), + # Options.is_forced() is used to bypass further checks + ('options', 'Options'), ]: if mod[0]: mod_class = MODULE_CONTROLLER.get_class(mod[0]) @@ -320,14 +322,6 @@ class Scanner(object): if y_ebuild_continue: continue - # Syntax Checks - - if self.options.force: - # The dep_check() calls are the most expensive QA test. If --force - # is enabled, there's no point in wasting time on these since the - # user is intent on forcing the commit anyway. - continue - relevant_profiles = [] for keyword, arch, groups in dynamic_data['arches']: if arch not in self.profiles:
[gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/scan/metadata/, pym/repoman/, ...
commit: 12189a5924aefef99a9cf9684b6aed7c0720b38a Author: Brian Dolbec gentoo org> AuthorDate: Sun Jan 3 23:10:48 2016 + Commit: Brian Dolbec gentoo org> CommitDate: Wed Jan 27 22:44:24 2016 + URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=12189a59 repoman: Migrate RestrictChecks to a plugin module pym/repoman/modules/scan/metadata/__init__.py | 9 +++ .../scan/metadata}/restrict.py | 29 +++--- pym/repoman/scanner.py | 7 +- 3 files changed, 30 insertions(+), 15 deletions(-) diff --git a/pym/repoman/modules/scan/metadata/__init__.py b/pym/repoman/modules/scan/metadata/__init__.py index c8f3609..4f376e1 100644 --- a/pym/repoman/modules/scan/metadata/__init__.py +++ b/pym/repoman/modules/scan/metadata/__init__.py @@ -46,6 +46,15 @@ module_spec = { 'func_desc': { }, }, + 'restrict-metadata': { + 'name': "restrict", + 'sourcefile': "restrict", + 'class': "RestrictChecks", + 'description': doc, + 'functions': ['check'], + 'func_desc': { + }, + }, } } diff --git a/pym/repoman/checks/ebuilds/variables/restrict.py b/pym/repoman/modules/scan/metadata/restrict.py similarity index 54% rename from pym/repoman/checks/ebuilds/variables/restrict.py rename to pym/repoman/modules/scan/metadata/restrict.py index 215b792..93ca298 100644 --- a/pym/repoman/checks/ebuilds/variables/restrict.py +++ b/pym/repoman/modules/scan/metadata/restrict.py @@ -12,21 +12,23 @@ from repoman.qa_data import valid_restrict class RestrictChecks(object): '''Perform checks on the RESTRICT variable.''' - def __init__(self, qatracker): + def __init__(self, **kwargs): ''' @param qatracker: QATracker instance ''' - self.qatracker = qatracker + self.qatracker = kwargs.get('qatracker') - def check(self, pkg, package, ebuild, y_ebuild): + def check(self, **kwargs): + xpkg = kwargs.get('xpkg') + ebuild = kwargs.get('ebuild') + y_ebuild = kwargs.get('y_ebuild') myrestrict = None try: myrestrict = portage.dep.use_reduce( - pkg._metadata["RESTRICT"], matchall=1, flat=True) + ebuild.metadata["RESTRICT"], matchall=1, flat=True) except portage.exception.InvalidDependString as e: - self. qatracker.add_error( - "RESTRICT.syntax", + self.qatracker.add_error("RESTRICT.syntax", "%s: RESTRICT: %s" % (ebuild.relative_path, e)) del e @@ -36,6 +38,15 @@ class RestrictChecks(object): if mybadrestrict: for mybad in mybadrestrict: - self.qatracker.add_error( - "RESTRICT.invalid", - package + "/" + y_ebuild + ".ebuild: %s" % mybad) + self.qatracker.add_error("RESTRICT.invalid", + "%s/%s.ebuild: %s" % (xpkg, y_ebuild, mybad)) + return {'continue': False} + + @property + def runInPkgs(self): + return (False, []) + + @property + def runInEbuilds(self): + return (True, [self.check]) + diff --git a/pym/repoman/scanner.py b/pym/repoman/scanner.py index 697724f..1b6bbb4 100644 --- a/pym/repoman/scanner.py +++ b/pym/repoman/scanner.py @@ -18,7 +18,6 @@ from portage import _unicode_encode from portage.dep import Atom from portage.output import green from repoman.checks.ebuilds.checks import run_checks -from repoman.checks.ebuilds.variables.restrict import RestrictChecks from repoman.modules.commit import repochecks from repoman.profile import check_profiles, dev_profile_keywords, setup_profile from repoman.repos import repo_metadata @@ -212,8 +211,6 @@ class Scanner(object): self.modules[mod_class.__name__] = mod_class(**self.kwargs) # initialize our checks classes here before the big xpkg loop - self.restrictcheck = RestrictChecks(self.qatracker) - def scan_pkgs(self, can_force): dynamic_data = {'can_force': can_force} @@ -298,7 +295,7 @@ class Scanner(object): ('description', 'DescriptionChecks'), (None, 'KeywordChecks'), ('arches', 'ArchChecks'), ('depend', 'DependChecks'),
[gentoo-commits] repo/gentoo:master commit in: sys-kernel/spl/
commit: b96ad3962f4ac11bfb2dad351da7fd8016e92ba1 Author: Richard Yao gentoo org> AuthorDate: Wed Jan 27 22:21:14 2016 + Commit: Richard Yao gentoo org> CommitDate: Wed Jan 27 22:22:01 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b96ad396 sys-fs/spl-0.6.5.4{,-r1}: Version Bump The patches from the 0.6.5.3-r1 ebuild that were not backported upstream have been carried forward in 0.6.5.4-r1. 0.6.5.4 has been commited without any patches as an aid to users who do not want patches. However, it is left unkeyworded to be consistent with the sys-fs/zfs-kmod ebuild. Package-Manager: portage-2.2.24 Signed-off-by: Richard Yao gentoo.org> sys-kernel/spl/Manifest | 2 + sys-kernel/spl/spl-0.6.5.4-r1.ebuild | 120 +++ sys-kernel/spl/spl-0.6.5.4.ebuild| 111 3 files changed, 233 insertions(+) diff --git a/sys-kernel/spl/Manifest b/sys-kernel/spl/Manifest index 9cf3701..79a63bf 100644 --- a/sys-kernel/spl/Manifest +++ b/sys-kernel/spl/Manifest @@ -9,3 +9,5 @@ DIST spl-0.6.4.2.tar.gz 190421 SHA256 05c428f48acc55287c0662a90cfc087985b8ef3694 DIST spl-0.6.5.2.tar.gz 193153 SHA256 2642b69870b32e0feeaa57fbfcef546a330064bd4e5805c4862a97287a9287ca SHA512 9db23daf6cc1d6aaa926c987e284d7dbbc538876d6a8b9636d3126efc2be9d54b5ae2cb9cb3a89b604b3d4106374d85d9ad2c1acaf940a1299c1620ee1526d3f WHIRLPOOL cc99f131f9dfcc9ef84237f16491c8c5417af70c57dcbc3dba448c83f93636d5161b301f4fefa4fa8c54c56a1864cd9ce5d5fc758697803bac880839ea57e359 DIST spl-0.6.5.3-patches-p0.tar.xz 4968 SHA256 8e652d41eba421720bcecee99077d3f3c375153809426011f04a2c64aa181ca7 SHA512 cdc053d7ad537cec3b0e7d777d6a341d1b48d6f49613f77db3831b86f54cef098748b944a353c3bf920974a812d650b65116fe26906ff7921ea69cfa5fef9691 WHIRLPOOL ff9e6a193a8585738f57fec59a3513fe69856019569e90c95da306ab853b0c5a8266bb457ef1f4df0c4bcd20dfbde1062c616d3ee55621b288ab796c733d9589 DIST spl-0.6.5.3.tar.gz 556179 SHA256 637c1eccd721f5d3bb1570621d2cd6646ec0488608482c0dbeb2838cf4bb310c SHA512 24a0c97f1a425e44d12f43519c23ba78672c06d65a03833a8d3827e4c762a873283c90ce66f64b9b186ab815f0b005e69da537e120b8b53877d0f13e649bac57 WHIRLPOOL e67f50c8adc4ac2b770dfaeb479fa8a8c87270c8314b5366dd95665a30adb2f1fb29db9719a0431cc18adc6865ea6f222c1b443f2b95b764cede8db50f49333d +DIST spl-0.6.5.4-patches-p1.tar.xz 2020 SHA256 0a554d86ff1874b09263fbec2ee8e03dbae24f4c45cf54c9e8a8d2fcf3a21207 SHA512 2650f06bf23045bd2805ef58baa2561534373862e1fbbaf189cf93283aa8e18cbee989b4e81751b37da3058aeba357cf8e46db97331379e1b5eafde7faa33851 WHIRLPOOL 8054310c8d62d17f45566e67f886e025b5798c1ebb32bf66f3b91b440a42869d09a45030e5d8695687ace829fe21f43289647dafd206d1021626fffb35a2979e +DIST spl-0.6.5.4.tar.gz 556298 SHA256 a49ff1dd255215da18ea60bf76dc5b764ddc1aa40d86f4e842b63185357b1504 SHA512 a50d804008237820d6a8e7d938f6699df2966836ebedf0b6a4421f55bd6c24ae69e8f80eaf3aa2b7f6ed308983ab4ca11abfb32f98c8d070e4957b4802e00cac WHIRLPOOL 4c9150fec7e5539e391ffd078e7aa4412d47416749187d62e36136d945514694b09920e595c391ed3fedcf5d13f7486539f49ca33e166909d8a8b2fc99b39a37 diff --git a/sys-kernel/spl/spl-0.6.5.4-r1.ebuild b/sys-kernel/spl/spl-0.6.5.4-r1.ebuild new file mode 100644 index 000..d53ecec --- /dev/null +++ b/sys-kernel/spl/spl-0.6.5.4-r1.ebuild @@ -0,0 +1,120 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +if [[ ${PV} == "" ]] ; then + AUTOTOOLS_AUTORECONF="1" + EGIT_REPO_URI="https://github.com/zfsonlinux/${PN}.git; + inherit git-r3 +else + SRC_URI="https://github.com/zfsonlinux/zfs/releases/download/zfs-${PV}/${P}.tar.gz + https://dev.gentoo.org/~ryao/dist/${P}-patches-p${PR#r}.tar.xz; + KEYWORDS="~amd64 ~arm ~ppc ~ppc64" +fi + +inherit flag-o-matic linux-info linux-mod autotools-utils + +DESCRIPTION="The Solaris Porting Layer is a Linux kernel module which provides many of the Solaris kernel APIs" +HOMEPAGE="http://zfsonlinux.org/; + +LICENSE="GPL-2" +SLOT="0" +IUSE="custom-cflags debug" +RESTRICT="debug? ( strip ) test" + +COMMON_DEPEND="dev-lang/perl + virtual/awk" + +DEPEND="${COMMON_DEPEND}" + +RDEPEND="${COMMON_DEPEND} + !sys-devel/spl" + +AT_M4DIR="config" +AUTOTOOLS_IN_SOURCE_BUILD="1" +DOCS=( AUTHORS DISCLAIMER ) + +pkg_setup() { + linux-info_pkg_setup + CONFIG_CHECK=" + !DEBUG_LOCK_ALLOC + !GRKERNSEC_RANDSTRUCT + KALLSYMS + MODULES + !PAX_KERNEXEC_PLUGIN_METHOD_OR + ZLIB_DEFLATE + ZLIB_INFLATE + " + + use debug && CONFIG_CHECK="${CONFIG_CHECK} + FRAME_POINTER + DEBUG_INFO + !DEBUG_INFO_REDUCED + " + + kernel_is ge 2 6 32 || die "Linux 2.6.32 or newer required" + + [ ${PV} != "" ] && \ + { kernel_is le 4 4 || die "Linux 4.4 is the latest supported
[gentoo-commits] repo/gentoo:master commit in: gnome-base/nautilus/
commit: b6bd9130a2985d23bfd7666881c54a88049715bf Author: Gilles Dartiguelongue gentoo org> AuthorDate: Wed Jan 27 21:53:43 2016 + Commit: Gilles Dartiguelongue gentoo org> CommitDate: Wed Jan 27 22:56:00 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b6bd9130 gnome-base/nautilus: version bump to 3.18.5 Package-Manager: portage-2.2.26 gnome-base/nautilus/Manifest | 1 + gnome-base/nautilus/nautilus-3.18.5.ebuild | 127 + 2 files changed, 128 insertions(+) diff --git a/gnome-base/nautilus/Manifest b/gnome-base/nautilus/Manifest index b36db1d..5941566 100644 --- a/gnome-base/nautilus/Manifest +++ b/gnome-base/nautilus/Manifest @@ -2,3 +2,4 @@ DIST nautilus-3.16.2.tar.xz 3325172 SHA256 3e7ecdda3a47b6ad03098270940aa50678286 DIST nautilus-3.18.2.tar.xz 3316652 SHA256 68dcf668e2ca93126a899d2e236ef37af2aea93e3fc25eee23ccd7ba911d424a SHA512 ac40683027f3318bbea23feee7a654502106932b049faa4bcbc1340a7fbafaa7e8857237b1ec5a0bcbee25e8d75eb1e9c8136cd5b748f9009e72589e73908e86 WHIRLPOOL 317258a102cf89497cfe87965614f77bff189ad3539c61f777b0d19bd0f8febe316a1389f47256f65de50b23b8c79382ac5b45cfb94919c8bf2a7e1fbe26a304 DIST nautilus-3.18.3.tar.xz 3343876 SHA256 4480779123ad9f818ac9020f1417afd18e81d2f5c385a46cc5cf3b36a99d SHA512 05318b42fe2921c4c65a16b97b8c774f0897a3045d216227d697b754d8e1ec97e87db7d7f78d4078793da9bed302834a7c1786d85e5c2815e4208e7cfd2f818f WHIRLPOOL 30c532c868412897690929e707aa241a3641c1058e2558053141ba5b373928ce55b101b3dad6d40f34e1633a4edba7ac06c473f19d0aa18ff04e0b82cee65634 DIST nautilus-3.18.4.tar.xz 3343956 SHA256 4ff2c78dba352b4666bb30e0c80ed786eed09199fd624f00810fce4d987fcd26 SHA512 671abbb45d888260ed8591106a0da5d9703b050d2d962101eecfa6107ad4d0dfb792f6a8215f70d9c7e98898922ed78c4216c5e327bab573773422626d0905f4 WHIRLPOOL a4887cdfce94a09d8aaafde3eb36172cfc53c2b03d38f92ba429e9e73acf1f7f9d7ca51a54c0a221e51f1a9127e8ed195dd835d2a6f45255feef75ce061d9238 +DIST nautilus-3.18.5.tar.xz 3349312 SHA256 60a927c0522b4cced9d8f62baed2ee5e2fd4305be4523eb5bc44805971a6cc15 SHA512 60ec5c1eb7ba90caed2f536a0fd78d8686b6f7372db36d526d634d727ac03719edee894ca0ff1d90a0974cc0bc76f05bf0f8d4db22845ae3585470aa8e7b8ca6 WHIRLPOOL 02bbd1c1f9f97c4ffd983cb8503a95aa549bbe9105094aeb76a12b89b6daa460377f4c3cf984989a16cadd426e138ecdda6e8089790bad5ebef20236eac596b9 diff --git a/gnome-base/nautilus/nautilus-3.18.5.ebuild b/gnome-base/nautilus/nautilus-3.18.5.ebuild new file mode 100644 index 000..04c8410 --- /dev/null +++ b/gnome-base/nautilus/nautilus-3.18.5.ebuild @@ -0,0 +1,127 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GCONF_DEBUG="no" +GNOME2_LA_PUNT="yes" # Needed with USE 'sendto' + +inherit autotools eutils gnome2 readme.gentoo virtualx + +DESCRIPTION="A file manager for the GNOME desktop" +HOMEPAGE="https://wiki.gnome.org/Apps/Nautilus; + +LICENSE="GPL-2+ LGPL-2+ FDL-1.1" +SLOT="0" + +IUSE="exif gnome +introspection packagekit +previewer selinux sendto tracker xmp" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-interix ~amd64-linux ~arm-linux ~x86-linux" + +# FIXME: tests fails under Xvfb, but pass when building manually +# "FAIL: check failed in nautilus-file.c, line 8307" +# need org.gnome.SessionManager service (aka gnome-session) but cannot find it +RESTRICT="test" + +# Require {glib,gdbus-codegen}-2.30.0 due to GDBus API changes between 2.29.92 +# and 2.30.0 +COMMON_DEPEND=" + >=dev-libs/glib-2.45.7:2[dbus] + >=x11-libs/pango-1.28.3 + >=x11-libs/gtk+-3.18.5:3[introspection?] + >=dev-libs/libxml2-2.7.8:2 + >=gnome-base/gnome-desktop-3:3= + + gnome-base/dconf + >=gnome-base/gsettings-desktop-schemas-3.8.0 + x11-libs/libX11 + x11-libs/libXext + x11-libs/libXrender + + exif? ( >=media-libs/libexif-0.6.20 ) + introspection? ( >=dev-libs/gobject-introspection-0.6.4:= ) + selinux? ( >=sys-libs/libselinux-2 ) + tracker? ( >=app-misc/tracker-0.16:= ) + xmp? ( >=media-libs/exempi-2.1.0 ) +" +DEPEND="${COMMON_DEPEND} + >=dev-lang/perl-5 + >=dev-util/gdbus-codegen-2.33 + >=dev-util/gtk-doc-am-1.10 + >=dev-util/intltool-0.40.1 + sys-devel/gettext + virtual/pkgconfig + x11-proto/xproto +" +RDEPEND="${COMMON_DEPEND} + packagekit? ( app-admin/packagekit-base ) + sendto? ( !https://bugzilla.gnome.org/show_bug.cgi?id=758632 + epatch "${FILESDIR}"/${PN}-3.18.2-automagic-selinux.patch + + eautoreconf + + # Remove -D*DEPRECATED flags. Don't leave this for eclass! (bug #448822) + sed -e 's/DISABLE_DEPRECATED_CFLAGS=.*/DISABLE_DEPRECATED_CFLAGS=/' \ + -i configure || die "sed failed" + + gnome2_src_prepare +} + +src_configure() { + DOCS="AUTHORS HACKING MAINTAINERS NEWS README* THANKS" + gnome2_src_configure \ +
[gentoo-commits] repo/gentoo:master commit in: app-text/gspell/
commit: cf4310e9c4c37a688e3c38c3c6f2db6c1f2332d6 Author: Gilles Dartiguelongue gentoo org> AuthorDate: Wed Jan 27 22:17:07 2016 + Commit: Gilles Dartiguelongue gentoo org> CommitDate: Wed Jan 27 22:56:02 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cf4310e9 app-text/gspell: version bump to 0.2.3 Package-Manager: portage-2.2.26 app-text/gspell/Manifest| 1 + app-text/gspell/gspell-0.2.3.ebuild | 44 + 2 files changed, 45 insertions(+) diff --git a/app-text/gspell/Manifest b/app-text/gspell/Manifest index 968a0b8..5963945 100644 --- a/app-text/gspell/Manifest +++ b/app-text/gspell/Manifest @@ -1,2 +1,3 @@ DIST gspell-0.1.2.tar.xz 355128 SHA256 e8625c57296b6c178bc37659f023342f8edefaaa2c5eccf40de8bd479dbfa8f0 SHA512 8d9bd61f378929217b9461debb58df5070952539f30f6ee211cf13f856dfe5d5216468679a8d7d7b08df47ee6b7b45f25b2b6400212a83de9563e2bf175905bb WHIRLPOOL 44334ac608e9a66c5a6bf011ad21d7d368e29d7923079e947ed5484ae0c7847df1f29dc255979d0da844e1ecba16fa19dfae5b84aefd85287bc63de1465d3ffa DIST gspell-0.2.2.tar.xz 358600 SHA256 cecded0f0a8dfe4b28cbb47a6024f82f50b7ffb7476e36032d5f8d741e3f627e SHA512 6f3fe9eecb6d464db549747294e5d39aec1175c104a8210fecee596f255db7b76121fbe4681f27723281078dc7f0cb87effa1e12b9f6be37f04e9004ee9b2b24 WHIRLPOOL ed8df8cf984b5398fcf8b026289de23c793d0426feb76380a7550898557d76af8d5d4abecd3e70d422b4f516549dd0383ab27fb56822c13080341a78dc85ee06 +DIST gspell-0.2.3.tar.xz 363424 SHA256 e3bfa90a04f660efb1e5bcb182ee8d07d13f78817cccd006992534261b633510 SHA512 1ddb8b7e39317520292a2bd1de372ec428729ed43f49cb60d982fb9a045b6218890f481fed9a0454f0116cac18bdebd9c6f9cecfec3e687e1233491013ffd576 WHIRLPOOL 8765432e1f5eaf67916afbf224674ba132fd142d9e76ae7a8ed718c64b43ce9e809c939b4d34259e242c663acc686717b18cb79186823f709884eb719929c459 diff --git a/app-text/gspell/gspell-0.2.3.ebuild b/app-text/gspell/gspell-0.2.3.ebuild new file mode 100644 index 000..97bb559 --- /dev/null +++ b/app-text/gspell/gspell-0.2.3.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GCONF_DEBUG="no" +VALA_USE_DEPEND="vapigen" + +inherit gnome2 vala + +DESCRIPTION="Spell check library for GTK+ applications" +HOMEPAGE="https://wiki.gnome.org/Projects/gspell; + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="+introspection vala" +REQUIRED_IUSE="vala? ( introspection )" + +RDEPEND=" + >=app-text/enchant-1.6.0 + >=app-text/iso-codes-0.35 + >=dev-libs/glib-2.44:2 + >=x11-libs/gtk+-3.16:3[introspection?] + introspection? ( >=dev-libs/gobject-introspection-1.42.0:= ) + vala? ( $(vala_depend) ) +" +DEPEND="${RDEPEND} + >=dev-util/gtk-doc-am-1.24 + >=dev-util/intltool-0.35.0 + >=sys-devel/gettext-0.19.4 + virtual/pkgconfig +" + +src_prepare() { + use vala && vala_src_prepare + gnome2_src_prepare +} + +src_configure() { + gnome2_src_configure \ + $(use_enable introspection) \ + $(use_enable vala) +}
[gentoo-commits] repo/gentoo:master commit in: sys-fs/zfs-kmod/
commit: 99512534b681fa55dcee8191571b85e290c5bb4a Author: Richard Yao gentoo org> AuthorDate: Wed Jan 27 22:04:57 2016 + Commit: Richard Yao gentoo org> CommitDate: Wed Jan 27 22:04:57 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=99512534 sys-fs/zfs-kmod-0.6.5.4{,-r1}: Version Bump The stable API patches from the 0.6.5.3-r4 ebuild and fix for the temporary pool names have been carried forward in 0.6.5.4-r1. 0.6.5.4 has been commited without any patches as an aid to users who do not want patches. However, it is left unkeyworded to ensure the upgrade path is smooth. Package-Manager: portage-2.2.24 Signed-off-by: Richard Yao gentoo.org> sys-fs/zfs-kmod/Manifest | 2 + sys-fs/zfs-kmod/zfs-kmod-0.6.5.4-r1.ebuild | 159 + sys-fs/zfs-kmod/zfs-kmod-0.6.5.4.ebuild| 145 ++ 3 files changed, 306 insertions(+) diff --git a/sys-fs/zfs-kmod/Manifest b/sys-fs/zfs-kmod/Manifest index 9d35af1..744de10 100644 --- a/sys-fs/zfs-kmod/Manifest +++ b/sys-fs/zfs-kmod/Manifest @@ -8,5 +8,7 @@ DIST zfs-0.6.4.2.tar.gz 1738601 SHA256 26af2924cbb891b79203a31827cba4cdc310162d5 DIST zfs-0.6.5.2.tar.gz 1817267 SHA256 aecd2bc5189f2a71a45eb30146bed231af4f35af5ec7af83a74987c3d595 SHA512 7f0b20feca91d5ab952c1d49ae94d241f8868825b163a3d5f2ad0fd7adcac3ab246a3e6a755019a833be553fbbfd6609828d8123f49a43b42bf76cfd64f234ec WHIRLPOOL 00fd628ef2267366b6f0705e6436ac55b260aabc3588c7f58a7042dfbfe95a0478740b4579326638d28f10ffc8f2d5b3ed21b9f8297e72344ec439fe30310634 DIST zfs-0.6.5.3-patches-p3.tar.xz 88736 SHA256 031cd97765f890d9b78e1a5746cbd2a3ce06c7208693ec75c0b47324ac67b97a SHA512 8f17cc6e02a35828a57a7c2a437d9d18a41203b6e3f9e154b2ab863296b64596dc827afeeb0f993e37f47881d0f2ed4834f270d0ba843ab84b21c491cc352576 WHIRLPOOL 20f69c0a936bb612d5e3b551d4bf904aca3aff6d885d72f67f3b14cd720094ec13e383032ee4e322b0e81017d8ffcfafb47bf07f273badef34f7210d687ddacc DIST zfs-0.6.5.3.tar.gz 2524218 SHA256 49e6f9760ea172cb756f7357e4bcb90ee0293028540a68d62ed087724276131f SHA512 325cb91b7ddbcd6aa0bb9fc41eb0099dbb047a4e32d096fd414799729ef68cbc9c2e15714092eff8044a681af4ab552bd9ac1949cc673c6c5c3de1a23d9895ec WHIRLPOOL 957c3a75bb11befd4b74583883f2f11f717deb6bda368939b342049e809aa191a9ee8d1e709eaddc2a831418c7fdb5e763f918ff56d45f03baf4569ef8a4a070 +DIST zfs-0.6.5.4-patches-p1.tar.xz 64004 SHA256 83877d9b7c629730838325fd5b16bcb54259520e200f0539de9b8edfdcee9403 SHA512 9203356b43bdad2ed78c946af8c95c9fc4d2996b41a09a3b1f5a8657d2742ac69d10b4a87d443db497d591878cf7a70ebb19762b0df135ee25f4e8d2ed6ad71f WHIRLPOOL ff5788356d6a85608d22ea2c010a799464922614204c7eea06b57930a44ee876e596a053a773205de0543d36c04337d60c32594939e8e64d3022906c51c4d4e6 +DIST zfs-0.6.5.4.tar.gz 2506470 SHA256 780862ec2301ccace412a324787e9df762cff6046e73e2ac0ebdce9e2bd59b0f SHA512 90c87cd95fd06cf34755358e7cc4053d19f351316133f0b808e7585a3fc8f82e7c0f49072c2995d0520de5104fd04d91a166a0d5b6c923c82dfb2fb4f7f57a01 WHIRLPOOL eacd2ec09afdbc3f6d946583116296fadcd7d0dea5158c89f82f6d0b02e0cbf075712015bfa5f321ae5815cf86af13b39ce93e5026e6a00da58d9ddb04d12320 DIST zfs-0.6.5.tar.gz 1816180 SHA256 542121940122c922c9d21a2bb39bca4e4a9db2f6bbfd2e576630840e256d4c82 SHA512 58480ee9b0780f1f21d12504abc226be3e6df1939214f6a8f245315d1fa0b9da56b3a744df26426ee78f13684a4ca288df6dddc50f8f91d9d0b4c542980a9c53 WHIRLPOOL fdb5580ec8d4abe57069ce453c1d91225019758ecf5d31856a7897ac7e4b51c6a8ae3258e822f684fbd70a0a7d7410c65c37a569f37d132767522118c587cc24 DIST zfs-kmod-0.6.2-p2.tar.xz 28636 SHA256 12882463a38a5a57cf2bb3c14c5783f9511f6dc7b163a47575f2f3dcc24f26f6 SHA512 5792660ae8f5013d12e70d608e9cffa92a8c4089a88a5e78728ee88204b3f970d452d5b0b3874e02be49ebbc139e07139be7b5a86ca40bc8b23cb11a7198a9a8 WHIRLPOOL 0e4c57b363cdd3d736efbd1355567b18e22439bd3b20ef40b27f6b97ad4570c7cc99a11b196ac25359d1966c1a70e178f4fd1687b60450f148ccda47b07282a9 diff --git a/sys-fs/zfs-kmod/zfs-kmod-0.6.5.4-r1.ebuild b/sys-fs/zfs-kmod/zfs-kmod-0.6.5.4-r1.ebuild new file mode 100644 index 000..7799ec6 --- /dev/null +++ b/sys-fs/zfs-kmod/zfs-kmod-0.6.5.4-r1.ebuild @@ -0,0 +1,159 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +AT_M4DIR="config" +AUTOTOOLS_AUTORECONF="1" +AUTOTOOLS_IN_SOURCE_BUILD="1" + +if [ ${PV} == "" ]; then + AUTOTOOLS_AUTORECONF="1" + EGIT_REPO_URI="https://github.com/zfsonlinux/zfs.git; + inherit git-r3 +else + SRC_URI="https://github.com/zfsonlinux/zfs/releases/download/zfs-${PV}/zfs-${PV}.tar.gz + https://dev.gentoo.org/~ryao/dist/zfs-${PV}-patches-p${PR#r}.tar.xz; + S="${WORKDIR}/zfs-${PV}" + KEYWORDS="~amd64 ~arm ~ppc ~ppc64" +fi + +inherit flag-o-matic linux-info linux-mod toolchain-funcs autotools-utils + +DESCRIPTION="Linux ZFS kernel module for sys-fs/zfs" +HOMEPAGE="http://zfsonlinux.org/; + +LICENSE="CDDL debug? ( GPL-2+ )" +SLOT="0" +IUSE="custom-cflags
[gentoo-commits] repo/gentoo:master commit in: sys-fs/zfs/
commit: 1fcf208eeeaf40435a090900effc378a6816cbe5 Author: Richard Yao gentoo org> AuthorDate: Wed Jan 27 22:05:46 2016 + Commit: Richard Yao gentoo org> CommitDate: Wed Jan 27 22:05:46 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1fcf208e sys-fs/zfs-0.6.5.4{,-r1}: Version Bump The stable API patches from the 0.6.5.3-r4 ebuild. 0.6.5.4 has been commited without any patches as an aid to users who do not want patches. However, it is left unkeyworded to be consistent with the sys-fs/zfs-kmod ebuild. Package-Manager: portage-2.2.24 Signed-off-by: Richard Yao gentoo.org> sys-fs/zfs/Manifest | 2 + sys-fs/zfs/zfs-0.6.5.4-r1.ebuild | 230 +++ sys-fs/zfs/zfs-0.6.5.4.ebuild| 198 + 3 files changed, 430 insertions(+) diff --git a/sys-fs/zfs/Manifest b/sys-fs/zfs/Manifest index 73a49e9..aa89cf2 100644 --- a/sys-fs/zfs/Manifest +++ b/sys-fs/zfs/Manifest @@ -10,4 +10,6 @@ DIST zfs-0.6.5.3-patches-p0.tar.xz 63780 SHA256 cc6d2881304738619b9d00bc55fbd358 DIST zfs-0.6.5.3-patches-p2.tar.xz 85996 SHA256 0e38b1bd7e2eb96c74b3eaab49c14f1f65fa02dc42b62b6015200185bfc911c7 SHA512 0a8fb131cc9a5a239a7434593000259a581b20ee7c6fef87ec2ea78281b7887151e219ebe66603b9dafaa4fa22cbf8c55175e1f6b36af4502c147c478f0b3e38 WHIRLPOOL 726bf1c05605943a205e2e70099c6cf8c7ba8cc9bbf34d45a2d56cea87c1e23166700979e47c82dd91bd1778e297dd211a0e6f48e0eab2392471218bcb5853ce DIST zfs-0.6.5.3-patches-p3.tar.xz 88736 SHA256 031cd97765f890d9b78e1a5746cbd2a3ce06c7208693ec75c0b47324ac67b97a SHA512 8f17cc6e02a35828a57a7c2a437d9d18a41203b6e3f9e154b2ab863296b64596dc827afeeb0f993e37f47881d0f2ed4834f270d0ba843ab84b21c491cc352576 WHIRLPOOL 20f69c0a936bb612d5e3b551d4bf904aca3aff6d885d72f67f3b14cd720094ec13e383032ee4e322b0e81017d8ffcfafb47bf07f273badef34f7210d687ddacc DIST zfs-0.6.5.3.tar.gz 2524218 SHA256 49e6f9760ea172cb756f7357e4bcb90ee0293028540a68d62ed087724276131f SHA512 325cb91b7ddbcd6aa0bb9fc41eb0099dbb047a4e32d096fd414799729ef68cbc9c2e15714092eff8044a681af4ab552bd9ac1949cc673c6c5c3de1a23d9895ec WHIRLPOOL 957c3a75bb11befd4b74583883f2f11f717deb6bda368939b342049e809aa191a9ee8d1e709eaddc2a831418c7fdb5e763f918ff56d45f03baf4569ef8a4a070 +DIST zfs-0.6.5.4-patches-p1.tar.xz 64004 SHA256 83877d9b7c629730838325fd5b16bcb54259520e200f0539de9b8edfdcee9403 SHA512 9203356b43bdad2ed78c946af8c95c9fc4d2996b41a09a3b1f5a8657d2742ac69d10b4a87d443db497d591878cf7a70ebb19762b0df135ee25f4e8d2ed6ad71f WHIRLPOOL ff5788356d6a85608d22ea2c010a799464922614204c7eea06b57930a44ee876e596a053a773205de0543d36c04337d60c32594939e8e64d3022906c51c4d4e6 +DIST zfs-0.6.5.4.tar.gz 2506470 SHA256 780862ec2301ccace412a324787e9df762cff6046e73e2ac0ebdce9e2bd59b0f SHA512 90c87cd95fd06cf34755358e7cc4053d19f351316133f0b808e7585a3fc8f82e7c0f49072c2995d0520de5104fd04d91a166a0d5b6c923c82dfb2fb4f7f57a01 WHIRLPOOL eacd2ec09afdbc3f6d946583116296fadcd7d0dea5158c89f82f6d0b02e0cbf075712015bfa5f321ae5815cf86af13b39ce93e5026e6a00da58d9ddb04d12320 DIST zfs-kmod-0.6.2-p4.tar.xz 63984 SHA256 9167edc4be86e3fcda6b3c198e51f92ab0c95ac5baca11666c28029a628cdac9 SHA512 13e4ec415c35d2f268d89565745f5898c0943423577a2ba6714b3a069c5a80f244cd06dff91464f38dd4ed60673d1145ead080bb03a56d4be33e328f948ffa64 WHIRLPOOL 8c399ec67119ed4fbebb5599d00f888918678bc4e4ea369b4bdc5c75bfc90fc76396087624c8011de370a54ff103bccaa8922d05ac7ccebb2b3481bbbcf44b19 diff --git a/sys-fs/zfs/zfs-0.6.5.4-r1.ebuild b/sys-fs/zfs/zfs-0.6.5.4-r1.ebuild new file mode 100644 index 000..0962856 --- /dev/null +++ b/sys-fs/zfs/zfs-0.6.5.4-r1.ebuild @@ -0,0 +1,230 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} ) + +AT_M4DIR="config" +AUTOTOOLS_AUTORECONF="1" +AUTOTOOLS_IN_SOURCE_BUILD="1" + +if [ ${PV} == "" ] ; then + inherit git-r3 linux-mod + AUTOTOOLS_AUTORECONF="1" + EGIT_REPO_URI="git://github.com/zfsonlinux/${PN}.git" +else + SRC_URI="https://github.com/zfsonlinux/${PN}/releases/download/${P}/${P}.tar.gz + https://dev.gentoo.org/~ryao/dist/${P}-patches-p${PR#r}.tar.xz; + KEYWORDS="~amd64 ~arm ~ppc ~ppc64" +fi + +inherit autotools-utils bash-completion-r1 flag-o-matic linux-info python-r1 systemd toolchain-funcs udev + +DESCRIPTION="Userland utilities for ZFS Linux kernel module" +HOMEPAGE="http://zfsonlinux.org/; + +LICENSE="BSD-2 CDDL MIT" +SLOT="0" +IUSE="custom-cflags debug kernel-builtin +rootfs test-suite static-libs" +RESTRICT="test" + +COMMON_DEPEND=" + sys-apps/util-linux[static-libs?] + sys-libs/zlib[static-libs(+)?] + virtual/awk +" +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig +" + +RDEPEND="${COMMON_DEPEND} + !=sys-apps/grep-2.13* + !kernel-builtin? ( + =sys-fs/zfs-kmod-${PV}* + !=sys-fs/udev-init-scripts-28 +" + +AT_M4DIR="config"
[gentoo-commits] proj/qa-scripts:master commit in: /
commit: e7b92f629b09c022fdad6f97870f7fd270fc5c83 Author: Michał Górny gentoo org> AuthorDate: Wed Jan 27 22:15:54 2016 + Commit: Michał Górny gentoo org> CommitDate: Wed Jan 27 22:15:54 2016 + URL:https://gitweb.gentoo.org/proj/qa-scripts.git/commit/?id=e7b92f62 packages-inheriting-eclasses: update for pkgcore-0.9.2 API packages-inheriting-eclasses.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages-inheriting-eclasses.py b/packages-inheriting-eclasses.py index 13d72bc..f9636b6 100755 --- a/packages-inheriting-eclasses.py +++ b/packages-inheriting-eclasses.py @@ -1,7 +1,7 @@ #!/usr/bin/python import collections, datetime, os, os.path, sys -import pkgcore.config # tested with pkgcore-0.9.1 +import pkgcore.config # tested with pkgcore-0.9.2 def main(argv): try: @@ -11,7 +11,7 @@ def main(argv): return 1 c = pkgcore.config.load_config() - portdir = c.repo['/usr/portage'] + portdir = c.repo['gentoo'] output = collections.defaultdict(set)
[gentoo-commits] proj/portage:repoman commit in: pym/repoman/, pym/repoman/modules/scan/arches/
commit: c1bea69ecabc1fca0ae90def2afd4216ad5e9795 Author: Brian Dolbec gentoo org> AuthorDate: Sun Jan 3 19:11:22 2016 + Commit: Brian Dolbec gentoo org> CommitDate: Wed Jan 27 22:44:22 2016 + URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=c1bea69e repoman: Create a new ArchChecks class plugin pym/repoman/modules/scan/arches/__init__.py | 24 +++ pym/repoman/modules/scan/arches/arches.py | 64 + pym/repoman/scanner.py | 47 + 3 files changed, 90 insertions(+), 45 deletions(-) diff --git a/pym/repoman/modules/scan/arches/__init__.py b/pym/repoman/modules/scan/arches/__init__.py new file mode 100644 index 000..d080c30 --- /dev/null +++ b/pym/repoman/modules/scan/arches/__init__.py @@ -0,0 +1,24 @@ +# Copyright 2015-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +doc = """Arches plug-in module for repoman. +Performs archs checks on ebuilds.""" +__doc__ = doc[:] + + +module_spec = { + 'name': 'arches', + 'description': doc, + 'provides':{ + 'archs-module': { + 'name': "arches", + 'sourcefile': "arches", + 'class': "ArchChecks", + 'description': doc, + 'functions': ['check'], + 'func_desc': { + }, + }, + } +} + diff --git a/pym/repoman/modules/scan/arches/arches.py b/pym/repoman/modules/scan/arches/arches.py new file mode 100644 index 000..2c32028 --- /dev/null +++ b/pym/repoman/modules/scan/arches/arches.py @@ -0,0 +1,64 @@ +# -*- coding:utf-8 -*- + + +class ArchChecks(object): + + def __init__(self, **kwargs): + self.options = kwargs.get('options') + self.repo_settings = kwargs.get('repo_settings') + self.profiles = kwargs.get('profiles') + + def check(self, **kwargs): + ebuild = kwargs.get('ebuild') + if self.options.ignore_arches: + arches = [[ + self.repo_settings.repoman_settings["ARCH"], self.repo_settings.repoman_settings["ARCH"], + self.repo_settings.repoman_settings["ACCEPT_KEYWORDS"].split()]] + else: + arches = set() + for keyword in ebuild.keywords: + if keyword[0] == "-": + continue + elif keyword[0] == "~": + arch = keyword[1:] + if arch == "*": + for expanded_arch in self.profiles: + if expanded_arch == "**": + continue + arches.add( + (keyword, expanded_arch, ( + expanded_arch, "~" + expanded_arch))) + else: + arches.add((keyword, arch, (arch, keyword))) + else: + # For ebuilds with stable keywords, check if the + # dependencies are satisfiable for unstable + # configurations, since use.stable.mask is not + # applied for unstable configurations (see bug + # 563546). + if keyword == "*": + for expanded_arch in self.profiles: + if expanded_arch == "**": + continue + arches.add( + (keyword, expanded_arch, (expanded_arch,))) + arches.add( + (keyword, expanded_arch, + (expanded_arch, "~" + expanded_arch))) + else: + arches.add((keyword, keyword, (keyword,))) + arches.add((keyword, keyword, + (keyword, "~" + keyword))) + if not arches: + # Use an
[gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/scan/metadata/, pym/repoman/, ...
commit: 7fd7f5ac90f7f6cea917f8c617c47866bf0efcee Author: Brian Dolbec gentoo org> AuthorDate: Sun Jan 3 17:36:26 2016 + Commit: Brian Dolbec gentoo org> CommitDate: Wed Jan 27 22:44:21 2016 + URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=7fd7f5ac repoman: Migrate DescriptionChecks to the plugin system pym/repoman/modules/scan/metadata/__init__.py| 9 + .../scan/metadata}/description.py| 20 ++-- pym/repoman/scanner.py | 5 + 3 files changed, 24 insertions(+), 10 deletions(-) diff --git a/pym/repoman/modules/scan/metadata/__init__.py b/pym/repoman/modules/scan/metadata/__init__.py index bacedf5..83aac7f 100644 --- a/pym/repoman/modules/scan/metadata/__init__.py +++ b/pym/repoman/modules/scan/metadata/__init__.py @@ -28,6 +28,15 @@ module_spec = { 'func_desc': { }, }, + 'description-metadata': { + 'name': "description", + 'sourcefile': "description", + 'class': "DescriptionChecks", + 'description': doc, + 'functions': ['check'], + 'func_desc': { + }, + }, } } diff --git a/pym/repoman/checks/ebuilds/variables/description.py b/pym/repoman/modules/scan/metadata/description.py similarity index 66% rename from pym/repoman/checks/ebuilds/variables/description.py rename to pym/repoman/modules/scan/metadata/description.py index a2b1057..3570607 100644 --- a/pym/repoman/checks/ebuilds/variables/description.py +++ b/pym/repoman/modules/scan/metadata/description.py @@ -9,20 +9,19 @@ from repoman.qa_data import max_desc_len class DescriptionChecks(object): '''Perform checks on the DESCRIPTION variable.''' - def __init__(self, qatracker): + def __init__(self, **kwargs): ''' @param qatracker: QATracker instance ''' - self.qatracker = qatracker + self.qatracker = kwargs.get('qatracker') - def check(self, pkg, ebuild): + def checkTooLong(self, **kwargs): ''' @param pkg: Package in which we check (object). @param ebuild: Ebuild which we check (object). ''' - self._checkTooLong(pkg, ebuild) - - def _checkTooLong(self, pkg, ebuild): + ebuild = kwargs.get('ebuild') + pkg = kwargs.get('pkg') # 14 is the length of DESCRIPTION="" if len(pkg._metadata['DESCRIPTION']) > max_desc_len: self.qatracker.add_error( @@ -30,3 +29,12 @@ class DescriptionChecks(object): "%s: DESCRIPTION is %d characters (max %d)" % (ebuild.relative_path, len( pkg._metadata['DESCRIPTION']), max_desc_len)) + return {'continue': False} + + @property + def runInPkgs(self): + return (False, []) + + @property + def runInEbuilds(self): + return (True, [self.checkTooLong]) diff --git a/pym/repoman/scanner.py b/pym/repoman/scanner.py index 29edcd8..b9e80ff 100644 --- a/pym/repoman/scanner.py +++ b/pym/repoman/scanner.py @@ -21,7 +21,6 @@ from repoman.checks.ebuilds.checks import run_checks from repoman.checks.ebuilds.eclasses.ruby import RubyEclassChecks from repoman.check_missingslot import check_missingslot from repoman.checks.ebuilds.use_flags import USEFlagChecks -from repoman.checks.ebuilds.variables.description import DescriptionChecks from repoman.checks.ebuilds.variables.license import LicenseChecks from repoman.checks.ebuilds.variables.restrict import RestrictChecks from repoman.modules.commit import repochecks @@ -219,7 +218,6 @@ class Scanner(object): # initialize our checks classes here before the big xpkg loop self.use_flag_checks = USEFlagChecks(self.qatracker, uselist) self.rubyeclasscheck = RubyEclassChecks(self.qatracker) - self.descriptioncheck = DescriptionChecks(self.qatracker) self.licensecheck = LicenseChecks(self.qatracker, liclist, liclist_deprecated) self.restrictcheck = RestrictChecks(self.qatracker) @@ -304,6 +302,7 @@ class Scanner(object): for mod in [('ebuild', 'Ebuild'), ('live', 'LiveEclassChecks'), ('eapi', 'EAPIChecks'), ('ebuild_metadata', 'EbuildMetadata'), ('thirdpartymirrors', 'ThirdPartyMirrors'), + ('description', 'DescriptionChecks'), ]: if mod[0]: mod_class =
[gentoo-commits] proj/portage:repoman commit in: pym/repoman/, pym/repoman/modules/scan/metadata/
commit: adbae329b25f1c026b2a0f74e7c84809b14f7361 Author: Brian Dolbec gentoo org> AuthorDate: Sun Jan 3 10:35:49 2016 + Commit: Brian Dolbec gentoo org> CommitDate: Wed Jan 27 22:44:21 2016 + URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=adbae329 repoman: Migrate code from _scan_ebuilds to a new EbuildMetadata class and check pym/repoman/modules/scan/metadata/__init__.py | 11 +- .../modules/scan/metadata/ebuild_metadata.py | 39 ++ pym/repoman/scanner.py | 27 +-- 3 files changed, 50 insertions(+), 27 deletions(-) diff --git a/pym/repoman/modules/scan/metadata/__init__.py b/pym/repoman/modules/scan/metadata/__init__.py index ae9b18b..bacedf5 100644 --- a/pym/repoman/modules/scan/metadata/__init__.py +++ b/pym/repoman/modules/scan/metadata/__init__.py @@ -10,7 +10,7 @@ module_spec = { 'name': 'metadata', 'description': doc, 'provides':{ - 'metadata-module': { + 'pkg-metadata': { 'name': "pkgmetadata", 'sourcefile': "pkgmetadata", 'class': "PkgMetadata", @@ -19,6 +19,15 @@ module_spec = { 'func_desc': { }, }, + 'ebuild-metadata': { + 'name': "ebuild_metadata", + 'sourcefile': "ebuild_metadata", + 'class': "EbuildMetadata", + 'description': doc, + 'functions': ['check'], + 'func_desc': { + }, + }, } } diff --git a/pym/repoman/modules/scan/metadata/ebuild_metadata.py b/pym/repoman/modules/scan/metadata/ebuild_metadata.py new file mode 100644 index 000..143a40e --- /dev/null +++ b/pym/repoman/modules/scan/metadata/ebuild_metadata.py @@ -0,0 +1,39 @@ +# -*- coding:utf-8 -*- + +'''Ebuild Metadata Checks''' + +import re +import sys + +if sys.hexversion >= 0x300: + basestring = str + +NON_ASCII_RE = re.compile(r'[^\x00-\x7f]') + + +class EbuildMetadata(object): + + def __init__(self, **kwargs): + self.qatracker = kwargs.get('qatracker') + + def check(self, **kwargs): + ebuild = kwargs.get('ebuild') + for k, v in ebuild.metadata.items(): + if not isinstance(v, basestring): + continue + m = NON_ASCII_RE.search(v) + if m is not None: + self.qatracker.add_error( + "variable.invalidchar", + "%s: %s variable contains non-ASCII " + "character at position %s" % + (ebuild.relative_path, k, m.start() + 1)) + return {'continue': False} + + @property + def runInPkgs(self): + return (False, []) + + @property + def runInEbuilds(self): + return (True, [self.check]) diff --git a/pym/repoman/scanner.py b/pym/repoman/scanner.py index 8873ef4..abff1af 100644 --- a/pym/repoman/scanner.py +++ b/pym/repoman/scanner.py @@ -5,8 +5,6 @@ from __future__ import print_function, unicode_literals import copy import io import logging -import re -import sys from itertools import chain from pprint import pformat @@ -47,18 +45,10 @@ MODULE_CONTROLLER = Modules(path=MODULES_PATH, namepath="repoman.modules.scan") MODULE_NAMES = MODULE_CONTROLLER.module_names[:] - -if sys.hexversion >= 0x300: - basestring = str - -NON_ASCII_RE = re.compile(r'[^\x00-\x7f]') - - def sort_key(item): return item[2].sub_path - class Scanner(object): '''Primary scan class. Operates all the small Q/A tests and checks''' @@ -314,7 +304,7 @@ class Scanner(object): # initialize per ebuild plugin checks here # need to set it up for ==> self.modules_list or some other ordered list for mod in [('ebuild', 'Ebuild'), ('live', 'LiveEclassChecks'), - ('eapi', 'EAPIChecks')]: + ('eapi', 'EAPIChecks'), ('ebuild_metadata', 'EbuildMetadata')]: if mod[0]: mod_class = MODULE_CONTROLLER.get_class(mod[0]) logging.debug("Initializing class name: %s", mod_class.__name__) @@ -341,21 +331,6 @@ class Scanner(object): if y_ebuild_continue: continue - - for k, v in dynamic_data['ebuild'].metadata.items(): - if not isinstance(v, basestring): - continue -
[gentoo-commits] proj/portage:repoman commit in: pym/repoman/, pym/repoman/modules/scan/keywords/
commit: b99d59c285b4c71027eec68c5809244416a5b95c Author: Brian Dolbec gentoo org> AuthorDate: Sun Jan 3 18:28:58 2016 + Commit: Brian Dolbec gentoo org> CommitDate: Wed Jan 27 22:44:21 2016 + URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=b99d59c2 repoman: Complete KeywordChecks migration pym/repoman/modules/scan/keywords/keywords.py | 47 --- pym/repoman/scanner.py| 3 +- 2 files changed, 23 insertions(+), 27 deletions(-) diff --git a/pym/repoman/modules/scan/keywords/keywords.py b/pym/repoman/modules/scan/keywords/keywords.py index 484d7d5..e34c891 100644 --- a/pym/repoman/modules/scan/keywords/keywords.py +++ b/pym/repoman/modules/scan/keywords/keywords.py @@ -19,6 +19,8 @@ class KeywordChecks(ScanBase): super(KeywordChecks, self).__init__(**kwargs) self.qatracker = kwargs.get('qatracker') self.options = kwargs.get('options') + self.repo_metadata = kwargs.get('repo_metadata') + self.profiles = kwargs.get('profiles') self.slot_keywords = {} def prepare(self, **kwargs): @@ -45,21 +47,19 @@ class KeywordChecks(ScanBase): live_ebuild = kwargs.get('live_ebuild') if not self.options.straight_to_stable: self._checkAddedWithStableKeywords( - package, ebuild, y_ebuild, keywords, changed) + xpkg, ebuild, y_ebuild, ebuild.keywords, changed) - self._checkForDroppedKeywords( - pkg, ebuild, ebuild_archs, live_ebuild) + self._checkForDroppedKeywords(pkg, ebuild, ebuild.archs, live_ebuild) - self._checkForInvalidKeywords( - pkg, package, y_ebuild, kwlist, profiles) + self._checkForInvalidKeywords(ebuild, xpkg, y_ebuild) - self._checkForMaskLikeKeywords( - package, y_ebuild, keywords, kwlist) + self._checkForMaskLikeKeywords(xpkg, y_ebuild, ebuild.keywords) - self.slot_keywords[pkg.slot].update(ebuild_archs) + self.slot_keywords[pkg.slot].update(ebuild.archs) return {'continue': False} - def _isKeywordStable(self, keyword): + @staticmethod + def _isKeywordStable(keyword): return not keyword.startswith("~") and not keyword.startswith("-") def _checkAddedWithStableKeywords( @@ -88,9 +88,8 @@ class KeywordChecks(ScanBase): ebuild.relative_path, " ".join(sorted(dropped_keywords - def _checkForInvalidKeywords( - self, pkg, package, y_ebuild, kwlist, profiles): - myuse = pkg._metadata["KEYWORDS"].split() + def _checkForInvalidKeywords(self, ebuild, xpkg, y_ebuild): + myuse = ebuild.keywords for mykey in myuse: if mykey not in ("-*", "*", "~*"): @@ -99,20 +98,16 @@ class KeywordChecks(ScanBase): if not self._isKeywordStable(myskey[:1]): myskey = myskey[1:] - if myskey not in kwlist: + if myskey not in self.repo_metadata['kwlist']: + self.qatracker.add_error("KEYWORDS.invalid", + "%s/%s.ebuild: %s" % (xpkg, y_ebuild, mykey)) + elif myskey not in self.profiles: self.qatracker.add_error( "KEYWORDS.invalid", - "%s/%s.ebuild: %s" % ( - package, y_ebuild, mykey)) - elif myskey not in profiles: - self.qatracker.add_error( - "KEYWORDS.invalid", - "%s/%s.ebuild: %s (profile invalid)" % ( - package, y_ebuild, mykey)) - - def _checkForMaskLikeKeywords( - self, package, y_ebuild, keywords, kwlist): + "%s/%s.ebuild: %s (profile invalid)" + % (xpkg, y_ebuild, mykey)) + def _checkForMaskLikeKeywords(self, xpkg, y_ebuild, keywords): # KEYWORDS="-*" is a stupid replacement for package.mask # and screws general KEYWORDS semantics if "-*" in keywords: @@ -121,12 +116,12 @@ class KeywordChecks(ScanBase): for kw in keywords:
[gentoo-commits] proj/portage:repoman commit in: pym/repoman/checks/ebuilds/, pym/repoman/modules/scan/use/, pym/repoman/
commit: 1ac21fb2d7bceb888f8203bb5b8b58865190f66d Author: Brian Dolbec gentoo org> AuthorDate: Fri Jan 8 01:37:39 2016 + Commit: Brian Dolbec gentoo org> CommitDate: Wed Jan 27 22:44:22 2016 + URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=1ac21fb2 repoman: Create USEFlagChecks class plugin pym/repoman/modules/scan/use/__init__.py | 24 +++ .../ebuilds => modules/scan/use}/use_flags.py | 36 ++ pym/repoman/scanner.py | 8 ++--- 3 files changed, 50 insertions(+), 18 deletions(-) diff --git a/pym/repoman/modules/scan/use/__init__.py b/pym/repoman/modules/scan/use/__init__.py new file mode 100644 index 000..80fa213 --- /dev/null +++ b/pym/repoman/modules/scan/use/__init__.py @@ -0,0 +1,24 @@ +# Copyright 2015-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +doc = """Use plug-in module for repoman. +Performs use flag checks on ebuilds.""" +__doc__ = doc[:] + + +module_spec = { + 'name': 'use', + 'description': doc, + 'provides':{ + 'use-module': { + 'name': "use_flags", + 'sourcefile': "use_flags", + 'class': "USEFlagChecks", + 'description': doc, + 'functions': ['check', 'getUsedUseFlags'], + 'func_desc': { + }, + }, + } +} + diff --git a/pym/repoman/checks/ebuilds/use_flags.py b/pym/repoman/modules/scan/use/use_flags.py similarity index 74% rename from pym/repoman/checks/ebuilds/use_flags.py rename to pym/repoman/modules/scan/use/use_flags.py index ac21b47..acc7dd3 100644 --- a/pym/repoman/checks/ebuilds/use_flags.py +++ b/pym/repoman/modules/scan/use/use_flags.py @@ -9,31 +9,39 @@ from repoman._portage import portage from portage import eapi from portage.eapi import eapi_has_iuse_defaults, eapi_has_required_use +from repoman.modules.scan.scanbase import ScanBase -class USEFlagChecks(object): +class USEFlagChecks(ScanBase): '''Performs checks on USE flags listed in the ebuilds and metadata.xml''' - def __init__(self, qatracker, globalUseFlags): - ''' + def __init__(self, **kwargs): + '''Class init + @param qatracker: QATracker instance @param globalUseFlags: Global USE flags ''' - self.qatracker = qatracker - self.globalUseFlags = globalUseFlags + super(USEFlagChecks, self).__init__(**kwargs) + self.qatracker = kwargs.get('qatracker') + self.globalUseFlags = kwargs.get('uselist') self.useFlags = [] self.defaultUseFlags = [] self.usedUseFlags = set() - def check(self, pkg, package, ebuild, y_ebuild, localUseFlags): + def check(self, **kwargs): '''Perform the check. @param pkg: Package in which we check (object). - @param package: Package in which we check (string). + @param xpkg: Package in which we check (string). @param ebuild: Ebuild which we check (object). @param y_ebuild: Ebuild which we check (string). - @param localUseFlags: Local USE flags of the package + @param muselist: Local USE flags of the package ''' + pkg = kwargs.get('pkg') + package = kwargs.get('xpkg') + ebuild = kwargs.get('ebuild') + y_ebuild = kwargs.get('y_ebuild') + localUseFlags = kwargs.get('muselist') # reset state variables for the run self.useFlags = [] self.defaultUseFlags = [] @@ -41,10 +49,9 @@ class USEFlagChecks(object): self._checkGlobal(pkg) self._checkMetadata(package, ebuild, y_ebuild, localUseFlags) self._checkRequiredUSE(pkg, ebuild) - - def getUsedUseFlags(self): - '''Get the USE flags that this check has seen''' - return self.usedUseFlags + used_useflags = kwargs.get('used_useflags').union(self.usedUseFlags) + return {'continue': False, 'ebuild_UsedUseFlags': self.usedUseFlags, + 'used_useflags': used_useflags} def _checkGlobal(self, pkg): for myflag in pkg._metadata["IUSE"].split(): @@ -88,3 +95,8 @@ class USEFlagChecks(object): "REQUIRED_USE.syntax", "%s: REQUIRED_USE: %s" % (ebuild.relative_path, e)) del e + + @property + def runInEbuilds(self): + '''Ebuild level scans''' + return (True, [self.check]) diff --git a/pym/repoman/scanner.py
[gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/scan/ebuild/
commit: d33eb42810bfae595f3ce4b985dfb8496aad0b3b Author: Brian Dolbec gentoo org> AuthorDate: Sun Jan 3 17:33:26 2016 + Commit: Brian Dolbec gentoo org> CommitDate: Wed Jan 27 22:44:23 2016 + URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=d33eb428 repoman: Move ebuild_archs to the Ebuild class pym/repoman/modules/scan/ebuild/ebuild.py | 1 + 1 file changed, 1 insertion(+) diff --git a/pym/repoman/modules/scan/ebuild/ebuild.py b/pym/repoman/modules/scan/ebuild/ebuild.py index 5db5d72..1d5dc9e 100644 --- a/pym/repoman/modules/scan/ebuild/ebuild.py +++ b/pym/repoman/modules/scan/ebuild/ebuild.py @@ -36,6 +36,7 @@ class Ebuild(ScanBase): self.eapi = None self.inherited = None self.keywords = None + self.archs = None def _set_paths(self, **kwargs): repolevel = kwargs.get('repolevel')
[gentoo-commits] proj/portage:repoman commit in: pym/repoman/
commit: 9e5d6da80f4f9d903f11319c00fd449ebb8c4942 Author: Brian Dolbec gentoo org> AuthorDate: Sun Jan 3 21:55:33 2016 + Commit: Brian Dolbec gentoo org> CommitDate: Wed Jan 27 22:44:23 2016 + URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=9e5d6da8 repoman: Migrate additional dynamic data setting to the USEFlagsChecks pym/repoman/scanner.py | 6 ++ 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/pym/repoman/scanner.py b/pym/repoman/scanner.py index bec943d..b330fe0 100644 --- a/pym/repoman/scanner.py +++ b/pym/repoman/scanner.py @@ -286,7 +286,7 @@ class Scanner(object): def _scan_ebuilds(self, ebuildlist, dynamic_data): xpkg = dynamic_data['xpkg'] # detect unused local USE-descriptions - used_useflags = set() + dynamic_data['used_useflags'] = set() for y_ebuild in ebuildlist: dynamic_data['y_ebuild'] = y_ebuild @@ -327,8 +327,6 @@ class Scanner(object): if y_ebuild_continue: continue - used_useflags = used_useflags.union(dynamic_data['ebuild_UsedUseFlags']) - # license checks if not dynamic_data['badlicsyntax']: self.licensecheck.check(dynamic_data['pkg'], xpkg, dynamic_data['ebuild'], y_ebuild) @@ -538,7 +536,7 @@ class Scanner(object): # check if there are unused local USE-descriptions in metadata.xml # (unless there are any invalids, to avoid noise) if dynamic_data['allvalid']: - for myflag in dynamic_data['muselist'].difference(used_useflags): + for myflag in dynamic_data['muselist'].difference(dynamic_data['used_useflags']): self.qatracker.add_error( "metadata.warning", "%s/metadata.xml: unused local USE-description: '%s'"
[gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/scan/depend/, pym/repoman/
commit: 403c638f1a29097eb8de9e541c531e0d5ae7fc67 Author: Brian Dolbec gentoo org> AuthorDate: Sun Jan 3 20:38:11 2016 + Commit: Brian Dolbec gentoo org> CommitDate: Wed Jan 27 22:44:22 2016 + URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=403c638f repoman: New DependChecks class plugin Migrate code from _scan_ebuilds to the plugin system pym/repoman/modules/scan/depend/__init__.py | 24 + pym/repoman/modules/scan/depend/depend.py | 132 pym/repoman/scanner.py | 119 ++--- 3 files changed, 163 insertions(+), 112 deletions(-) diff --git a/pym/repoman/modules/scan/depend/__init__.py b/pym/repoman/modules/scan/depend/__init__.py new file mode 100644 index 000..ebc716c --- /dev/null +++ b/pym/repoman/modules/scan/depend/__init__.py @@ -0,0 +1,24 @@ +# Copyright 2015-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +doc = """Depend plug-in module for repoman. +Performs Dependency checks on ebuilds.""" +__doc__ = doc[:] + + +module_spec = { + 'name': 'depend', + 'description': doc, + 'provides':{ + 'depend-module': { + 'name': "depend", + 'sourcefile': "depend", + 'class': "DependChecks", + 'description': doc, + 'functions': ['check'], + 'func_desc': { + }, + }, + } +} + diff --git a/pym/repoman/modules/scan/depend/depend.py b/pym/repoman/modules/scan/depend/depend.py new file mode 100644 index 000..8a0ff48 --- /dev/null +++ b/pym/repoman/modules/scan/depend/depend.py @@ -0,0 +1,132 @@ + +from _emerge.Package import Package + +from repoman.check_missingslot import check_missingslot +# import our initialized portage instance +from repoman._portage import portage +from repoman.qa_data import suspect_virtual, suspect_rdepend + + +class DependChecks(object): + + def __init__(self, **kwargs): + self.qatracker = kwargs.get('qatracker') + self.portdb = kwargs.get('portdb') + + def check(self, **kwargs): + ebuild = kwargs.get('ebuild') + pkg = kwargs.get('pkg') + + unknown_pkgs = set() + + inherited_java_eclass = "java-pkg-2" in ebuild.inherited or \ + "java-pkg-opt-2" in ebuild.inherited, + inherited_wxwidgets_eclass = "wxwidgets" in ebuild.inherited + # operator_tokens = set(["||", "(", ")"]) + type_list, badsyntax = [], [] + for mytype in Package._dep_keys + ("LICENSE", "PROPERTIES", "PROVIDE"): + mydepstr = ebuild.metadata[mytype] + + buildtime = mytype in Package._buildtime_keys + runtime = mytype in Package._runtime_keys + token_class = None + if mytype.endswith("DEPEND"): + token_class = portage.dep.Atom + + try: + atoms = portage.dep.use_reduce( + mydepstr, matchall=1, flat=True, + is_valid_flag=pkg.iuse.is_valid_flag, token_class=token_class) + except portage.exception.InvalidDependString as e: + atoms = None + badsyntax.append(str(e)) + + if atoms and mytype.endswith("DEPEND"): + if runtime and \ + "test?" in mydepstr.split(): + self.qatracker.add_error( + mytype + '.suspect', + "%s: 'test?' USE conditional in %s" % + (ebuild.relative_path, mytype)) + + for atom in atoms: + if atom == "||": + continue + + is_blocker = atom.blocker + + # Skip dependency.unknown for blockers, so that we + # don't encourage people to remove necessary blockers, + # as discussed in bug 382407. We use atom.without_use + # due to bug 525376. + if not is_blocker and \ + not self.portdb.xmatch("match-all", atom.without_use) and \ + not atom.cp.startswith("virtual/"): + unknown_pkgs.add((mytype,
[gentoo-commits] proj/portage:repoman commit in: pym/repoman/modules/scan/metadata/, pym/repoman/
commit: 20b86b331841e540b9fca8b22c0e615ed1fb7c77 Author: Brian Dolbec gentoo org> AuthorDate: Mon Jan 4 08:37:22 2016 + Commit: Brian Dolbec gentoo org> CommitDate: Wed Jan 27 22:44:25 2016 + URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=20b86b33 repoman: Create a metadata UnusedCheck and final pkg checks Create a plugin loop for any final pkg checks. Create the one plugin for the unused use-descriptions in mteadata.xml pym/repoman/modules/scan/metadata/__init__.py | 9 +++ pym/repoman/modules/scan/metadata/unused.py | 32 pym/repoman/scanner.py| 36 --- 3 files changed, 68 insertions(+), 9 deletions(-) diff --git a/pym/repoman/modules/scan/metadata/__init__.py b/pym/repoman/modules/scan/metadata/__init__.py index 4f376e1..f619764 100644 --- a/pym/repoman/modules/scan/metadata/__init__.py +++ b/pym/repoman/modules/scan/metadata/__init__.py @@ -55,6 +55,15 @@ module_spec = { 'func_desc': { }, }, + 'unused-metadata': { + 'name': "unused", + 'sourcefile': "unused", + 'class': "UnusedCheck", + 'description': doc, + 'functions': ['check'], + 'func_desc': { + }, + }, } } diff --git a/pym/repoman/modules/scan/metadata/unused.py b/pym/repoman/modules/scan/metadata/unused.py new file mode 100644 index 000..5eb6716 --- /dev/null +++ b/pym/repoman/modules/scan/metadata/unused.py @@ -0,0 +1,32 @@ + + +class UnusedCheck(object): + + def __init__(self, **kwargs): + self.qatracker = kwargs.get('qatracker') + + def check(self, **kwargs): + xpkg = kwargs.get('xpkg') + muselist = kwargs.get('muselist') + used_useflags = kwargs.get('used_useflags') + # check if there are unused local USE-descriptions in metadata.xml + # (unless there are any invalids, to avoid noise) + if kwargs.get('allvalid'): + for myflag in muselist.difference(used_useflags): + self.qatracker.add_error( + "metadata.warning", + "%s/metadata.xml: unused local USE-description: '%s'" + % (xpkg, myflag)) + return {'continue': False} + + @property + def runInPkgs(self): + return (False, []) + + @property + def runInEbuilds(self): + return (False, []) + + @property + def runInFinal(self): + return (True, [self.check]) diff --git a/pym/repoman/scanner.py b/pym/repoman/scanner.py index 4472f88..e486282 100644 --- a/pym/repoman/scanner.py +++ b/pym/repoman/scanner.py @@ -272,7 +272,6 @@ class Scanner(object): def _scan_ebuilds(self, ebuildlist, dynamic_data): - xpkg = dynamic_data['xpkg'] # detect unused local USE-descriptions dynamic_data['used_useflags'] = set() @@ -320,11 +319,30 @@ class Scanner(object): if y_ebuild_continue: continue - # check if there are unused local USE-descriptions in metadata.xml - # (unless there are any invalids, to avoid noise) - if dynamic_data['allvalid']: - for myflag in dynamic_data['muselist'].difference(dynamic_data['used_useflags']): - self.qatracker.add_error( - "metadata.warning", - "%s/metadata.xml: unused local USE-description: '%s'" - % (xpkg, myflag)) + # Final checks + # initialize per pkg plugin final checks here + # need to set it up for ==> self.modules_list or some other ordered list + xpkg_complete = False + for mod in [('unused', 'UnusedChecks')]: + if mod[0]: + mod_class = MODULE_CONTROLLER.get_class(mod[0]) + print("Initializing class name:", mod_class.__name__) + self.modules[mod[1]] = mod_class(**self.kwargs) + print("scan_ebuilds final checks: module:", mod[1]) + do_it, functions = self.modules[mod[1]].runInFinal + # print("do_it", do_it, "functions", functions) + if do_it: + for func in functions: + print("\tRunning function:", func) + rdata = func(**dynamic_data)
[gentoo-commits] proj/gentoolkit:gentoolkit-dev commit in: src/ekeyword/
commit: 00e918798ece8a6fdf38ba2e5edad1c5b328c183 Author: Mike Frysinger gentoo org> AuthorDate: Wed Jan 27 23:32:27 2016 + Commit: Mike Frysinger gentoo org> CommitDate: Wed Jan 27 23:32:27 2016 + URL:https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=00e91879 ekeyword: allow passing arch_status={} to disable profile logic src/ekeyword/ekeyword.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ekeyword/ekeyword.py b/src/ekeyword/ekeyword.py index 7a0cc7d..64f4eb0 100755 --- a/src/ekeyword/ekeyword.py +++ b/src/ekeyword/ekeyword.py @@ -168,7 +168,7 @@ def process_keywords(keywords, ops, arch_status=None): for op, oarch, refarch in ops: # Figure out which keywords we need to modify. if oarch == 'all': - if not arch_status: + if arch_status is None: raise ValueError('unable to process "all" w/out profiles.desc') old_arches = set([keyword_to_arch(a) for a in new_keywords]) if op is None:
[gentoo-commits] proj/gentoolkit:gentoolkit-dev commit in: src/ekeyword/
commit: 1b33e0ae109e11b1ee696ea6c6919bb86ecbc66f Author: Mike Frysinger gentoo org> AuthorDate: Wed Jan 27 23:32:57 2016 + Commit: Mike Frysinger gentoo org> CommitDate: Wed Jan 27 23:32:57 2016 + URL:https://gitweb.gentoo.org/proj/gentoolkit.git/commit/?id=1b33e0ae ekeyword: fix "all" keyword handling w/-keywords When an ebuild has a keyword like '-sparc', we don't want the magic "all" or "~all" keywords to change it to 'sparc' or '~sparc'. src/ekeyword/ekeyword.py | 8 src/ekeyword/ekeyword_unittest.py | 8 2 files changed, 16 insertions(+) diff --git a/src/ekeyword/ekeyword.py b/src/ekeyword/ekeyword.py index 64f4eb0..e4a8197 100755 --- a/src/ekeyword/ekeyword.py +++ b/src/ekeyword/ekeyword.py @@ -180,9 +180,17 @@ def process_keywords(keywords, ops, arch_status=None): # master list. If it lacks some keywords, then we might miss # somethings here, but not much we can do. arches = old_arches + # We ignore the glob arch as we never want to tweak it. if '*' in arches: arches.remove('*') + + # For keywords that are explicitly disabled, do not update. When + # people use `ekeyword ~all ...` or `ekeyword all ...`, they rarely + # (if ever) want to change a '-sparc' to 'sparc' or '-sparc' to + # '~sparc'. We force people to explicitly do `ekeyword sparc ...` + # in these cases. + arches = [x for x in arches if '-' + x not in new_keywords] else: arches = (oarch,) diff --git a/src/ekeyword/ekeyword_unittest.py b/src/ekeyword/ekeyword_unittest.py index 134dd80..473113b 100755 --- a/src/ekeyword/ekeyword_unittest.py +++ b/src/ekeyword/ekeyword_unittest.py @@ -196,6 +196,14 @@ class TestProcessKeywords(unittest.TestCase): self._test('-* ~* * alpha arm arm64 m68k', ops, '-* ~* * ~alpha arm ~arm64 ~m68k', arch_status) + def testAllDisabled(self): + """Make sure ~all does not change -arch to ~arch""" + ops = ( + ekeyword.Op('~', 'all', None), + ) + self._test('alpha -sparc ~x86', ops, + '~alpha -sparc ~x86', {}) + class TestProcessContent(unittest.TestCase): """Tests for process_content"""
[gentoo-commits] repo/gentoo:master commit in: net-im/pidgin/
commit: df845a9c173e40c6b55b18526fd8c43115942831 Author: Sebastian Pipping gentoo org> AuthorDate: Wed Jan 27 23:35:29 2016 + Commit: Sebastian Pipping gentoo org> CommitDate: Wed Jan 27 23:55:35 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=df845a9c net-im/pidgin: Add support for PIE (bug #571096) Package-Manager: portage-2.2.27 net-im/pidgin/pidgin-2.10.12-r1.ebuild | 251 + 1 file changed, 251 insertions(+) diff --git a/net-im/pidgin/pidgin-2.10.12-r1.ebuild b/net-im/pidgin/pidgin-2.10.12-r1.ebuild new file mode 100644 index 000..cb7080e --- /dev/null +++ b/net-im/pidgin/pidgin-2.10.12-r1.ebuild @@ -0,0 +1,251 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +GENTOO_DEPEND_ON_PERL=no +PYTHON_COMPAT=( python2_7 python3_{3,4} ) + +inherit autotools flag-o-matic eutils toolchain-funcs multilib perl-app gnome2 python-single-r1 + +DESCRIPTION="GTK Instant Messenger client" +HOMEPAGE="http://pidgin.im/; +SRC_URI=" + mirror://sourceforge/${PN}/${P}.tar.bz2 + https://dev.gentoo.org/~polynomial-c/${PN}-eds-3.6.patch.bz2; + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-freebsd ~amd64-linux ~x86-linux ~x86-macos" +IUSE="dbus debug doc eds gadu gnutls +gstreamer +gtk idn meanwhile mxit pie" +IUSE+=" networkmanager nls perl silc tcl tk spell sasl ncurses" +IUSE+=" groupwise prediction python +xscreensaver zephyr zeroconf" # mono" +IUSE+=" aqua" + +# dbus requires python to generate C code for dbus bindings (thus DEPEND only). +# finch uses libgnt that links with libpython - {R,}DEPEND. But still there is +# no way to build dbus and avoid libgnt linkage with python. If you want this +# send patch upstream. +# purple-url-handler and purple-remote require dbus-python thus in reality we +# rdepend on python if dbus enabled. But it is possible to separate this dep. +RDEPEND=" + >=dev-libs/glib-2.16 + >=dev-libs/libxml2-2.6.18 + ncurses? ( sys-libs/ncurses:0=[unicode] + dbus? ( ${PYTHON_DEPS} ) + python? ( ${PYTHON_DEPS} ) ) + gtk? ( + >=x11-libs/gtk+-2.10:2[aqua=] + x11-libs/libSM + xscreensaver? ( x11-libs/libXScrnSaver ) + spell? ( >=app-text/gtkspell-2.0.2:2 ) + eds? ( >=gnome-extra/evolution-data-server-3.6:= ) + prediction? ( >=dev-db/sqlite-3.3:3 ) ) + gstreamer? ( media-libs/gstreamer:1.0 + media-libs/gst-plugins-base:1.0 + >=net-libs/farstream-0.2.7:0.2 ) + zeroconf? ( net-dns/avahi[dbus] ) + dbus? ( >=dev-libs/dbus-glib-0.71 + >=sys-apps/dbus-0.90 + dev-python/dbus-python ) + perl? ( >=dev-lang/perl-5.16:= ) + gadu? ( || ( >=net-libs/libgadu-1.11.0[ssl,gnutls] + >=net-libs/libgadu-1.11.0[-ssl] ) ) + gnutls? ( net-libs/gnutls ) + !gnutls? ( + dev-libs/nspr + dev-libs/nss + ) + meanwhile? ( net-libs/meanwhile ) + silc? ( >=net-im/silc-toolkit-1.0.1 ) + tcl? ( dev-lang/tcl:0= ) + tk? ( dev-lang/tk:0= ) + sasl? ( dev-libs/cyrus-sasl:2 ) + networkmanager? ( net-misc/networkmanager ) + idn? ( net-dns/libidn ) + ! python is enabled + #REQUIRED_USE="gtk? ( nls ) dbus? ( python )" + if use gtk && ! use nls; then + ewarn "gtk build => nls is enabled!" + fi + if use dbus && ! use python; then + elog "dbus is enabled, no way to disable linkage with python => python is enabled" + fi +} + +src_prepare() { + epatch \ + "${FILESDIR}"/${PN}-2.10.0-gold.patch \ + "${WORKDIR}"/${PN}-eds-3.6.patch \ + "${FILESDIR}"/${PN}-2.10.9-fix-gtkmedia.patch \ + "${FILESDIR}"/${PN}-2.10.10-eds-3.6-configure.ac.patch \ + "${FILESDIR}"/${PN}-2.10.11-tinfo.patch + epatch_user + + eautoreconf +} + +src_configure() { + # Stabilize things, for your own good + strip-flags + replace-flags -O? -O2 + use pie && CFLAGS="${CFLAGS} -fPIE -pie" + + local myconf + + if use gadu; then + DYNAMIC_PRPLS="${DYNAMIC_PRPLS},gg" + myconf="${myconf} --with-gadu-includes=." + myconf="${myconf} --with-gadu-libs=." + fi + + use groupwise && DYNAMIC_PRPLS+=",novell" + use silc && DYNAMIC_PRPLS+=",silc" + use meanwhile && DYNAMIC_PRPLS+=",sametime" + use mxit && DYNAMIC_PRPLS+=",mxit" + use zephyr && DYNAMIC_PRPLS+=",zephyr" + use zeroconf && DYNAMIC_PRPLS+=",bonjour" + + if use gnutls; then + einfo "Disabling NSS, using GnuTLS" + myconf+=" --enable-nss=no --enable-gnutls=yes" +
[gentoo-commits] repo/gentoo:master commit in: dev-python/bandit/
commit: 1488e5b6dcaec048979e70a4bcc93973751f1230 Author: Matthew Thode gentoo org> AuthorDate: Thu Jan 28 05:29:56 2016 + Commit: Matt Thode gentoo org> CommitDate: Thu Jan 28 05:29:56 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1488e5b6 dev-python/bandit: bup Package-Manager: portage-2.2.26 dev-python/bandit/Manifest | 2 +- dev-python/bandit/{bandit-0.17.2.ebuild => bandit-0.17.3.ebuild} | 0 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/bandit/Manifest b/dev-python/bandit/Manifest index 21bb19e..0f13e0d 100644 --- a/dev-python/bandit/Manifest +++ b/dev-python/bandit/Manifest @@ -4,4 +4,4 @@ DIST bandit-0.13.1.tar.gz 68706 SHA256 e8383d751d0eacd0491e6821c6a176e317316ba3a DIST bandit-0.13.2.tar.gz 6 SHA256 ef78c4dda20f758f95aca467fbb6609a696b6df13104d324b329b1bca963e30d SHA512 0809b7bca2f88e579760c7dcd3fedd1bdd394930eb0cd203ec24d75a18cc8007fa0db304a378f2d99d9cfd5e8b1f34a4ebe427a4bcb5daadf3d29acf0a26da42 WHIRLPOOL c91c140a79816d55f46b4b81e8554e2e36ff47b217da0258cc8ca220b59fd1b0622bd938956280ee111ee994cee81a442da3148fc1be9f0ff8c7d1ea2cdc305d DIST bandit-0.14.1.tar.gz 95300 SHA256 d44581faf87271b60a7f103aead3aca6a22b3778707c44bf39fd673d2c1e4cc3 SHA512 fd02fd9e443f6376c43b7e4a1782b72847351acedc048cfaac63be4365f876d76ae6ae67dfc2fb838621efe4e943037fa88f9a2b71d613abf695f93b88ac5bf0 WHIRLPOOL 2666e21db6ac9d15120cacd3296368d1ef4033c1e1d83f16676300115ab8a21a59a6c94252e1cee888acea97f6ab7c45daaf353afdab25a7955cc4687b8f0407 DIST bandit-0.17.0.tar.gz 118504 SHA256 3cc663a498bac972064f1b28643d6467dcbee7d63dec14df606e239ca824cd98 SHA512 8451be00bbce537cc338bb6880cd3cbb1b61f3dd800d84db5ef461ee863b343b0c5e4949feeb4747faf30c727e7f65ebbe0ad34efa83daa030e2800a4e2c93f5 WHIRLPOOL 7102b0880733092642555ee7b186ddbd63bb8ae2d6ced4022c75861234989eaabbad8d5a2dd8398a4b21d1a3e29f2ee3467a8adedd6f355354718dc6fe90ff55 -DIST bandit-0.17.2.tar.gz 116301 SHA256 b28c1bc3145c8d0a96128c34dd420f49b30c5ce30bfe91b5db180644f8a8564a SHA512 e8da25675cbd4f217966a80018eb4ac471bc1eced0716a886f96ee48200dc564091db7674af683057296d38b7cc84f7cbd6c78729b25b9fb9ff2e2000dba1cef WHIRLPOOL 311848897416b5e80e96439ed977ea75efbe86b68dc43ea500778f9797a1f646485ed1e9ba158a9635bf9f03357b79867382f755618f070f63755045f3bcee16 +DIST bandit-0.17.3.tar.gz 116274 SHA256 8ca87dfba904ac42d72b35c033f8473f31d0b575da69966014d73b3f6f908f36 SHA512 c34e41718d0ff96cc2c19201211168abc839d07e3ec562a8d3cc2fc927e4ff87443d156181a1066a197e2c85192b17f2fcf25c8d86c3f61d367afaf36c3fd74a WHIRLPOOL ec42b70ae40d19080540f4dbf68d9f2eb92be2880dd4d557eead27e6bb8e408d89b52923856229c2b60222af2113d44d67dd6361a8257db3abf09faaf8fd75f3 diff --git a/dev-python/bandit/bandit-0.17.2.ebuild b/dev-python/bandit/bandit-0.17.3.ebuild similarity index 100% rename from dev-python/bandit/bandit-0.17.2.ebuild rename to dev-python/bandit/bandit-0.17.3.ebuild
[gentoo-commits] repo/gentoo:master commit in: dev-vcs/git-tools/, dev-vcs/git-tools/files/
commit: d81dce703c99623faaa78cd846c71fef51814f4c Author: Robin H. Johnson gentoo org> AuthorDate: Thu Jan 28 05:58:58 2016 + Commit: Robin H. Johnson gentoo org> CommitDate: Thu Jan 28 05:59:07 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d81dce70 dev-vcs/git-tools: py3 fixup and make repoman happy. Package-Manager: portage-2.2.27 .../files/git-tools-2015_p20151225-py3.patch | 11 + .../git-tools/git-tools-2015_p20151225-r2.ebuild | 48 ++ 2 files changed, 59 insertions(+) diff --git a/dev-vcs/git-tools/files/git-tools-2015_p20151225-py3.patch b/dev-vcs/git-tools/files/git-tools-2015_p20151225-py3.patch new file mode 100644 index 000..a7f59e0 --- /dev/null +++ b/dev-vcs/git-tools/files/git-tools-2015_p20151225-py3.patch @@ -0,0 +1,11 @@ +--- a/git-restore-mtime2016-01-27 14:05:09.0 -0800 b/git-restore-mtime2016-01-27 21:51:17.0 -0800 +@@ -150,7 +150,7 @@ + ['--'] + args.pathspec, + stdout=subprocess.PIPE) + for line in gitobj.stdout: +-lsfileslist.add(os.path.relpath(line.strip(), workdir)) ++lsfileslist.add(os.path.relpath(line.strip().decode(), workdir)) + + # List files matching user pathspec, relative to current directory + # git commands always print paths relative to work tree root diff --git a/dev-vcs/git-tools/git-tools-2015_p20151225-r2.ebuild b/dev-vcs/git-tools/git-tools-2015_p20151225-r2.ebuild new file mode 100644 index 000..d05fd28 --- /dev/null +++ b/dev-vcs/git-tools/git-tools-2015_p20151225-r2.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 python3_{1..5} ) +inherit python-r1 + +DESCRIPTION="Assorted git-related scripts" +HOMEPAGE="https://github.com/MestreLion/git-tools/; +MY_PV="ff7a07daa6898fd0993180f64bd232aa4def6018" +SRC_URI="https://github.com/MestreLion/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND=" + >=dev-vcs/git-2.5 + >=app-shells/bash-4.0" + +MY_P=${PN}-${MY_PV} +S=${WORKDIR}/${MY_P} + +src_prepare() { + epatch "$FILESDIR"/git-tools-2015_p20151225-py3.patch +} + +src_compile() { + :; +} + +src_install() { + SCRIPTS_BASH="git-branches-rename git-clone-subset git-find-uncommited-repos git-rebase-theirs git-strip-merge" + SCRIPTS_PYTHON="git-restore-mtime" + dobin $SCRIPTS_BASH + dobin $SCRIPTS_PYTHON + for p in $SCRIPTS_PYTHON ; do + python_replicate_script "${ED}"/usr/bin/$p + done + # Make it possible to use the tools as 'git $TOOLNAME' + for i in $SCRIPTS_BASH $SCRIPTS_PYTHON ; do + dosym /usr/bin/$i /usr/libexec/git-core/$i + done + dodoc README.md +}
[gentoo-commits] repo/gentoo:master commit in: dev-vcs/git-tools/
commit: 6313bb9fbc805c21248a684bc03ec22b4c8b6984 Author: Robin H. Johnson gentoo org> AuthorDate: Thu Jan 28 06:41:08 2016 + Commit: Robin H. Johnson gentoo org> CommitDate: Thu Jan 28 06:41:37 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6313bb9f dev-vcs/git-tools: all the keywords (infra portage checksum test). Package-Manager: portage-2.2.27 dev-vcs/git-tools/git-tools-2015_p20151225-r2.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-vcs/git-tools/git-tools-2015_p20151225-r2.ebuild b/dev-vcs/git-tools/git-tools-2015_p20151225-r2.ebuild index d05fd28..f601d59 100644 --- a/dev-vcs/git-tools/git-tools-2015_p20151225-r2.ebuild +++ b/dev-vcs/git-tools/git-tools-2015_p20151225-r2.ebuild @@ -13,7 +13,7 @@ SRC_URI="https://github.com/MestreLion/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar LICENSE="GPL-3+" SLOT="0" -KEYWORDS="~amd64 ~x86" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~arm-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="" DEPEND=""
[gentoo-commits] repo/gentoo:master commit in: dev-vcs/git-tools/
commit: 91443fef3e17e15386b71d64279ec0b5c78b3489 Author: Robin H. Johnson gentoo org> AuthorDate: Thu Jan 28 06:19:30 2016 + Commit: Robin H. Johnson gentoo org> CommitDate: Thu Jan 28 06:19:42 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91443fef dev-vcs/git-tools: clean old ebuilds. Package-Manager: portage-2.2.27 .../git-tools/git-tools-2015_p20151225-r1.ebuild | 44 -- dev-vcs/git-tools/git-tools-2015_p20151225.ebuild | 40 2 files changed, 84 deletions(-) diff --git a/dev-vcs/git-tools/git-tools-2015_p20151225-r1.ebuild b/dev-vcs/git-tools/git-tools-2015_p20151225-r1.ebuild deleted file mode 100644 index a1916bb..000 --- a/dev-vcs/git-tools/git-tools-2015_p20151225-r1.ebuild +++ /dev/null @@ -1,44 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{1..5} ) -inherit python-r1 - -DESCRIPTION="Assorted git-related scripts" -HOMEPAGE="https://github.com/MestreLion/git-tools/; -MY_PV="ff7a07daa6898fd0993180f64bd232aa4def6018" -SRC_URI="https://github.com/MestreLion/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="" -RDEPEND=" - >=dev-vcs/git-2.5 - >=app-shells/bash-4.0" - -MY_P=${PN}-${MY_PV} -S=${WORKDIR}/${MY_P} - -src_compile() { - :; -} - -src_install() { - SCRIPTS_BASH="git-branches-rename git-clone-subset git-find-uncommited-repos git-rebase-theirs git-strip-merge" - SCRIPTS_PYTHON="git-restore-mtime" - dobin $SCRIPTS_BASH - dobin $SCRIPTS_PYTHON - for p in $SCRIPTS_PYTHON ; do - python_replicate_script "${ED}"/usr/bin/$p - done - # Make it possible to use the tools as 'git $TOOLNAME' - for i in $SCRIPTS_BASH $SCRIPTS_PYTHON ; do - dosym /usr/bin/$i /usr/libexec/git-core/ - done - dodoc README.md -} diff --git a/dev-vcs/git-tools/git-tools-2015_p20151225.ebuild b/dev-vcs/git-tools/git-tools-2015_p20151225.ebuild deleted file mode 100644 index f611b39..000 --- a/dev-vcs/git-tools/git-tools-2015_p20151225.ebuild +++ /dev/null @@ -1,40 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -PYTHON_COMPAT=( python2_7 python3_{1..5} ) -inherit python-r1 - -DESCRIPTION="Assorted git-related scripts" -HOMEPAGE="https://github.com/MestreLion/git-tools/; -MY_PV="ff7a07daa6898fd0993180f64bd232aa4def6018" -SRC_URI="https://github.com/MestreLion/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="GPL-3+" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="" -RDEPEND=" - >=dev-vcs/git-2.5 - >=app-shells/bash-4.0" - -MY_P=${PN}-${MY_PV} -S=${WORKDIR}/${MY_P} - -src_compile() { - :; -} - -src_install() { - SCRIPTS_BASH="git-branches-rename git-clone-subset git-find-uncommited-repos git-rebase-theirs git-strip-merge" - SCRIPTS_PYTHON="git-restore-mtime" - dobin $SCRIPTS_BASH - dobin $SCRIPTS_PYTHON - for p in $SCRIPTS_PYTHON ; do - python_replicate_script "${ED}"/usr/bin/$p - done - dodoc README.md -}
[gentoo-commits] proj/hardened-patchset:master commit in: 4.3.4/
commit: 8f65a787591f7fdc93c18637c2d33210e0cd738d Author: Anthony G. Basile gentoo org> AuthorDate: Thu Jan 28 05:31:20 2016 + Commit: Anthony G. Basile gentoo org> CommitDate: Thu Jan 28 05:31:20 2016 + URL: https://gitweb.gentoo.org/proj/hardened-patchset.git/commit/?id=8f65a787 grsecurity-3.1-4.3.4-201601261954 4.3.4/_README | 2 +- ...> 4420_grsecurity-3.1-4.3.4-201601261954.patch} | 444 +++-- 4.3.4/4427_force_XATTR_PAX_tmpfs.patch | 4 +- 4.3.4/4450_grsec-kconfig-default-gids.patch| 12 +- 4.3.4/4465_selinux-avc_audit-log-curr_ip.patch | 2 +- 5 files changed, 411 insertions(+), 53 deletions(-) diff --git a/4.3.4/_README b/4.3.4/_README index f0bdee5..158f0b1 100644 --- a/4.3.4/_README +++ b/4.3.4/_README @@ -6,7 +6,7 @@ Patch: 1003_linux-4.3.4.patch From: http://www.kernel.org Desc: Linux 4.3.4 -Patch: 4420_grsecurity-3.1-4.3.4-201601231215.patch +Patch: 4420_grsecurity-3.1-4.3.4-201601261954.patch From: http://www.grsecurity.net Desc: hardened-sources base patch from upstream grsecurity diff --git a/4.3.4/4420_grsecurity-3.1-4.3.4-201601231215.patch b/4.3.4/4420_grsecurity-3.1-4.3.4-201601261954.patch similarity index 99% rename from 4.3.4/4420_grsecurity-3.1-4.3.4-201601231215.patch rename to 4.3.4/4420_grsecurity-3.1-4.3.4-201601261954.patch index db01d7f..f866bc7 100644 --- a/4.3.4/4420_grsecurity-3.1-4.3.4-201601231215.patch +++ b/4.3.4/4420_grsecurity-3.1-4.3.4-201601261954.patch @@ -12575,7 +12575,7 @@ index ad8f795..2c7eec6 100644 /* * Memory returned by kmalloc() may be used for DMA, so we must make diff --git a/arch/x86/Kconfig b/arch/x86/Kconfig -index 96d058a..b581500 100644 +index 96d058a..92a8d5b 100644 --- a/arch/x86/Kconfig +++ b/arch/x86/Kconfig @@ -36,14 +36,13 @@ config X86 @@ -12661,6 +12661,15 @@ index 96d058a..b581500 100644 config ARCH_DMA_ADDR_T_64BIT def_bool y +@@ -1448,7 +1450,7 @@ config ARCH_PROC_KCORE_TEXT + + config ILLEGAL_POINTER_VALUE +hex +- default 0 if X86_32 ++ default 0xf000 if X86_32 +default 0xdead if X86_64 + + source "mm/Kconfig" @@ -1757,6 +1759,7 @@ source kernel/Kconfig.hz config KEXEC bool "kexec system call" @@ -19780,7 +19789,7 @@ index 55234d5..7e3c4bf 100644 atomic_t perf_rdpmc_allowed;/* nonzero if rdpmc is allowed */ } mm_context_t; diff --git a/arch/x86/include/asm/mmu_context.h b/arch/x86/include/asm/mmu_context.h -index 379cd36..25f4ba2 100644 +index 379cd36..8ef26be 100644 --- a/arch/x86/include/asm/mmu_context.h +++ b/arch/x86/include/asm/mmu_context.h @@ -46,7 +46,7 @@ struct ldt_struct { @@ -19792,7 +19801,31 @@ index 379cd36..25f4ba2 100644 }; /* -@@ -98,26 +98,95 @@ static inline void load_mm_ldt(struct mm_struct *mm) +@@ -58,6 +58,23 @@ void destroy_context(struct mm_struct *mm); + static inline int init_new_context(struct task_struct *tsk, + struct mm_struct *mm) + { ++ if (tsk == current) { ++ mm->context.vdso = 0; ++ ++#ifdef CONFIG_X86_32 ++#if defined(CONFIG_PAX_PAGEEXEC) || defined(CONFIG_PAX_SEGMEXEC) ++ mm->context.user_cs_base = 0UL; ++ mm->context.user_cs_limit = ~0UL; ++ ++#if defined(CONFIG_PAX_PAGEEXEC) && defined(CONFIG_SMP) ++ cpumask_clear(>context.cpu_user_cs_mask); ++#endif ++ ++#endif ++#endif ++ ++ } ++ + return 0; + } + static inline void destroy_context(struct mm_struct *mm) {} +@@ -98,26 +115,95 @@ static inline void load_mm_ldt(struct mm_struct *mm) static inline void enter_lazy_tlb(struct mm_struct *mm, struct task_struct *tsk) { @@ -19888,7 +19921,7 @@ index 379cd36..25f4ba2 100644 trace_tlb_flush(TLB_FLUSH_ON_TASK_SWITCH, TLB_FLUSH_ALL); /* Stop flush ipis for the previous mm */ -@@ -142,9 +211,31 @@ static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, +@@ -142,9 +228,31 @@ static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, if (unlikely(prev->context.ldt != next->context.ldt)) load_mm_ldt(next); #endif @@ -19921,7 +19954,7 @@ index 379cd36..25f4ba2 100644 this_cpu_write(cpu_tlbstate.state, TLBSTATE_OK); BUG_ON(this_cpu_read(cpu_tlbstate.active_mm) != next); -@@ -161,13 +252,30 @@ static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, +@@ -161,13 +269,30 @@ static inline void switch_mm(struct mm_struct *prev, struct mm_struct *next, * tlb flush IPI delivery. We must reload CR3 * to make sure to use no freed page tables. */ @@ -52619,6 +52652,86 @@ index ed00446..943fe2c 100644 break; err = 0; break; +diff --git a/drivers/net/ppp/pptp.c
[gentoo-commits] repo/gentoo:master commit in: sys-kernel/hardened-sources/
commit: 646c2f0824eb5196bd866b16573ad8afc31b0e3e Author: Anthony G. Basile gentoo org> AuthorDate: Thu Jan 28 05:34:03 2016 + Commit: Anthony G. Basile gentoo org> CommitDate: Thu Jan 28 05:34:48 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=646c2f08 sys-kernel/hardened-sources: version bump to 4.3.4-r1 vanilla-4.3.4 + genpatches-4.3-5 + grsecurity-3.1-4.3.4-201601261954 Package-Manager: portage-2.2.26 sys-kernel/hardened-sources/Manifest| 2 +- .../{hardened-sources-4.3.4.ebuild => hardened-sources-4.3.4-r1.ebuild} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-kernel/hardened-sources/Manifest b/sys-kernel/hardened-sources/Manifest index b55e9d2..52d07f0 100644 --- a/sys-kernel/hardened-sources/Manifest +++ b/sys-kernel/hardened-sources/Manifest @@ -9,6 +9,6 @@ DIST hardened-patches-4.1.7-2.extras.tar.bz2 1419438 SHA256 c8c0fc29c39eafbcea10 DIST hardened-patches-4.3.3-5.extras.tar.bz2 1649484 SHA256 2a62a5eb4b98f4fbeb43511a0573d58226277d3112401abec37355d85e01ae23 SHA512 09b7272af44fb1e29cba857f7c3305d97f8997881f228a2f2eb56dda909ae5402a69336c6fccdf3920f8788a7922f10b0977517f5918d44702e1a9b668c708c7 WHIRLPOOL efc152c7680b84b682f9f6857b8c6b2b66b6d505f76b311a8e3289a606f46d4944d90478ff93e3656f41c367fdbcd65dcf3043842354b26b669b462ce49f3471 DIST hardened-patches-4.3.3-7.extras.tar.bz2 1664242 SHA256 81c0ec97c76de1bbfbb57ff4236782c6830c1b0e0c4f3ee06859c71c2efb1fe7 SHA512 654f6580b973b8f4a44d49c71ed1aa72ac7e5e79ebf93ab06597caa9533bfc81d979fdae4c0958f0aa404855e36fffefcb7792600b8ba0dbb252f146e2bbe227 WHIRLPOOL d4ec2c44544552a3fcf2c224c3ae336841afd9f7afd233f252c17feb675ac7e80a35b70939ed2bf2b5b37acb0fdb685cb028b521d093e41a552f8dca22cd05e0 DIST hardened-patches-4.3.3-8.extras.tar.bz2 1669500 SHA256 55abfccb978e838266de327e020d47bb8f7bcf7ff6d6a89c993f18518ab6ffaa SHA512 bccae396966a3a00eac4763312e7c4a05f3cbc68f42675819ad90e3f43337713a7ee132ba5fe6874fffa55da9b8640e2d349793904736b9f62b178bdc5474ad9 WHIRLPOOL 76eceb3d204e3ed588fd40d773aa38f4450c0a3727aad75b231ed2795548ef3ef316fc3aeb174eabd79641fa43c4c2c56d184f6dd23f47980256e468c3cc6d2b -DIST hardened-patches-4.3.4-1.extras.tar.bz2 1687374 SHA256 1d5606274d0eb3f8d04c8fd2136f586bc4c29bc35175b8844b3ab2570f672799 SHA512 449b025532a9c0785c9a8babbf15320cb3905c051baa7ca3479502738b794aa76f6973529851c9aaa7af95d5e19656fc32d933a47914f0ed61ffe26f362db3c1 WHIRLPOOL d44da37c44aa6418c0b0d18d572ff3c5a9abdaa2c419bc8481d220b9731f78277449d7f9e0324424ed83c82fa978fdb1bcc4d60ce959b2b6d75b456c29304a2c +DIST hardened-patches-4.3.4-2.extras.tar.bz2 1688847 SHA256 6ab21faa35c3de55627a0d783e7f1ada228b024032e1524617730f88f7282feb SHA512 58f9301354c7c7eff804c2c731719d2c6a9ac10352920189ebf8273d8756e6d7f07edbfab35ff5001f38245590b76ee6f717e022613b7cddeffde2f03b2c7ce8 WHIRLPOOL 8db847bba13cdf7956ff0b53378655c21885f848f4bbab36efabeaed526ae547cb08736912fe71ee15cfbe3ad157d671d493c720a5a70b9370a313702cf111e7 DIST linux-4.1.tar.xz 83017828 SHA256 caf51f085aac1e1cea4d00dbbf3093ead07b551fc07b31b2a989c05f8ea72d9f SHA512 168ef84a4e67619f9f53f3574e438542a5747f9b43443363cb83597fcdac9f40d201625c66e375a23226745eaada9176eb006ca023613cec089349e91751f3c0 WHIRLPOOL 85fcfdb67ea7f865272a85d3b4c3ec1f5a1267f4664bf073c562bb3875e9d96ad68486259d8866a9aced98c95de16840ec531d89745aec75b7315a64ebe650b8 DIST linux-4.3.tar.xz 86920812 SHA256 4a622cc84b8a3c38d39bc17195b0c064d2b46945dfde0dae18f77b120bc9f3ae SHA512 d25812043850530fdcfdb48523523ee980747f3c2c1266149330844dae2cba0d056d4ddd9c0f129f570f5d1f6df5c20385aec5f6a2e0755edc1e2f5f93e2c6bc WHIRLPOOL e3f131443acc14d4f67bbd3f4e1c57af3d822c41c85a112564d54667a591c8619dce42327fd8166d30a2d7adfaf433c2e2134d4995c91c08f65ac0cc2190f935 diff --git a/sys-kernel/hardened-sources/hardened-sources-4.3.4.ebuild b/sys-kernel/hardened-sources/hardened-sources-4.3.4-r1.ebuild similarity index 96% rename from sys-kernel/hardened-sources/hardened-sources-4.3.4.ebuild rename to sys-kernel/hardened-sources/hardened-sources-4.3.4-r1.ebuild index 6bac7ba..14ce4de 100644 --- a/sys-kernel/hardened-sources/hardened-sources-4.3.4.ebuild +++ b/sys-kernel/hardened-sources/hardened-sources-4.3.4-r1.ebuild @@ -12,7 +12,7 @@ K_DEBLOB_AVAILABLE="1" inherit kernel-2 detect_version -HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-1" +HGPV="${KV_MAJOR}.${KV_MINOR}.${KV_PATCH}-2" HGPV_URI="http://dev.gentoo.org/~blueness/hardened-sources/hardened-patches/hardened-patches-${HGPV}.extras.tar.bz2; SRC_URI="${KERNEL_URI} ${HGPV_URI} ${GENPATCHES_URI} ${ARCH_URI}"
[gentoo-commits] repo/gentoo:master commit in: app-admin/puppet/
commit: bed014ce0bd541d1e431f904751cc5dbc3a2977f Author: Matthew Thode gentoo org> AuthorDate: Thu Jan 28 06:15:17 2016 + Commit: Matt Thode gentoo org> CommitDate: Thu Jan 28 06:15:17 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bed014ce app-admin/puppet: bup Package-Manager: portage-2.2.26 app-admin/puppet/Manifest| 1 + app-admin/puppet/puppet-3.8.5.ebuild | 189 +++ 2 files changed, 190 insertions(+) diff --git a/app-admin/puppet/Manifest b/app-admin/puppet/Manifest index f0e6f45..80bbf9a 100644 --- a/app-admin/puppet/Manifest +++ b/app-admin/puppet/Manifest @@ -4,6 +4,7 @@ DIST puppet-3.8.1.tar.gz 2633982 SHA256 033d99125276c7062fa5928e3de38c5e487b4065 DIST puppet-3.8.2.tar.gz 2637591 SHA256 5a89c623f22fc96a2919801ff874b10f8f1a66e95c09976c73b257b8bbc39986 SHA512 b209a7b009e1d9510753a7484e620c3fb34a83058e8dbc2d9de2c33aca97e813fa85046d9b4de2fad9cb8fb7db257d46c221dd6eb9c0f86e1343cce6e1a9ca5a WHIRLPOOL 55bc7ece7ee918fab29e0f116f8ebc58322b42c07285a8965f2acae9dcff9c13e90cfc9c3c2537f9d21c663062015482fd48e24a1505fc7445fb6b949bc805bc DIST puppet-3.8.3.tar.gz 2638669 SHA256 bbdf5e32428fe005ea7279e9396bfcdf2c9b112763595fbfed48fb599108df7f SHA512 8f955c68556a835de738cf5f34cefd916392145853cd59108af26cb5c23b28740cdd078ac33b3171280ac691884c073c53d230641c88484561ac463bca094da6 WHIRLPOOL 2ff3181a3ea11d4b25d8499c3984f22e530e94ccc5a87e668b758a55f3c9091ca3d344afc62fb0f08b1835d5668b2f90e26ddf2560111fb52c0292b511301cd2 DIST puppet-3.8.4.tar.gz 2639537 SHA256 19e83ebbbf0933a9df6696255d7ff4d65e3daba1ed8dacf87f16a87ae40a7ad7 SHA512 bcd4251f56292529973c1694d4c1b0673e01cc6525c3fda8415e3b69b03861f0c1c168911b47c1372eeecd54c5eb2efc67ae23fd9ca0329b821b6f1b1e4e641a WHIRLPOOL 8088df2bcfa2f2ed5be8f0769c45d70d5b8496c59f84217299d0df9b143f7551c2fb3a86edc467dfdaca6574a57e7fe4a8b89e9a376e991385650f6ce4dc9f21 +DIST puppet-3.8.5.tar.gz 2640987 SHA256 ecba7c70e32c3da6682f9c4706c01cc588a5614759a864446e9fbd2449c6305c SHA512 9c17508032ab4306c0ec1d2e79e1c3548a1da6c875c61155e597642cc901d0639eb99543084a6f88c5826b5faa5af83eaf936672e80a32bf27cf45f545e7d859 WHIRLPOOL 46a227365316c913f16a3b02bc13fd3b47ace497c406a14309d480c49881665d0ca9a0d86fae8a3761d6beb159b222dfdd033e0c1cdb2aaeadd62741c232a50f DIST puppet-4.0.0.tar.gz 2498445 SHA256 c02a5cceb68d6c26228c242a312d68cf054233842e914e9d3aec32b38034e013 SHA512 c8ec0771105e83498f7558e1dfa8679d94cb2d526589041319f35cce214a4c8602ebf8541a15fa64ce542168d101042153815887fb8350bce0c4371c490f396f WHIRLPOOL af53d8b14b7110e6648873e9822de37a8bb17b7f635800d9a9fb1fff7df22000cd13604b45913bae58b7af198c80e84c001cc8b6d1643db9ead4ece42bb7 DIST puppet-4.1.0.tar.gz 2532579 SHA256 a168ac45a7b25932dfc78bd5da3efe41363e239c7361dd5c4f91615dc17bb275 SHA512 85ba32fb3a7e9f3413f201263943411fbb6b57a4aa13461954b32c1095b06d04f26288a216c5624290cf89d09183bc86bb5f57769fe2ccadc44bf57cd601f5d3 WHIRLPOOL 5288b3204a5c5b96da4eabdee19c1156e71b3a76662d8d28fc8e43988e76ca52618d423c207c1a25d5d92638c559db76ee3c8ce336286d3a5e875c1dc538f8b8 DIST puppet-4.2.1.tar.gz 2546267 SHA256 519842dfa03ff78c94e77fb28867aef12933691b9e2ce41788f80c5c2865fe7e SHA512 d4ce3f6cd0fbca4270a9121671c27985c9aaa5360a1a317afcc8f79cd81d285e1661cc77d50dda47abd8e50309762d5931545ea4d675b9fb6c32b612e570fd3d WHIRLPOOL 492294158f7f5eb78b93098c759c97ca53a09fc7b24a8350dfd76220a1d578f78375ba3bd9d618b97299931001af83cc5475c4f6ad9bbb1c3d9744fa07585bfd diff --git a/app-admin/puppet/puppet-3.8.5.ebuild b/app-admin/puppet/puppet-3.8.5.ebuild new file mode 100644 index 000..104bf83 --- /dev/null +++ b/app-admin/puppet/puppet-3.8.5.ebuild @@ -0,0 +1,189 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +USE_RUBY="ruby20 ruby21" + +RUBY_FAKEGEM_RECIPE_TEST="rspec" + +inherit elisp-common xemacs-elisp-common eutils user ruby-fakegem versionator + +DESCRIPTION="A system automation and configuration management software" +HOMEPAGE="http://puppetlabs.com/; +SRC_URI="http://downloads.puppetlabs.com/puppet/${P}.tar.gz; + +LICENSE="Apache-2.0 GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86" +IUSE="augeas diff doc emacs ldap minimal rrdtool selinux shadow sqlite vim-syntax xemacs" + +ruby_add_rdepend " + dev-ruby/hiera + >=dev-ruby/rgen-0.7.0 + >=dev-ruby/facter-1.6.2 http://forge.puppetlabs.com/gentoo/portage; + elog + + if [ \ + -f "${EPREFIX}/etc/puppet/puppetd.conf" -o \ + -f "${EPREFIX}/etc/puppet/puppetmaster.conf" -o \ + -f "${EPREFIX}/etc/puppet/puppetca.conf" \ + ] ; then + elog + elog "Please remove deprecated config files." + elog " /etc/puppet/puppetca.conf" + elog " /etc/puppet/puppetd.conf" + elog " /etc/puppet/puppetmasterd.conf" + elog + fi + + if [ "$(get_major_version
[gentoo-commits] repo/gentoo:master commit in: games-emulation/visualboyadvance/
commit: 718a0418a17a1fecc8b2e4852154252f15286c35 Author: Michael Sterrett gentoo org> AuthorDate: Thu Jan 28 06:28:31 2016 + Commit: Michael Sterrett gentoo org> CommitDate: Thu Jan 28 06:29:27 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=718a0418 games-emulation/visualboyadvance: needs joystick use flag on libsdl (bug #321855) Package-Manager: portage-2.2.26 games-emulation/visualboyadvance/visualboyadvance-1.7.2-r4.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/games-emulation/visualboyadvance/visualboyadvance-1.7.2-r4.ebuild b/games-emulation/visualboyadvance/visualboyadvance-1.7.2-r4.ebuild index a2090db..1c5d4c8 100644 --- a/games-emulation/visualboyadvance/visualboyadvance-1.7.2-r4.ebuild +++ b/games-emulation/visualboyadvance/visualboyadvance-1.7.2-r4.ebuild @@ -16,7 +16,7 @@ KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" IUSE="gtk cpu_flags_x86_mmx nls" RDEPEND="media-libs/libpng:0 - media-libs/libsdl[sound,video] + media-libs/libsdl[joystick,sound,video] sys-libs/zlib[minizip] gtk? ( >=x11-libs/gtk+-2.4:2
[gentoo-commits] proj/hardened-patchset: New tag: 20160126
commit: Commit: Anthony G. Basile gentoo org> CommitDate: Thu Jan 28 05:43:59 2016 + New tag: 20160126
[gentoo-commits] repo/gentoo:master commit in: profiles/
commit: 4183ec6f338352d2d4afb94f87c7798ec2ab25b2 Author: Michael Sterrett gentoo org> AuthorDate: Thu Jan 28 05:49:21 2016 + Commit: Michael Sterrett gentoo org> CommitDate: Thu Jan 28 05:50:06 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4183ec6f profiles: games-strategy/revenge-of-the-titans and games-simulation/qct are gone profiles/package.mask | 10 -- 1 file changed, 10 deletions(-) diff --git a/profiles/package.mask b/profiles/package.mask index 520c128..5e0586e 100644 --- a/profiles/package.mask +++ b/profiles/package.mask @@ -740,16 +740,6 @@ games-strategy/xbattle # Masked for removal on 20160129 games-simulation/fgrun -# Michael Sterrett(29 Dec 2015) -# Fetch fails since it looks like it's distributed via stream now (bug #553728) -# Masked for removal on 20160128 -games-strategy/revenge-of-the-titans - -# Michael Sterrett (29 Dec 2015) -# Lacking in fun; no upstream; crashy (bug #550890) -# Masked for removal on 20160128 -games-simulation/qct - # Justin Lecher (29 Dec 2015) # Fails to build and test runs # No reverse deps
[gentoo-commits] repo/gentoo:master commit in: games-strategy/revenge-of-the-titans/
commit: 2dedb36c53e9e059571a1561c408b274dea946fb Author: Michael Sterrett gentoo org> AuthorDate: Thu Jan 28 05:48:26 2016 + Commit: Michael Sterrett gentoo org> CommitDate: Thu Jan 28 05:50:05 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2dedb36c games-strategy/revenge-of-the-titans: games-strategy/revenge-of-the-titans is gone games-strategy/revenge-of-the-titans/Manifest | 2 - games-strategy/revenge-of-the-titans/metadata.xml | 8 --- .../revenge-of-the-titans-1.80.12.ebuild | 61 -- 3 files changed, 71 deletions(-) diff --git a/games-strategy/revenge-of-the-titans/Manifest b/games-strategy/revenge-of-the-titans/Manifest deleted file mode 100644 index c341f5c..000 --- a/games-strategy/revenge-of-the-titans/Manifest +++ /dev/null @@ -1,2 +0,0 @@ -DIST revenge-of-the-titans-1.80.12-amd64.tar.gz 60169813 SHA256 ff0c210b39fe8b6c26c42aef822bfb5e8d8646ad875a39727b543d97e516cd0e -DIST revenge-of-the-titans-1.80.12-i386.tar.gz 60125162 SHA256 c0c8a29bf874285e89811d38d20a163732823373570bf4d7450ac11cd4244c53 diff --git a/games-strategy/revenge-of-the-titans/metadata.xml b/games-strategy/revenge-of-the-titans/metadata.xml deleted file mode 100644 index 78274e0..000 --- a/games-strategy/revenge-of-the-titans/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - -http://www.gentoo.org/dtd/metadata.dtd;> - - - ga...@gentoo.org - Gentoo Games Project - - diff --git a/games-strategy/revenge-of-the-titans/revenge-of-the-titans-1.80.12.ebuild b/games-strategy/revenge-of-the-titans/revenge-of-the-titans-1.80.12.ebuild deleted file mode 100644 index ff1d086..000 --- a/games-strategy/revenge-of-the-titans/revenge-of-the-titans-1.80.12.ebuild +++ /dev/null @@ -1,61 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -inherit eutils games java-pkg-2 - -DESCRIPTION="defeat the returning Titan horde in a series of epic ground battles" -HOMEPAGE="http://www.puppygames.net/revenge-of-the-titans/; -SRC_URI="amd64? ( http://downloads.puppygames.net/RevengeOfTheTitans-amd64.tar.gz -> ${P}-amd64.tar.gz ) - x86? ( http://downloads.puppygames.net/RevengeOfTheTitans-i386.tar.gz -> ${P}-i386.tar.gz )" - -LICENSE="all-rights-reserved" -SLOT="0" -KEYWORDS="-* ~amd64 ~x86" -IUSE="" - -RDEPEND=">=virtual/jre-1.6 - virtual/opengl" -DEPEND="" - -RESTRICT="fetch mirror bindist strip" - -S=${WORKDIR}/${PN//-} - -pkg_nofetch() { - default - - einfo - einfo "Buy the game from ${HOMEPAGE} to obtain these files." -} - -pkg_setup() { - java-pkg-2_pkg_setup - games_pkg_setup -} - -# nothing to do ... stubs for eclasses -src_configure() { :; } -src_compile() { :; } - -src_install() { - local dir="${GAMES_PREFIX_OPT}/${PN}" - - insinto "${dir}" - doins *.jar - - exeinto "${dir}" - doexe *.so revenge.sh - - games_make_wrapper ${PN} ./revenge.sh "${dir}" "${dir}" - doicon revenge.png - make_desktop_entry ${PN} "Revenge of the Titans" revenge - - prepgamesdirs -} - -pkg_preinst() { - java-pkg-2_pkg_preinst - games_pkg_preinst -}
[gentoo-commits] repo/gentoo:master commit in: games-simulation/qct/files/, games-simulation/qct/
commit: 6522475f9fd95622eaafe9f24a8f4273a0d2dd1e Author: Michael Sterrett gentoo org> AuthorDate: Thu Jan 28 05:45:38 2016 + Commit: Michael Sterrett gentoo org> CommitDate: Thu Jan 28 05:50:04 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6522475f games-simulation/qct: games-simulation/qct is gone games-simulation/qct/Manifest | 1 - games-simulation/qct/files/qct-0.7-constant.patch | 21 -- games-simulation/qct/metadata.xml | 8 games-simulation/qct/qct-0.7-r1.ebuild| 49 --- 4 files changed, 79 deletions(-) diff --git a/games-simulation/qct/Manifest b/games-simulation/qct/Manifest deleted file mode 100644 index a16b1be..000 --- a/games-simulation/qct/Manifest +++ /dev/null @@ -1 +0,0 @@ -DIST qct-0.7.tar.gz 98126 SHA256 d24d72c594e0af188876622aa2f9ce46e5e288bb66826aedb3ee3244fe8dd87b SHA512 89784607be3420f62ee1c94610f0df1e2ef57e237aa24ca2bf6583c17470ded91e8b5eff4171d93471a35c99951a98721eba2e9facb0757461c4343fbffe8bac WHIRLPOOL 21f27e3590edecbcdeb40a3dcc0c72a2cfc7413d0f27f508387590429b3920344f5fc581b6cecc671fa4e4382ff231cf4e13a29da754a986685216d782d07faa diff --git a/games-simulation/qct/files/qct-0.7-constant.patch b/games-simulation/qct/files/qct-0.7-constant.patch deleted file mode 100644 index 43a01ea..000 --- a/games-simulation/qct/files/qct-0.7-constant.patch +++ /dev/null @@ -1,21 +0,0 @@ -Fix traceback from using wrong name. - -Patch by Peter `MathFox' Roozemaal. - -http://bugs.gentoo.org/97762 -http://sourceforge.net/tracker/index.php?func=detail=801329_id=74836=542163 - qct/specializations.py -+++ qct/specializations.py -@@ -131,9 +131,9 @@ - mods = self.getModsFor('incomeMod', employer) - if resident: - if resident.job == trainer: --return prospect.level * INCOMEMULT * mods -+return prospect.level * constants.INCOMEMULT * mods - else: --return prospect.level * INCOMEMULT / 2 * mods -+return prospect.level * constants.INCOMEMULT / 2 * mods - else: - return 0 - diff --git a/games-simulation/qct/metadata.xml b/games-simulation/qct/metadata.xml deleted file mode 100644 index 78274e0..000 --- a/games-simulation/qct/metadata.xml +++ /dev/null @@ -1,8 +0,0 @@ - -http://www.gentoo.org/dtd/metadata.dtd;> - - - ga...@gentoo.org - Gentoo Games Project - - diff --git a/games-simulation/qct/qct-0.7-r1.ebuild b/games-simulation/qct/qct-0.7-r1.ebuild deleted file mode 100644 index 0875470..000 --- a/games-simulation/qct/qct-0.7-r1.ebuild +++ /dev/null @@ -1,49 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -PYTHON_COMPAT=( python2_7 ) -inherit eutils python-single-r1 games - -DESCRIPTION="Quiet Console Town puts you in the place of the mayor of a budding new console RPG city" -HOMEPAGE="https://packages.gentoo.org/package/games-simulation/qct; -SRC_URI="http://www.sourcefiles.org/Games/Role_Play/${P}.tar.gz; - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="" - -DEPEND=">=dev-python/pygame-1.5.5[${PYTHON_USEDEP}]" -RDEPEND=${RDEPEND} -REQUIRED_USE=${PYTHON_REQUIRED_USE} - -S=${WORKDIR}/${PN} - -src_prepare() { - epatch "${FILESDIR}"/${P}-constant.patch - python_fix_shebang . -} - -src_install() { - # Ug. Someone fix this to install in $(games_get_libdir)/${PN} instead - local destdir="${GAMES_DATADIR}/${PN}" - insinto "${destdir}" - exeinto "${destdir}" - - dodoc README - doins *.py *.png - doexe qct.py - - python_optimize "${D}${GAMES_DATADIR}/${PN}" - - games_make_wrapper qct "./qct.py" "${destdir}" - - prepgamesdirs -} - -pkg_setup() { - python-single-r1_pkg_setup - games_pkg_setup -}
[gentoo-commits] repo/gentoo:master commit in: dev-libs/zziplib/
commit: 9fec429d01e4c90f43f0d21347b39044f3c9ebad Author: Michael Sterrett gentoo org> AuthorDate: Wed Jan 27 20:11:17 2016 + Commit: Michael Sterrett gentoo org> CommitDate: Thu Jan 28 05:50:04 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9fec429d dev-libs/zziplib: add REQUIRED_USE (bug #572940) Package-Manager: portage-2.2.26 dev-libs/zziplib/zziplib-0.13.62-r1.ebuild | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dev-libs/zziplib/zziplib-0.13.62-r1.ebuild b/dev-libs/zziplib/zziplib-0.13.62-r1.ebuild index 2919e84..b9708d8 100644 --- a/dev-libs/zziplib/zziplib-0.13.62-r1.ebuild +++ b/dev-libs/zziplib/zziplib-0.13.62-r1.ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2013 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -14,6 +14,7 @@ LICENSE="|| ( LGPL-2.1 MPL-1.1 )" SLOT="0" KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" IUSE="doc sdl static-libs test" +REQUIRED_USE="${PYTHON_REQUIRED_USE}" RDEPEND="sys-libs/zlib sdl? ( >=media-libs/libsdl-1.2.6 )"
[gentoo-commits] repo/gentoo:master commit in: sys-fs/zfs/
commit: 1f024c42ad5c7cc283751df2c48a938634cbf0f9 Author: Richard Yao gentoo org> AuthorDate: Thu Jan 28 06:14:33 2016 + Commit: Richard Yao gentoo org> CommitDate: Thu Jan 28 06:17:37 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f024c42 sys-fs/zfs-{0.6.5.3-r5,0.6.5.4-r2}: Regression fix The fix for the `zfs send -R` / `zfs send -p` regression in 0.6.5.3-r4 and 0.6.5.4-r1 caused a regression where the internal get_numeric function failed to retrieve the case, version, utf8only and normalization properties. This broke printing in `zfs get case,version,utf8only,normalization`, hid them in `zfs get all` and broke mount.zfs on legacy mountpoints because it would try to lookup the version. Package-Manager: portage-2.2.24 Signed-off-by: Richard Yao gentoo.org> sys-fs/zfs/Manifest | 2 + sys-fs/zfs/zfs-0.6.5.3-r5.ebuild | 230 +++ sys-fs/zfs/zfs-0.6.5.4-r2.ebuild | 230 +++ 3 files changed, 462 insertions(+) diff --git a/sys-fs/zfs/Manifest b/sys-fs/zfs/Manifest index aa89cf2..c436c04 100644 --- a/sys-fs/zfs/Manifest +++ b/sys-fs/zfs/Manifest @@ -9,7 +9,9 @@ DIST zfs-0.6.5.2.tar.gz 1817267 SHA256 aecd2bc5189f2a71a45eb30146bed231af4f3 DIST zfs-0.6.5.3-patches-p0.tar.xz 63780 SHA256 cc6d2881304738619b9d00bc55fbd358119b35cbb345cae2ecf538051f1b7fe7 SHA512 4a531fd10d1d4d9c9cabaad9c13d8112eab3641249a7ce44599288bc4510b444d132833fae2fdf922eff43670ce77d32972c7b5b4a7d70f80c3365a0dcc89b70 WHIRLPOOL adc20e7917a518c790007499763210a4d27a164abe00a86f76d64f56f0fafc459f5d5c483019acacc136e41c57894e669fd58956b3f0ac0bcafeb1e02fec7988 DIST zfs-0.6.5.3-patches-p2.tar.xz 85996 SHA256 0e38b1bd7e2eb96c74b3eaab49c14f1f65fa02dc42b62b6015200185bfc911c7 SHA512 0a8fb131cc9a5a239a7434593000259a581b20ee7c6fef87ec2ea78281b7887151e219ebe66603b9dafaa4fa22cbf8c55175e1f6b36af4502c147c478f0b3e38 WHIRLPOOL 726bf1c05605943a205e2e70099c6cf8c7ba8cc9bbf34d45a2d56cea87c1e23166700979e47c82dd91bd1778e297dd211a0e6f48e0eab2392471218bcb5853ce DIST zfs-0.6.5.3-patches-p3.tar.xz 88736 SHA256 031cd97765f890d9b78e1a5746cbd2a3ce06c7208693ec75c0b47324ac67b97a SHA512 8f17cc6e02a35828a57a7c2a437d9d18a41203b6e3f9e154b2ab863296b64596dc827afeeb0f993e37f47881d0f2ed4834f270d0ba843ab84b21c491cc352576 WHIRLPOOL 20f69c0a936bb612d5e3b551d4bf904aca3aff6d885d72f67f3b14cd720094ec13e383032ee4e322b0e81017d8ffcfafb47bf07f273badef34f7210d687ddacc +DIST zfs-0.6.5.3-patches-p4.tar.xz 89140 SHA256 34114671614aec3b33b17e6fc66a31549b3dd3e1d21ccd68d6987a1e1641f86b SHA512 3f8a4490e654a2d13bf4d31ee688276243244d4e0ab7c7911d597730bbbf6c9d7dea8e075409de4c22e871928cd647ce3064a671a1259f3adaf2b27bcc5370b8 WHIRLPOOL a63c0a2eff6c29c9600e4aaafa7120a0c1bd9bdf9b2f1e52d5a85df2c02e5e924ed74a406919cff9353a77c697dcf4248749ad6a7137f17dc427c7f0d63ea99a DIST zfs-0.6.5.3.tar.gz 2524218 SHA256 49e6f9760ea172cb756f7357e4bcb90ee0293028540a68d62ed087724276131f SHA512 325cb91b7ddbcd6aa0bb9fc41eb0099dbb047a4e32d096fd414799729ef68cbc9c2e15714092eff8044a681af4ab552bd9ac1949cc673c6c5c3de1a23d9895ec WHIRLPOOL 957c3a75bb11befd4b74583883f2f11f717deb6bda368939b342049e809aa191a9ee8d1e709eaddc2a831418c7fdb5e763f918ff56d45f03baf4569ef8a4a070 DIST zfs-0.6.5.4-patches-p1.tar.xz 64004 SHA256 83877d9b7c629730838325fd5b16bcb54259520e200f0539de9b8edfdcee9403 SHA512 9203356b43bdad2ed78c946af8c95c9fc4d2996b41a09a3b1f5a8657d2742ac69d10b4a87d443db497d591878cf7a70ebb19762b0df135ee25f4e8d2ed6ad71f WHIRLPOOL ff5788356d6a85608d22ea2c010a799464922614204c7eea06b57930a44ee876e596a053a773205de0543d36c04337d60c32594939e8e64d3022906c51c4d4e6 +DIST zfs-0.6.5.4-patches-p2.tar.xz 63912 SHA256 bbcfe43ee4a46deed86543d23abd31bbc662408f56ef8f7c9500dc25fecd49c4 SHA512 9f598c2a750b92dadddb677a6a9dda4573fa91421a82270d8104d718da4b945a4d5412bab92037a033cec1ec177f2a0eb52207babd023847918e3754054ec5e9 WHIRLPOOL bab1330c7489dd172c522300698f6a2d670a2f6ddcf8cd2566d1daffe8b41a3667755ad1ab377d07716af66449f7332974bcd7df4647bb028b5f5279c59c428c DIST zfs-0.6.5.4.tar.gz 2506470 SHA256 780862ec2301ccace412a324787e9df762cff6046e73e2ac0ebdce9e2bd59b0f SHA512 90c87cd95fd06cf34755358e7cc4053d19f351316133f0b808e7585a3fc8f82e7c0f49072c2995d0520de5104fd04d91a166a0d5b6c923c82dfb2fb4f7f57a01 WHIRLPOOL eacd2ec09afdbc3f6d946583116296fadcd7d0dea5158c89f82f6d0b02e0cbf075712015bfa5f321ae5815cf86af13b39ce93e5026e6a00da58d9ddb04d12320 DIST zfs-kmod-0.6.2-p4.tar.xz 63984 SHA256 9167edc4be86e3fcda6b3c198e51f92ab0c95ac5baca11666c28029a628cdac9 SHA512 13e4ec415c35d2f268d89565745f5898c0943423577a2ba6714b3a069c5a80f244cd06dff91464f38dd4ed60673d1145ead080bb03a56d4be33e328f948ffa64 WHIRLPOOL 8c399ec67119ed4fbebb5599d00f888918678bc4e4ea369b4bdc5c75bfc90fc76396087624c8011de370a54ff103bccaa8922d05ac7ccebb2b3481bbbcf44b19 diff --git a/sys-fs/zfs/zfs-0.6.5.3-r5.ebuild b/sys-fs/zfs/zfs-0.6.5.3-r5.ebuild new file mode 100644 index 000..812f639 --- /dev/null +++ b/sys-fs/zfs/zfs-0.6.5.3-r5.ebuild @@ -0,0
[gentoo-commits] repo/gentoo:master commit in: dev-dotnet/libgdiplus/
commit: 311ffe1a3321b5b0f597f2ad124a9874ef16707b Author: Louis Sautier gmail com> AuthorDate: Wed Jan 27 22:26:40 2016 + Commit: Ian Delaney gentoo org> CommitDate: Wed Jan 27 22:26:40 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=311ffe1a dev-dotnet/libgdiplus: fix incorrect logic with USE=cairo as mentioned here: https://bugs.gentoo.org/show_bug.cgi?id=432224#c20 Package-Manager: portage-2.2.27 .../libgdiplus/{libgdiplus-4.2.ebuild => libgdiplus-4.2-r1.ebuild} | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-dotnet/libgdiplus/libgdiplus-4.2.ebuild b/dev-dotnet/libgdiplus/libgdiplus-4.2-r1.ebuild similarity index 97% rename from dev-dotnet/libgdiplus/libgdiplus-4.2.ebuild rename to dev-dotnet/libgdiplus/libgdiplus-4.2-r1.ebuild index 993de32..2265860 100644 --- a/dev-dotnet/libgdiplus/libgdiplus-4.2.ebuild +++ b/dev-dotnet/libgdiplus/libgdiplus-4.2-r1.ebuild @@ -35,7 +35,7 @@ src_configure() { econf \ --disable-dependency-tracking \ --disable-static \ - $(use_with cairo pango) + $(usex cairo "" "--with-pango") } src_install () {
[gentoo-commits] repo/gentoo:master commit in: net-fs/samba/
commit: 342d66f9a56b13bc363b96e48b795fd9fc618dc9 Author: Ian Stakenvicius gentoo org> AuthorDate: Wed Jan 27 22:22:43 2016 + Commit: Ian Stakenvicius gentoo org> CommitDate: Wed Jan 27 23:04:59 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=342d66f9 net-fs/samba: bundle ctdb Samba is the only consumer of dev-db/ctdb, and samba-4.2 and above has dropped support for building against an external ctdb. This commit builds and installs ctdb bundled within samba instead, and soft-blocks the external package to avoid collisions. Bug: https://bugs.gentoo.org/show_bug.cgi?id=561402 Package-Manager: portage-2.2.26 .../{samba-4.2.7-r1.ebuild => samba-4.2.7-r2.ebuild}| 15 +-- net-fs/samba/samba-4.3.3-r1.ebuild | 16 ++-- .../samba/{samba-4.3.4.ebuild => samba-4.3.4-r1.ebuild} | 17 ++--- 3 files changed, 41 insertions(+), 7 deletions(-) diff --git a/net-fs/samba/samba-4.2.7-r1.ebuild b/net-fs/samba/samba-4.2.7-r2.ebuild similarity index 94% rename from net-fs/samba/samba-4.2.7-r1.ebuild rename to net-fs/samba/samba-4.2.7-r2.ebuild index 4530acc..8ea6722 100644 --- a/net-fs/samba/samba-4.2.7-r1.ebuild +++ b/net-fs/samba/samba-4.2.7-r2.ebuild @@ -31,6 +31,12 @@ ldap pam quota selinux syslog +system-mitkrb5 systemd test winbind" MULTILIB_WRAPPED_HEADERS=( /usr/include/samba-4.0/policy.h /usr/include/samba-4.0/dcerpc_server.h + /usr/include/samba-4.0/ctdb.h + /usr/include/samba-4.0/ctdb_client.h + /usr/include/samba-4.0/ctdb_protocol.h + /usr/include/samba-4.0/ctdb_private.h + /usr/include/samba-4.0/ctdb_typesafe_cb.h + /usr/include/samba-4.0/ctdb_version.h ) # sys-apps/attr is an automagic dependency (see bug #489748) @@ -58,7 +64,7 @@ CDEPEND="${PYTHON_DEPS} acl? ( virtual/acl ) addns? ( net-dns/bind-tools[gssapi] ) aio? ( dev-libs/libaio ) - cluster? ( >=dev-db/ctdb-1.0.114_p1 ) + cluster? ( !dev-db/ctdb ) cups? ( net-print/cups ) dmapi? ( sys-apps/dmapi ) fam? ( virtual/fam ) @@ -90,6 +96,8 @@ CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)" WAF_BINARY="${S}/buildtools/bin/waf" +SHAREDMODS="" + pkg_setup() { python-single-r1_pkg_setup if use aio ; then @@ -104,6 +112,9 @@ pkg_setup() { ewarn "and recompile your kernel..." fi fi + if use cluster ; then + SHAREDMODS="${SHAREDMODS}idmap_rid,idmap_tdb2,idmap_ad" + fi } src_prepare() { @@ -142,7 +153,6 @@ multilib_src_configure() { $(use_with ads) $(usex ads '--with-shared-modules=idmap_ad' '') $(use_with aio aio-support) - $(usex cluster '--with-ctdb-dir=/usr' '') $(use_enable avahi) $(use_with cluster cluster-support) $(use_enable cups) @@ -160,6 +170,7 @@ multilib_src_configure() { $(usex system-mitkrb5 '--with-system-mitkrb5' '') $(use_with winbind) $(usex test '--enable-selftest' '') + --with-shared-modules=${SHAREDMODS} ) else myconf+=( diff --git a/net-fs/samba/samba-4.3.3-r1.ebuild b/net-fs/samba/samba-4.3.3-r1.ebuild index bb4da0b..17a8911 100644 --- a/net-fs/samba/samba-4.3.3-r1.ebuild +++ b/net-fs/samba/samba-4.3.3-r1.ebuild @@ -30,6 +30,13 @@ ldap pam quota selinux syslog +system-mitkrb5 systemd test winbind" MULTILIB_WRAPPED_HEADERS=( /usr/include/samba-4.0/policy.h + /usr/include/samba-4.0/dcerpc_server.h + /usr/include/samba-4.0/ctdb.h + /usr/include/samba-4.0/ctdb_client.h + /usr/include/samba-4.0/ctdb_protocol.h + /usr/include/samba-4.0/ctdb_private.h + /usr/include/samba-4.0/ctdb_typesafe_cb.h + /usr/include/samba-4.0/ctdb_version.h ) # sys-apps/attr is an automagic dependency (see bug #489748) @@ -56,7 +63,7 @@ CDEPEND="${PYTHON_DEPS} acl? ( virtual/acl ) addns? ( net-dns/bind-tools[gssapi] ) aio? ( dev-libs/libaio ) - cluster? ( >=dev-db/ctdb-1.0.114_p1 ) + cluster? ( !dev-db/ctdb ) cups? ( net-print/cups ) dmapi? ( sys-apps/dmapi ) fam? ( virtual/fam ) @@ -88,6 +95,8 @@ CONFDIR="${FILESDIR}/$(get_version_component_range 1-2)" WAF_BINARY="${S}/buildtools/bin/waf" +SHAREDMODS="" + pkg_setup() { python-single-r1_pkg_setup if use aio ; then @@ -102,6 +111,9 @@ pkg_setup() { ewarn "and recompile your kernel..." fi fi + if use cluster ; then + SHAREDMODS="${SHAREDMODS}idmap_rid,idmap_tdb2,idmap_ad" + fi } src_prepare() { @@ -140,7 +152,6 @@ multilib_src_configure() { $(use_with ads)
[gentoo-commits] repo/gentoo:master commit in: app-arch/lziprecover/
commit: da1f460be99eb944e79319cf9054b08a0d3234b0 Author: Lars Wendler gentoo org> AuthorDate: Wed Jan 27 15:38:11 2016 + Commit: Lars Wendler gentoo org> CommitDate: Wed Jan 27 15:38:36 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=da1f460b app-arch/lziprecover: Bump to version 1.18_pre3. Removed old. Package-Manager: portage-2.2.27 Signed-off-by: Lars Wendler gentoo.org> app-arch/lziprecover/Manifest | 2 +- .../{lziprecover-1.18_pre1.ebuild => lziprecover-1.18_pre3.ebuild}| 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app-arch/lziprecover/Manifest b/app-arch/lziprecover/Manifest index 744107e..fac8778 100644 --- a/app-arch/lziprecover/Manifest +++ b/app-arch/lziprecover/Manifest @@ -1,3 +1,3 @@ DIST lziprecover-1.16.tar.gz 71746 SHA256 fe01f89f439aa13cf8e169a92ac591262d24b9df61942cbecaa89180c3004882 SHA512 0c647214ae57883baa4fed2cad32d003d6601178cbb8cbf0a8de604eb91fda5f5b9dda840532381ca46b236a2a168ed65f621d65c1382b60df9e3e4b68880e2f WHIRLPOOL 0c0bec65f45d5fed23c592ab9de1e221c46ab16701c85cb401e852c344ab36bb21d4d906827b78df4741aec9c87db51d06d49f675bfef90174b7672915bca021 DIST lziprecover-1.17.tar.gz 75941 SHA256 a539b86d282a4bb154e01b04c3e09eaf7540b2c2be72d6b2110900c076bf3dbd SHA512 409a3634ef15238f8c87e6e69ecf0cf83c48274cff6c54a901a4f80bdc3d475b6bf03215cfee762ac64ca41b3e8a805ab620ceaaa1bec7fc22ffafad049b5f0f WHIRLPOOL 1b97ac140cdc190fdb3ceec5337576c775166bf4a30fbd8f956208095898411bd9ee7cbd99bd4e44aae11d67e9a6ad52ba60967d87c9eb057830950ede23aefa -DIST lziprecover-1.18-pre1.tar.gz 77354 SHA256 fa9399824123cff0280d16f1e996e2cb9a9662f90c817e72203cac05a8ccd35e SHA512 6e26200edb1c89d4698c335352480dcc58b960667e438f417b1407b6477c9df4c247f79133c8257909ee4911a74fbf51b3f70a12085a8a43716a7d146f533654 WHIRLPOOL 42faf01f28e93bf09890bf0018e03391d21201863e735005f62d238593c41ece278f4387c19f1494ddcab55764b21aaa34aca526684ae8a072e55a91618e8ac6 +DIST lziprecover-1.18-pre3.tar.gz 81774 SHA256 5cd68131cb06578fdb19e17bfca54c0743e128e8c3ee5b83acc2b084726695f9 SHA512 4d354de869f15909ffc9ec168e0615ecda2ad3c5c402ed042332387c65e6170fd9d0bbc2c5f079908c34cfdcf54c8afdb8d0404a652280961e3ae56c2c03cda1 WHIRLPOOL a29fc32f397866a4ba06fbf61b58bd07e40d47c15d3e62b073bde2418d41e77826c71d0f9f9e9b56002242d91db20aa5df0302512d26819a9b876457cb9dbbf8 diff --git a/app-arch/lziprecover/lziprecover-1.18_pre1.ebuild b/app-arch/lziprecover/lziprecover-1.18_pre3.ebuild similarity index 93% rename from app-arch/lziprecover/lziprecover-1.18_pre1.ebuild rename to app-arch/lziprecover/lziprecover-1.18_pre3.ebuild index f7dc481..518d389 100644 --- a/app-arch/lziprecover/lziprecover-1.18_pre1.ebuild +++ b/app-arch/lziprecover/lziprecover-1.18_pre3.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ -EAPI=5 +EAPI=6 inherit toolchain-funcs
[gentoo-commits] repo/gentoo:master commit in: media-libs/ming/
commit: 5a02e64e77d4ed9fa1ade8f8bacb8ec7588c4429 Author: Michał Górny gentoo org> AuthorDate: Wed Jan 27 16:40:03 2016 + Commit: Michał Górny gentoo org> CommitDate: Wed Jan 27 16:46:05 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5a02e64e media-libs/ming: Bump to 0.4.7 Fixes giflib-5 support, #450610. Fixes linking to -lgif when building Python module. Ebuild bumped to EAPI=6, dropped autotools-utils. Upstream switched to snapshots, so added necessary eautoreconf and parallel make issue workaround. media-libs/ming/Manifest | 1 + media-libs/ming/ming-0.4.7.ebuild | 95 +++ 2 files changed, 96 insertions(+) diff --git a/media-libs/ming/Manifest b/media-libs/ming/Manifest index 68fd006..3331217 100644 --- a/media-libs/ming/Manifest +++ b/media-libs/ming/Manifest @@ -1,2 +1,3 @@ DIST ming-0.4.4.tar.bz2 14001112 SHA256 40e09d781741ac961338ed8dec7ba2ed06217de9da44dd67af6b881b95d2af7e SHA512 a95cb843b4f88c767d489fc0d55793655fb578c47681131d335c47fbb7368f996ccc2092630cfc33de4487f840b4a4ba8db837bd7115ef9e4742ca9c7e2b7888 WHIRLPOOL b1a6d591f4d9312f564e9a9650df4db8f456d08161341dc7881620493513a69d17de7ee0058333447fb3b01c9be4b75da7b8cfc02123e3f6c2fe3f6b0aa068fd DIST ming-0.4.5.tar.bz2 14234048 SHA256 82da089bdfc3a7fcb732dc11c11a35003ee270d5102d4043d61ea69834239aeb SHA512 9e5a2fb558841e72a072e2c29a0871dc7056ab57f1e6feca864b9b0961841334c4d2c6bc731bc4e043eb96b63fb946738cb1b8b54ef45679fcbf9bcf82adea31 WHIRLPOOL 2315adb1ed2b8878843ce5eef54f7c4386a69c809820aa4d2040fe4d94c0fa367cc57966a78e327f6a578c99b3ed4b1fa5d352106df9283f3b2d7f87a1178203 +DIST ming-0_4_7.tar.gz 14903570 SHA256 118aa1338dd74b34dd2cd22bce286ca0571e8b9aa433999646d1c0157ea9a7dc SHA512 232cf45daabd7b60203c9382aa6568455a42ddcd1bd60eec9bfe3f5e80376fcc9ff6304efbafca1ac8a504e2e167bc394e4902e0d067303d9582551461e09d3c WHIRLPOOL 075794f170e7f529ba79a66af4504745da786d7cd73e9673ffd4c48e943fbc8bf1f952f1cc0b0b7b0ca1e26a3bdb255feeaaeb675032616d2060c40f19d4dbdd diff --git a/media-libs/ming/ming-0.4.7.ebuild b/media-libs/ming/ming-0.4.7.ebuild new file mode 100644 index 000..dbfad76 --- /dev/null +++ b/media-libs/ming/ming-0.4.7.ebuild @@ -0,0 +1,95 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +PYTHON_COMPAT=( python2_7 ) +PHP_EXT_NAME=ming +PHP_EXT_OPTIONAL_USE=php +AUTOTOOLS_AUTORECONF=yes +GENTOO_DEPEND_ON_PERL=no +inherit autotools distutils-r1 flag-o-matic multilib perl-module vcs-snapshot + +DESCRIPTION="An Open Source library for Flash movie generation" +HOMEPAGE="http://ming.sourceforge.net/; +SRC_URI="https://github.com/libming/libming/archive/${P//./_}.tar.gz; + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd" +IUSE="+perl php +python static-libs" + +RDEPEND="perl? ( dev-lang/perl:= ) + python? ( ${PYTHON_DEPS} ) + media-libs/freetype:= + media-libs/libpng:0= + media-libs/giflib:= + sys-libs/zlib:= + !media-libs/libswf" +DEPEND="${RDEPEND} + sys-devel/flex + virtual/yacc" +PDEPEND="php? ( dev-php/ming-php )" + +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" +S=${WORKDIR}/${P//./_} + +# Tests only work when the package is tested on a system +# which does not presently have any version of ming installed. +RESTRICT="test" + +src_prepare() { + default + + # Let's get rid of the TEXTRELS, link dynamic. Use gif. + sed -i \ + -e 's/libming.a/libming.so/' \ + -e 's/lungif/lgif/' \ + perl_ext/Makefile.PL + + sed -i -e 's:AM_CONFIG_HEADER:AC_CONFIG_HEADERS:' configure.in || die + + eautoreconf +} + +src_configure() { + # build is sensitive to -O3 (bug #297437) + replace-flags -O3 -O2 + + # build python via distutils calls, disable here + # php is done in dev-php/ming-php + local myconf=( + --disable-python + --disable-php + $(use_enable static-libs static) + $(use_enable perl) + ) + econf "${myconf[@]}" +} + +run_distutils() { + if use python; then + pushd py_ext > /dev/null || die + distutils-r1_"${@}" + popd > /dev/null || die + fi +} + +src_compile() { + # some parallel make issues on flex/bison + emake -C src/actioncompiler -j1 + emake + + run_distutils ${FUNCNAME} +} + +src_install() { + run_distutils ${FUNCNAME} + + emake DESTDIR="${D}" INSTALLDIRS="vendor" install + einstalldocs + + perl_delete_localpod + find "${ED}"usr/lib* -name '*.la' -delete +}
[gentoo-commits] repo/gentoo:master commit in: media-libs/ming/
commit: bb212209c43b4d74f6905030b676d6eb3aba405a Author: Michał Górny gentoo org> AuthorDate: Wed Jan 27 15:00:29 2016 + Commit: Michał Górny gentoo org> CommitDate: Wed Jan 27 16:46:05 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bb212209 media-libs/ming: Add missing use of PYTHON_REQUIRED_USE media-libs/ming/ming-0.4.5.ebuild | 2 ++ 1 file changed, 2 insertions(+) diff --git a/media-libs/ming/ming-0.4.5.ebuild b/media-libs/ming/ming-0.4.5.ebuild index 2990a1d..1d66291 100644 --- a/media-libs/ming/ming-0.4.5.ebuild +++ b/media-libs/ming/ming-0.4.5.ebuild @@ -32,6 +32,8 @@ DEPEND="${RDEPEND} virtual/yacc" PDEPEND="php? ( dev-php/ming-php )" +REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" + S=${WORKDIR}/${P/_/.} PATCHES=( "${FILESDIR}"/${P}-gif-error.patch )
[gentoo-commits] repo/gentoo:master commit in: net-libs/loudmouth/
commit: 9bc6db22aeffcf3ea99679fdc4ed05c4c85fa6d8 Author: Wolfram Schlich gentoo org> AuthorDate: Thu Jan 28 06:47:49 2016 + Commit: Wolfram Schlich gentoo org> CommitDate: Thu Jan 28 06:48:02 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9bc6db22 net-libs/loudmouth: added dependency on dev-util/gtk-doc (fixes bug #572990); removed short-lived version 1.5.1. Package-Manager: portage-2.2.27 net-libs/loudmouth/Manifest| 1 - net-libs/loudmouth/loudmouth-1.5.1.ebuild | 56 -- ...outh-1.5.2.ebuild => loudmouth-1.5.2-r1.ebuild} | 1 + 3 files changed, 1 insertion(+), 57 deletions(-) diff --git a/net-libs/loudmouth/Manifest b/net-libs/loudmouth/Manifest index 51b46d2..f988948 100644 --- a/net-libs/loudmouth/Manifest +++ b/net-libs/loudmouth/Manifest @@ -1,3 +1,2 @@ DIST loudmouth-1.4.3.tar.bz2 366818 SHA256 95a93f5d009b71ea8193d994aa11f311bc330a3efe1b7cd74dc48f11c7f929e3 SHA512 02d1de14a4d626a4c9100bd24c06d4b4203eabb0f95bab40ee18ea5e68ed81d47aa977625140157b2d9f7974ac748af857c2ee3a916f0db700e2a2d0934940ec WHIRLPOOL 4f9e3e8e4f2fd0a36996e84deebeb26c789d5334af11a3d6cc6c742b59508945a6279715f6fbb02bbbc04a0d9709e7aae4cc39803b2a60acfd47d76f0482f969 -DIST loudmouth-1.5.1.tar.gz 115811 SHA256 9b0219233004da2f159175ef189363851b3df607e3777c422da1f5545daa17b3 SHA512 d90096a2d10819b620f366a4d6998b281692ef65e0c27f2f59031e3f7495f278ec73a8d18ff38a7234f179b4f7f6adafa532a820023fd615dcf18c2ecd0d8982 WHIRLPOOL 4c3649c9d87088d68b01f0284d1fcd3abedf31dda6c8d9527785b79802ce2c7ac2a9fe4e0d0fe7a09926e4e9f6b06661ab857f272a3db5186125b20a9ba979f0 DIST loudmouth-1.5.2.tar.gz 115940 SHA256 c3dd7b5690a7b6ee4768d71d2bdee4615cfb73b6eeaa342d6a931a5160e47421 SHA512 54c3eb7ef99604d7e2d5560dc6e5be176a188e6a0d82ae6c2f488e30f06553039aa03d6f818cec25f354479a2624f60f2233d7e63b54f331e934d554de9bfc87 WHIRLPOOL 99fd7fa00f08976242313c2bc11e9edfbe1aeea9918090347a1975d5ece438892afbf3b5c16ffe79b1c0a10b28f35f62937d45a234e63b26f051466799fd7685 diff --git a/net-libs/loudmouth/loudmouth-1.5.1.ebuild b/net-libs/loudmouth/loudmouth-1.5.1.ebuild deleted file mode 100644 index 23def7e..000 --- a/net-libs/loudmouth/loudmouth-1.5.1.ebuild +++ /dev/null @@ -1,56 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit autotools eutils - -DESCRIPTION="Lightweight C Jabber library" -HOMEPAGE="https://github.com/mcabber/loudmouth; -SRC_URI="https://github.com/mcabber/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" - -LICENSE="LGPL-2.1" -SLOT="0" -KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~ppc-macos" - -IUSE="asyncns ssl openssl static-libs test" - -# Automagic libidn dependency -RDEPEND=" - >=dev-libs/glib-2.16:2 - net-dns/libidn - ssl? ( - !openssl? ( >=net-libs/gnutls-1.4.0 ) - openssl? ( dev-libs/openssl:0 ) - ) - asyncns? ( >=net-libs/libasyncns-0.3 ) -" -DEPEND="${RDEPEND} - test? ( dev-libs/check ) - virtual/pkgconfig - >=dev-util/gtk-doc-am-1 -" - -src_prepare() { - eautoreconf -} - -src_configure() { - local myconf - - if use ssl; then - if ! use openssl; then - myconf="${myconf} --with-ssl=gnutls" - else - myconf="${myconf} --with-ssl=openssl" - fi - else - myconf="${myconf} --with-ssl=no" - fi - - econf \ - $(use_enable static-libs static) \ - $(use_with asyncns) \ - ${myconf} -} diff --git a/net-libs/loudmouth/loudmouth-1.5.2.ebuild b/net-libs/loudmouth/loudmouth-1.5.2-r1.ebuild similarity index 98% rename from net-libs/loudmouth/loudmouth-1.5.2.ebuild rename to net-libs/loudmouth/loudmouth-1.5.2-r1.ebuild index 387dd40..c413070 100644 --- a/net-libs/loudmouth/loudmouth-1.5.2.ebuild +++ b/net-libs/loudmouth/loudmouth-1.5.2-r1.ebuild @@ -30,6 +30,7 @@ RDEPEND=" DEPEND="${RDEPEND} test? ( dev-libs/check ) virtual/pkgconfig + >=dev-util/gtk-doc-1 >=dev-util/gtk-doc-am-1 "
[gentoo-commits] repo/gentoo:master commit in: eclass/
commit: 6a61da18f3901e1f67f17a79757766cdf69fbd73 Author: Justin Lecher gentoo org> AuthorDate: Wed Jan 27 14:27:37 2016 + Commit: Justin Lecher gentoo org> CommitDate: Thu Jan 28 07:48:10 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6a61da18 cuda.eclass: Use debug-print-function everywhere Signed-off-by: Justin Lecher gentoo.org> eclass/cuda.eclass | 8 1 file changed, 8 insertions(+) diff --git a/eclass/cuda.eclass b/eclass/cuda.eclass index ede58f4..e36d4ca 100644 --- a/eclass/cuda.eclass +++ b/eclass/cuda.eclass @@ -42,6 +42,8 @@ if [[ -z ${_CUDA_ECLASS} ]]; then # -> --compiler-bindir="/usr/x86_64-pc-linux-gnu/gcc-bin/4.6.3" # @CODE cuda_gccdir() { + debug-print-function ${FUNCNAME} "$@" + local gcc_bindir ver args="" flag ret # Currently we only support the gnu compiler suite @@ -98,6 +100,8 @@ cuda_gccdir() { # Correct NVCCFLAGS by adding the necessary reference to gcc bindir and # passing CXXFLAGS to underlying compiler without disturbing nvcc. cuda_sanitize() { + debug-print-function ${FUNCNAME} "$@" + local rawldflags=$(raw-ldflags) # Be verbose if wanted [[ "${CUDA_VERBOSE}" == true ]] && NVCCFLAGS+=" -v" @@ -116,6 +120,8 @@ cuda_sanitize() { # @DESCRIPTION: # Call cuda_src_prepare for EAPIs not supporting src_prepare cuda_pkg_setup() { + debug-print-function ${FUNCNAME} "$@" + cuda_src_prepare } @@ -123,6 +129,8 @@ cuda_pkg_setup() { # @DESCRIPTION: # Sanitise and export NVCCFLAGS by default cuda_src_prepare() { + debug-print-function ${FUNCNAME} "$@" + cuda_sanitize }
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/escape_utils/
commit: 6c3cce8abd9e5a2a3e7bd7a4dc6255dafeba5dea Author: Hans de Graaff gentoo org> AuthorDate: Thu Jan 28 06:53:13 2016 + Commit: Hans de Graaff gentoo org> CommitDate: Thu Jan 28 06:53:45 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6c3cce8a dev-ruby/escape_utils: add 1.2.0 Package-Manager: portage-2.2.26 dev-ruby/escape_utils/Manifest | 1 + dev-ruby/escape_utils/escape_utils-1.2.0.ebuild | 38 + 2 files changed, 39 insertions(+) diff --git a/dev-ruby/escape_utils/Manifest b/dev-ruby/escape_utils/Manifest index 532c9c5..426b631 100644 --- a/dev-ruby/escape_utils/Manifest +++ b/dev-ruby/escape_utils/Manifest @@ -1 +1,2 @@ DIST escape_utils-1.1.0.gem 26624 SHA256 fdb08ef3d640bcf2b8dec5364d02afd508a743bace2018612b36b5fa72b56841 SHA512 a57c55403763afbf3e53fc9cd68789c81e81fd2ecaab9d5e355a55fe0e96626395c53f631cbdb47457a9183850ed630f4aef3af8a4d6f4eb9ee9ac6ee4beef6c WHIRLPOOL 05bc228e253759d7509e93dabcf2d5de7b18176f265069479c233ea2ef115478bd5fa5aad567b53ee63a7cd972b53317a846edd2ae531121d45490437e7f3901 +DIST escape_utils-1.2.0.gem 26624 SHA256 05497be965b95971c8bdf393c0cc851e7beefbf0061af66d820c20535ebcb2ab SHA512 82548f9f81de9a77f16789859b24c77313ab7c8a5a8e2040eba9f140f60247a1f83946d320fd07a4afef670c53f3a2c86bf0b2085749d526e1442fc2fa9074b3 WHIRLPOOL 52125b0eefe57840035b0085cea185a9ccf5ba9f7c1cafc4c69e7bbc81c70c5ce01a88c57d8b3bd2d16ad601585eb5a2235983c02455eb1853fa0536d3fba4a3 diff --git a/dev-ruby/escape_utils/escape_utils-1.2.0.ebuild b/dev-ruby/escape_utils/escape_utils-1.2.0.ebuild new file mode 100644 index 000..386278b --- /dev/null +++ b/dev-ruby/escape_utils/escape_utils-1.2.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_RECIPE_TEST="" +RUBY_FAKEGEM_RECIPE_DOC="" + +inherit ruby-fakegem + +DESCRIPTION="Faster string escaping routines for your ruby apps" +HOMEPAGE="https://github.com/brianmario/escape_utils; + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_bdepend "test? ( dev-ruby/minitest:5 )" + +all_ruby_prepare() { + sed -i -e "/bundler/d" test/helper.rb || die +} + +each_ruby_configure() { + ${RUBY} -Cext/escape_utils extconf.rb || die +} + +each_ruby_compile() { + emake V=1 -Cext/escape_utils + cp ext/escape_utils/escape_utils$(get_modname) lib/escape_utils || die +} + +each_ruby_test() { + ${RUBY} -Ilib:test:. -e "Dir['test/**/*_test.rb'].each {|f| require f}" || die +}
[gentoo-commits] repo/gentoo:master commit in: eclass/
commit: 97d4f927a29f219ccce3d65d3c408ada2398878e Author: Justin Lecher gentoo org> AuthorDate: Wed Jan 27 14:26:16 2016 + Commit: Justin Lecher gentoo org> CommitDate: Thu Jan 28 07:48:10 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=97d4f927 cuda.eclass: Drop empty line Signed-off-by: Justin Lecher gentoo.org> eclass/cuda.eclass | 1 - 1 file changed, 1 deletion(-) diff --git a/eclass/cuda.eclass b/eclass/cuda.eclass index e8d9178..ede58f4 100644 --- a/eclass/cuda.eclass +++ b/eclass/cuda.eclass @@ -126,7 +126,6 @@ cuda_src_prepare() { cuda_sanitize } - case "${EAPI:-0}" in 0|1) EXPORT_FUNCTIONS pkg_setup ;;
[gentoo-commits] repo/gentoo:master commit in: eclass/
commit: 6dd449a09d9f6ff86ae9f682de6f957429ad4d1d Author: Justin Lecher gentoo org> AuthorDate: Thu Jan 28 07:49:38 2016 + Commit: Justin Lecher gentoo org> CommitDate: Thu Jan 28 07:51:10 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6dd449a0 cmake-utils.eclass: Fix inverted logic on EAPI check Gentoo-Bugs: https://bugs.gentoo.org/show_bug.cgi?id=573132 Signed-off-by: Justin Lecher gentoo.org> eclass/cmake-utils.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass index 01de9a5..99c0f76 100644 --- a/eclass/cmake-utils.eclass +++ b/eclass/cmake-utils.eclass @@ -603,7 +603,7 @@ enable_cmake-utils_src_configure() { local mycmakeargstype=$(declare -p mycmakeargs 2>&-) if [[ "${mycmakeargstype}" != "declare -a mycmakeargs="* ]]; then if [[ -n "${mycmakeargstype}" ]] ; then - if [[ ${EAPI} != [2345] ]]; then + if [[ ${EAPI} == [2345] ]]; then eqawarn "Declaring mycmakeargs as a variable is deprecated. Please use an array instead." else die "Declaring mycmakeargs as a variable is banned in EAPI=${EAPI}. Please use an array instead."
[gentoo-commits] repo/gentoo:master commit in: eclass/
commit: 56f8075e23d42eba53c4b3d2561eb8950f2a98ec Author: Justin Lecher gentoo org> AuthorDate: Thu Jan 28 07:50:20 2016 + Commit: Justin Lecher gentoo org> CommitDate: Thu Jan 28 07:51:26 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=56f8075e cmake-utils.eclass: Merge consecutive [[ ]] into single [[ ]] Signed-off-by: Justin Lecher gentoo.org> eclass/cmake-utils.eclass | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eclass/cmake-utils.eclass b/eclass/cmake-utils.eclass index 99c0f76..a5704c1 100644 --- a/eclass/cmake-utils.eclass +++ b/eclass/cmake-utils.eclass @@ -185,7 +185,7 @@ _cmake_use_me_now_inverted() { local arg=$2 [[ ! -z $3 ]] && arg=$3 - if [[ ${EAPI} != [2345] ]] && [[ "${FUNCNAME[1]}" != cmake-utils_use_find_package ]] ; then + if [[ ${EAPI} != [2345] && "${FUNCNAME[1]}" != cmake-utils_use_find_package ]] ; then die "${FUNCNAME[1]} is banned in EAPI 6 and later: use -D$1${arg}=\"\$(usex $2)\" insteadss" fi @@ -314,7 +314,7 @@ cmake-utils_use_enable() { _cmake_use_me_now ENABLE_ "$@" ; } # if foo is enabled and -DCMAKE_DISABLE_FIND_PACKAGE_LibFoo=ON if it is disabled. # This can be used to make find_package optional. cmake-utils_use_find_package() { - if [[ ${EAPI} != [2345] ]] && [[ "$#" != 2 ]] ; then + if [[ ${EAPI} != [2345] && "$#" != 2 ]] ; then die "Usage: cmake-utils_use_find_package " fi
[gentoo-commits] repo/gentoo:master commit in: eclass/
commit: 9afe36d5062a4cc53587e7ecb89ffa7a06652fec Author: Justin Lecher gentoo org> AuthorDate: Wed Jan 27 14:25:45 2016 + Commit: Justin Lecher gentoo org> CommitDate: Thu Jan 28 07:48:10 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9afe36d5 cuda.eclass: Only source eclass once Signed-off-by: Justin Lecher gentoo.org> eclass/cuda.eclass | 5 + 1 file changed, 5 insertions(+) diff --git a/eclass/cuda.eclass b/eclass/cuda.eclass index d56abc8..e8d9178 100644 --- a/eclass/cuda.eclass +++ b/eclass/cuda.eclass @@ -16,6 +16,8 @@ inherit flag-o-matic toolchain-funcs versionator # @EXAMPLE: # inherit cuda +if [[ -z ${_CUDA_ECLASS} ]]; then + # @ECLASS-VARIABLE: NVCCFLAGS # @DESCRIPTION: # nvcc compiler flags (see nvcc --help), which should be used like @@ -132,3 +134,6 @@ case "${EAPI:-0}" in EXPORT_FUNCTIONS src_prepare ;; *) die "EAPI=${EAPI} is not supported" ;; esac + +_CUDA_ECLASS=1 +fi
[gentoo-commits] repo/gentoo:master commit in: eclass/
commit: 516db8d03c893c4a751249dcc8eeb19da2ce05b6 Author: Justin Lecher gentoo org> AuthorDate: Wed Jan 27 14:31:20 2016 + Commit: Justin Lecher gentoo org> CommitDate: Thu Jan 28 07:48:10 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=516db8d0 cuda.eclass: Enable EAPI=6 support Signed-off-by: Justin Lecher gentoo.org> eclass/cuda.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/cuda.eclass b/eclass/cuda.eclass index e36d4ca..f8d7188 100644 --- a/eclass/cuda.eclass +++ b/eclass/cuda.eclass @@ -137,7 +137,7 @@ cuda_src_prepare() { case "${EAPI:-0}" in 0|1) EXPORT_FUNCTIONS pkg_setup ;; - 2|3|4|5) + 2|3|4|5|6) EXPORT_FUNCTIONS src_prepare ;; *) die "EAPI=${EAPI} is not supported" ;; esac
[gentoo-commits] repo/gentoo:master commit in: eclass/
commit: 0c4a7815433b024be922234cbf49a078b1feae27 Author: Justin Lecher gentoo org> AuthorDate: Wed Jan 27 14:23:52 2016 + Commit: Justin Lecher gentoo org> CommitDate: Thu Jan 28 07:48:10 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0c4a7815 cuda.eclass: Bump Copyright year Signed-off-by: Justin Lecher gentoo.org> eclass/cuda.eclass | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eclass/cuda.eclass b/eclass/cuda.eclass index 932353e..d56abc8 100644 --- a/eclass/cuda.eclass +++ b/eclass/cuda.eclass @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$
[gentoo-commits] proj/rbot-gentoo:master commit in: /
commit: 560a65046a8d83fed0e87f577efe5247b5da233f Author: Michał Górny gentoo org> AuthorDate: Tue Jan 26 15:35:17 2016 + Commit: Michał Górny gentoo org> CommitDate: Tue Jan 26 15:45:11 2016 + URL:https://gitweb.gentoo.org/proj/rbot-gentoo.git/commit/?id=560a6504 !meta -v: Support project expansion gentoo-data.rb | 9 - 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/gentoo-data.rb b/gentoo-data.rb index 49c1211..512422f 100644 --- a/gentoo-data.rb +++ b/gentoo-data.rb @@ -116,6 +116,13 @@ class GentooPlugin < Plugin return if pkg.nil? meta_print(m, pkg) +pkg['maintainers'].each { |maint| + return if maint['type'] != 'project' + debug("meta -v calling proj for #{maint['email']}") + p = params.clone + p[:project] = maint['email'] + project(m, p) +} pkg['herds'].each { |h| debug("meta -v calling herd for #{h}") p = params.clone @@ -424,7 +431,7 @@ class GentooPlugin < Plugin "gentoo" => "Available commands: #{Bold}meta#{Bold}, #{Bold}changelog#{Bold}, #{Bold}devaway#{Bold}, #{Bold}herd#{Bold}, #{Bold}proj#{Bold}, #{Bold}expn#{Bold}, #{Bold}glsa#{Bold}, #{Bold}earch#{Bold}, #{Bold}rdep#{Bold}, #{Bold}ddep#{Bold}, #{Bold}pdep#{Bold}", "meta" => [ "meta #{Bold}[cat/]package#{Bold} : Print metadata for the given package", -"meta -v #{Bold}[cat/]package#{Bold} : Print metadata for the given package and the members of the package herds.", +"meta -v #{Bold}[cat/]package#{Bold} : Print metadata for the given package and the members of the maintaining projects.", ].join("\n"), "changelog" => "changelog #{Bold}[cat/]package#{Bold} : Produce changelog statistics for a given package", "devaway" => "devaway #{Bold}devname|list#{Bold} : Print the .away for a developer (if any). Using 'list' shows the developers who are away.",
[gentoo-commits] proj/rbot-gentoo:master commit in: /
commit: af11735252f47266fd54b12b9d7a97881f8407e9 Author: Michał Górny gentoo org> AuthorDate: Tue Jan 26 15:34:42 2016 + Commit: Michał Górny gentoo org> CommitDate: Tue Jan 26 15:34:42 2016 + URL:https://gitweb.gentoo.org/proj/rbot-gentoo.git/commit/?id=af117352 Fix handling ambiguous/no match results for packages gentoo-data.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/gentoo-data.rb b/gentoo-data.rb index 1a165c1..0d95650 100644 --- a/gentoo-data.rb +++ b/gentoo-data.rb @@ -72,6 +72,8 @@ class GentooPlugin < Plugin else return pkgs[0] end + +return nil end def pgo_get(m, atom)
[gentoo-commits] proj/rbot-gentoo:master commit in: /
commit: 2984cd6ef0603a7650e2e731fb3ad92909673545 Author: Michał Górny gentoo org> AuthorDate: Tue Jan 26 15:36:29 2016 + Commit: Michał Górny gentoo org> CommitDate: Tue Jan 26 15:45:11 2016 + URL:https://gitweb.gentoo.org/proj/rbot-gentoo.git/commit/?id=2984cd6e !meta -v: Disable herd expansion gentoo-data.rb | 6 -- 1 file changed, 6 deletions(-) diff --git a/gentoo-data.rb b/gentoo-data.rb index 512422f..d99c7c6 100644 --- a/gentoo-data.rb +++ b/gentoo-data.rb @@ -123,12 +123,6 @@ class GentooPlugin < Plugin p[:project] = maint['email'] project(m, p) } -pkg['herds'].each { |h| - debug("meta -v calling herd for #{h}") - p = params.clone - p[:herd] = h - herd(m, p) -} end def changelog(m, params)
[gentoo-commits] proj/rbot-gentoo:master commit in: /
commit: 6dbe59e6269ce97942db9617250fc8cddd7ee931 Author: Michał Górny gentoo org> AuthorDate: Tue Jan 26 15:46:26 2016 + Commit: Michał Górny gentoo org> CommitDate: Tue Jan 26 15:46:26 2016 + URL:https://gitweb.gentoo.org/proj/rbot-gentoo.git/commit/?id=6dbe59e6 !herd: Remove gentoo-data.rb | 71 +- 1 file changed, 1 insertion(+), 70 deletions(-) diff --git a/gentoo-data.rb b/gentoo-data.rb index 0be1177..5782ff5 100644 --- a/gentoo-data.rb +++ b/gentoo-data.rb @@ -31,7 +31,6 @@ #GLSA_SRC = "http://www.gentoo.org/security/en/glsa/glsa-@GLSA_ID@.xml?passthru=1; VALID_PACKAGE_SRC = "/dev/shm/qsearch.txt" GLSA_SRC = "#{ENV['PORTDIR']}/metadata/glsa/glsa-@GLSA_ID@.xml" -HERDS_SRC = 'https://api.gentoo.org/packages/herds.xml' PROJECTS_SRC = 'https://api.gentoo.org/metastructure/projects.xml' PGO_RESOLVE_URI = 'https://packages.gentoo.org/packages/resolve.json?atom=%s' PGO_DATA_URI = 'https://packages.gentoo.org/packages/%s.json' @@ -145,67 +144,9 @@ class GentooPlugin < Plugin def initialize super @@cached = {} -@@cached['herds'] = [0, nil] @@cached['projects'] = [0, nil] @@cached['pkgindex'] = [0, nil] @@cached['alias'] = [0, nil] -@@cached['notherds'] = [0, nil] - end - - def herd(m, params) -now = Time.now.tv_sec -unless @@cached['herds'] and @@cached['herds'][0] > now-600 - #m.reply "Fetch #{@@cached['herds'][0]} > #{now-600}" - res = @bot.httputil.get(HERDS_SRC) - herds = REXML::Document.new(res) - @@cached['herds'] = [now, herds] -else - #m.reply "Cache #{@@cached['herds'][0]} > #{now-600}" - herds = @@cached['herds'][1] -end - -unless @@cached['notherds'] and @@cached['notherds'][0] > now-600 - notherds = {} - File.foreach("#{scriptdir}/not-a-herd.txt") { |line| -k,v = line.split(/\s+/, 2) -notherds[k] = v - } - if notherds.length > 0 -@@cached['notherds'] = [now, notherds] - else -@@cached['notherds'] = [0, nil] - end -else - notherds = @@cached['notherds'][1] -end - -# Parse data -# xpath queries with REXML appear to be extremely slow, which is why we took the approach below -herd = nil -herds.elements[1].each_element { |elem| -if elem.get_elements('name')[0].text == params[:herd] - herd = elem - break -end } -if herd - emails = [] - for maintainer in herd.get_elements("maintainer") -emails << maintainer.get_elements('email')[0].text.split('@')[0] - end - for project in herd.get_elements("maintainingproject") -res = @bot.httputil.get("http://www.gentoo.org/#{project.text}?passthru=1;) -proj_xml = REXML::Document.new(res) -for dev in proj_xml.get_elements("/project/dev") - emails << dev.text -end - end - m.reply "(#{params[:herd]}) #{emails.sort.join(', ')}" -elsif notherds.has_key?(params[:herd]) - herddata = notherds[params[:herd]] - m.reply "(#{params[:herd]}) #{herddata}" -else - m.reply "No such herd #{params[:herd]}" -end end def project(m, params) @@ -420,14 +361,13 @@ class GentooPlugin < Plugin end @@help_gentoo = { -"gentoo" => "Available commands: #{Bold}meta#{Bold}, #{Bold}changelog#{Bold}, #{Bold}devaway#{Bold}, #{Bold}herd#{Bold}, #{Bold}proj#{Bold}, #{Bold}expn#{Bold}, #{Bold}glsa#{Bold}, #{Bold}earch#{Bold}, #{Bold}rdep#{Bold}, #{Bold}ddep#{Bold}, #{Bold}pdep#{Bold}", +"gentoo" => "Available commands: #{Bold}meta#{Bold}, #{Bold}changelog#{Bold}, #{Bold}devaway#{Bold}, #{Bold}proj#{Bold}, #{Bold}expn#{Bold}, #{Bold}glsa#{Bold}, #{Bold}earch#{Bold}, #{Bold}rdep#{Bold}, #{Bold}ddep#{Bold}, #{Bold}pdep#{Bold}", "meta" => [ "meta #{Bold}[cat/]package#{Bold} : Print metadata for the given package", "meta -v #{Bold}[cat/]package#{Bold} : Print metadata for the given package and the members of the maintaining projects.", ].join("\n"), "changelog" => "changelog #{Bold}[cat/]package#{Bold} : Produce changelog statistics for a given package", "devaway" => "devaway #{Bold}devname|list#{Bold} : Print the .away for a developer (if any). Using 'list' shows the developers who are away.", -"herd" => "herd #{Bold}herdname#{Bold} : Print the members of a herd.", "proj" => "proj #{Bold}project-email#{Bold} : Print the members of a project.", "expn" => "expn #{Bold}alias#{Bold} : Print the addresses on a Gentoo mail alias.", "glsa" => [ @@ -459,7 +399,6 @@ plugin.default_auth( 'view', true ) REGEX_CP = /^(?:[-[:alnum:]]+\/)?[-+_[:alnum:]]+$/ REGEX_DEV = /^[-_[:alnum:]]+$/ -REGEX_HERD = /^[-_[:alnum:]]+$/ REGEX_PROJECT = /^[-_@.[:alnum:]]+$/ REGEX_GLSA = /^[-1234567890]+$/ @@ -510,14 +449,6 @@ plugin.map 'away :dev', :thread => 'yes', :auth_path => 'view'
[gentoo-commits] repo/gentoo:master commit in: dev-go/godep/
commit: 7939962854432cb59f9169aabb7c33776ba72b46 Author: William Hubbs gentoo org> AuthorDate: Wed Jan 27 17:10:47 2016 + Commit: William Hubbs gentoo org> CommitDate: Wed Jan 27 17:11:08 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=79399628 dev-go/godep: remove old versions dev-go/godep/godep-29.ebuild | 29 - dev-go/godep/godep-49.ebuild | 29 - 2 files changed, 58 deletions(-) diff --git a/dev-go/godep/godep-29.ebuild b/dev-go/godep/godep-29.ebuild deleted file mode 100644 index 6f0bf64..000 --- a/dev-go/godep/godep-29.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -EGO_PN=github.com/tools/godep - -if [[ ${PV} = ** ]]; then - inherit golang-vcs -else - KEYWORDS="~amd64" - EGIT_COMMIT=v${PV} - SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" - inherit golang-vcs-snapshot -fi -inherit golang-build - -DESCRIPTION="dependency tool for go" -HOMEPAGE="https://github.com/tools/godep; -LICENSE="BSD" -SLOT="0" -IUSE="" -DEPEND="" -RDEPEND="" - -src_install() { - dobin godep -dodoc src/${EGO_PN}/*.md -} diff --git a/dev-go/godep/godep-49.ebuild b/dev-go/godep/godep-49.ebuild deleted file mode 100644 index 6f0bf64..000 --- a/dev-go/godep/godep-49.ebuild +++ /dev/null @@ -1,29 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 -EGO_PN=github.com/tools/godep - -if [[ ${PV} = ** ]]; then - inherit golang-vcs -else - KEYWORDS="~amd64" - EGIT_COMMIT=v${PV} - SRC_URI="https://${EGO_PN}/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz" - inherit golang-vcs-snapshot -fi -inherit golang-build - -DESCRIPTION="dependency tool for go" -HOMEPAGE="https://github.com/tools/godep; -LICENSE="BSD" -SLOT="0" -IUSE="" -DEPEND="" -RDEPEND="" - -src_install() { - dobin godep -dodoc src/${EGO_PN}/*.md -}
[gentoo-commits] repo/gentoo:master commit in: media-libs/imlib2/
commit: a381e911b850b79d70fb9a12546a2bd8ca7778bd Author: Jeroen Roovers gentoo org> AuthorDate: Wed Jan 27 17:41:37 2016 + Commit: Jeroen Roovers gentoo org> CommitDate: Wed Jan 27 17:41:37 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a381e911 media-libs/imlib2: Stable for HPPA PPC64 (bug #572884). Package-Manager: portage-2.2.27 RepoMan-Options: --ignore-arches media-libs/imlib2/imlib2-1.4.7.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/media-libs/imlib2/imlib2-1.4.7.ebuild b/media-libs/imlib2/imlib2-1.4.7.ebuild index 5fa1582..9cf9944 100644 --- a/media-libs/imlib2/imlib2-1.4.7.ebuild +++ b/media-libs/imlib2/imlib2-1.4.7.ebuild @@ -16,7 +16,7 @@ inherit enlightenment toolchain-funcs multilib-minimal eutils DESCRIPTION="Version 2 of an advanced replacement library for libraries like libXpm" HOMEPAGE="https://www.enlightenment.org/; -KEYWORDS="~alpha amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" +KEYWORDS="~alpha amd64 ~arm hppa ~ia64 ~mips ~ppc ppc64 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~x86-interix ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x64-solaris ~x86-solaris" IUSE="bzip2 gif jpeg cpu_flags_x86_mmx mp3 png static-libs tiff X zlib"
[gentoo-commits] proj/rbot-gentoo:master commit in: /
commit: 23809b63da6f9ccd8385931941d86b4d1f018965 Author: Michał Górny gentoo org> AuthorDate: Tue Jan 26 15:38:46 2016 + Commit: Michał Górny gentoo org> CommitDate: Tue Jan 26 15:45:11 2016 + URL:https://gitweb.gentoo.org/proj/rbot-gentoo.git/commit/?id=23809b63 help: Add proj to command list gentoo-data.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gentoo-data.rb b/gentoo-data.rb index 0d95650..49c1211 100644 --- a/gentoo-data.rb +++ b/gentoo-data.rb @@ -421,7 +421,7 @@ class GentooPlugin < Plugin end @@help_gentoo = { -"gentoo" => "Available commands: #{Bold}meta#{Bold}, #{Bold}changelog#{Bold}, #{Bold}devaway#{Bold}, #{Bold}herd#{Bold}, #{Bold}expn#{Bold}, #{Bold}glsa#{Bold}, #{Bold}earch#{Bold}, #{Bold}rdep#{Bold}, #{Bold}ddep#{Bold}, #{Bold}pdep#{Bold}", +"gentoo" => "Available commands: #{Bold}meta#{Bold}, #{Bold}changelog#{Bold}, #{Bold}devaway#{Bold}, #{Bold}herd#{Bold}, #{Bold}proj#{Bold}, #{Bold}expn#{Bold}, #{Bold}glsa#{Bold}, #{Bold}earch#{Bold}, #{Bold}rdep#{Bold}, #{Bold}ddep#{Bold}, #{Bold}pdep#{Bold}", "meta" => [ "meta #{Bold}[cat/]package#{Bold} : Print metadata for the given package", "meta -v #{Bold}[cat/]package#{Bold} : Print metadata for the given package and the members of the package herds.",
[gentoo-commits] proj/rbot-gentoo:master commit in: /
commit: 2d49aaf8c477f77c5d0d820fffe8bd74088bb9b3 Author: Michał Górny gentoo org> AuthorDate: Tue Jan 26 15:40:09 2016 + Commit: Michał Górny gentoo org> CommitDate: Tue Jan 26 15:45:11 2016 + URL:https://gitweb.gentoo.org/proj/rbot-gentoo.git/commit/?id=2d49aaf8 !meta: Stop printing herds gentoo-data.rb | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/gentoo-data.rb b/gentoo-data.rb index d99c7c6..0be1177 100644 --- a/gentoo-data.rb +++ b/gentoo-data.rb @@ -89,10 +89,8 @@ class GentooPlugin < Plugin # TODO: handle description? maints = pkg['maintainers'].map{|x| x['email'].chomp('@gentoo.org')}.join(', ') maints = '(none)' if maints.empty? -herds = pkg['herds'].join(', ') -herds = '(none)' if herds.empty? -m.reply "#{pkg['atom']}; herds: #{herds}; maintainers: #{maints}" +m.reply "#{pkg['atom']}; maintainers: #{maints}" end def meta(m, params)
[gentoo-commits] repo/gentoo:master commit in: dev-ruby/ruby-webkit2-gtk/
commit: ff1afc4b25d2b3828706ba4fdb3acc2cef5a Author: Hans de Graaff gentoo org> AuthorDate: Wed Jan 27 18:43:34 2016 + Commit: Hans de Graaff gentoo org> CommitDate: Wed Jan 27 18:43:56 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ff1afc4b dev-ruby/ruby-webkit2-gtk: initial import for bug 573094 Package-Manager: portage-2.2.26 dev-ruby/ruby-webkit2-gtk/Manifest | 1 + dev-ruby/ruby-webkit2-gtk/metadata.xml | 12 ++ .../ruby-webkit2-gtk/ruby-webkit2-gtk-3.0.7.ebuild | 44 ++ 3 files changed, 57 insertions(+) diff --git a/dev-ruby/ruby-webkit2-gtk/Manifest b/dev-ruby/ruby-webkit2-gtk/Manifest new file mode 100644 index 000..2ce154c --- /dev/null +++ b/dev-ruby/ruby-webkit2-gtk/Manifest @@ -0,0 +1 @@ +DIST ruby-gnome2-all-3.0.7.tar.gz 1692752 SHA256 4b65da24a5fdd4a774d6f238abcce8a3aca2bad093211bb824fb6a06e5430375 SHA512 0cfd5dd13ef0e0986ddd2235f88ffb21d15e6cb709b47252bb34e587fef88c0234e65f178eccec7dbfd45759ba37f1bbdcee6c7908d3f9daaf3369453b2478ee WHIRLPOOL 0a0e2749f6642485bada7ab22d69a3ed0e4d170a2d0dec6db88e62179264c6093a51c05cca87c64a4a3e9d1bdedb05a92fba81f6098872c06c8cbfa451ccedf2 diff --git a/dev-ruby/ruby-webkit2-gtk/metadata.xml b/dev-ruby/ruby-webkit2-gtk/metadata.xml new file mode 100644 index 000..2eb590f --- /dev/null +++ b/dev-ruby/ruby-webkit2-gtk/metadata.xml @@ -0,0 +1,12 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + + r...@gentoo.org + Gentoo Ruby Project + + + ruby-gnome2 + ruby-gnome2 + + diff --git a/dev-ruby/ruby-webkit2-gtk/ruby-webkit2-gtk-3.0.7.ebuild b/dev-ruby/ruby-webkit2-gtk/ruby-webkit2-gtk-3.0.7.ebuild new file mode 100644 index 000..05a3d94 --- /dev/null +++ b/dev-ruby/ruby-webkit2-gtk/ruby-webkit2-gtk-3.0.7.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22" + +inherit virtualx ruby-ng-gnome2 + +DESCRIPTION="Ruby WebKitGtk+ for Gtk 3.0 bindings" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND+=" net-libs/webkit-gtk:4" +RDEPEND+=" net-libs/webkit-gtk:4" + +RUBY_S="ruby-gnome2-all-${PV}/webkit2-gtk" + +ruby_add_rdepend ">=dev-ruby/ruby-gobject-introspection-${PV} + >=dev-ruby/ruby-gtk3-${PV}" + +all_ruby_prepare() { + # Avoid unneeded dependency on test-unit-notify. + sed -i -e '/notify/ s:^:#:' \ + ../gobject-introspection/test/gobject-introspection-test-utils.rb \ + test/webkit2-gtk-test-utils.rb || die +} + +each_ruby_configure() { + : +} + +each_ruby_compile() { + : +} + +each_ruby_test() { + VIRTUALX_COMMAND="${RUBY}" + virtualmake test/run-test.rb || die +} + +each_ruby_install() { + each_fakegem_install +}
[gentoo-commits] repo/gentoo:master commit in: media-sound/bpmdetect/, media-sound/bpmdetect/files/
commit: cfb62d0d06d25269c935b7029a1ca656ceecf86f Author: David Seifert gentoo org> AuthorDate: Wed Jan 27 18:42:56 2016 + Commit: David Seifert gentoo org> CommitDate: Wed Jan 27 18:44:55 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=cfb62d0d media-sound/bpmdetect: Add patch to respect user flags Gentoo-Bug: 334465 * EAPI=6 * Added patch by Gavin Pryke to respect all user flags * Fixed QA issues caused by non-compliant .desktop file * Fixed QA issues caused by wrong printf() handling Package-Manager: portage-2.2.27 media-sound/bpmdetect/bpmdetect-0.6.1-r1.ebuild| 53 + .../files/bpmdetect-0.6.1-fix-buildsystem.patch| 67 ++ .../files/bpmdetect-0.6.1-fix-printf-format.patch | 37 3 files changed, 157 insertions(+) diff --git a/media-sound/bpmdetect/bpmdetect-0.6.1-r1.ebuild b/media-sound/bpmdetect/bpmdetect-0.6.1-r1.ebuild new file mode 100644 index 000..351532a --- /dev/null +++ b/media-sound/bpmdetect/bpmdetect-0.6.1-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit eutils toolchain-funcs + +DESCRIPTION="Automatic BPM detection utility" +HOMEPAGE="http://sourceforge.net/projects/bpmdetect; +SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.bz2" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +RDEPEND="media-libs/taglib + media-libs/id3lib + >=media-libs/fmod-4.25.07-r1:1 + dev-qt/qtgui:4" +DEPEND="${RDEPEND} + sys-apps/sed + dev-util/scons + virtual/pkgconfig" + +S=${WORKDIR}/${PN} +PATCHES=( + "${FILESDIR}/${P}-gcc44_and_fmodex_path.patch" + "${FILESDIR}/${P}-fix-buildsystem.patch" + "${FILESDIR}/${P}-fix-printf-format.patch" +) + +src_prepare() { + default + tc-export CC CXX +} + +src_configure() { + : +} + +src_compile() { + export QTDIR="/usr/$(get_libdir)" + scons prefix=/usr || die "scons failed" +} + +src_install() { + dobin build/${PN} + doicon src/${PN}-icon.png + domenu src/${PN}.desktop + dodoc authors readme todo +} diff --git a/media-sound/bpmdetect/files/bpmdetect-0.6.1-fix-buildsystem.patch b/media-sound/bpmdetect/files/bpmdetect-0.6.1-fix-buildsystem.patch new file mode 100644 index 000..fa6c0e5 --- /dev/null +++ b/media-sound/bpmdetect/files/bpmdetect-0.6.1-fix-buildsystem.patch @@ -0,0 +1,67 @@ +* Fix QA issues in desktop file +* Make buildsystem respect CXX, CXXFLAGS and LDFLAGS +https://bugs.gentoo.org/show_bug.cgi?id=334465 + +--- bpmdetect/src/bpmdetect.desktop bpmdetect/src/bpmdetect.desktop +@@ -2,7 +2,7 @@ + Encoding=UTF-8 + Name=BPMDetect + Exec=bpmdetect +-Icon=bpmdetect-icon.png ++Icon=bpmdetect-icon + Type=Application + Comment=Automatic BPM detection utility +-Categories=Application;AudioVideo;Audio: ++Categories=AudioVideo;Audio; +--- bpmdetect/src/SConscript bpmdetect/src/SConscript +@@ -1,5 +1,6 @@ + #! /usr/bin/env python + import os, sys, glob ++import SCons.Util + + if not sys.platform.startswith('win'): + BOLD ="\033[1m" +@@ -156,17 +157,18 @@ + env.__delitem__('CPPPATH') + if env.has_key('CPPDEFINES'): + env.__delitem__('CPPDEFINES') +- if env.has_key('CXXFLAGS'): +-env.__delitem__('CXXFLAGS') + if env.has_key('LIBPATH'): + env.__delitem__('LIBPATH') + if env.has_key('LIBS'): + env.__delitem__('LIBS') +- if env.has_key('LINKFLAGS'): +-env.__delitem__('LINKFLAGS') + if env.has_key('QT3'): + env.__delitem__('QT3') + ++ if os.environ.has_key('CXXFLAGS'): ++env['CXXFLAGS'] += SCons.Util.CLVar(os.environ['CXXFLAGS']) ++ if os.environ.has_key('LDFLAGS'): ++env['LINKFLAGS'] += SCons.Util.CLVar(os.environ['LDFLAGS']) ++ + print BOLD + """ + --""" + NORMAL + print "Use MinGW compiler: ", +@@ -189,7 +191,6 @@ + env.Append(CXXFLAGS = '-g') + else: + print 'no ' +-env.Append(CXXFLAGS = '-O2' ) + env.Append(CPPDEFINES = ['NDEBUG', 'NO_DEBUG']) + env['DEBUG'] = 0 + +@@ -309,6 +310,10 @@ + ( 'LINKFLAGS', 'linker flags'), + ( 'QT3', 'use qt3') + ) ++if os.environ.has_key('CC'): ++ env['CC'] = os.environ['CC'] ++if os.environ.has_key('CXX'): ++ env['CXX'] = os.environ['CXX'] + opts.Update(env) + + # to avoid an error message 'how to make target configure... ?' diff --git a/media-sound/bpmdetect/files/bpmdetect-0.6.1-fix-printf-format.patch b/media-sound/bpmdetect/files/bpmdetect-0.6.1-fix-printf-format.patch new file mode 100644 index 000..89bf644 --- /dev/null +++ b/media-sound/bpmdetect/files/bpmdetect-0.6.1-fix-printf-format.patch @@ -0,0 +1,37 @@ +Fix broken printf statements: +* src/main.cpp:49:62: warning: too many arguments for format [-Wformat-extra-args] +*printf("Usage:\n bpmdetect [switches] [files]\n\n", version); +* +* src/track.cpp:111:57:
[gentoo-commits] proj/eselect:master commit in: misc/, /, man/, libs/, modules/, bin/
commit: f0be71199acd32f312e9de82cf9f9a572d2281be Author: Ulrich Müller gentoo org> AuthorDate: Wed Jan 27 19:33:28 2016 + Commit: Ulrich Müller gentoo org> CommitDate: Wed Jan 27 19:33:28 2016 + URL:https://gitweb.gentoo.org/proj/eselect.git/commit/?id=f0be7119 Happy new year 2016! README | 2 +- bin/eselect.in | 4 ++-- libs/config.bash.in| 2 +- libs/core.bash.in | 2 +- libs/default.eselect.in| 2 +- libs/editor-variable.bash.in | 2 +- libs/manip.bash.in | 2 +- libs/multilib.bash.in | 2 +- libs/output.bash.in| 2 +- libs/package-manager.bash.in | 2 +- libs/path-manipulation.bash.in | 2 +- libs/skel.bash.in | 2 +- libs/tests.bash.in | 2 +- man/editor.eselect.5 | 2 +- man/env.eselect.5 | 2 +- man/eselect.1 | 2 +- man/kernel.eselect.5 | 2 +- man/news.eselect.5 | 2 +- man/pager.eselect.5| 2 +- man/profile.eselect.5 | 2 +- man/rc.eselect.5 | 2 +- man/visual.eselect.5 | 2 +- misc/eselect-mode.el | 2 +- misc/eselect.bashcomp | 2 +- modules/config.eselect | 2 +- modules/cow.eselect| 2 +- modules/editor.eselect | 2 +- modules/env.eselect| 2 +- modules/kernel.eselect | 2 +- modules/locale.eselect | 2 +- modules/modules.eselect| 2 +- modules/news.eselect | 2 +- modules/pager.eselect | 2 +- modules/profile.eselect| 2 +- modules/rc.eselect | 2 +- modules/visual.eselect | 2 +- 36 files changed, 37 insertions(+), 37 deletions(-) diff --git a/README b/README index b107b32..945dc41 100644 --- a/README +++ b/README @@ -14,7 +14,7 @@ See ``doc/``. Use ``make html`` for HTML versions. Copyright - -eselect is Copyright (c) 2005-2015 Gentoo Foundation. This code is +eselect is Copyright (c) 2005-2016 Gentoo Foundation. This code is distributed under the terms of the `GNU General Public License, version 2 or later`__. diff --git a/bin/eselect.in b/bin/eselect.in index c446d46..67266f4 100755 --- a/bin/eselect.in +++ b/bin/eselect.in @@ -1,6 +1,6 @@ #!@BASH@ # -*-eselect-*- vim: ft=eselect -# Copyright (c) 2005-2015 Gentoo Foundation +# Copyright (c) 2005-2016 Gentoo Foundation # # This file is part of the 'eselect' tools framework. # @@ -98,7 +98,7 @@ es_do_help() { es_do_version() { echo "eselect ${ESELECT_VERSION}" echo - echo "Copyright (c) 2005-2015 Gentoo Foundation." + echo "Copyright (c) 2005-2016 Gentoo Foundation." echo "Distributed under the terms of the GNU GPL version 2 or later." } diff --git a/libs/config.bash.in b/libs/config.bash.in index 940c64b..80ef798 100644 --- a/libs/config.bash.in +++ b/libs/config.bash.in @@ -1,5 +1,5 @@ # -*-eselect-*- vim: ft=eselect -# Copyright (c) 2005-2015 Gentoo Foundation +# Copyright (c) 2005-2016 Gentoo Foundation # # This file is part of the 'eselect' tools framework. # diff --git a/libs/core.bash.in b/libs/core.bash.in index 8cd4e54..6b6f049 100644 --- a/libs/core.bash.in +++ b/libs/core.bash.in @@ -1,5 +1,5 @@ # -*-eselect-*- vim: ft=eselect -# Copyright (c) 2005-2015 Gentoo Foundation +# Copyright (c) 2005-2016 Gentoo Foundation # # This file is part of the 'eselect' tools framework. # diff --git a/libs/default.eselect.in b/libs/default.eselect.in index f0e9ee3..bc91cf4 100644 --- a/libs/default.eselect.in +++ b/libs/default.eselect.in @@ -1,5 +1,5 @@ # -*-eselect-*- vim: ft=eselect -# Copyright (c) 2005-2015 Gentoo Foundation +# Copyright (c) 2005-2016 Gentoo Foundation # # This file is part of the 'eselect' tools framework. # diff --git a/libs/editor-variable.bash.in b/libs/editor-variable.bash.in index 22ec188..ec40827 100644 --- a/libs/editor-variable.bash.in +++ b/libs/editor-variable.bash.in @@ -1,5 +1,5 @@ # -*-eselect-*- vim: ft=eselect -# Copyright (c) 2005-2015 Gentoo Foundation +# Copyright (c) 2005-2016 Gentoo Foundation # # This file is part of the 'eselect' tools framework. # diff --git a/libs/manip.bash.in b/libs/manip.bash.in index c7720d9..51b04ef 100644 --- a/libs/manip.bash.in +++ b/libs/manip.bash.in @@ -1,5 +1,5 @@ # -*-eselect-*- vim: ft=eselect -# Copyright (c) 2005-2015 Gentoo Foundation +# Copyright (c) 2005-2016 Gentoo Foundation # # This file is part of the 'eselect' tools framework. # diff --git a/libs/multilib.bash.in b/libs/multilib.bash.in index a5b5e3f..6f5b6e4 100644 --- a/libs/multilib.bash.in +++ b/libs/multilib.bash.in @@ -1,5 +1,5 @@ # -*-eselect-*- vim: ft=eselect -# Copyright (c) 2005-2015 Gentoo Foundation +# Copyright (c) 2005-2016 Gentoo Foundation # # This file is part of the 'eselect' tools framework. # diff --git a/libs/output.bash.in b/libs/output.bash.in index a4b7380..6cccddc 100644 ---
[gentoo-commits] proj/eselect:master commit in: bin/, /
commit: 366064aa7478a3f8bee31d37e8b1076649264455 Author: Ulrich Müller gentoo org> AuthorDate: Wed Jan 27 19:25:39 2016 + Commit: Ulrich Müller gentoo org> CommitDate: Wed Jan 27 19:25:39 2016 + URL:https://gitweb.gentoo.org/proj/eselect.git/commit/?id=366064aa Set umask. * bin/eselect.in: Set umask +rx, bug 572348. ChangeLog | 4 bin/eselect.in | 2 ++ 2 files changed, 6 insertions(+) diff --git a/ChangeLog b/ChangeLog index ac3b25a..5bb2855 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2016-01-27 Ulrich Müller+ + * bin/eselect.in: Set umask +rx, bug 572348. + 2015-08-26 Ulrich Müller * doc/developer-guide.txt: diff --git a/bin/eselect.in b/bin/eselect.in index 934a10a..c446d46 100755 --- a/bin/eselect.in +++ b/bin/eselect.in @@ -55,6 +55,8 @@ IFS=$' \t\n' shopt -s extglob shopt -s expand_aliases +umask +rx + # Save stderr file descriptor if (( BASH_VERSINFO[0] == 4 && BASH_VERSINFO[1] >= 1 || BASH_VERSINFO[0] > 4 )) then
[gentoo-commits] repo/gentoo:master commit in: dev-vcs/git-tools/
commit: 59876fbbdb7c6ba939cbab99da766b73139f1182 Author: Robin H. Johnson gentoo org> AuthorDate: Wed Jan 27 19:58:23 2016 + Commit: Robin H. Johnson gentoo org> CommitDate: Wed Jan 27 19:58:39 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=59876fbb dev-vcs/git-tools: New package. Package-Manager: portage-2.2.24 dev-vcs/git-tools/Manifest| 1 + dev-vcs/git-tools/git-tools-2015_p20151225.ebuild | 40 +++ dev-vcs/git-tools/metadata.xml| 10 ++ 3 files changed, 51 insertions(+) diff --git a/dev-vcs/git-tools/Manifest b/dev-vcs/git-tools/Manifest new file mode 100644 index 000..36e3e70 --- /dev/null +++ b/dev-vcs/git-tools/Manifest @@ -0,0 +1 @@ +DIST git-tools-2015_p20151225.tar.gz 12635 SHA256 ab98a8ac35d47d521c43e8b6f543e55757bb2ec4a3cbdeddf25348c5b0cdb36a SHA512 c995f814a78a3afb967e435b9559e4601fd9c7ed10b30950d6d8f20db2cc8077c814fb6164351f20f3c118e0b8b139c84485d5849057654a70d81847f77dd3d0 WHIRLPOOL 6f2810d8e81bbdcb8f99a4e9e3032e11a160df969e8c11a9f8ed8e053eaaf98f895c90eed726e91bcdc2a59493950375015c4922e758256a54874e2667e21a25 diff --git a/dev-vcs/git-tools/git-tools-2015_p20151225.ebuild b/dev-vcs/git-tools/git-tools-2015_p20151225.ebuild new file mode 100644 index 000..f611b39 --- /dev/null +++ b/dev-vcs/git-tools/git-tools-2015_p20151225.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 python3_{1..5} ) +inherit python-r1 + +DESCRIPTION="Assorted git-related scripts" +HOMEPAGE="https://github.com/MestreLion/git-tools/; +MY_PV="ff7a07daa6898fd0993180f64bd232aa4def6018" +SRC_URI="https://github.com/MestreLion/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND=" + >=dev-vcs/git-2.5 + >=app-shells/bash-4.0" + +MY_P=${PN}-${MY_PV} +S=${WORKDIR}/${MY_P} + +src_compile() { + :; +} + +src_install() { + SCRIPTS_BASH="git-branches-rename git-clone-subset git-find-uncommited-repos git-rebase-theirs git-strip-merge" + SCRIPTS_PYTHON="git-restore-mtime" + dobin $SCRIPTS_BASH + dobin $SCRIPTS_PYTHON + for p in $SCRIPTS_PYTHON ; do + python_replicate_script "${ED}"/usr/bin/$p + done + dodoc README.md +} diff --git a/dev-vcs/git-tools/metadata.xml b/dev-vcs/git-tools/metadata.xml new file mode 100644 index 000..ac0f43b --- /dev/null +++ b/dev-vcs/git-tools/metadata.xml @@ -0,0 +1,10 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + +robb...@gentoo.org + + + MestreLion/git-tools + +
[gentoo-commits] repo/gentoo:master commit in: media-libs/aften/, media-libs/aften/files/
commit: 3478887cc8b1243d8cfd8fc4a247403476e5e69a Author: David Seifert gentoo org> AuthorDate: Wed Jan 27 20:12:01 2016 + Commit: David Seifert gentoo org> CommitDate: Wed Jan 27 20:12:23 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3478887c media-libs/aften: Declare mycmakeargs to be an array Gentoo-Bug: 573152 * EAPI=6 * Amend patch to be -p1 compliant Package-Manager: portage-2.2.27 media-libs/aften/aften-0.0.8-r1.ebuild | 36 media-libs/aften/files/aften-0.0.8-ppc.patch | 16 ++--- 2 files changed, 44 insertions(+), 8 deletions(-) diff --git a/media-libs/aften/aften-0.0.8-r1.ebuild b/media-libs/aften/aften-0.0.8-r1.ebuild new file mode 100644 index 000..b07f04f --- /dev/null +++ b/media-libs/aften/aften-0.0.8-r1.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 + +inherit cmake-utils + +DESCRIPTION="An A/52 (AC-3) audio encoder" +HOMEPAGE="http://aften.sourceforge.net/; +SRC_URI="mirror://sourceforge/${PN}/${P}.tar.bz2" + +LICENSE="LGPL-2.1 BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="cxx" + +PATCHES=( + "${FILESDIR}/${P}-multilib.patch" + "${FILESDIR}/${P}-ppc.patch" +) + +src_configure() { + local mycmakeargs=( + -DSHARED=1 + -DBINDINGS_CXX=$(usex cxx) + ) + cmake-utils_src_configure +} + +src_install() { + cmake-utils_src_install + dodoc README Changelog + # File collision with media-sound/wavbreaker, upstream informed + mv "${D}"/usr/bin/wavinfo{,-aften} || die +} diff --git a/media-libs/aften/files/aften-0.0.8-ppc.patch b/media-libs/aften/files/aften-0.0.8-ppc.patch index a841acf..f21d816 100644 --- a/media-libs/aften/files/aften-0.0.8-ppc.patch +++ b/media-libs/aften/files/aften-0.0.8-ppc.patch @@ -1,7 +1,7 @@ Index: libaften/ppc/ppc_cpu_caps.h === libaften/ppc/ppc_cpu_caps.h -+++ libaften/ppc/ppc_cpu_caps.h +--- aften-0.0.8/libaften/ppc/ppc_cpu_caps.h aften-0.0.8/libaften/ppc/ppc_cpu_caps.h @@ -20,6 +20,7 @@ #ifndef PPC_CPU_CAPS_H #define PPC_CPU_CAPS_H @@ -12,8 +12,8 @@ Index: libaften/ppc/ppc_cpu_caps.h Index: libaften/ppc/mdct_altivec.c === libaften/ppc/mdct_altivec.c(revision 659) -+++ libaften/ppc/mdct_altivec.c(revision 660) +--- aften-0.0.8/libaften/ppc/mdct_altivec.c(revision 659) aften-0.0.8/libaften/ppc/mdct_altivec.c(revision 660) @@ -47,11 +47,11 @@ #include "mem.h" @@ -58,8 +58,8 @@ Index: libaften/ppc/mdct_altivec.c Index: libaften/ppc/altivec_common.h === libaften/ppc/altivec_common.h (revision 659) -+++ libaften/ppc/altivec_common.h (revision 660) +--- aften-0.0.8/libaften/ppc/altivec_common.h (revision 659) aften-0.0.8/libaften/ppc/altivec_common.h (revision 660) @@ -28,11 +28,23 @@ typedef vector unsigned int vec_u32_t; typedef vector signed int vec_s32_t; @@ -84,8 +84,8 @@ Index: libaften/ppc/altivec_common.h static inline vector float vec_ld_float(const float *a) { ppc_cpu_caps.bak 2007-12-23 17:13:33.0 + -+++ libaften/ppc/ppc_cpu_caps.c2007-12-23 17:13:43.0 + +--- aften-0.0.8/ppc_cpu_caps.bak 2007-12-23 17:13:33.0 + aften-0.0.8/libaften/ppc/ppc_cpu_caps.c2007-12-23 17:13:43.0 + @@ -81,7 +81,7 @@ //Attempt to use AltiVec if(!sigsetjmp(g_env, 0))
[gentoo-commits] repo/gentoo:master commit in: mail-filter/rspamd/
commit: fcf61ac319d2b09fe66c74744334511c1c5ee7f5 Author: Dirkjan Ochtman gentoo org> AuthorDate: Wed Jan 27 20:41:19 2016 + Commit: Dirkjan Ochtman gentoo org> CommitDate: Wed Jan 27 20:41:19 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcf61ac3 mail-filter/rspamd: remove old versions Package-Manager: portage-2.2.26 mail-filter/rspamd/Manifest | 2 -- mail-filter/rspamd/rspamd-1.0.11.ebuild | 54 mail-filter/rspamd/rspamd-1.1.0.ebuild | 55 - 3 files changed, 111 deletions(-) diff --git a/mail-filter/rspamd/Manifest b/mail-filter/rspamd/Manifest index e7c25bd..a6fe7a6 100644 --- a/mail-filter/rspamd/Manifest +++ b/mail-filter/rspamd/Manifest @@ -1,3 +1 @@ -DIST rspamd-1.0.11.tar.xz 1176160 SHA256 b914c77c30dcab863f6c685b4a83a1662ee1b4503654fbf3ee3ae2fbca1ed928 SHA512 79464e8c29bdf5b081744b79fb8eee944bf647abf334cd77686a8fa4d0a3ab7ff4293fc464606d298fb57c8d7fe909e333ae7e58768330e4d65464bf42f76f15 WHIRLPOOL ca1f8338ef6f917622c8a93fa8bf230b2767d750e953d9f790649e660865caaa255c5a8eb35a14cb882acc193a237bf107d79c7c01f3d7ec6520301edc9f2629 -DIST rspamd-1.1.0.tar.xz 1291004 SHA256 69db05150b4ba8304d24dd0f96c79b5d3792478373f0d6be6c92b51b1cf60ead SHA512 41a8fb49a10082b1dc97397ebb8ac81dd3f4912e9140dcb7c57c9e15f1e49cf472aa94570a2f802b82e3db8ab8a87dd6a63f7db7249da4d99473700535045256 WHIRLPOOL 3781b7450e0f2cd780e2dac804871d52fed619c5e82faf54d8d9d4230b2baf531eeacea09b43ae36ec09fb7b659ba74116ab59fb86731de9bcfc471a2dbdd7ad DIST rspamd-1.1.1.tar.xz 1291968 SHA256 3c4bda66b533861a84d82ea26bd7c19ccd1b1befe8b3e33a0fc211c036569a06 SHA512 c971000f9e6c09ae8c4a175fcd96471efa3f5e73689b038a45cc2212dcf296babfd4000fa41f0451b2fdd989e00192cbb234a73cef026c16466bfe78b04b5385 WHIRLPOOL e1ef4042e9a38bcff20a2a3ea0e9fa29fa813adede28867e176d3aeff952fe243fd4a083a60d810fe16c1ad22e6489583b50a38825bc20c338ddf1710f9294da diff --git a/mail-filter/rspamd/rspamd-1.0.11.ebuild b/mail-filter/rspamd/rspamd-1.0.11.ebuild deleted file mode 100644 index 7993e7a..000 --- a/mail-filter/rspamd/rspamd-1.0.11.ebuild +++ /dev/null @@ -1,54 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit cmake-utils user - -DESCRIPTION="Rapid spam filtering system" -SRC_URI="https://rspamd.com/downloads/${P}.tar.xz; -HOMEPAGE="https://github.com/vstakhov/rspamd; - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="dev-libs/openssl:0 - dev-libs/libpcre - dev-lang/luajit:2 - dev-libs/libevent - dev-db/sqlite:3 - dev-libs/glib:2 - dev-libs/gmime - dev-libs/hiredis" -RDEPEND="${DEPEND}" - -pkg_setup() { - enewgroup rspamd - enewuser rspamd -1 -1 /var/lib/rspamd rspamd -} - -src_configure() { - local mycmakeargs=( - -DCONFDIR=/etc/rspamd - -DRUNDIR=/var/run/rspamd - -DDBDIR=/var/lib/rspamd - -DLOGDIR=/var/log/rspamd - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - newinitd "${FILESDIR}/rspamd.init" rspamd - - dodir /var/lib/rspamd - dodir /var/log/rspamd - - fowners rspamd:rspamd /var/lib/rspamd /var/log/rspamd - - insinto /etc/logrotate.d - newins "${FILESDIR}/rspamd.logrotate" rspamd -} diff --git a/mail-filter/rspamd/rspamd-1.1.0.ebuild b/mail-filter/rspamd/rspamd-1.1.0.ebuild deleted file mode 100644 index ed352f4..000 --- a/mail-filter/rspamd/rspamd-1.1.0.ebuild +++ /dev/null @@ -1,55 +0,0 @@ -# Copyright 1999-2016 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -inherit cmake-utils user - -DESCRIPTION="Rapid spam filtering system" -SRC_URI="https://rspamd.com/downloads/${P}.tar.xz; -HOMEPAGE="https://github.com/vstakhov/rspamd; - -LICENSE="BSD-2" -SLOT="0" -KEYWORDS="~amd64 ~x86" -IUSE="" - -DEPEND="dev-libs/openssl:0 - dev-libs/libpcre - dev-lang/luajit:2 - dev-libs/libevent - dev-db/sqlite:3 - dev-libs/glib:2 - dev-libs/gmime - sys-apps/file - virtual/libiconv" -RDEPEND="${DEPEND}" - -pkg_setup() { - enewgroup rspamd - enewuser rspamd -1 -1 /var/lib/rspamd rspamd -} - -src_configure() { - local mycmakeargs=( - -DCONFDIR=/etc/rspamd - -DRUNDIR=/var/run/rspamd - -DDBDIR=/var/lib/rspamd - -DLOGDIR=/var/log/rspamd - ) - cmake-utils_src_configure -} - -src_install() { - cmake-utils_src_install - newinitd "${FILESDIR}/rspamd.init" rspamd - - dodir /var/lib/rspamd - dodir /var/log/rspamd - - fowners rspamd:rspamd /var/lib/rspamd /var/log/rspamd - - insinto /etc/logrotate.d
[gentoo-commits] repo/gentoo:master commit in: net-misc/tigervnc/
commit: 4739609a4554cc4ce24dad88370594f0a225c278 Author: Michał Górny gentoo org> AuthorDate: Wed Jan 27 20:43:49 2016 + Commit: Michał Górny gentoo org> CommitDate: Wed Jan 27 20:48:16 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4739609a net-misc/tigervnc: Bump to 1.6.0 Update TigerVNC to 1.6.0. Clean up the ebuild. Bump xserver to 1.17.4. net-misc/tigervnc/Manifest | 2 + net-misc/tigervnc/tigervnc-1.6.0.ebuild | 168 2 files changed, 170 insertions(+) diff --git a/net-misc/tigervnc/Manifest b/net-misc/tigervnc/Manifest index d2aa94f..7f4e2f9 100644 --- a/net-misc/tigervnc/Manifest +++ b/net-misc/tigervnc/Manifest @@ -3,8 +3,10 @@ DIST tigervnc-1.3.1-patches-0.1.tar.bz2 16016 SHA256 5bcaabd8993274a5ce1718efc15 DIST tigervnc-1.3.1.tar.gz 6888105 SHA256 628622316eefa5d4f348f00a280a513569bfae3eae6a20d72e2990654d12274e SHA512 28fe61287c4c96b3703055701cb74f7f4cb17392af5201b93fafe5187555710ab4becf110266ea161d26568064435626e85ab7570e1f7f6df2348f1a34d56e8d WHIRLPOOL 35875b230cd4face9a24ae9ff5682c122d7db7a43fe475d9216d30ca9c55409a16788bc6af5e0a2efde3457295f00a3a8f5e29b540477e806be5b0fc30408b99 DIST tigervnc-1.4.2-patches-0.1.tar.bz2 7361 SHA256 21c77708d303192108ffeef02acc0e7310461b4910bb49ae78c8a944e52c436e SHA512 86235aba8e735e4afed21d2940cee8ea2f4f1bc951db79aaf481ae79ab81d4518add6be2619ce9371f77fd068c8dbf069754ecc0168e5afe9e8505d3d61cc573 WHIRLPOOL 97a8c1719e7959ce8abd29f9ad249c7acf1b5a21ef36c0ce00b6e3bae8e6e78e9cdb0b34a23da6bd44c9e513e95f22716b286c5ec57bf1a854101c4810c7b481 DIST tigervnc-1.4.2.tar.gz 1370453 SHA256 6cfb33cb2a123dee96ca29d61523391f73c9d49b6cd2fb6522312d01da98866f SHA512 dcd9b223d0d6646a85b2f28abdf36491d6d735b0738cce0b179d745ca124d8430edd883a7ac7342bf882cf62a02ce8d7058ff9101f17c4310dbbe6bad50cc90f WHIRLPOOL 420dd1f72e1ba0de1796133acf0c35ac1e79bc1533610b927c01993af57eb293a886f57739cca7cf0f1985a269a2ed3cf2345896f59696c8e8dfc68a4b9013e5 +DIST tigervnc-1.6.0.tar.gz 1291089 SHA256 98ffe98fcfe883e6c35aec579295b53d73d2ccf62e0f6e53a73ecad993b096ca SHA512 b4f1f5116ad5fe27a168764dd746400474e973d2edb85fbbe67a2459824a7267f2c63d1a2b2fdd2811017216c24a7168712df3afece56f404780d386ad24e135 WHIRLPOOL a848148646f6961ea3131cfef773d6108330a1caaa870921d7acd1759dfbe92569a00c385c0f3a35a939b4a2a0215da825cb72b9c820972cc4bf6ada3b29fbec DIST tigervnc.png 4958 SHA256 e0828aeb92ccaaf93e690e9ee5e17803de1cb140d3ca79fb756fe08ebbc4492e SHA512 97f9a42e9b9f50f1c91de3b7d7991aa8965240fe4958d6da4e9f72f9baa4510ad615765f7c59d6e0a90c9d4b5fe53ad1547c766f2da45e4a6b6e29b03ced2b8b WHIRLPOOL bbf01f6702724bc4329d053bd3fbf856103371abce20f6f74aa3c2e5eed0eebcdcccd287788b1efbb8de3008cb484a8da5ccd1bd667727e4b0861f3bb550529c DIST xorg-server-1.15.0.tar.bz2 5546579 SHA256 613b2f2e7ee2a06d2f8e862c836dc70d319c52f1537749e027398f40086aabb8 SHA512 7bf6a9eff9cc606defbaa46600a4d7b41896f4304e06af745a2717687853c7e92b191481f1f4d6d98ef0adfe5f404c9e3997ebd98553c60b626cd1bb53c58d9d WHIRLPOOL 905d3b47938e5e5604b04953f11ec7acee9298d6f32570612d6301ac71b0c5a49e774267b627957b7a6a94f6b9bf211c9ed6b7102f389a2120a40bd45502a6d7 DIST xorg-server-1.16.0.tar.bz2 5832944 SHA256 38330a03c5f7a38745a3f9816cf069db5b8844eebb358fd39dbabf61f32cd06b SHA512 eab298e3728aa79ff2ba3f5c12637c4db0f9bbca49ed00b673b2bfedf605f33a69d8eb946bed98e3d28afd9bfaf62e21ce2e8606d84cae9906506d90c26f1662 WHIRLPOOL bd9817cf93587e2b33d63438942c75d49b04f4fc2a4544654dfcc116deaf88abcccd0fa2496fb58848d5a007d2e32177cdbcd3f44237efd8b7882a0abc5b8d56 DIST xorg-server-1.16.4.tar.bz2 5817330 SHA256 abb6e1cc9213a9915a121f48576ff6739a0b8cdb3d32796f9a7743c9a6efc871 SHA512 f756fca65535aa921a85d8d8eb36ea2ba5b7af90a46d640b0ca76259a9abd9d323885087e11156528d95240937c70373045001ae20266a1b9e89909f007e9e74 WHIRLPOOL 63980a3e2b57d2860998344f21a6524598b3dc135c277e5a868e34b57ab5060681ae7137358b3ba8b9ca5fd622a91aeb06bd0ac9e3e5ce1f4dc55df2b2dc0e33 DIST xorg-server-1.17.1.tar.bz2 5852385 SHA256 2bf8e9f6f0a710dec1d2472467bff1f4e247cb6dcd76eb469aafdc8a2d7db2ab SHA512 195a0e0a6bd9c7655e62dd40dfbd7dea77d10f1143d4fd6154e8bdbb463d3729f81ecd1e379d66f68e828d4f4583782c15ce260de2802076844aec552c4f WHIRLPOOL a8a78b0bfa6137941e3434f083319a827f0332fd9c190922bb0a33381e86173868d236c96a89ee3049400f37521fe052838416f009713f004227f05b8717d776 +DIST xorg-server-1.17.4.tar.bz2 5791384 SHA256 0c4b45c116a812a996eb432d8508cf26c2ec8c3916ff2a50781796882f8d6457 SHA512 4b8377b86ca88f27dcf59db2996b2ee620ce6f181a37dc47600365db588d48f2f3ca66a3149e7c856e686e5783b1cccb2ba0827aa7413299163dfca869f4d376 WHIRLPOOL c5baa1b01e57eac9e18bd1890c0a7e2246836524645057d5e05a1a19225d863645616aafaadbf9d083ffb672d47ea1934ad8323d813533e9519f0d92f9a1c6ab diff --git a/net-misc/tigervnc/tigervnc-1.6.0.ebuild b/net-misc/tigervnc/tigervnc-1.6.0.ebuild new file mode 100644 index 000..0336830 --- /dev/null +++ b/net-misc/tigervnc/tigervnc-1.6.0.ebuild @@ -0,0 +1,168 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed
[gentoo-commits] proj/portage:master commit in: pym/repoman/
commit: 1e8f007ab878509cf54a339dd4d9b7037a85593e Author: Brian Dolbec gentoo org> AuthorDate: Wed Jan 27 20:32:47 2016 + Commit: Brian Dolbec gentoo org> CommitDate: Wed Jan 27 20:34:39 2016 + URL:https://gitweb.gentoo.org/proj/portage.git/commit/?id=1e8f007a repoman: Re-add an if that bypasses the chnanges scan (bug 540882) This if is neded to prevent unnecessary VCS operations which is a big slowdown for large repositories. X-Gentoo-Bug: 540882 X-Gentoo-Bug-url: https://bugs.gentoo.org/show_bug.cgi?id=540882 pym/repoman/scanner.py | 5 - 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/pym/repoman/scanner.py b/pym/repoman/scanner.py index d1c10d7..04d8b29 100644 --- a/pym/repoman/scanner.py +++ b/pym/repoman/scanner.py @@ -171,7 +171,10 @@ class Scanner(object): print(green("\nRepoMan scours the neighborhood...")) self.changed = Changes(self.options) - self.changed.scan(self.vcs_settings) + # bypass unneeded VCS operations if not needed + if (self.options.if_modified != "y" and + self.options.mode in ("manifest", "manifest-check")): + self.changed.scan(self.vcs_settings) self.have = { 'pmasked': False,
[gentoo-commits] repo/gentoo:master commit in: net-misc/tigervnc/
commit: 9af227269791350af8085c2e4e979d730340c33e Author: Michał Górny gentoo org> AuthorDate: Wed Jan 27 19:32:23 2016 + Commit: Michał Górny gentoo org> CommitDate: Wed Jan 27 20:48:16 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9af22726 net-misc/tigervnc: Add myself as co-maintainer net-misc/tigervnc/metadata.xml | 4 1 file changed, 4 insertions(+) diff --git a/net-misc/tigervnc/metadata.xml b/net-misc/tigervnc/metadata.xml index 74700b3..0b4fcb1 100644 --- a/net-misc/tigervnc/metadata.xml +++ b/net-misc/tigervnc/metadata.xml @@ -4,6 +4,10 @@ armi...@gentoo.org + +mgo...@gentoo.org +Michał Górny + Build TigerVNC server Build the Xorg module
[gentoo-commits] repo/gentoo:master commit in: gnome-extra/gnome-calculator/
commit: fa350b4dae3274edf3f2bb1992b505bcef0fca91 Author: Gilles Dartiguelongue gentoo org> AuthorDate: Wed Jan 27 21:26:03 2016 + Commit: Gilles Dartiguelongue gentoo org> CommitDate: Wed Jan 27 21:26:03 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa350b4d gnome-extra/gnome-calculator: version bump to 3.18.3 Package-Manager: portage-2.2.26 gnome-extra/gnome-calculator/Manifest | 1 + .../gnome-calculator-3.18.3.ebuild | 40 ++ 2 files changed, 41 insertions(+) diff --git a/gnome-extra/gnome-calculator/Manifest b/gnome-extra/gnome-calculator/Manifest index 986a99b..4010116 100644 --- a/gnome-extra/gnome-calculator/Manifest +++ b/gnome-extra/gnome-calculator/Manifest @@ -1,2 +1,3 @@ DIST gnome-calculator-3.16.2.tar.xz 1437060 SHA256 f4c6ca7e0eda0dbb7d5cfb85ee9fe3351b1d8bd1bf05ce890939374b95e230a0 SHA512 f8141eca9eafa42277abd86fab4913e41c432471596f009c344915fc7f481172fcce240ab463597a70ff61c95e225fd0c618ca0fcb15b08c6f14e29b023cf218 WHIRLPOOL 0aca9c143d0c1334aa7c63061eba1606e16bb1593122f3d1d952118d1b8aa2f702c960ba875ac9b11ea1a5b74decae8d9eac7cea53040c34bb26fa0a7731d5a5 DIST gnome-calculator-3.18.2.tar.xz 1353708 SHA256 c86c5857409ce1d01896904e97ccf0a1a880f3dcf428a524e5c0fec27b274d64 SHA512 be067ba231256cc90bb710ca12c863ef73d671da198ea9c6b6e8797b0bd7ccf3800831ba2603bd1cb352ce384172e54deb30199974a9e3d766d2e46a38246eab WHIRLPOOL 8a01a26d0fe82d564bc29b6ada413767ee654dd1a639be6f196a704abba36ee2e5ad831951139dd15adc7279eb548bc764d101c4c91582f33d81876062c1de9f +DIST gnome-calculator-3.18.3.tar.xz 1339496 SHA256 c376a4a14a3f7946b799b8458ac4cf2694735fc7c20e90cfda29e209439e32ff SHA512 74ee2e22dc199a1beb8526bfa11174caaaeed0c2568f5e122f1c1c7f09b75926d30b5bdfa61a1e8495de9c2a449ee632e62fbbc11c04d5c44c83f819a6c409b5 WHIRLPOOL c371233a98ec28a3aa2a956d69b834a97508e0d6a58a43f918ca1d992b7efb434533926cd2d72a610c1c00cfbb101139c1db44a7771549da463c882cc0702c98 diff --git a/gnome-extra/gnome-calculator/gnome-calculator-3.18.3.ebuild b/gnome-extra/gnome-calculator/gnome-calculator-3.18.3.ebuild new file mode 100644 index 000..d51544b --- /dev/null +++ b/gnome-extra/gnome-calculator/gnome-calculator-3.18.3.ebuild @@ -0,0 +1,40 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +GCONF_DEBUG="no" + +inherit gnome2 + +DESCRIPTION="A calculator application for GNOME" +HOMEPAGE="https://wiki.gnome.org/Apps/Calculator; + +LICENSE="GPL-2" +SLOT="0" +IUSE="" +KEYWORDS="~alpha ~amd64 ~arm ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux" + +COMMON_DEPEND=" + >=dev-libs/glib-2.40:2 + dev-libs/libxml2:2 + dev-libs/mpfr:0 + >=x11-libs/gtk+-3.11.6:3 + >=x11-libs/gtksourceview-3.15.1:3.0 +" +RDEPEND="${COMMON_DEPEND} + !
[gentoo-commits] repo/gentoo:master commit in: sys-cluster/neutron/
commit: 8b50f6f201824c3863b1fae0c570ede9d04ba43d Author: Matthew Thode gentoo org> AuthorDate: Wed Jan 27 21:36:18 2016 + Commit: Matt Thode gentoo org> CommitDate: Wed Jan 27 21:36:18 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b50f6f2 sys-cluster/neutron: bup Package-Manager: portage-2.2.26 sys-cluster/neutron/Manifest| 1 + sys-cluster/neutron/neutron-2015.2..ebuild | 6 +- .../{neutron-2015.2..ebuild => neutron-7.0.2.ebuild}| 13 - 3 files changed, 14 insertions(+), 6 deletions(-) diff --git a/sys-cluster/neutron/Manifest b/sys-cluster/neutron/Manifest index 7dd0bab..ceedafa 100644 --- a/sys-cluster/neutron/Manifest +++ b/sys-cluster/neutron/Manifest @@ -1 +1,2 @@ DIST neutron-7.0.1.tar.gz 253 SHA256 99d9f2d05b225777f521a88849bd42691408e7986af76a6d76a18eeac736c19e SHA512 a072e7c44c55c00d4bcf1d17e0de8801b729849d354003c2eac2a14033fa9c81a5d7f83411bc235bdce070c55c1b76bbb86a836336eb17c3c04f00c2358ac953 WHIRLPOOL ce8ef78b8f0df852b561b336812b9101708cc8a036c28ccf8c7f7eee16d52ba0a61179f519f9ec469935e4920dacb7e9cdc6c3f37a8d71997885d29b7df58ba9 +DIST neutron-7.0.2.tar.gz 2512153 SHA256 6e6988b301b87f21cc470c2ca7dd6fb91586860b477f958aba1be77c79afe51a SHA512 841e2e7aad0585a0f906aef90f67168ba9d95b4afdc94be0ac415fc1b975141c3488d31ae3096fc6d3eb47ef67d93d5e1e7980d9b95ea53e720aa0e08091d476 WHIRLPOOL 5a690ddbb0030df2d97e42c559c614b0d0eb003b814f8d0fd43cb62ac684109cd4b0b010a5cd827508fe83a14b0d580be32ab0ff775328b5666aa41b1515160e diff --git a/sys-cluster/neutron/neutron-2015.2..ebuild b/sys-cluster/neutron/neutron-2015.2..ebuild index c51ab18..7f7ddec 100644 --- a/sys-cluster/neutron/neutron-2015.2..ebuild +++ b/sys-cluster/neutron/neutron-2015.2..ebuild @@ -1,4 +1,4 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ @@ -86,6 +86,7 @@ RDEPEND=" <=dev-python/httplib2-0.9.2[${PYTHON_USEDEP}] >=dev-python/requests-2.5.2[${PYTHON_USEDEP}] !~dev-python/requests-2.8.0[${PYTHON_USEDEP}] + !~dev-python/requests-2.9.0[${PYTHON_USEDEP}] <=dev-python/requests-2.8.1[${PYTHON_USEDEP}] >=dev-python/jinja-2.6[${PYTHON_USEDEP}] <=dev-python/jinja-2.8[${PYTHON_USEDEP}] @@ -155,6 +156,9 @@ RDEPEND=" !~dev-python/oslo-messaging-3.1.0[${PYTHON_USEDEP}] <=dev-python/oslo-messaging-3.0.0[${PYTHON_USEDEP}] >=dev-python/oslo-middleware-2.8.0[${PYTHON_USEDEP}] + !~dev-python/oslo-middleware-3.0.0[${PYTHON_USEDEP}] + !~dev-python/oslo-middleware-3.1.0[${PYTHON_USEDEP}] + !~dev-python/oslo-middleware-3.2.0[${PYTHON_USEDEP}] <=dev-python/oslo-middleware-3.3.0[${PYTHON_USEDEP}] >=dev-python/oslo-policy-0.5.0[${PYTHON_USEDEP}] <=dev-python/oslo-policy-1.1.0[${PYTHON_USEDEP}] diff --git a/sys-cluster/neutron/neutron-2015.2..ebuild b/sys-cluster/neutron/neutron-7.0.2.ebuild similarity index 96% copy from sys-cluster/neutron/neutron-2015.2..ebuild copy to sys-cluster/neutron/neutron-7.0.2.ebuild index c51ab18..33f72a8 100644 --- a/sys-cluster/neutron/neutron-2015.2..ebuild +++ b/sys-cluster/neutron/neutron-7.0.2.ebuild @@ -1,20 +1,19 @@ -# Copyright 1999-2015 Gentoo Foundation +# Copyright 1999-2016 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Id$ EAPI=5 PYTHON_COMPAT=( python2_7 ) -inherit distutils-r1 git-2 linux-info user +inherit distutils-r1 linux-info user DESCRIPTION="A virtual network service for Openstack" HOMEPAGE="https://launchpad.net/neutron; -EGIT_REPO_URI="https://github.com/openstack/neutron.git; -EGIT_BRANCH="stable/liberty" +SRC_URI="https://tarballs.openstack.org/${PN}/${P}.tar.gz; LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="" +KEYWORDS="~amd64 ~x86" IUSE="compute-only dhcp doc ipv6 l3 metadata openvswitch linuxbridge server test sqlite mysql postgres" REQUIRED_USE="!compute-only? ( || ( mysql postgres sqlite ) ) compute-only? ( !mysql !postgres !sqlite !dhcp !l3 !metadata !server @@ -86,6 +85,7 @@ RDEPEND=" <=dev-python/httplib2-0.9.2[${PYTHON_USEDEP}] >=dev-python/requests-2.5.2[${PYTHON_USEDEP}] !~dev-python/requests-2.8.0[${PYTHON_USEDEP}] + !~dev-python/requests-2.9.0[${PYTHON_USEDEP}] <=dev-python/requests-2.8.1[${PYTHON_USEDEP}] >=dev-python/jinja-2.6[${PYTHON_USEDEP}] <=dev-python/jinja-2.8[${PYTHON_USEDEP}] @@ -155,6 +155,9 @@ RDEPEND=" !~dev-python/oslo-messaging-3.1.0[${PYTHON_USEDEP}] <=dev-python/oslo-messaging-3.0.0[${PYTHON_USEDEP}] >=dev-python/oslo-middleware-2.8.0[${PYTHON_USEDEP}] + !~dev-python/oslo-middleware-3.0.0[${PYTHON_USEDEP}] + !~dev-python/oslo-middleware-3.1.0[${PYTHON_USEDEP}] +
[gentoo-commits] repo/gentoo:master commit in: sys-fs/zfs/
commit: 20edf1937919932ae5f8a23dbe614bdcca35c61a Author: Richard Yao gentoo org> AuthorDate: Wed Jan 27 21:39:44 2016 + Commit: Richard Yao gentoo org> CommitDate: Wed Jan 27 21:41:30 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=20edf193 sys-fs/zfs-0.6.5.3-r4: Regression fixes Fixes additional regressions in the code from the proposed stable API branch. Package-Manager: portage-2.2.24 Signed-off-by: Richard Yao gentoo.org> sys-fs/zfs/Manifest | 1 + sys-fs/zfs/zfs-0.6.5.3-r4.ebuild | 230 +++ 2 files changed, 231 insertions(+) diff --git a/sys-fs/zfs/Manifest b/sys-fs/zfs/Manifest index 7690f9c..73a49e9 100644 --- a/sys-fs/zfs/Manifest +++ b/sys-fs/zfs/Manifest @@ -8,5 +8,6 @@ DIST zfs-0.6.4.2.tar.gz 1738601 SHA256 26af2924cbb891b79203a31827cba4cdc310162d5 DIST zfs-0.6.5.2.tar.gz 1817267 SHA256 aecd2bc5189f2a71a45eb30146bed231af4f35af5ec7af83a74987c3d595 SHA512 7f0b20feca91d5ab952c1d49ae94d241f8868825b163a3d5f2ad0fd7adcac3ab246a3e6a755019a833be553fbbfd6609828d8123f49a43b42bf76cfd64f234ec WHIRLPOOL 00fd628ef2267366b6f0705e6436ac55b260aabc3588c7f58a7042dfbfe95a0478740b4579326638d28f10ffc8f2d5b3ed21b9f8297e72344ec439fe30310634 DIST zfs-0.6.5.3-patches-p0.tar.xz 63780 SHA256 cc6d2881304738619b9d00bc55fbd358119b35cbb345cae2ecf538051f1b7fe7 SHA512 4a531fd10d1d4d9c9cabaad9c13d8112eab3641249a7ce44599288bc4510b444d132833fae2fdf922eff43670ce77d32972c7b5b4a7d70f80c3365a0dcc89b70 WHIRLPOOL adc20e7917a518c790007499763210a4d27a164abe00a86f76d64f56f0fafc459f5d5c483019acacc136e41c57894e669fd58956b3f0ac0bcafeb1e02fec7988 DIST zfs-0.6.5.3-patches-p2.tar.xz 85996 SHA256 0e38b1bd7e2eb96c74b3eaab49c14f1f65fa02dc42b62b6015200185bfc911c7 SHA512 0a8fb131cc9a5a239a7434593000259a581b20ee7c6fef87ec2ea78281b7887151e219ebe66603b9dafaa4fa22cbf8c55175e1f6b36af4502c147c478f0b3e38 WHIRLPOOL 726bf1c05605943a205e2e70099c6cf8c7ba8cc9bbf34d45a2d56cea87c1e23166700979e47c82dd91bd1778e297dd211a0e6f48e0eab2392471218bcb5853ce +DIST zfs-0.6.5.3-patches-p3.tar.xz 88736 SHA256 031cd97765f890d9b78e1a5746cbd2a3ce06c7208693ec75c0b47324ac67b97a SHA512 8f17cc6e02a35828a57a7c2a437d9d18a41203b6e3f9e154b2ab863296b64596dc827afeeb0f993e37f47881d0f2ed4834f270d0ba843ab84b21c491cc352576 WHIRLPOOL 20f69c0a936bb612d5e3b551d4bf904aca3aff6d885d72f67f3b14cd720094ec13e383032ee4e322b0e81017d8ffcfafb47bf07f273badef34f7210d687ddacc DIST zfs-0.6.5.3.tar.gz 2524218 SHA256 49e6f9760ea172cb756f7357e4bcb90ee0293028540a68d62ed087724276131f SHA512 325cb91b7ddbcd6aa0bb9fc41eb0099dbb047a4e32d096fd414799729ef68cbc9c2e15714092eff8044a681af4ab552bd9ac1949cc673c6c5c3de1a23d9895ec WHIRLPOOL 957c3a75bb11befd4b74583883f2f11f717deb6bda368939b342049e809aa191a9ee8d1e709eaddc2a831418c7fdb5e763f918ff56d45f03baf4569ef8a4a070 DIST zfs-kmod-0.6.2-p4.tar.xz 63984 SHA256 9167edc4be86e3fcda6b3c198e51f92ab0c95ac5baca11666c28029a628cdac9 SHA512 13e4ec415c35d2f268d89565745f5898c0943423577a2ba6714b3a069c5a80f244cd06dff91464f38dd4ed60673d1145ead080bb03a56d4be33e328f948ffa64 WHIRLPOOL 8c399ec67119ed4fbebb5599d00f888918678bc4e4ea369b4bdc5c75bfc90fc76396087624c8011de370a54ff103bccaa8922d05ac7ccebb2b3481bbbcf44b19 diff --git a/sys-fs/zfs/zfs-0.6.5.3-r4.ebuild b/sys-fs/zfs/zfs-0.6.5.3-r4.ebuild new file mode 100644 index 000..6a6be4a --- /dev/null +++ b/sys-fs/zfs/zfs-0.6.5.3-r4.ebuild @@ -0,0 +1,230 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" +PYTHON_COMPAT=( python{2_7,3_3,3_4,3_5} ) + +AT_M4DIR="config" +AUTOTOOLS_AUTORECONF="1" +AUTOTOOLS_IN_SOURCE_BUILD="1" + +if [ ${PV} == "" ] ; then + inherit git-r3 linux-mod + AUTOTOOLS_AUTORECONF="1" + EGIT_REPO_URI="git://github.com/zfsonlinux/${PN}.git" +else + SRC_URI="https://github.com/zfsonlinux/${PN}/releases/download/${P}/${P}.tar.gz + https://dev.gentoo.org/~ryao/dist/${P}-patches-p3.tar.xz; + KEYWORDS="~amd64 ~arm ~ppc ~ppc64" +fi + +inherit autotools-utils bash-completion-r1 flag-o-matic linux-info python-r1 systemd toolchain-funcs udev + +DESCRIPTION="Userland utilities for ZFS Linux kernel module" +HOMEPAGE="http://zfsonlinux.org/; + +LICENSE="BSD-2 CDDL MIT" +SLOT="0" +IUSE="custom-cflags debug kernel-builtin +rootfs test-suite static-libs" +RESTRICT="test" + +COMMON_DEPEND=" + sys-apps/util-linux[static-libs?] + sys-libs/zlib[static-libs(+)?] + virtual/awk +" +DEPEND="${COMMON_DEPEND} + virtual/pkgconfig +" + +RDEPEND="${COMMON_DEPEND} + !=sys-apps/grep-2.13* + !kernel-builtin? ( + =sys-fs/zfs-kmod-${PV}* + !=sys-fs/udev-init-scripts-28 +" + +AT_M4DIR="config" +AUTOTOOLS_IN_SOURCE_BUILD="1" + +pkg_setup() { + if use kernel_linux && use test-suite; then + linux-info_pkg_setup + if ! linux_config_exists; then + ewarn "Cannot check the linux kernel
[gentoo-commits] repo/gentoo:master commit in: sys-fs/zfs-kmod/
commit: 106ad598496409975f2f23943803c73d56b33bab Author: Richard Yao gentoo org> AuthorDate: Wed Jan 27 21:38:33 2016 + Commit: Richard Yao gentoo org> CommitDate: Wed Jan 27 21:41:17 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=106ad598 sys-fs/zfs-kmod-0.6.5.3-r4: Regression fixes Fixes additional regressions in the code from the proposed stable API branch. Package-Manager: portage-2.2.24 Signed-off-by: Richard Yao gentoo.org> sys-fs/zfs-kmod/Manifest| 2 +- .../zfs-kmod/{zfs-kmod-0.6.5.3-r3.ebuild => zfs-kmod-0.6.5.3-r4.ebuild} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-fs/zfs-kmod/Manifest b/sys-fs/zfs-kmod/Manifest index b358671..9d35af1 100644 --- a/sys-fs/zfs-kmod/Manifest +++ b/sys-fs/zfs-kmod/Manifest @@ -6,7 +6,7 @@ DIST zfs-0.6.3-patches-r1.tar.xz 87852 SHA256 71b5286f77cb6a6c2b97cee406dfd4788f DIST zfs-0.6.3.tar.gz 1665270 SHA256 00caeae63cc724d3dd741aeb36fd2dc03d2158794bd6a5e925cdc8d7e5d3da8c SHA512 8c7741f5f227eb031d79fe87bf7d60e790a098fa6caede462d556c97d798832f97f5a377cbb74fc99b8d198e5f3cc1a3491f69fcdaa0408933dbadd132013416 WHIRLPOOL db9791da12c441c89667b194154b209f5aa69ea46d5327cfcde0b3a910cf1f0e5ca448909824e45b31252a1907280b711fb6ba04eb313d09de0ffbf5e6e304fe DIST zfs-0.6.4.2.tar.gz 1738601 SHA256 26af2924cbb891b79203a31827cba4cdc310162d5f7b9e2d643eb6576aa19015 SHA512 87a28997b8f9d36e189410171db583402418a55782b7b7f333993e98c5e17ccc4b6cd5825f38b904294c87e3dfdfb7748bd71cc371589c1358f16c942e0c18db WHIRLPOOL 1700de7da56311a7b608c99a821e2fa97a6145ccc88f3d8eff12f778421ba7b7b9cc5f5fbe5f1acd2ea2fd1db778c200a2ea961e3859a8fc89d80474894293f1 DIST zfs-0.6.5.2.tar.gz 1817267 SHA256 aecd2bc5189f2a71a45eb30146bed231af4f35af5ec7af83a74987c3d595 SHA512 7f0b20feca91d5ab952c1d49ae94d241f8868825b163a3d5f2ad0fd7adcac3ab246a3e6a755019a833be553fbbfd6609828d8123f49a43b42bf76cfd64f234ec WHIRLPOOL 00fd628ef2267366b6f0705e6436ac55b260aabc3588c7f58a7042dfbfe95a0478740b4579326638d28f10ffc8f2d5b3ed21b9f8297e72344ec439fe30310634 -DIST zfs-0.6.5.3-patches-p2.tar.xz 85996 SHA256 0e38b1bd7e2eb96c74b3eaab49c14f1f65fa02dc42b62b6015200185bfc911c7 SHA512 0a8fb131cc9a5a239a7434593000259a581b20ee7c6fef87ec2ea78281b7887151e219ebe66603b9dafaa4fa22cbf8c55175e1f6b36af4502c147c478f0b3e38 WHIRLPOOL 726bf1c05605943a205e2e70099c6cf8c7ba8cc9bbf34d45a2d56cea87c1e23166700979e47c82dd91bd1778e297dd211a0e6f48e0eab2392471218bcb5853ce +DIST zfs-0.6.5.3-patches-p3.tar.xz 88736 SHA256 031cd97765f890d9b78e1a5746cbd2a3ce06c7208693ec75c0b47324ac67b97a SHA512 8f17cc6e02a35828a57a7c2a437d9d18a41203b6e3f9e154b2ab863296b64596dc827afeeb0f993e37f47881d0f2ed4834f270d0ba843ab84b21c491cc352576 WHIRLPOOL 20f69c0a936bb612d5e3b551d4bf904aca3aff6d885d72f67f3b14cd720094ec13e383032ee4e322b0e81017d8ffcfafb47bf07f273badef34f7210d687ddacc DIST zfs-0.6.5.3.tar.gz 2524218 SHA256 49e6f9760ea172cb756f7357e4bcb90ee0293028540a68d62ed087724276131f SHA512 325cb91b7ddbcd6aa0bb9fc41eb0099dbb047a4e32d096fd414799729ef68cbc9c2e15714092eff8044a681af4ab552bd9ac1949cc673c6c5c3de1a23d9895ec WHIRLPOOL 957c3a75bb11befd4b74583883f2f11f717deb6bda368939b342049e809aa191a9ee8d1e709eaddc2a831418c7fdb5e763f918ff56d45f03baf4569ef8a4a070 DIST zfs-0.6.5.tar.gz 1816180 SHA256 542121940122c922c9d21a2bb39bca4e4a9db2f6bbfd2e576630840e256d4c82 SHA512 58480ee9b0780f1f21d12504abc226be3e6df1939214f6a8f245315d1fa0b9da56b3a744df26426ee78f13684a4ca288df6dddc50f8f91d9d0b4c542980a9c53 WHIRLPOOL fdb5580ec8d4abe57069ce453c1d91225019758ecf5d31856a7897ac7e4b51c6a8ae3258e822f684fbd70a0a7d7410c65c37a569f37d132767522118c587cc24 DIST zfs-kmod-0.6.2-p2.tar.xz 28636 SHA256 12882463a38a5a57cf2bb3c14c5783f9511f6dc7b163a47575f2f3dcc24f26f6 SHA512 5792660ae8f5013d12e70d608e9cffa92a8c4089a88a5e78728ee88204b3f970d452d5b0b3874e02be49ebbc139e07139be7b5a86ca40bc8b23cb11a7198a9a8 WHIRLPOOL 0e4c57b363cdd3d736efbd1355567b18e22439bd3b20ef40b27f6b97ad4570c7cc99a11b196ac25359d1966c1a70e178f4fd1687b60450f148ccda47b07282a9 diff --git a/sys-fs/zfs-kmod/zfs-kmod-0.6.5.3-r3.ebuild b/sys-fs/zfs-kmod/zfs-kmod-0.6.5.3-r4.ebuild similarity index 98% rename from sys-fs/zfs-kmod/zfs-kmod-0.6.5.3-r3.ebuild rename to sys-fs/zfs-kmod/zfs-kmod-0.6.5.3-r4.ebuild index 882c0a7..097c4be 100644 --- a/sys-fs/zfs-kmod/zfs-kmod-0.6.5.3-r3.ebuild +++ b/sys-fs/zfs-kmod/zfs-kmod-0.6.5.3-r4.ebuild @@ -14,7 +14,7 @@ if [ ${PV} == "" ]; then inherit git-r3 else SRC_URI="https://github.com/zfsonlinux/zfs/releases/download/zfs-${PV}/zfs-${PV}.tar.gz - https://dev.gentoo.org/~ryao/dist/zfs-${PV}-patches-p2.tar.xz; + https://dev.gentoo.org/~ryao/dist/zfs-${PV}-patches-p3.tar.xz; S="${WORKDIR}/zfs-${PV}" KEYWORDS="~amd64 ~arm ~ppc ~ppc64" fi
[gentoo-commits] repo/gentoo:master commit in: dev-vcs/git-tools/
commit: a6499650ed72602121699b40797f3d479b71852b Author: Robin H. Johnson gentoo org> AuthorDate: Wed Jan 27 21:43:58 2016 + Commit: Robin H. Johnson gentoo org> CommitDate: Wed Jan 27 21:44:11 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a6499650 dev-vcs/git-tools: add useful symlinks. Package-Manager: portage-2.2.24 .../git-tools/git-tools-2015_p20151225-r1.ebuild | 44 ++ 1 file changed, 44 insertions(+) diff --git a/dev-vcs/git-tools/git-tools-2015_p20151225-r1.ebuild b/dev-vcs/git-tools/git-tools-2015_p20151225-r1.ebuild new file mode 100644 index 000..a1916bb --- /dev/null +++ b/dev-vcs/git-tools/git-tools-2015_p20151225-r1.ebuild @@ -0,0 +1,44 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +PYTHON_COMPAT=( python2_7 python3_{1..5} ) +inherit python-r1 + +DESCRIPTION="Assorted git-related scripts" +HOMEPAGE="https://github.com/MestreLion/git-tools/; +MY_PV="ff7a07daa6898fd0993180f64bd232aa4def6018" +SRC_URI="https://github.com/MestreLion/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3+" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="" + +DEPEND="" +RDEPEND=" + >=dev-vcs/git-2.5 + >=app-shells/bash-4.0" + +MY_P=${PN}-${MY_PV} +S=${WORKDIR}/${MY_P} + +src_compile() { + :; +} + +src_install() { + SCRIPTS_BASH="git-branches-rename git-clone-subset git-find-uncommited-repos git-rebase-theirs git-strip-merge" + SCRIPTS_PYTHON="git-restore-mtime" + dobin $SCRIPTS_BASH + dobin $SCRIPTS_PYTHON + for p in $SCRIPTS_PYTHON ; do + python_replicate_script "${ED}"/usr/bin/$p + done + # Make it possible to use the tools as 'git $TOOLNAME' + for i in $SCRIPTS_BASH $SCRIPTS_PYTHON ; do + dosym /usr/bin/$i /usr/libexec/git-core/ + done + dodoc README.md +}
[gentoo-commits] repo/gentoo:master commit in: dev-java/icedtea-web/
commit: 28e52313b19595fc9edc3fe41824fa13f30d4964 Author: James Le Cuirot gentoo org> AuthorDate: Wed Jan 27 21:44:58 2016 + Commit: James Le Cuirot gentoo org> CommitDate: Wed Jan 27 21:48:36 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=28e52313 dev-java/icedtea-web: Fix sandbox violation, bug #573060 Package-Manager: portage-2.2.27 dev-java/icedtea-web/icedtea-web-1.6.1.ebuild | 7 ++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/dev-java/icedtea-web/icedtea-web-1.6.1.ebuild b/dev-java/icedtea-web/icedtea-web-1.6.1.ebuild index 0a3c79c..651a655 100644 --- a/dev-java/icedtea-web/icedtea-web-1.6.1.ebuild +++ b/dev-java/icedtea-web/icedtea-web-1.6.1.ebuild @@ -6,7 +6,7 @@ EAPI="5" README_GENTOO_SUFFIX="-r1" -inherit autotools eutils multilib readme.gentoo-r1 java-pkg-2 +inherit autotools eutils multilib readme.gentoo-r1 java-pkg-2 xdg-utils DESCRIPTION="FOSS Java browser plugin and Web Start implementation" HOMEPAGE="http://icedtea.classpath.org; @@ -65,7 +65,12 @@ src_configure() { $(use_with tagsoup tagsoup "${tagsoup}") ) + # See bug #573060. + xdg_environment_reset + + # Rely on the --with-jdk-home option given above. unset JAVA_HOME JDK_HOME CLASSPATH JAVAC JAVACFLAGS + econf "${config[@]}" }
[gentoo-commits] repo/gentoo:master commit in: net-im/mcabber/
commit: 4c5e95e68e30fca5479e4de3190fdefb0a9cc3ad Author: Wolfram Schlich gentoo org> AuthorDate: Wed Jan 27 11:04:54 2016 + Commit: Wolfram Schlich gentoo org> CommitDate: Wed Jan 27 11:04:54 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4c5e95e6 net-im/mcabber: version bump; sys-libs/ncurses dependency fix Package-Manager: portage-2.2.27 net-im/mcabber/Manifest | 1 + net-im/mcabber/mcabber-1.0.1.ebuild | 119 2 files changed, 120 insertions(+) diff --git a/net-im/mcabber/Manifest b/net-im/mcabber/Manifest index 4de926d..c94c1a9 100644 --- a/net-im/mcabber/Manifest +++ b/net-im/mcabber/Manifest @@ -1,3 +1,4 @@ DIST mcabber-0.10.2_p20131025.tar.gz 399025 SHA256 90f4e583a7ea929abcd243dc970d64db53f1f577a4a76dc55432eaa86b5ce007 SHA512 4910acfb3d0f6341e0926bff740186d3039a47f15fd075409ecd940b6388b9bb3bf35cb88eb675e6063eaefba6f4421ca7c07e18cb307a1c7b3206c077feeeb1 WHIRLPOOL 12b9ea8d5dd2e70afeeaab18f8361bd57a5c9850bfc70e953800efe5319d632881163c48d904efc07aadb9cb1a33c09d9b034537e4fe3102793da084bd246e97 DIST mcabber-0.10.3.tar.bz2 612153 SHA256 77466138496cc26db125145cc28dc4fc0df79827143b922dfb9f02eb0dc7fa6d SHA512 3f4c83dbe99f1e1981a89d2a9cdfbaf96b265aaabe133e41d562491557e0acc2d780ae88aa3e45eca9088318ef7d7b284f1df445d2b5afb139d5a247e111bc10 WHIRLPOOL 7139d7b44837026276b269f5d911486bc898ef4c72d0cec2ada066636f284c00205b207241024d4311a82f7eb6a83590dbf402167dec4441e477f6166a7595b5 DIST mcabber-1.0.0.tar.bz2 602173 SHA256 5476bcba395e0b9527823f5a9bce725151756f685ce2dcf6fad3dbe50a157032 SHA512 bad8af15ed984ac0a568ea497464a3fa9b3ba3dea51cdd4042361be10783bba3578859ced532cd2c1cf19588fc42bdd561486b9fce6ed2da86a509e29c26c497 WHIRLPOOL f9eba52f2686f0571947e006ce825378be7f00db8192988e5a071a86160c48b113609fe4f539d61191378348333763c24e013f5bc69863f4b41a54264313e3f8 +DIST mcabber-1.0.1.tar.bz2 604661 SHA256 579a45a2bc944455012ca9b308f7f3454efabbe0c36c6723af761aa1f3092d93 SHA512 23b268fb0c4e5ce0f28333d2b35fa8b6ead819359c0e2a633158bdcb637040c23deb2ca54d7d1a98a8a8fa37323bfe078371e790b5809af76fe9b940529f728c WHIRLPOOL 9e5a2478a5bc7c8d35526bb81178842e04a5367b23cd7ec8dfa303069a6ad75ae74411977b9f354d3758c80a6ed578a4caf4c21cdb5322feece818d50e053a6b diff --git a/net-im/mcabber/mcabber-1.0.1.ebuild b/net-im/mcabber/mcabber-1.0.1.ebuild new file mode 100644 index 000..3fc2a58 --- /dev/null +++ b/net-im/mcabber/mcabber-1.0.1.ebuild @@ -0,0 +1,119 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +inherit flag-o-matic autotools-utils + +DESCRIPTION="A small Jabber console client with various features, like MUC, SSL, PGP" +HOMEPAGE="http://mcabber.com/; +#REV="a18e1b488f1c" +#SRC_URI="http://mcabber.com/hg/index.cgi/archive/${REV}.tar.gz -> ${P}.tar.gz" +SRC_URI="http://mcabber.com/files/${P}.tar.bz2; + +#S=${WORKDIR}/${PN}-${REV}/${PN} + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos" + +IUSE="aspell crypt idn modules otr spell ssl vim-syntax" + +LANGS="cs de fr it nl pl ru uk" +# localized help versions are installed only, when LINGUAS var is set +for i in ${LANGS}; do + IUSE="${IUSE} linguas_${i}" +done; + +RDEPEND="crypt? ( >=app-crypt/gpgme-1.0.0 ) + otr? ( >=net-libs/libotr-3.1.0 ) + aspell? ( app-text/aspell ) + vim-syntax? ( || ( app-editors/vim app-editors/gvim ) ) + idn? ( net-dns/libidn ) + spell? ( app-text/enchant ) + dev-libs/glib:2 + sys-libs/ncurses:0= + >=net-libs/loudmouth-1.4.3-r1[ssl?]" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +## autotools-utils.eclass settings +AUTOTOOLS_AUTORECONF="1" +AUTOTOOLS_IN_SOURCE_BUILD="1" +DOCS=( AUTHORS ChangeLog NEWS README TODO mcabberrc.example doc/README_PGP.txt ) +PATCHES=( + "${FILESDIR}/${PN}-0.10.3-vim-ftdetect.patch" +) + +pkg_setup() { + if use aspell && use spell; then + ewarn "NOTE: You have both USE flags 'aspell' and 'spell' enabled, enchant (USE flag 'spell') will be preferred." + fi +} + +src_configure() { + local myeconfargs=( + $(use_enable crypt gpgme) \ + $(use_enable otr) \ + $(use_enable aspell) \ + $(use_enable spell enchant) \ + $(use_enable modules) \ + $(use_with idn libidn) + ) + autotools-utils_src_configure +} + +src_install() { + autotools-utils_src_install + + # clean unneeded language documentation + for i in ${LANGS}; do + use linguas_${i} || rm -rf "${ED}"/usr/share/${PN}/help/${i} + done + + # contrib themes + insinto /usr/share/${PN}/themes + doins "${S}"/contrib/themes/* + + # contrib generic scripts + exeinto /usr/share/${PN}/scripts + doexe "${S}"/contrib/*.{pl,py} + + #
[gentoo-commits] repo/gentoo:master commit in: dev-python/rnc2rng/
commit: 8a564d76066491cad4b19f93658cb83d33be7675 Author: Dirkjan Ochtman gentoo org> AuthorDate: Wed Jan 27 11:24:42 2016 + Commit: Dirkjan Ochtman gentoo org> CommitDate: Wed Jan 27 11:25:13 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8a564d76 dev-python/rnc2rng: fix maintainer type in metadata Package-Manager: portage-2.2.26 dev-python/rnc2rng/metadata.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/rnc2rng/metadata.xml b/dev-python/rnc2rng/metadata.xml index 454c2c6..a18a34d 100644 --- a/dev-python/rnc2rng/metadata.xml +++ b/dev-python/rnc2rng/metadata.xml @@ -1,7 +1,7 @@ http://www.gentoo.org/dtd/metadata.dtd;> - + d...@gentoo.org Dirkjan Ochtman
[gentoo-commits] repo/gentoo:master commit in: net-misc/curl/
commit: c8a36ffe33fedf2a176fc3bb9fece56f79184f8b Author: Anthony G. Basile gentoo org> AuthorDate: Wed Jan 27 11:56:31 2016 + Commit: Anthony G. Basile gentoo org> CommitDate: Wed Jan 27 11:57:26 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c8a36ffe net-misc/curl: version bump 7.47.0 Package-Manager: portage-2.2.26 net-misc/curl/Manifest | 1 + net-misc/curl/curl-7.47.0.ebuild | 237 +++ 2 files changed, 238 insertions(+) diff --git a/net-misc/curl/Manifest b/net-misc/curl/Manifest index 03d8115..471f490 100644 --- a/net-misc/curl/Manifest +++ b/net-misc/curl/Manifest @@ -1,3 +1,4 @@ DIST curl-7.43.0.tar.bz2 3363770 SHA256 baa654a1122530483ccc1c58cc112fec3724a82c11c6a389f1e6a37dc8858df9 SHA512 0b06ec078680619f56a458ac115142546134917331b71b73ed2c0371c480034dac7ed848814be0dd1e752154c53e48b9e0276b83f75a690df6cfb480ab331272 WHIRLPOOL e5c97b3cbf0f9915f62a100ce2972e6cffcabae753770c2f0a1fc3bcef3a66c0a2d4d7e361b00f442d62eca3b0d9526eb34f6b043fb655648180e81ef630a527 DIST curl-7.45.0.tar.bz2 3473632 SHA256 65154e66b9f8a442b57c436904639507b4ac37ec13d6f8a48248f1b4012b98ea SHA512 71c557c69eb8d160f74a9b76ef83a46ce33ef4e8a66a261699329583dadf10205b4ba4783f92d4e6c8724f6610ffade5b0a9f189b0a7b9169ff839dfc8980481 WHIRLPOOL afc1627cebb64c9111f943fe63d95c8a998934fd02e3b8d12f061d23b174b7475c48451ecc1713ce54771455a6465238aa3b818b0eb9ba5c86ffd06eb1f2bc76 DIST curl-7.46.0.tar.bz2 3494481 SHA256 b7d726cdd8ed4b6db0fa1b474a3c59ebbbe4dcd4c61ac5e7ade0e0270d3195ad SHA512 ff47216a2b4a2d14a2e98e0e87867897a9bf059c58d2d73aa47a69ccd94977367e2de15bea641abfb00e236a8b016ee869675c2cc702f7919da5fe612bd8b5e1 WHIRLPOOL 898f3e1895ea6268cecfe5ce27f1b3b36fa2204b821b5ff1d913aa58a756e67722c4ebc1fffeec6d6d7bd677a5b4c6e197ef2fc66b7428e4684c006984a9d116 +DIST curl-7.47.0.tar.bz2 3498935 SHA256 2b096f9387fb9b2be08d17e518c62b6537b1f4d4bb59111d5b4fa0272f383f66 SHA512 cd85b7c46b693e0d0f50c42030c9e63de98ac9a61183dcf89d9e4883260692e07a1d844f204313e55b66a64d48073b20f1b34d7ec9216064582ca8607459a6e1 WHIRLPOOL 03869ecfd71561bc56e5c4d3339e322fb6cbeda7ac0bbabe5f1dd56f294de2a2ac31f88c6d7948eb41ea52a569ec29e1705c0a89654716e3af58ec18e9e25893 diff --git a/net-misc/curl/curl-7.47.0.ebuild b/net-misc/curl/curl-7.47.0.ebuild new file mode 100644 index 000..1ff98ac --- /dev/null +++ b/net-misc/curl/curl-7.47.0.ebuild @@ -0,0 +1,237 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI="5" + +inherit autotools eutils prefix multilib-minimal + +DESCRIPTION="A Client that groks URLs" +HOMEPAGE="http://curl.haxx.se/; +SRC_URI="http://curl.haxx.se/download/${P}.tar.bz2; + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~x64-freebsd ~x86-freebsd ~hppa-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" +IUSE="adns http2 idn ipv6 kerberos ldap metalink rtmp samba ssh ssl static-libs test threads" +IUSE+=" curl_ssl_axtls curl_ssl_gnutls curl_ssl_libressl curl_ssl_mbedtls curl_ssl_nss +curl_ssl_openssl curl_ssl_polarssl curl_ssl_winssl" +IUSE+=" elibc_Winnt" + +#lead to lots of false negatives, bug #285669 +RESTRICT="test" + +RDEPEND="ldap? ( net-nds/openldap[${MULTILIB_USEDEP}] ) + ssl? ( + curl_ssl_axtls? ( + net-libs/axtls[${MULTILIB_USEDEP}] + app-misc/ca-certificates + ) + curl_ssl_gnutls? ( + net-libs/gnutls:0=[static-libs?,${MULTILIB_USEDEP}] + dev-libs/nettle:0=[${MULTILIB_USEDEP}] + app-misc/ca-certificates + ) + curl_ssl_libressl? ( + dev-libs/libressl[static-libs?,${MULTILIB_USEDEP}] + ) + curl_ssl_mbedtls? ( + net-libs/mbedtls:0=[${MULTILIB_USEDEP}] + app-misc/ca-certificates + ) + curl_ssl_openssl? ( + dev-libs/openssl:0[static-libs?,${MULTILIB_USEDEP}] + ) + curl_ssl_nss? ( + dev-libs/nss:0[${MULTILIB_USEDEP}] + app-misc/ca-certificates + ) + curl_ssl_polarssl? ( + net-libs/polarssl:0=[${MULTILIB_USEDEP}] + app-misc/ca-certificates + ) + ) + http2? ( net-libs/nghttp2[${MULTILIB_USEDEP}] ) + idn? ( net-dns/libidn:0[static-libs?,${MULTILIB_USEDEP}] ) + adns? ( net-dns/c-ares:0[${MULTILIB_USEDEP}] ) + kerberos? ( >=virtual/krb5-0-r1[${MULTILIB_USEDEP}] ) + metalink? ( >=media-libs/libmetalink-0.1.1[${MULTILIB_USEDEP}] ) + rtmp? (
[gentoo-commits] repo/gentoo:master commit in: dev-python/django-tables2/, dev-python/django-tables2/files/
commit: 67db608aa284f34bb20132a1c1e93aa189928721 Author: Justin Lecher gentoo org> AuthorDate: Wed Jan 27 08:59:29 2016 + Commit: Justin Lecher gentoo org> CommitDate: Wed Jan 27 09:26:12 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=67db608a dev-python/django-tables2: Drop old Package-Manager: portage-2.2.27 Signed-off-by: Justin Lecher gentoo.org> dev-python/django-tables2/Manifest | 5 - .../django-tables2/django-tables2-0.16.0-r1.ebuild | 25 - .../django-tables2/django-tables2-0.16.0.ebuild| 23 .../django-tables2/django-tables2-1.0.4.ebuild | 23 .../django-tables2/django-tables2-1.0.5.ebuild | 23 .../django-tables2/django-tables2-1.0.6.ebuild | 23 .../django-tables2/django-tables2-1.0.7.ebuild | 23 ...ngo-tables2-0.16.0-django-1.9-deprecation.patch | 118 - 8 files changed, 263 deletions(-) diff --git a/dev-python/django-tables2/Manifest b/dev-python/django-tables2/Manifest index 097ff4f..49e61af 100644 --- a/dev-python/django-tables2/Manifest +++ b/dev-python/django-tables2/Manifest @@ -1,6 +1 @@ -DIST django-tables2-0.16.0.tar.gz 43672 SHA256 53a643166377c44a030d860f3c0f045c4b75e727432ddde4065a67c2df41bf33 SHA512 9d490bbcaab6049d74e81f25c0a2e1ebd3caa00930877661cc823dcfc429f020b3146ec778ccc840951e89f53047e8d6ad71cf7b689cfb76aa2eadf5db54280a WHIRLPOOL 907acbfb5599589ebf5dc49ebedd0f9e07003df7730a5bcc04667207140d9728fbed56afc08ed25167414bc4596a91e2106958223f5c48b5ccea2c6642b0365e -DIST django-tables2-1.0.4.tar.gz 57679 SHA256 801b1df349f07f5b548cf4b3d5cddfc26e5969079c7d490f179fb649e76d24af SHA512 ae1381ab23b93759caef259b5063c2149a71c9a808bc4f0a621de454872b354d03e8d7002a95de693e4d3c456366341ac30f200edac069244a0b97d156295953 WHIRLPOOL 03cfd673a16692de118b4eafb7a3fec277daef4045d16508c9a97abcdf2321782703fb4e12b9f26e7fddf799e1d8040028f43a0584f4bdc59f481c504f21586f -DIST django-tables2-1.0.5.tar.gz 981605 SHA256 f1407ab766b29acf753cdc1cd40e966589b2a57262e5ecc202c9f3b723f68a79 SHA512 460c1d7cf615e251671ab8aeb2fe396387cc0ef8f1bf3414c6b519ef528b7d16fa084669b5268b21ad5da6e85d0d0a94e2de159475e552b32ab4df5e12171c04 WHIRLPOOL 1f7dca4edd02aac180324c6f5207e66abb88bd373766837f47a8831a6e9fe8296d428afc3ea6f9878d9319f96b5d8d94c20dd504d59ce7637ffa0ef67b397bb3 -DIST django-tables2-1.0.6.tar.gz 970971 SHA256 29fda34506d220dba3e95c02b96fa3f323c91c8ffb6d957e51f49c29721752f6 SHA512 4b5d654c17ab2b38657e88ba8ee66170195b89b2490b09c66c9753b1710326353ff071e4a7baafaa44c26f2ec1f2985f03e36d073f64a6bfe6d8f02780aaf217 WHIRLPOOL 7904fc5795cc944a79949c34d6a3560b92c19450a3894d5bbf4cb748502c2e0082c9005c40106a7997f83272e03df53eca6e5a2e0b41bd85ac1c2f4c0532e59e -DIST django-tables2-1.0.7.tar.gz 966838 SHA256 6f837b75b209db7a2d2bf279a02946bddc53310ed7e753dec8469924e10eb7e2 SHA512 672568e421616a9982ea37e527c6ab8bd9b96bc7a835616bdd1be8e7d9b350e9e43d137d0aa704660a5b788c13a9247a67912bafbe531bea08a6787bc6595be7 WHIRLPOOL 044897173464ac87222e1282cf40df7646593ff125bd7ee535e83aec3989d69a00695bc9c2d367fb08c4114855ecf53af6524a441de7639b2ed9818ce6cdeb25 DIST django-tables2-1.1.0.tar.gz 966103 SHA256 46bdcae04087a20911dc10e30383743bca464696448e9351424efe2582a90499 SHA512 d7386df7651a3cdab42e40963d26594cd776614846fa7eda9208f0795b1f8c6270910904f44782480f0b782d0b139153805e41cdecd43f5bc2d30b67acb3fc6c WHIRLPOOL 11a4a573f96a198cd09b57a136bac1eaded18f704e1b117c7b4b49da26716447b31b1866d5da7058b3eb88e5372d5c9f6e0602a08ee221d03f20d617070c03a5 diff --git a/dev-python/django-tables2/django-tables2-0.16.0-r1.ebuild b/dev-python/django-tables2/django-tables2-0.16.0-r1.ebuild deleted file mode 100644 index d4992a7..000 --- a/dev-python/django-tables2/django-tables2-0.16.0-r1.ebuild +++ /dev/null @@ -1,25 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4} pypy ) - -inherit distutils-r1 - -DESCRIPTION="Table/data-grid framework for Django" -HOMEPAGE="https://pypi.python.org/pypi/django-tables2/ https://github.com/bradleyayers/django-tables2/; -SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" - -SLOT="0" -LICENSE="BSD-2" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" -IUSE="" - -RDEPEND="dev-python/six[${PYTHON_USEDEP}]" -DEPEND="${RDEPEND} - dev-python/setuptools[${PYTHON_USEDEP}] -" - -PATCHES=( "${FILESDIR}"/${P}-django-1.9-deprecation.patch ) diff --git a/dev-python/django-tables2/django-tables2-0.16.0.ebuild b/dev-python/django-tables2/django-tables2-0.16.0.ebuild deleted file mode 100644 index 2f19150..000 --- a/dev-python/django-tables2/django-tables2-0.16.0.ebuild +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright 1999-2015 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Id$ - -EAPI=5 - -PYTHON_COMPAT=( python2_7 python3_{3,4} pypy ) - -inherit distutils-r1 - -DESCRIPTION="Table/data-grid framework for
[gentoo-commits] repo/gentoo:master commit in: dev-python/pyrsistent/
commit: 981569f341d75f73a80ee94fefa303586170f083 Author: Justin Lecher gentoo org> AuthorDate: Wed Jan 27 08:53:54 2016 + Commit: Justin Lecher gentoo org> CommitDate: Wed Jan 27 09:26:12 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=981569f3 dev-python/pyrsistent: KEYWORD under all arches policy Package-Manager: portage-2.2.27 Signed-off-by: Justin Lecher gentoo.org> dev-python/pyrsistent/pyrsistent-0.11.10.ebuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dev-python/pyrsistent/pyrsistent-0.11.10.ebuild b/dev-python/pyrsistent/pyrsistent-0.11.10.ebuild index abd4446..d2f9186 100644 --- a/dev-python/pyrsistent/pyrsistent-0.11.10.ebuild +++ b/dev-python/pyrsistent/pyrsistent-0.11.10.ebuild @@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz" LICENSE="MIT" SLOT="0" -KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux" IUSE="test" RDEPEND="
[gentoo-commits] repo/gentoo:master commit in: dev-python/hypothesis/
commit: e947198d7fbd82b76296946c07b695704a596c20 Author: Justin Lecher gentoo org> AuthorDate: Wed Jan 27 08:56:41 2016 + Commit: Justin Lecher gentoo org> CommitDate: Wed Jan 27 09:26:12 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e947198d dev-python/hypothesis: Version Bump Package-Manager: portage-2.2.27 Signed-off-by: Justin Lecher gentoo.org> dev-python/hypothesis/Manifest| 1 + dev-python/hypothesis/hypothesis-2.0.0.ebuild | 30 +++ 2 files changed, 31 insertions(+) diff --git a/dev-python/hypothesis/Manifest b/dev-python/hypothesis/Manifest index 7a94fe8..ae649b1 100644 --- a/dev-python/hypothesis/Manifest +++ b/dev-python/hypothesis/Manifest @@ -1,2 +1,3 @@ DIST hypothesis-1.12.0.tar.gz 76679 SHA256 5e90a8fa249de9c492b4fa573f6f2dc489de9dd3ed3e2a59754b393c42624362 SHA512 107747d835dbe27fe25a429a8be66166005d3f0514d56d585505e99a4e4427afc210b7b6a7459858988f37182e6e4797ffcd1fa0511f8ae985725a1c2bbe73d4 WHIRLPOOL 0539637b819e9d3e4e96d5997299366d68a4e16f9ad5fcbf576048a761172e8568f2538de77b787f36c60ed09758ec5b8a962ae936f8f22d90ffb9551f63d008 DIST hypothesis-1.19.0.tar.gz 86227 SHA256 0e977a3492f5488ed9dd4a872cefae0934ad4ccd0229a6c483ef5ca0aaaddd6d SHA512 3b2cd671498bd0bc88c93b2753f35b02f737533dd8dbc786420a37a417d145e4f1c579741966394f85b7df4939e61f77315e6158b29e22f9bde07d31e161e009 WHIRLPOOL 52b444e6e3fa0c514ebb9816cd489b2441b213581e241f76ab5aa5c410ca08bedef92f0b608c32c421f74ba84a0e26850a2aaf9f2d9f7229aa176d9e501175a0 +DIST hypothesis-2.0.0.tar.gz 76894 SHA256 b9bfe9884dcca0268157f015992e6cdd404d16dab18c2df403c458b6afab46d1 SHA512 7a5f5931b8f427a1cef8ef1735d995a6f5d854acec163bdedf369eb166ed289e024d70c6e5fd556bf8b1e0844d600460f97906cd43f70400995c7919bce20ab3 WHIRLPOOL c669c831c24c2dafeeead8b3e0a24bdfe69017bbf7eb94936b0ce22feac502b3ccdade37cff4b6141d97d79500578b6ef080d0f8fbe8e1c54aca7bfe4db40c42 diff --git a/dev-python/hypothesis/hypothesis-2.0.0.ebuild b/dev-python/hypothesis/hypothesis-2.0.0.ebuild new file mode 100644 index 000..839322f --- /dev/null +++ b/dev-python/hypothesis/hypothesis-2.0.0.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) +PYTHON_REQ_USE="threads(+)" + +inherit distutils-r1 + +DESCRIPTION="A library for property based testing" +HOMEPAGE="https://github.com/DRMacIver/hypothesis; +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="MPL-2.0" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="" + +RDEPEND="" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]" + +pkg_postinst() { + optfeature "datetime support" dev-python/pytz + optfeature "numpy support" dev-python/numpy + optfeature "django support" dev-python/django dev-python/pytz + optfeature "pytest support" dev-python/pytest +# optfeature "fake-factory support" dev-python/fake-factory +}
[gentoo-commits] repo/gentoo:master commit in: virtual/python-enum34/
commit: dd62a9f18ee1cbb98a23f4656061223be5993c4d Author: Justin Lecher gentoo org> AuthorDate: Wed Jan 27 08:29:24 2016 + Commit: Justin Lecher gentoo org> CommitDate: Wed Jan 27 09:26:12 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=dd62a9f1 virtual/python-enum34: Add new virtual Package-Manager: portage-2.2.27 Signed-off-by: Justin Lecher gentoo.org> virtual/python-enum34/metadata.xml | 8 virtual/python-enum34/python-enum34-1.ebuild | 24 2 files changed, 32 insertions(+) diff --git a/virtual/python-enum34/metadata.xml b/virtual/python-enum34/metadata.xml new file mode 100644 index 000..7f4f33c --- /dev/null +++ b/virtual/python-enum34/metadata.xml @@ -0,0 +1,8 @@ + +http://www.gentoo.org/dtd/metadata.dtd;> + + + pyt...@gentoo.org + Python + + diff --git a/virtual/python-enum34/python-enum34-1.ebuild b/virtual/python-enum34/python-enum34-1.ebuild new file mode 100644 index 000..d51d67b --- /dev/null +++ b/virtual/python-enum34/python-enum34-1.ebuild @@ -0,0 +1,24 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 python3_{3,4,5} pypy pypy3 ) + +inherit python-r1 + +DESCRIPTION="A virtual for Python enum34 module" +HOMEPAGE="" +SRC_URI="" + +LICENSE="" +SLOT="0" +KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux" +IUSE="" + +REQUIRED_USE="${PYTHON_REQUIRED_USE}" + +RDEPEND="${PYTHON_DEPS} + $(python_gen_cond_dep 'dev-python/enum34[${PYTHON_USEDEP}]' \ + 'python2*' python3_3 'pypy*')"
[gentoo-commits] repo/gentoo:master commit in: dev-python/futures/
commit: bbd8d4008aea9addc0ac00d17e8a456190b4f80a Author: Justin Lecher gentoo org> AuthorDate: Wed Jan 27 08:43:12 2016 + Commit: Justin Lecher gentoo org> CommitDate: Wed Jan 27 09:26:12 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bbd8d400 dev-python/futures: Version Bump Package-Manager: portage-2.2.27 Signed-off-by: Justin Lecher gentoo.org> dev-python/futures/Manifest | 1 + dev-python/futures/futures-3.0.4.ebuild | 36 + 2 files changed, 37 insertions(+) diff --git a/dev-python/futures/Manifest b/dev-python/futures/Manifest index e03eb7c..2de4d8c 100644 --- a/dev-python/futures/Manifest +++ b/dev-python/futures/Manifest @@ -1,3 +1,4 @@ DIST futures-2.2.0.tar.gz 26786 SHA256 151c057173474a3a40f897165951c0e33ad04f37de65b6de547ddef107fd0ed3 SHA512 5f2a835b4b3f6bf1c4f086984a2e1d6ab30004b9af9298ef8afb23549014695ba26b43500dad3ee873e52aacd75911a42cd4ec9dfae6522cb99476a480dc83ee WHIRLPOOL 5c38f64759d0f2a15a536e8a5cb5c7473ce61d46242fc0c0bc737dfe91ce9b6573c1291a6f305953b96cd6298e1e41f7e27b45a2f0c2647315826ad9a1246ccd DIST futures-3.0.2.tar.gz 24908 SHA256 dc3fc91508e49e0fd2f8625f0132d16e49c80f882e7e1d565c56b0d5dfbae257 SHA512 01525c16914506d1e82910c5994aacc011d1ed01e91b7e403203ed1aa22a8caa3ff759ff399dd72628bc211dcab0893852ac177f792711ee9f9037a64c7e5723 WHIRLPOOL a59740472ca7cf339beb9ed44095d7f02b5701fcb2a28e41adc4dc6da63f23e5a629602010183ed611c4f60ba1a109563bd87242adb729ece12b57d63379e160 DIST futures-3.0.3.tar.gz 24959 SHA256 2fe2342bb4fe8b8e217f0d21b5921cbe5408bf966d9f92025e707e881b198bed SHA512 2fa14df90e583ca86c47441b170a93435eb82fd37bb2e15d98e79c32fbe40fc3f602d762805de05fa8007df4a3ce92840915be59481b94ab4863aae884da74bd WHIRLPOOL 661a1174815766717eb7b130929c7aeef08079228df8f092093ee6cf40f84041ae6729cc7c0f2b05080efd0d80c0f7885c3ae333f7e5f3d21ccf2cfc20cbaa44 +DIST futures-3.0.4.tar.gz 25091 SHA256 19485d83f7bd2151c0aeaf88fbba3ee50dadfb222ffc3b66a344ef4952b782a3 SHA512 490a42b547614e2a02fae487861ba8c8409c2e7c556ba81c6ea7a3096d06f7e083983b1e9b99dc978c4badc1dc30272f4a5cfa87c38b3d0ab8029673ee66f52c WHIRLPOOL 5f3809d710743638b8aa3afdae0125771096858c88a8b2c5c533187736dad8b6bc8c38dad327b98d36183574b072c9268751645caa16132ac8df32715262f741 diff --git a/dev-python/futures/futures-3.0.4.ebuild b/dev-python/futures/futures-3.0.4.ebuild new file mode 100644 index 000..360e3ad --- /dev/null +++ b/dev-python/futures/futures-3.0.4.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +PYTHON_COMPAT=( python2_7 pypy ) + +inherit distutils-r1 + +DESCRIPTION="Backport of the concurrent.futures package from Python 3.2" +HOMEPAGE="https://code.google.com/p/pythonfutures https://pypi.python.org/pypi/futures; +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="doc" + +DEPEND=" + dev-python/setuptools[${PYTHON_USEDEP}] + doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )" + +python_compile_all() { + use doc && emake -C docs html +} + +python_test() { + "${PYTHON}" test_futures.py || die "Tests fail with ${EPYTHON}" +} + +python_install_all() { + local DOCS=( CHANGES ) + use doc && local HTML_DOCS=( docs/_build/html/. ) + distutils-r1_python_install_all +}
[gentoo-commits] repo/gentoo:master commit in: dev-python/enum34/
commit: 9ef0bee8009b724b12f17f4f4046040fd7e79336 Author: Justin Lecher gentoo org> AuthorDate: Wed Jan 27 08:36:52 2016 + Commit: Justin Lecher gentoo org> CommitDate: Wed Jan 27 09:26:12 2016 + URL:https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ef0bee8 dev-python/enum34: Version Bump Package-Manager: portage-2.2.27 Signed-off-by: Justin Lecher gentoo.org> dev-python/enum34/Manifest | 1 + dev-python/enum34/enum34-1.0.4.ebuild | 3 ++- dev-python/enum34/{enum34-1.0.4.ebuild => enum34-1.1.2.ebuild} | 10 -- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/dev-python/enum34/Manifest b/dev-python/enum34/Manifest index 52eae96..03d0b95 100644 --- a/dev-python/enum34/Manifest +++ b/dev-python/enum34/Manifest @@ -1 +1,2 @@ DIST enum34-1.0.4.tar.gz 32944 SHA256 d3c19f26a6a34629c18c775f59dfc5dd595764c722b57a2da56ebfb69b94e447 SHA512 21b91f1d0e15cc909e733473f603077eff7222c90da84b0a5f2db921ba41ac996b9237cc8adf1d07913b7eaf8f8e70ac6955abbb191f2e7cc54966710a1c96a9 WHIRLPOOL 178d1d5a9ec4e5a7a467e31c9b28e1f799e593e36a0c9a888f64ec86051277cb1c50ae01ed81c95cd3f7ae1e7f287dda9b4049c7e1977fcd427711fcf3990792 +DIST enum34-1.1.2.tar.gz 46757 SHA256 2475d7fcddf5951e92ff546972758802de5260bf409319a9f1934e6bbc8b1dc7 SHA512 61e47d27969237f5e0de814f42e8f9217147f3d2d3081a1fadaf665cee293af1dd978420fb918000ac9f0fe323249faf7993f204660acdebff880bca1dde2487 WHIRLPOOL 9c9a77a9ea042473032b77ade2d5faabf4d176a70fd1931c55d534eced5a2f0140a1c486d99445500e8ab304f14ec5eaa91bcf7a5ba238def557cb3de39f9840 diff --git a/dev-python/enum34/enum34-1.0.4.ebuild b/dev-python/enum34/enum34-1.0.4.ebuild index ed660ba..caf9110 100644 --- a/dev-python/enum34/enum34-1.0.4.ebuild +++ b/dev-python/enum34/enum34-1.0.4.ebuild @@ -3,6 +3,7 @@ # $Id$ EAPI=5 + PYTHON_COMPAT=( python{2_7,3_3} pypy pypy3 ) # Do NOT add python3_4—see DESCRIPTION inherit distutils-r1 @@ -24,7 +25,7 @@ python_test() { } python_install_all() { - use doc && local DOCS=( enum/doc/. enum/README enum/LICENSE ) + use doc && local DOCS=( enum/doc/. enum/README ) distutils-r1_python_install_all } diff --git a/dev-python/enum34/enum34-1.0.4.ebuild b/dev-python/enum34/enum34-1.1.2.ebuild similarity index 61% copy from dev-python/enum34/enum34-1.0.4.ebuild copy to dev-python/enum34/enum34-1.1.2.ebuild index ed660ba..5cbdb61 100644 --- a/dev-python/enum34/enum34-1.0.4.ebuild +++ b/dev-python/enum34/enum34-1.1.2.ebuild @@ -3,7 +3,8 @@ # $Id$ EAPI=5 -PYTHON_COMPAT=( python{2_7,3_3} pypy pypy3 ) # Do NOT add python3_4—see DESCRIPTION + +PYTHON_COMPAT=( python{2_7,3_3} pypy pypy3 ) inherit distutils-r1 @@ -13,18 +14,15 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" LICENSE="BSD" SLOT="0" -KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~x86-macos" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos" IUSE="doc" -DEPEND="" -RDEPEND="" - python_test() { "${PYTHON}" enum/test_enum.py || die "Tests failed under ${EPYTHON}" } python_install_all() { - use doc && local DOCS=( enum/doc/. enum/README enum/LICENSE ) + use doc && local DOCS=( enum/doc/. enum/README ) distutils-r1_python_install_all }