Sync with portage [Sun Sep 17 10:17:20 MSK 2017].

mhiretskiy 968
root 7 years ago
parent f558072931
commit e3e4eef55f

@ -13,7 +13,7 @@ SRC_URI="https://github.com/klausman/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="alpha amd64 hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
KEYWORDS="alpha amd64 ~arm hppa ppc ppc64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"

@ -15,7 +15,7 @@ S="${WORKDIR}/all/marionette-collective-${PV}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 x86"
IUSE="doc +client"
DEPEND=""

@ -2,7 +2,5 @@ DIST puppet-agent_1.10.6-1xenial_amd64.deb 16459994 SHA256 ebd680c4c35823298ffb6
DIST puppet-agent_1.10.6-1xenial_i386.deb 16131024 SHA256 7e28145e6ca8847a1eb33bb443f1b55aa0700d4e4ddc65c74c605c075c312d55 SHA512 488fbfee2c9f75cd97e88511ef36521f26c5e617792bdc5b145040c8f7ff58b14308d24542afe4fc7c8689cc0e0d7b03514309123dc0653484eacd3de938dc59 WHIRLPOOL bb7b7a1efbddd88d4ddf382a543358af7f98ac4690fad3339f47b8ff71b8bf050acf9e0dea4ed376bac5e8b1929f4368504a1ae5ab2461e4f091abed66fb149d
DIST puppet-agent_1.10.7-1xenial_amd64.deb 16449418 SHA256 a23169ff2adeff419436f738a991d3026c3f06b993a9824922d26a125a53fd0f SHA512 5c73eea444186cbd0d52e42a20858964db6e7f2b6e537274b5b0a44499cc2bb0622a4eb6a55fa10dcc3946bdae3bb00b9d228aa5d1d444cc53aeefddf11f7b5b WHIRLPOOL 5eb0c71bc630ad878f2731353c93195b4e686ff0d48796fff0b700550f8f8ab69d039c818a557bdf231ecb08b85e8529706f280b19bae031a24f2687e50ae32b
DIST puppet-agent_1.10.7-1xenial_i386.deb 16182468 SHA256 ee60570ec29561adfded01fec2017756d5f921c08677a530149b0da2ead1f29f SHA512 7d5a41af7619fe008fec5302e23482d688692affaeded4b0b2f4e693168c2ef6995beee5e2410a9cb2e7f99650119e9c5f8007ed65709ad623654bdd6c09e402 WHIRLPOOL 81d7a325d2c675f2392dfc16f1d3a411c6e7a2e449844b90358d0a97c31cc3ccdbf6a8a891bd818017b9504e898fe8aed2d12233dae4822f125f7ab2230ceb1d
DIST puppet-agent_5.0.1-1xenial_amd64.deb 15171814 SHA256 44b67741a276256cbee8dfad72053d6be9a9b1e4aeea43cb80413d569129a2c0 SHA512 0dc388b2f561b2ddd7d9064188298de212648c31bbf0e70e15f20de9c851a2efba1f648e38b593c6f0e8f027f7161d50051e1039dda1a1abbaed1b90c8e9a72c WHIRLPOOL b40844b6b873e4dfa63d90ee0f17a08b7f2d4862c9353d2fbb6590fa6387071f3b414a5063407ab75ee04c1f2f8e14186197cbc7be3bd617ee640f2283b596ab
DIST puppet-agent_5.0.1-1xenial_i386.deb 15591958 SHA256 d302ae9543812ef64252f04ef031ae2c46929c6950c8356e5e1d23526e47d24f SHA512 e7da74e534993c896ce79a27667717adecd8cbcb6002335210c0a29ca5002f58e03528d9da820908a0ed76c9a02f70b3bad7f82cdfa63eebc28aae01f7aaeee5 WHIRLPOOL c8061395adfd91b49e36975a971b36679bc0600e8df56e04902828c41b5389792161df83d00bbec4c4440f97fb1815bd4740635c457c66bc1326c37ea458dbcb
DIST puppet-agent_5.1.0-1xenial_amd64.deb 15141786 SHA256 1a3ad0ef1a5e4026927f3ae010e9a48b9c1e31dfb8e0691d01383d29f3b14644 SHA512 a210d225591328e2c041aad1dd7cfdac614531e1ceb524c3e35d3330962111bdc66408268550072e53190d6a10a7c8244b0bfa8a12b81f023883831c1fcbd070 WHIRLPOOL 34dc5cfcf6bb3500b89451078734d5d7a03a53a0be9e5501d6ded574cf2b6dbafe207db87aa919fd9cdadb6c2a0a05191854be3245d477e035fe7d52778cf527
DIST puppet-agent_5.1.0-1xenial_i386.deb 15596316 SHA256 41a4d70b3ff87352d9aa5594d2b65176f9854b38b21c738321e6d7dd516ccf25 SHA512 9e364fc50baa081cc808c0e0277d6625f6064dad7d56fba352d552e9398e7197405a8c3e15fac4f569dfa11c7c4657261f06b8c90f04bef6fcc6a9794d94e927 WHIRLPOOL e54f2a75b753f94b5dff8d230776afad6193f446d8156d2d2e10d9248732a607a83fa79fe01c4fae36ad8f3cf4ddb453906cf2f4fda87e3e414ede4fa893c58e

@ -1,105 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit eutils systemd unpacker user
DESCRIPTION="general puppet client utils along with mcollective hiera and facter"
HOMEPAGE="https://puppetlabs.com/"
SRC_BASE="http://apt.puppetlabs.com/pool/xenial/puppet5/${PN:0:1}/${PN}/${PN}_${PV}-1xenial"
SRC_URI="
amd64? ( ${SRC_BASE}_amd64.deb )
x86? ( ${SRC_BASE}_i386.deb )
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="puppetdb selinux"
RESTRICT="strip"
CDEPEND="!app-admin/augeas
!app-admin/mcollective
!app-admin/puppet
!dev-ruby/hiera
!dev-ruby/facter
!app-emulation/virt-what"
DEPEND="
${CDEPEND}"
RDEPEND="${CDEPEND}
app-portage/eix
sys-apps/dmidecode
sys-libs/glibc
>=sys-libs/readline-6.0
<sys-libs/readline-7.0
selinux? (
sys-libs/libselinux[ruby]
sec-policy/selinux-puppet
)
puppetdb? ( >=dev-ruby/puppetdb-termini-5.0.1 )"
S=${WORKDIR}
QA_PREBUILT="
/opt/puppetlabs/puppet
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/2.1.0/x86_64-linux/*
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/mathn/*
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/io/*
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/dl/*
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/racc/*
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/enc/*
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/json/ext/*
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/rbconfig/*
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/digest/*
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/*
/opt/puppetlabs/puppet/lib/engines/*
/opt/puppetlabs/puppet/lib/virt-what/*
/opt/puppetlabs/puppet/lib/*
/opt/puppetlabs/puppet/bin/*"
pkg_setup() {
enewgroup puppet
enewuser puppet -1 -1 /var/run/puppet puppet
}
src_install() {
# conf.d
doconfd etc/default/puppet
doconfd etc/default/mcollective
doconfd etc/default/pxp-agent
# logrotate.d
insinto /etc/logrotate.d
doins etc/logrotate.d/mcollective
doins etc/logrotate.d/pxp-agent
# puppet itself
insinto /etc/puppetlabs
doins -r etc/puppetlabs/*
# logdir for systemd
dodir var/log/puppetlabs/puppet/
fperms 0750 var/log/puppetlabs/puppet/
# the rest
insinto /opt
dodir opt/puppetlabs/puppet/cache
doins -r opt/*
fperms 0750 /opt/puppetlabs/puppet/cache
# init
newinitd "${FILESDIR}/puppet.initd" puppet
newinitd "${FILESDIR}/mcollective.initd" mcollective
systemd_dounit lib/systemd/system/puppet.service
systemd_dounit lib/systemd/system/mcollective.service
systemd_dounit lib/systemd/system/pxp-agent.service
systemd_newtmpfilesd "${FILESDIR}/puppet-agent.conf.tmpfilesd" puppet-agent.conf
# symlinks
chmod 0755 -R "${D}/opt/puppetlabs/puppet/bin/"
chmod 0755 "${D}//opt/puppetlabs/puppet/lib/virt-what/virt-what-cpuid-helper"
dosym ../../opt/puppetlabs/bin/facter /usr/bin/facter
dosym ../../opt/puppetlabs/bin/hiera /usr/bin/hiera
dosym ../../opt/puppetlabs/bin/mco /usr/bin/mco
dosym ../../opt/puppetlabs/bin/puppet /usr/bin/puppet
dosym ../../opt/puppetlabs/puppet/bin/mcollectived /usr/sbin/mcollectived
dosym ../../opt/puppetlabs/puppet/bin/virt-what /usr/bin/virt-what
dosym ../../opt/puppetlabs/puppet/bin/augparse /usr/bin/augparse
dosym ../../opt/puppetlabs/puppet/bin/augtool /usr/bin/augtool
dosym ../../opt/puppetlabs/puppet/bin/extlookup2hiera /usr/bin/extlookup2hiera
}

@ -14,7 +14,7 @@ SRC_URI="
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 x86"
IUSE="puppetdb selinux"
RESTRICT="strip"

@ -1,105 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit eutils systemd unpacker user
DESCRIPTION="general puppet client utils along with mcollective hiera and facter"
HOMEPAGE="https://puppetlabs.com/"
SRC_BASE="http://apt.puppetlabs.com/pool/xenial/puppet5/${PN:0:1}/${PN}/${PN}_${PV}-1xenial"
SRC_URI="
amd64? ( ${SRC_BASE}_amd64.deb )
x86? ( ${SRC_BASE}_i386.deb )
"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="puppetdb selinux"
RESTRICT="strip"
CDEPEND="!app-admin/augeas
!app-admin/mcollective
!app-admin/puppet
!dev-ruby/hiera
!dev-ruby/facter
!app-emulation/virt-what"
DEPEND="
${CDEPEND}"
RDEPEND="${CDEPEND}
app-portage/eix
sys-apps/dmidecode
sys-libs/glibc
>=sys-libs/readline-6.0
<sys-libs/readline-7.0
selinux? (
sys-libs/libselinux[ruby]
sec-policy/selinux-puppet
)
puppetdb? ( >=dev-ruby/puppetdb-termini-5.0.1 )"
S=${WORKDIR}
QA_PREBUILT="
/opt/puppetlabs/puppet
/opt/puppetlabs/puppet/lib/ruby/vendor_ruby/2.1.0/x86_64-linux/*
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/mathn/*
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/io/*
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/dl/*
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/racc/*
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/enc/*
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/json/ext/*
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/rbconfig/*
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/digest/*
/opt/puppetlabs/puppet/lib/ruby/2.1.0/x86_64-linux/*
/opt/puppetlabs/puppet/lib/engines/*
/opt/puppetlabs/puppet/lib/virt-what/*
/opt/puppetlabs/puppet/lib/*
/opt/puppetlabs/puppet/bin/*"
pkg_setup() {
enewgroup puppet
enewuser puppet -1 -1 /var/run/puppet puppet
}
src_install() {
# conf.d
doconfd etc/default/puppet
doconfd etc/default/mcollective
doconfd etc/default/pxp-agent
# logrotate.d
insinto /etc/logrotate.d
doins etc/logrotate.d/mcollective
doins etc/logrotate.d/pxp-agent
# puppet itself
insinto /etc/puppetlabs
doins -r etc/puppetlabs/*
# logdir for systemd
dodir var/log/puppetlabs/puppet/
fperms 0750 var/log/puppetlabs/puppet/
# the rest
insinto /opt
dodir opt/puppetlabs/puppet/cache
doins -r opt/*
fperms 0750 /opt/puppetlabs/puppet/cache
# init
newinitd "${FILESDIR}/puppet.initd" puppet
newinitd "${FILESDIR}/mcollective.initd" mcollective
systemd_dounit lib/systemd/system/puppet.service
systemd_dounit lib/systemd/system/mcollective.service
systemd_dounit lib/systemd/system/pxp-agent.service
systemd_newtmpfilesd "${FILESDIR}/puppet-agent.conf.tmpfilesd" puppet-agent.conf
# symlinks
chmod 0755 -R "${D}/opt/puppetlabs/puppet/bin/"
chmod 0755 "${D}//opt/puppetlabs/puppet/lib/virt-what/virt-what-cpuid-helper"
dosym ../../opt/puppetlabs/bin/facter /usr/bin/facter
dosym ../../opt/puppetlabs/bin/hiera /usr/bin/hiera
dosym ../../opt/puppetlabs/bin/mco /usr/bin/mco
dosym ../../opt/puppetlabs/bin/puppet /usr/bin/puppet
dosym ../../opt/puppetlabs/puppet/bin/mcollectived /usr/sbin/mcollectived
dosym ../../opt/puppetlabs/puppet/bin/virt-what /usr/bin/virt-what
dosym ../../opt/puppetlabs/puppet/bin/augparse /usr/bin/augparse
dosym ../../opt/puppetlabs/puppet/bin/augtool /usr/bin/augtool
dosym ../../opt/puppetlabs/puppet/bin/extlookup2hiera /usr/bin/extlookup2hiera
}

@ -3,7 +3,7 @@
EAPI="5"
inherit eutils
inherit eutils flag-o-matic
MY_P="${P/_/-}"
DESCRIPTION="Tools to deal with shar archives"
@ -21,6 +21,14 @@ DEPEND="app-arch/xz-utils
S=${WORKDIR}/${MY_P}
src_prepare() {
default
# Upstream is aware but thinks this isn't a bug/problem in sharutils itself
# See http://lists.gnu.org/archive/html/bug-gnu-utils/2013-10/msg00011.html
append-cflags $(test-flags-CC -Wno-error=format-security)
}
src_configure() {
strip-linguas -u po
econf $(use_enable nls)

@ -1,5 +1,4 @@
DIST gnupg-1.4.21.tar.bz2 3689305 SHA256 6b47a3100c857dcab3c60e6152e56a997f2c7862c1b8b2b25adf3884a1ae2276 SHA512 619e0fbc10310c7e55d129027e2945791fe91a0884b1d6f53acb4b2e380d1c6e71d1a516a59876182c5c70a4227d44a74ceda018c343b5291fa9a5d6de77c984 WHIRLPOOL eb596be347dd90be93d381fe405e50f5808160b546705493bc9d817d521ea236a2374648e6c2cab396f54bba74de4caf2b92e894df3a17aa339f014ef8cc8802
DIST gnupg-2.1.15.tar.bz2 5723689 SHA256 c28c1a208f1b8ad63bdb6b88d252f6734ff4d33de6b54e38494b11d49e00ffdd SHA512 69c943e853e1a37e8b17b3bc34e1503f14bc8f189fa9f3ac6644bcc98ccce6eaef64da20ff9dd1c8de3a7789ea577167984ccf3ac286cac50752e6f7c2f42ab1 WHIRLPOOL 4c5a8cd4e8b7196f4a355ce7739cf6e23c43817414e10bbba219117e4e51c4c618ffb5dbce27cb836a2171eda58e003d5ddf78d4af09a813c2a1729963413151
DIST gnupg-2.1.20.tar.bz2 6456128 SHA256 24cf9a69369be64a9f6f8cc11a1be33ab7780ad77a6a1b93719438f49f69960d SHA512 14a9890bc64e143f87cff121dd298d490d78dbd34e36883e0f25763ff9064e5706a7632893d7c5d0e8e9b8cf9cdb0d378b4ce1715348729f0fc080455b61eca9 WHIRLPOOL fa6cbd66031cac41db308b10bebec87e37a19d3c63219d22fb874d7d016bcad057b93eeece7a64001718ee1f881199e3d3eebc8ef6625691f553b0d2dbc92624
DIST gnupg-2.1.23.tar.bz2 6526734 SHA256 a94476391595e9351f219188767a9d6ea128e83be5ed3226a7890f49aa2d0d77 SHA512 8b8be0784129f5aa0ccde32a413a68c36e0e4131abe70c3eb186958c60f3df1023deb2db2db84d63ad30a3408a75c7622b430aff1a524ff28a24be511c952412 WHIRLPOOL deb4e933108e0a77b941ed95732eab2ee77af175bd776f3f5dbd25bb38b37dcdf09ae8eee7cd39a09883c3757b81688e48b5a07d6f43419a4453d4ba38541c14
DIST gnupg-2.2.0.tar.bz2 6532475 SHA256 d4514a0be0f7a1ff263193330019eb4b53c82f0f5e230af3c14df371271a45e6 SHA512 8ab7c4183d2ec2e6b62066e3cbcba95babaa0ae22da47feab716698792d26495f072d50e8ec612b8d26147636bb316320c78940184373b3f4cb6ec411933361b WHIRLPOOL c918b6a7e40ff170e1ff3b77978cb7f0d9298a3410204677955dc167b114a1f85d32deaca4f006c2bd621f532379ca9631b96913bf660394a82ab4ee0bbbaecb

@ -1,71 +0,0 @@
From e6f84116abca2ed49bf14b2e28c3c811a3717227 Mon Sep 17 00:00:00 2001
From: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
Date: Fri, 11 Aug 2017 02:26:52 -0400
Subject: [PATCH] gpg: default to --no-auto-key-retrieve.
* g10/gpg.c (main): remove KEYSERVER_AUTO_KEY_RETRIEVE from the
default keyserver options.
* doc/gpg.texi: document this change.
--
This is a partial reversion of
7e1fe791d188b078398bf83c9af992cb1bd2a4b3. Werner and i discussed it
earlier today, and came to the conclusion that:
* the risk of metadata leakage represented by a default
--auto-key-retrieve, both in e-mail (as a "web bug") and in other
contexts where GnuPG is used to verified signatures, is quite high.
* the advantages of --auto-key-retrieve (in terms of signature
verification) can sometimes be achieved in other ways, such as when
a signed message includes a copy of its own key.
* when those other ways are not useful, a graphical, user-facing
application can still offer the user the opportunity to choose to
fetch the key; or it can apply its own policy about when to set
--auto-key-retrieve, without needing to affect the defaults.
Note that --auto-key-retrieve is specifically about signature
verification. Decisions about how and whether to look up a key during
message encryption are governed by --auto-key-locate. This change
does not touch the --auto-key-locate default of "local,wkd". The user
deliberately asking gpg to encrypt to an e-mail address is a different
scenario than having an incoming e-mail trigger a potentially unique
network request.
Signed-off-by: Daniel Kahn Gillmor <dkg@fifthhorseman.net>
---
doc/gpg.texi | 2 +-
g10/gpg.c | 3 +--
2 files changed, 2 insertions(+), 3 deletions(-)
diff --git a/doc/gpg.texi b/doc/gpg.texi
index c71126a97..b6a9b2d70 100644
--- a/doc/gpg.texi
+++ b/doc/gpg.texi
@@ -1792,7 +1792,7 @@ list. The default is "local,wkd".
@opindex no-auto-key-retrieve
These options enable or disable the automatic retrieving of keys from
a keyserver when verifying signatures made by keys that are not on the
-local keyring. The default is @option{--auto-key-retrieve}.
+local keyring. The default is @option{--no-auto-key-retrieve}.
If the method "wkd" is included in the list of methods given to
@option{auto-key-locate}, the signer's user ID is part of the
diff --git a/g10/gpg.c b/g10/gpg.c
index c721cdc4a..c9fa7ae5b 100644
--- a/g10/gpg.c
+++ b/g10/gpg.c
@@ -2366,8 +2366,7 @@ main (int argc, char **argv)
opt.keyserver_options.import_options = (IMPORT_REPAIR_KEYS
| IMPORT_REPAIR_PKS_SUBKEY_BUG);
opt.keyserver_options.export_options = EXPORT_ATTRIBUTES;
- opt.keyserver_options.options = (KEYSERVER_HONOR_PKA_RECORD
- | KEYSERVER_AUTO_KEY_RETRIEVE);
+ opt.keyserver_options.options = KEYSERVER_HONOR_PKA_RECORD;
opt.verify_options = (LIST_SHOW_UID_VALIDITY
| VERIFY_SHOW_POLICY_URLS
| VERIFY_SHOW_STD_NOTATIONS
--
2.13.0

@ -1,124 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
inherit systemd toolchain-funcs
MY_P="${P/_/-}"
DESCRIPTION="The GNU Privacy Guard, a GPL OpenPGP implementation"
HOMEPAGE="http://www.gnupg.org/"
SRC_URI="mirror://gnupg/gnupg/${MY_P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="bzip2 doc +gnutls ldap nls readline selinux +smartcard tofu tools usb wks-server"
COMMON_DEPEND_LIBS="
>=dev-libs/npth-1.2
>=dev-libs/libassuan-2.4.3
>=dev-libs/libgcrypt-1.7.3
>=dev-libs/libgpg-error-1.24
>=dev-libs/libksba-1.3.4
>=net-misc/curl-7.10
gnutls? ( >=net-libs/gnutls-3.0:0= )
sys-libs/zlib
ldap? ( net-nds/openldap )
bzip2? ( app-arch/bzip2 )
readline? ( sys-libs/readline:0= )
smartcard? ( usb? ( virtual/libusb:0 ) )
tofu? ( >=dev-db/sqlite-3.7 )
"
COMMON_DEPEND_BINS="app-crypt/pinentry
!app-crypt/dirmngr"
# Existence of executables is checked during configuration.
DEPEND="${COMMON_DEPEND_LIBS}
${COMMON_DEPEND_BINS}
nls? ( sys-devel/gettext )
doc? ( sys-apps/texinfo )"
RDEPEND="${COMMON_DEPEND_LIBS}
${COMMON_DEPEND_BINS}
selinux? ( sec-policy/selinux-gpg )
nls? ( virtual/libintl )"
S="${WORKDIR}/${MY_P}"
DOCS=(
ChangeLog NEWS README THANKS TODO VERSION
doc/FAQ doc/DETAILS doc/HACKING doc/TRANSLATE doc/OpenPGP doc/KEYSERVER
)
PATCHES=(
"${FILESDIR}/${PN}-2.1.20-gpgscm-Use-shorter-socket-path-lengts-to-improve-tes.patch"
"${FILESDIR}/${P}-gpg-default-to-no-auto-key-retrieve.patch"
)
src_configure() {
local myconf=()
if use smartcard; then
myconf+=(
--enable-scdaemon
$(use_enable usb ccid-driver)
)
else
myconf+=( --disable-scdaemon )
fi
if use elibc_SunOS || use elibc_AIX; then
myconf+=( --disable-symcryptrun )
else
myconf+=( --enable-symcryptrun )
fi
# glib fails and picks up clang's internal stdint.h causing weird errors
[[ ${CC} == *clang ]] && \
export gl_cv_absolute_stdint_h=/usr/include/stdint.h
econf \
"${myconf[@]}" \
$(use_enable bzip2) \
$(use_enable gnutls) \
$(use_enable nls) \
$(use_enable tofu) \
$(use_enable wks-server wks-tools) \
$(use_with ldap) \
$(use_with readline) \
--enable-gpg \
--enable-gpgsm \
--enable-large-secmem \
--enable-all-tests \
CC_FOR_BUILD="$(tc-getBUILD_CC)"
}
src_compile() {
default
use doc && emake -C doc html
}
src_install() {
default
use tools &&
dobin \
tools/{convert-from-106,gpg-check-pattern} \
tools/{gpg-zip,gpgconf,gpgsplit,lspgpot,mail-signed-keys} \
tools/make-dns-cert
dosym gpg /usr/bin/gpg2
dosym gpgv /usr/bin/gpgv2
echo ".so man1/gpg.1" > "${ED}"/usr/share/man/man1/gpg2.1 || die
echo ".so man1/gpgv.1" > "${ED}"/usr/share/man/man1/gpgv2.1 || die
dodir /etc/env.d
echo "CONFIG_PROTECT=/usr/share/gnupg/qualified.txt" >> "${ED}"/etc/env.d/30gnupg || die
use doc && dodoc doc/gnupg.html/* doc/*.png
systemd_douserunit doc/examples/systemd-user/*.{service,socket}
}

@ -13,7 +13,7 @@ SRC_URI="mirror://gnupg/gnupg/${MY_P}.tar.bz2"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-fbsd ~x86-fbsd ~amd64-linux ~arm-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="bzip2 doc +gnutls ldap nls readline selinux +smartcard tofu tools usb wks-server"
COMMON_DEPEND_LIBS="

@ -1,2 +1,3 @@
DIST zeal-0.2.1.tar.gz 914998 SHA256 994c5fad079cb34952fc05b0663920118489ed7f00f8e5a5887ff2e2bd05861d SHA512 f17b7ef59649a5c57ef3461aa84dbb2636deed13646d5f73fe05adf1bb9519d317366a18c61d6716417044d6248fd6111cacb8341393fa194567769fd2048c3f WHIRLPOOL e2ecd8d2a9e712a0e9185eaeca87051529777080a9ff6ff886d7674886e235e0d6ab7daddf439dfbeb2f17154a2b2e14fb17947180e40afb6e8ad50e6b17962a
DIST zeal-0.3.1.tar.gz 920814 SHA256 55f8511977818612e00ae87a4fddaa346210189531469690f2e3961bb4c2c318 SHA512 9d95d9d3a1966c823f4eebe2a389f046df84d27262863dead558e309ac4c0ac8ee5ab1fd8f3559e9745e0ee9248df36aa66de8ca242a5d4662c6bb1d5b722280 WHIRLPOOL 6c8e81827dda2a074f086cdd03e7a8e4e8634e971034252380b09730165b3e208912cd0df55a4e3e8b079af77751748a7af3875a246d00fb78807665b6314a43
DIST zeal-0.4.0.tar.gz 1049326 SHA256 1f6b50026036923ae0cfbf3f4eb1066ee2fdaf0425d4c321203e0dd9506823fd SHA512 fd1e7cd71469e40914b713c10057b3f3d1d2ae9808d296ca01ceb43941b6e7d6754a4f21edf43a594b1c3ebcab20728812db1bdffda6bc78ee49a1d4faaf9627 WHIRLPOOL b50f9f2d0d2c43a0e0ab525be8df54f7e9c87fe407e0e71fa79aa6deb9efc69933e696771c1275fb8ae9de8dceeac6880d00c607e999668186aade58ea4f87a6

@ -0,0 +1,53 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit qmake-utils gnome2-utils fdo-mime
DESCRIPTION="Offline documentation browser inspired by Dash"
HOMEPAGE="https://zealdocs.org/"
SRC_URI="https://github.com/zealdocs/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="
app-arch/libarchive
dev-qt/qtconcurrent:5
dev-qt/qtgui:5
dev-qt/qtnetwork:5
dev-qt/qtsql:5[sqlite]
dev-qt/qtwebkit:5
dev-qt/qtwidgets:5
dev-qt/qtx11extras:5
>=x11-libs/xcb-util-keysyms-0.3.9
"
RDEPEND="
${DEPEND}
x11-themes/hicolor-icon-theme
"
src_configure() {
eqmake5 PREFIX="${EPREFIX}/usr"
}
src_install() {
emake INSTALL_ROOT="${D}" PREFIX="${EPREFIX}/usr" install
}
pkg_preinst() {
gnome2_icon_savelist
}
pkg_postinst() {
gnome2_icon_cache_update
fdo-mime_desktop_database_update
}
pkg_postrm() {
gnome2_icon_cache_update
fdo-mime_desktop_database_update
}

@ -13,7 +13,7 @@ SRC_URI="mirror://gnu/emacs/${P}.tar.bz2
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
SLOT="23"
KEYWORDS="alpha ~amd64 arm ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
KEYWORDS="alpha ~amd64 arm hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE="alsa aqua athena dbus games gconf gif gpm gtk gzip-el hesiod jpeg kerberos livecd m17n-lib motif pax_kernel png sound source svg tiff toolkit-scroll-bars X Xaw3d xft +xpm"
REQUIRED_USE="?? ( aqua X )"

@ -12,7 +12,7 @@ SRC_URI="mirror://gnu/emacs/${P}.tar.xz
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
SLOT="24"
KEYWORDS="alpha ~amd64 arm ~hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
KEYWORDS="alpha ~amd64 arm hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="acl alsa aqua athena dbus games gconf gfile gif gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source ssl svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm zlib"
REQUIRED_USE="?? ( aqua X )"

@ -11,7 +11,7 @@ SRC_URI="mirror://gnu/emacs/${P}.tar.xz"
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
SLOT="25"
KEYWORDS="alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
KEYWORDS="alpha ~amd64 ~arm ~arm64 hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="acl alsa aqua athena cairo dbus dynamic-loading games gconf gfile gif gpm gsettings gtk +gtk3 gzip-el hesiod imagemagick +inotify jpeg kerberos libxml2 livecd m17n-lib motif pax_kernel png selinux sound source ssl svg tiff toolkit-scroll-bars wide-int X Xaw3d xft +xpm xwidgets zlib"
REQUIRED_USE="?? ( aqua X )"

@ -2,3 +2,5 @@ DIST sublime-text-2.0.2_x32.tar.bz2 5584673 SHA256 07338e041cfb348938fa8069f0aad
DIST sublime-text-2.0.2_x64.tar.bz2 5662968 SHA256 01baed30d66432e30002a309ff0393967be1daba5cce653e43bba6bd6c38ab84 SHA512 330dc9c4141d0e01f19605b397126b9ca0703377d565cbc552f4bc622ba54b38dbf2485aca71d6f24e3160e71ea40b2057ce66a3907ff6766916fb39438e9113 WHIRLPOOL 167a60f851ee14c1879b422987ef9c496c64d924b2fc94ce8dd19d95847d31c184bb24cbb50293044f37e60336b9349ec7f7a689f7f2d0f076db432dfdf5d713
DIST sublime_text_3_build_3126_x32.tar.bz2 9258647 SHA256 92ffefa470f0777897ed0dfb7c1635426105271da9b5affbe8c1e82039718e29 SHA512 f8377adbad072577995918c7c8311ae63c7290581b00200e698ded18722893edf0baa7227480c8fc6143be30d695fae1e7312f7a9ac6728b8a397ea814a829fa WHIRLPOOL 7f45a898aa036cc56ea931bc6b0ae48499d60e5b640700724874bc22414d44f0b04e4df939a5a9c968b65fdd71c2be060daf57bf269fbfdc4ef463ba6e6b058d
DIST sublime_text_3_build_3126_x64.tar.bz2 9313954 SHA256 18db132e9a305fa3129014b608628e06f9442f48d09cfe933b3b1a84dd18727a SHA512 a0a683b3cef45fba2a294cb044e5dc24ed3ea8d8a669321ee15844a48b88fbd345d50f499a9feb865735b15b44ff99d6b5f8aaee453245b9fd61e9e3d1c69f26 WHIRLPOOL f41520ed96db71de1fca374ba36645016f72801ea17a983c865eaeb7835cda75ee9dbd9cebca247b961dd6db29ca9f9d2c6babb076dba49b3660ef56c9c97d43
DIST sublime_text_3_build_3143_x32.tar.bz2 9847438 SHA256 b1ecc4b70d66b9236b876f1913c4094b6dd51436e45c74883ba70a1939e9f735 SHA512 471716815a171f786ad5f12b743ec3c17dcde2fc165522e523d338c9184af7789095e2de41e89d0c4b0dc58bfe409f116662016e7014c528650ce074c101084b WHIRLPOOL 3e0346ac03fe044787fa468030c29c4bc7b1d70657c6b4055de1577ffe3d1c026bc2aacdc724f4df33c69ce7810a5b50d25ab4841450ff078d2478543e39b4c8
DIST sublime_text_3_build_3143_x64.tar.bz2 9857381 SHA256 9ce120c4f28b239d3b3860ee672d9d87e1397a4c08ee6c4e62fd6e261a296519 SHA512 db6375cbcaf1cb6e1d583aa043abeaeecf0236e1d2e23b965b6c2dd616ec2277d73786d2a9c273329c1a94890edc7ddce1551292b5170dc5b558cd7246c5093f WHIRLPOOL 69d163c8ed2f244954600466d2f61d7dc6600eedaa40d53662f75dd811c35edd99ec7ee7cb012477161aed072e63c6d9fa5d7a6ee1428190960f83a81b80768f

@ -0,0 +1,64 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils gnome2-utils
# get the major version from PV
MV=${PV:0:1}
MY_PV=${PV#*_p}
DESCRIPTION="Sophisticated text editor for code, markup and prose"
HOMEPAGE="http://www.sublimetext.com"
SRC_URI="
amd64? ( https://download.sublimetext.com/sublime_text_${MV}_build_${MY_PV}_x64.tar.bz2 )
x86? ( https://download.sublimetext.com/sublime_text_${MV}_build_${MY_PV}_x32.tar.bz2 )"
LICENSE="Sublime"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="dbus"
RESTRICT="bindist mirror strip"
RDEPEND="
dev-libs/glib:2
x11-libs/gtk+:2
x11-libs/libX11
dbus? ( sys-apps/dbus )"
QA_PREBUILT="*"
S="${WORKDIR}/sublime_text_${MV}"
# Sublime bundles the kitchen sink, which includes python and other assorted
# modules. Do not try to unbundle these because you are guaranteed to fail.
src_install() {
insinto /opt/${PN}${MV}
doins -r Packages Icon
doins changelog.txt sublime_plugin.py sublime.py python3.3.zip
exeinto /opt/${PN}${MV}
doexe crash_reporter plugin_host sublime_text
dosym ../../opt/${PN}${MV}/sublime_text /usr/bin/subl
local size
for size in 32 48 128 256; do
dosym ../../../../../../opt/${PN}${MV}/Icon/${size}x${size}/sublime-text.png \
/usr/share/icons/hicolor/${size}x${size}/apps/subl.png
done
make_desktop_entry "subl" "Sublime Text ${MV}" "subl" \
"TextEditor;IDE;Development" "StartupNotify=true"
# needed to get WM_CLASS lookup right
mv "${ED%/}"/usr/share/applications/subl{-sublime-text,}.desktop || die
}
pkg_postrm() {
gnome2_icon_cache_update
}
pkg_postinst() {
gnome2_icon_cache_update
}

@ -25,7 +25,7 @@ fi
LICENSE="GPL-2+ LGPL-2+"
SLOT="0"
KEYWORDS="amd64 hppa ppc ppc64 x86"
KEYWORDS="amd64 ~hppa ppc ppc64 x86"
IUSE="+X +autostart +cairo debug +enchant gtk2 gtk3 +introspection lua nls opencc +pango qt4 static-libs +table test +xml"
REQUIRED_USE="cairo? ( X ) pango? ( cairo ) qt4? ( X )"

@ -1,2 +1,3 @@
DIST bashdb-4.3-0.91.tar.bz2 660370 SHA256 60117745813f29070a034c590c9d70153cc47f47024ae54bfecdc8cd86d9e3ea SHA512 903710e61efcf272213c3dcc20799842e8ef969e791e3d1a8eab071e5b7538a195f621320945019611042ed623d005e481bd75724194cc10cb6f668b615ce3af WHIRLPOOL 075ee878713a7611b7437d4c3420669c6bcff949a9e2991cbfc533874e2b215e1c9a4d23f4f414205d979190c09eec1a2a8daa3857053dfade6f8864211534be
DIST bashdb-4.4-0.92.tar.bz2 678961 SHA256 6a8c2655e04339b954731a0cb0d9910e2878e45b2fc08fe469b93e4f2dbaaf92 SHA512 68d5cdf4fb6cbacb0e7b69fb793ab9ead3114e152ea87dfb9d540103c9975af8dcaa78ad9a89b00a0f85f3ab1f090d9b6ca6a13c3e09673b5ab073762500fb80 WHIRLPOOL 5577a7a9a3e905a758ffbed931846bc408c038ce80cfedd7e2bd6bb57902acb63567b0ed461fd4ee76ba6d0a8d4109d9ecfd651367d42f2a1e5ab5e5546bfb54
DIST bashdb-4.4-0.94.tar.bz2 810610 SHA256 5931afc2f153aa595b4c59e53d303d845952ab6101227c34654a1b83686dc006 SHA512 97e7d057f16d90d7f1677e1b29d2467d5ee263e9aaad64e2d7a8b8a19b3f3ca68023f23a45faea235fdba57e803fae762a19aab67f650b81e868a8a01c5b1fb7 WHIRLPOOL 425f8883c96ab7c68c12dc352cb2de6a0073944f49ca7ada93ec4e51bdda125babf6ff4f2d95980a09614bd41ebda26191497b0edb90756c62cfac08210daa2d

@ -0,0 +1,34 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
MY_P="${PN}-${PV:0:3}-${PV:4}"
DESCRIPTION="bash source code debugging"
HOMEPAGE="http://bashdb.sourceforge.net/"
SRC_URI="mirror://sourceforge/bashdb/${MY_P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
IUSE=""
DEPEND="!>=app-shells/bash-${PV:0:1}.$((${PV:2:1}+1))"
S="${WORKDIR}/${MY_P}"
# Unfortunately, not all tests pass. #276877
RESTRICT="test"
src_prepare() {
default
# We don't install this, so don't bother building it. #468044
sed -i 's:texi2html:true:' doc/Makefile.in || die
}
src_configure() {
# This path matches the bash sources. If we ever change bash,
# we'll probably have to change this to match. #591994
econf --with-dbg-main='$(PKGDATADIR)/bashdb-main.inc'
}

@ -11,7 +11,7 @@ SRC_URI="http://mupdf.com/downloads/${P}-source.tar.gz"
LICENSE="AGPL-3"
SLOT="0/${PV}"
KEYWORDS="alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="X +curl javascript libressl opengl +openssl static static-libs vanilla"
LIB_DEPEND="

@ -1,4 +1,4 @@
# Copyright 1999-2015 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
@ -16,7 +16,11 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="doc nls static-libs test"
DEPEND="nls? ( sys-devel/gettext )
RDEPEND="
|| ( <sys-libs/glibc-2.26[rpc] net-libs/libnsl )
"
DEPEND="${RDEPEND}
nls? ( sys-devel/gettext )
doc? (
app-text/xmlto
app-text/docbook-xml-dtd:4.1.2
@ -26,7 +30,6 @@ DEPEND="nls? ( sys-devel/gettext )
app-text/openjade
app-text/sgml-common
)"
RDEPEND=""
S=${WORKDIR}/${MY_P}

@ -15,7 +15,7 @@ HOMEPAGE="http://postgis.net"
SRC_URI="http://download.osgeo.org/postgis/source/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ppc x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 x86 ~amd64-linux ~x86-linux"
IUSE="doc gtk static-libs test"
RDEPEND="

@ -15,7 +15,7 @@ HOMEPAGE="http://postgis.net"
SRC_URI="http://download.osgeo.org/postgis/source/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc gtk static-libs test"
RDEPEND="

@ -15,7 +15,7 @@ HOMEPAGE="http://postgis.net"
SRC_URI="http://download.osgeo.org/postgis/source/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc gtk static-libs test"
RDEPEND="

@ -15,7 +15,7 @@ HOMEPAGE="http://postgis.net"
SRC_URI="http://download.osgeo.org/postgis/source/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc gtk static-libs test"
RDEPEND="

@ -15,7 +15,7 @@ HOMEPAGE="http://postgis.net"
SRC_URI="http://download.osgeo.org/postgis/source/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc gtk static-libs test"
RDEPEND="

@ -15,7 +15,7 @@ HOMEPAGE="http://postgis.net"
SRC_URI="http://download.osgeo.org/postgis/source/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc gtk static-libs test"
RDEPEND="

@ -17,7 +17,7 @@ HOMEPAGE="http://postgis.net"
SRC_URI="http://download.osgeo.org/postgis/source/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="doc gtk static-libs test"
RDEPEND="

@ -0,0 +1,47 @@
--- a/simgear/scene/material/Effect.cxx
+++ b/simgear/scene/material/Effect.cxx
@@ -32,7 +32,7 @@
#include <map>
#include <queue>
#include <utility>
-#include <boost/tr1/unordered_map.hpp>
+#include <boost/unordered_map.hpp>
#include <boost/bind.hpp>
#include <boost/foreach.hpp>
@@ -832,13 +832,13 @@
// XXX Should these be protected by a mutex? Probably
-typedef tr1::unordered_map<ProgramKey, ref_ptr<Program>,
+typedef boost::unordered_map<ProgramKey, ref_ptr<Program>,
boost::hash<ProgramKey>, ProgramKey::EqualTo>
ProgramMap;
ProgramMap programMap;
ProgramMap resolvedProgramMap; // map with resolved shader file names
-typedef tr1::unordered_map<ShaderKey, ref_ptr<Shader>, boost::hash<ShaderKey> >
+typedef boost::unordered_map<ShaderKey, ref_ptr<Shader>, boost::hash<ShaderKey> >
ShaderMap;
ShaderMap shaderMap;
--- a/simgear/scene/material/Effect.hxx
+++ b/simgear/scene/material/Effect.hxx
@@ -19,7 +19,7 @@
#include <vector>
#include <string>
-#include <boost/tr1/unordered_map.hpp>
+#include <boost/unordered_map.hpp>
#include <boost/functional/hash.hpp>
@@ -127,7 +127,7 @@
bool operator()(const Key& lhs, const Key& rhs) const;
};
};
- typedef std::tr1::unordered_map<Key, osg::observer_ptr<Effect>,
+ typedef boost::unordered_map<Key, osg::observer_ptr<Effect>,
boost::hash<Key>, Key::EqualTo> Cache;
Cache* getCache()
{

@ -1,4 +1,4 @@
<?xml version='1.0' encoding='UTF-8'?>
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
@ -15,7 +15,7 @@ quickly assembling 3d simulations, games, and visualization applications.
</longdescription>
<use>
<flag name="dns">Enable DNS resolver via <pkg>net-libs/udns</pkg></flag>
<flag name="gdal">Enable alternative terrain engine based on pagedLOD via <pkg>sci-libs/gdal</pkg></flag>
<flag name="gdal">Enable alternative terrain engine based on pagedLOD via <pkg>sci-libs/gdal</pkg></flag>
<flag name="subversion">Enable terrasync scenery downloader</flag>
</use>
<upstream>

@ -3,15 +3,15 @@
EAPI=6
inherit eutils cmake-utils toolchain-funcs
inherit cmake-utils toolchain-funcs
DESCRIPTION="Development library for simulation games"
HOMEPAGE="http://www.simgear.org/"
SRC_URI="mirror://sourceforge/flightgear/${P}.tar.bz2"
LICENSE="GPL-2"
KEYWORDS="~amd64 ~x86"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="+dns debug gdal openmp subversion test"
COMMON_DEPEND="
@ -31,12 +31,17 @@ RDEPEND="${COMMON_DEPEND}
subversion? ( dev-vcs/subversion )
"
PATCHES=( "${FILESDIR}/simgear-2017.2.1-gdal-underlinking.patch" )
DOCS=(AUTHORS ChangeLog NEWS README Thanks)
PATCHES=(
"${FILESDIR}"/${PN}-2017.2.1-gdal-underlinking.patch
"${FILESDIR}"/${PN}-2017.2.1-boost-1.65-tr1-removal.patch
)
pkg_pretend() {
use openmp && tc-check-openmp
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}
pkg_setup() {
[[ ${MERGE_TYPE} != binary ]] && use openmp && tc-check-openmp
}
src_configure() {

@ -38,6 +38,7 @@ RDEPEND="${DEPEND}
PATCHES=(
"${FILESDIR}"/${PN}-0.23.0-verbose-LDFLAGS.patch
"${FILESDIR}"/${PN}-0.23.1-llvm-5.patch
)
src_prepare() {

@ -0,0 +1,837 @@
https://bugs.gentoo.org/630634
diff --git a/.gitignore b/.gitignore
index 9a883edfd..5f852d930 100644
--- a/.gitignore
+++ b/.gitignore
@@ -12,5 +12,6 @@ all_spec
/tmp
/doc/
/src/llvm/ext/llvm_ext.o
+/src/llvm/ext/llvm_ext.dwo
/src/ext/*.o
/src/ext/libcrystal.a
diff --git a/Makefile b/Makefile
index a5dc0d7e3..14a21bb86 100644
--- a/Makefile
+++ b/Makefile
@@ -37,8 +37,6 @@ LLVM_CONFIG_FINDER := \
(command -v llvm-config > /dev/null && (case "$(llvm-config --version)" in 3.9*) command -v llvm-config;; *) false;; esac)) || \
command -v llvm-config-3.8 || command -v llvm-config38 || \
(command -v llvm-config > /dev/null && (case "$(llvm-config --version)" in 3.8*) command -v llvm-config;; *) false;; esac)) || \
- command -v llvm-config-3.6 || command -v llvm-config36 || \
- command -v llvm-config-3.5 || command -v llvm-config35 || \
command -v llvm-config
LLVM_CONFIG := $(shell $(LLVM_CONFIG_FINDER))
LLVM_EXT_DIR = src/llvm/ext
diff --git a/src/compiler/crystal/compiler.cr b/src/compiler/crystal/compiler.cr
index a2bed9a95..afc7976e3 100644
--- a/src/compiler/crystal/compiler.cr
+++ b/src/compiler/crystal/compiler.cr
@@ -447,9 +447,6 @@ module Crystal
protected def optimize(llvm_mod)
fun_pass_manager = llvm_mod.new_function_pass_manager
- {% if LibLLVM::IS_35 || LibLLVM::IS_36 %}
- fun_pass_manager.add_target_data target_machine.data_layout
- {% end %}
pass_manager_builder.populate fun_pass_manager
fun_pass_manager.run llvm_mod
module_pass_manager.run llvm_mod
@@ -460,9 +457,6 @@ module Crystal
private def module_pass_manager
@module_pass_manager ||= begin
mod_pass_manager = LLVM::ModulePassManager.new
- {% if LibLLVM::IS_35 || LibLLVM::IS_36 %}
- mod_pass_manager.add_target_data target_machine.data_layout
- {% end %}
pass_manager_builder.populate mod_pass_manager
mod_pass_manager
end
@@ -554,54 +548,29 @@ module Crystal
can_reuse_previous_compilation =
!compiler.emit && !@bc_flags_changed && File.exists?(bc_name) && File.exists?(object_name)
- {% if LibLLVM::IS_35 %}
- # In LLVM 3.5 we can't write a bitcode to memory,
- # so instead we write it to another file
- bc_name_new = self.bc_name_new
- llvm_mod.write_bitcode_to_file(bc_name_new)
-
- if can_reuse_previous_compilation
- if FileUtils.cmp(bc_name, bc_name_new)
- # If the user cancelled a previous compilation it might be that
- # the .o file is empty
- if File.size(object_name) > 0
- File.delete bc_name_new
- must_compile = false
- end
- end
- end
+ memory_buffer = llvm_mod.write_bitcode_to_memory_buffer
- if must_compile
- # Create/overwrite the .bc file (for next compilations)
- File.rename(bc_name_new, bc_name)
- compiler.optimize llvm_mod if compiler.release?
- compiler.target_machine.emit_obj_to_file llvm_mod, object_name
- end
- {% else %}
- memory_buffer = llvm_mod.write_bitcode_to_memory_buffer
-
- if can_reuse_previous_compilation
- memory_io = IO::Memory.new(memory_buffer.to_slice)
- changed = File.open(bc_name) { |bc_file| !FileUtils.cmp(bc_file, memory_io) }
-
- # If the user cancelled a previous compilation
- # it might be that the .o file is empty
- if !changed && File.size(object_name) > 0
- must_compile = false
- memory_buffer.dispose
- memory_buffer = nil
- else
- # We need to compile, so we'll write the memory buffer to file
- end
- end
+ if can_reuse_previous_compilation
+ memory_io = IO::Memory.new(memory_buffer.to_slice)
+ changed = File.open(bc_name) { |bc_file| !FileUtils.cmp(bc_file, memory_io) }
- # If there's a memory buffer, it means we must create a .o from it
- if memory_buffer
- # Create the .bc file (for next compilations)
- File.write(bc_name, memory_buffer.to_slice)
+ # If the user cancelled a previous compilation
+ # it might be that the .o file is empty
+ if !changed && File.size(object_name) > 0
+ must_compile = false
memory_buffer.dispose
+ memory_buffer = nil
+ else
+ # We need to compile, so we'll write the memory buffer to file
end
- {% end %}
+ end
+
+ # If there's a memory buffer, it means we must create a .o from it
+ if memory_buffer
+ # Create the .bc file (for next compilations)
+ File.write(bc_name, memory_buffer.to_slice)
+ memory_buffer.dispose
+ end
if must_compile
compiler.optimize llvm_mod if compiler.release?
diff --git a/src/llvm.cr b/src/llvm.cr
index 44a03c272..f9b31cf4b 100644
--- a/src/llvm.cr
+++ b/src/llvm.cr
@@ -94,11 +94,5 @@ module LLVM
string
end
- {% if LibLLVM::IS_35 %}
- DEBUG_METADATA_VERSION = 1
- {% elsif LibLLVM::IS_36 %}
- DEBUG_METADATA_VERSION = 2
- {% else %}
- DEBUG_METADATA_VERSION = 3
- {% end %}
+ DEBUG_METADATA_VERSION = 3
end
diff --git a/src/llvm/context.cr b/src/llvm/context.cr
index 8485eedf1..7d66a4365 100644
--- a/src/llvm/context.cr
+++ b/src/llvm/context.cr
@@ -9,9 +9,9 @@ class LLVM::Context
end
def new_module(name : String) : Module
- {% if LibLLVM::IS_38 || LibLLVM::IS_36 || LibLLVM::IS_35 %}
+ {% if LibLLVM::IS_38 %}
Module.new(LibLLVM.module_create_with_name_in_context(name, self), name, self)
- {% else %}
+ {% else %} # LLVM >= 3.9
Module.new(LibLLVM.module_create_with_name_in_context(name, self), self)
{% end %}
end
@@ -104,9 +104,9 @@ class LLVM::Context
if ret != 0 && msg
raise LLVM.string_and_dispose(msg)
end
- {% if LibLLVM::IS_38 || LibLLVM::IS_36 || LibLLVM::IS_35 %}
+ {% if LibLLVM::IS_38 %}
Module.new(mod, "unknown", self)
- {% else %}
+ {% else %} # LLVM >= 3.9
Module.new(mod, self)
{% end %}
end
diff --git a/src/llvm/di_builder.cr b/src/llvm/di_builder.cr
index b8c0fd628..79571d2c0 100644
--- a/src/llvm/di_builder.cr
+++ b/src/llvm/di_builder.cr
@@ -31,16 +31,8 @@ struct LLVM::DIBuilder
def create_function(scope, name, linkage_name, file, line, composite_type, is_local_to_unit, is_definition,
scope_line, flags, is_optimized, func)
- {% if LibLLVM::IS_36 || LibLLVM::IS_35 %}
- LibLLVMExt.di_builder_create_function(self, scope, name, linkage_name, file, line, composite_type,
- is_local_to_unit ? 1 : 0,
- is_definition ? 1 : 0,
- scope_line, flags,
- is_optimized ? 1 : 0, func)
- {% else %}
- LibLLVMExt.di_builder_create_function(self, scope, name, linkage_name, file, line, composite_type,
- is_local_to_unit, is_definition, scope_line, flags, is_optimized, func)
- {% end %}
+ LibLLVMExt.di_builder_create_function(self, scope, name, linkage_name, file, line, composite_type,
+ is_local_to_unit, is_definition, scope_line, flags, is_optimized, func)
end
def create_auto_variable(scope, name, file, line, type, align_in_bits)
@@ -87,19 +79,11 @@ struct LLVM::DIBuilder
end
def create_replaceable_composite_type(scope, name, file, line, context : Context)
- {% if LibLLVM::IS_35 || LibLLVM::IS_36 %}
- LibLLVMExt.temporary_md_node(context, nil, 0).as(LibLLVMExt::Metadata)
- {% else %}
- LibLLVMExt.di_builder_create_replaceable_composite_type(self, scope, name, file, line)
- {% end %}
+ LibLLVMExt.di_builder_create_replaceable_composite_type(self, scope, name, file, line)
end
def replace_temporary(from, to)
- {% if LibLLVM::IS_35 || LibLLVM::IS_36 %}
- LibLLVMExt.metadata_replace_all_uses_with(from, to)
- {% else %}
- LibLLVMExt.di_builder_replace_temporary(self, from, to)
- {% end %}
+ LibLLVMExt.di_builder_replace_temporary(self, from, to)
end
def end
diff --git a/src/llvm/ext/llvm_ext.cc b/src/llvm/ext/llvm_ext.cc
index d13446160..3dbdd4220 100644
--- a/src/llvm/ext/llvm_ext.cc
+++ b/src/llvm/ext/llvm_ext.cc
@@ -18,35 +18,22 @@ using namespace llvm;
#define LLVM_VERSION_LE(major, minor) \
(LLVM_VERSION_MAJOR < (major) || LLVM_VERSION_MAJOR == (major) && LLVM_VERSION_MINOR <= (minor))
+#if LLVM_VERSION_LE(4, 0)
typedef struct LLVMOpaqueDIBuilder *LLVMDIBuilderRef;
DEFINE_SIMPLE_CONVERSION_FUNCTIONS(DIBuilder, LLVMDIBuilderRef)
-#if LLVM_VERSION_EQ(3, 5)
-typedef LLVMValueRef LLVMMetadataRef;
-typedef Value Metadata;
-#define DIBuilderRef LLVMDIBuilderRef
-
-#else /* LLVM != 3.5 */
typedef struct LLVMOpaqueMetadata *LLVMMetadataRef;
DEFINE_ISA_CONVERSION_FUNCTIONS(Metadata, LLVMMetadataRef)
inline Metadata **unwrap(LLVMMetadataRef *Vals) {
return reinterpret_cast<Metadata **>(Vals);
}
-#endif /* LLVM == 3.5 */
-
-#if LLVM_VERSION_LE(3, 6)
-template <typename T> T unwrapDIptr(LLVMMetadataRef v) {
- return v ? T(unwrap<MDNode>(v)) : T();
-}
-#define DIBuilderRef LLVMDIBuilderRef
+#endif
-#else /* LLVM > 3.6 */
typedef DIBuilder *DIBuilderRef;
#define DIArray DINodeArray
template <typename T> T *unwrapDIptr(LLVMMetadataRef v) {
return (T *)(v ? unwrap<MDNode>(v) : NULL);
}
-#endif /* LLVM <= 3.6 */
#if LLVM_VERSION_LE(3, 6)
#define OperandBundleDef void
@@ -66,13 +53,7 @@ void LLVMDIBuilderFinalize(LLVMDIBuilderRef dref) { unwrap(dref)->finalize(); }
LLVMMetadataRef LLVMDIBuilderCreateFile(DIBuilderRef Dref, const char *File,
const char *Dir) {
-#if LLVM_VERSION_LE(3, 6)
- DIBuilder *D = unwrap(Dref);
- DIFile F = D->createFile(File, Dir);
- return wrap(F);
-#else
return wrap(Dref->createFile(File, Dir));
-#endif
}
LLVMMetadataRef LLVMDIBuilderCreateCompileUnit(DIBuilderRef Dref, unsigned Lang,
@@ -82,20 +63,13 @@ LLVMMetadataRef LLVMDIBuilderCreateCompileUnit(DIBuilderRef Dref, unsigned Lang,
int Optimized,
const char *Flags,
unsigned RuntimeVersion) {
-#if LLVM_VERSION_LE(3, 6)
- DIBuilder *D = unwrap(Dref);
- DICompileUnit CU = D->createCompileUnit(Lang, File, Dir, Producer, Optimized,
- Flags, RuntimeVersion);
- return wrap(CU);
-#else
-# if LLVM_VERSION_LE(3, 9)
+#if LLVM_VERSION_LE(3, 9)
return wrap(Dref->createCompileUnit(Lang, File, Dir, Producer, Optimized,
Flags, RuntimeVersion));
-# else
+#else
DIFile *F = Dref->createFile(File, Dir);
return wrap(Dref->createCompileUnit(Lang, F, Producer, Optimized,
Flags, RuntimeVersion));
-# endif
#endif
}
@@ -111,19 +85,11 @@ LLVMMetadataRef LLVMDIBuilderCreateFunction(
#endif
bool IsOptimized,
LLVMValueRef Func) {
-#if LLVM_VERSION_LE(3, 6)
- DIBuilder *D = unwrap(Dref);
- DISubprogram Sub = D->createFunction(
- unwrapDI<DIDescriptor>(Scope), Name, LinkageName, unwrapDI<DIFile>(File),
- Line, unwrapDI<DICompositeType>(CompositeType), IsLocalToUnit,
- IsDefinition, ScopeLine, Flags, IsOptimized, unwrap<Function>(Func));
-#else
DISubprogram *Sub = Dref->createFunction(
unwrapDI<DIScope>(Scope), Name, LinkageName, unwrapDI<DIFile>(File), Line,
unwrapDI<DISubroutineType>(CompositeType), IsLocalToUnit, IsDefinition,
ScopeLine, Flags, IsOptimized);
unwrap<Function>(Func)->setSubprogram(Sub);
-#endif
return wrap(Sub);
}
@@ -132,18 +98,8 @@ LLVMMetadataRef LLVMDIBuilderCreateLexicalBlock(DIBuilderRef Dref,
LLVMMetadataRef File,
unsigned Line,
unsigned Column) {
-#if LLVM_VERSION_LE(3, 6)
- DIBuilder *D = unwrap(Dref);
-# if LLVM_VERSION_EQ(3, 5)
- DILexicalBlock LB = D->createLexicalBlock(unwrapDI<DIDescriptor>(Scope), unwrapDI<DIFile>(File), Line, Column, 0);
-# else /* LLVM <= 3.6 && LLVM != 3.5 */
- DILexicalBlock LB = D->createLexicalBlock(unwrapDI<DIDescriptor>(Scope), unwrapDI<DIFile>(File), Line, Column);
-# endif
- return wrap(LB);
-#else /* LLVM > 3.6 */
return wrap(Dref->createLexicalBlock(unwrapDI<DIDescriptor>(Scope),
unwrapDI<DIFile>(File), Line, Column));
-#endif /* LLVM <= 3.6 */
}
LLVMMetadataRef LLVMDIBuilderCreateBasicType(DIBuilderRef Dref,
@@ -151,71 +107,34 @@ LLVMMetadataRef LLVMDIBuilderCreateBasicType(DIBuilderRef Dref,
uint64_t SizeInBits,
uint64_t AlignInBits,
unsigned Encoding) {
-#if LLVM_VERSION_LE(3, 6)
- DIBuilder *D = unwrap(Dref);
- DIBasicType T = D->createBasicType(Name, SizeInBits, AlignInBits, Encoding);
- return wrap(T);
-#else
-# if LLVM_VERSION_LE(3, 9)
+#if LLVM_VERSION_LE(3, 9)
return wrap(Dref->createBasicType(Name, SizeInBits, AlignInBits, Encoding));
-# else
+#else
return wrap(Dref->createBasicType(Name, SizeInBits, Encoding));
-# endif
#endif
}
LLVMMetadataRef LLVMDIBuilderGetOrCreateTypeArray(DIBuilderRef Dref,
LLVMMetadataRef *Data,
unsigned Length) {
-#if LLVM_VERSION_LE(3, 6)
- DIBuilder *D = unwrap(Dref);
-# if LLVM_VERSION_EQ(3, 5)
- Value **DataValue = unwrap(Data);
- ArrayRef<Value *> Elements(DataValue, Length);
- DIArray A = D->getOrCreateArray(Elements);
-# else /* LLVM <= 3.6 && LLVM != 3.5 */
- Metadata **DataValue = unwrap(Data);
- ArrayRef<Metadata *> Elements(DataValue, Length);
- DITypeArray A = D->getOrCreateTypeArray(Elements);
-# endif
- return wrap(A);
-#else /* LLVM > 3.6 */
Metadata **DataValue = unwrap(Data);
return wrap(
Dref->getOrCreateTypeArray(ArrayRef<Metadata *>(DataValue, Length))
.get());
-#endif /* LLVM <= 3.6 */
}
LLVMMetadataRef LLVMDIBuilderGetOrCreateArray(DIBuilderRef Dref,
LLVMMetadataRef *Data,
unsigned Length) {
-#if LLVM_VERSION_LE(3, 6)
- DIBuilder *D = unwrap(Dref);
- ArrayRef<Metadata *> elements(unwrap(Data), Length);
- DIArray a = D->getOrCreateArray(elements);
-
- return wrap(a);
-#else
Metadata **DataValue = unwrap(Data);
return wrap(
Dref->getOrCreateArray(ArrayRef<Metadata *>(DataValue, Length)).get());
-#endif
}
LLVMMetadataRef
LLVMDIBuilderCreateSubroutineType(DIBuilderRef Dref, LLVMMetadataRef File,
LLVMMetadataRef ParameterTypes) {
-#if LLVM_VERSION_LE(3, 6)
- DIBuilder *D = unwrap(Dref);
-# if LLVM_VERSION_EQ(3, 5)
- DICompositeType CT = D->createSubroutineType(unwrapDI<DIFile>(File), unwrapDI<DIArray>(ParameterTypes));
-# else /* LLVM <= 3.6 && LLVM != 3.5 */
- DICompositeType CT = D->createSubroutineType(unwrapDI<DIFile>(File), unwrapDI<DITypeArray>(ParameterTypes));
-# endif
-#else /* LLVM > 3.6 */
DISubroutineType *CT = Dref->createSubroutineType(DITypeRefArray(unwrap<MDTuple>(ParameterTypes)));
-#endif /* LLVM <= 3.6 */
return wrap(CT);
}
@@ -229,21 +148,14 @@ LLVMMetadataRef LLVMDIBuilderCreateAutoVariable(
DINode::DIFlags Flags,
#endif
uint32_t AlignInBits) {
-#if LLVM_VERSION_LE(3, 6)
- DIBuilder *D = unwrap(Dref);
- DIVariable V = D->createLocalVariable(
- llvm::dwarf::DW_TAG_auto_variable, unwrapDI<DIDescriptor>(Scope), Name, unwrapDI<DIFile>(File), Line,
- unwrapDI<DIType>(Ty), AlwaysPreserve, Flags, 0);
-#else
-# if LLVM_VERSION_LE(3, 9)
+#if LLVM_VERSION_LE(3, 9)
DILocalVariable *V = Dref->createAutoVariable(
unwrapDI<DIDescriptor>(Scope), Name, unwrapDI<DIFile>(File), Line,
unwrapDI<DIType>(Ty), AlwaysPreserve, Flags);
-# else
+#else
DILocalVariable *V = Dref->createAutoVariable(
unwrapDI<DIDescriptor>(Scope), Name, unwrapDI<DIFile>(File), Line,
unwrapDI<DIType>(Ty), AlwaysPreserve, Flags, AlignInBits);
-# endif
#endif
return wrap(V);
}
@@ -258,18 +170,10 @@ LLVMMetadataRef LLVMDIBuilderCreateParameterVariable(
DINode::DIFlags Flags
#endif
) {
-#if LLVM_VERSION_LE(3, 6)
- DIBuilder *D = unwrap(Dref);
- DIVariable V = D->createLocalVariable(
- llvm::dwarf::DW_TAG_arg_variable, unwrapDI<DIDescriptor>(Scope), Name, unwrapDI<DIFile>(File), Line,
- unwrapDI<DIType>(Ty), AlwaysPreserve, Flags, ArgNo);
- return wrap(V);
-#else
DILocalVariable *V = Dref->createParameterVariable
(unwrapDI<DIDescriptor>(Scope), Name, ArgNo, unwrapDI<DIFile>(File), Line,
unwrapDI<DIType>(Ty), AlwaysPreserve, Flags);
return wrap(V);
-#endif
}
LLVMValueRef LLVMDIBuilderInsertDeclareAtEnd(DIBuilderRef Dref,
@@ -278,46 +182,17 @@ LLVMValueRef LLVMDIBuilderInsertDeclareAtEnd(DIBuilderRef Dref,
LLVMMetadataRef Expr,
LLVMValueRef DL,
LLVMBasicBlockRef Block) {
-#if LLVM_VERSION_EQ(3, 5)
- DIBuilder *D = unwrap(Dref);
- Instruction *Instr =
- D->insertDeclare(unwrap(Storage), unwrapDI<DIVariable>(VarInfo),
- unwrap(Block));
- Instr->setDebugLoc(DebugLoc::getFromDILocation(cast<MDNode>(DL)));
-#endif
-
-#if LLVM_VERSION_EQ(3, 6)
- DIBuilder *D = unwrap(Dref);
- Instruction *Instr =
- D->insertDeclare(unwrap(Storage), unwrapDI<DIVariable>(VarInfo),
- unwrapDI<DIExpression>(Expr), unwrap(Block));
- Instr->setDebugLoc(DebugLoc::getFromDILocation(cast<MDNode>(unwrap<MetadataAsValue>(DL)->getMetadata())));
-#endif
-
-#if LLVM_VERSION_GE(3, 7)
Instruction *Instr =
Dref->insertDeclare(unwrap(Storage), unwrap<DILocalVariable>(VarInfo),
unwrapDI<DIExpression>(Expr),
DebugLoc(cast<MDNode>(unwrap<MetadataAsValue>(DL)->getMetadata())),
unwrap(Block));
-#endif
-
return wrap(Instr);
}
LLVMMetadataRef LLVMDIBuilderCreateExpression(DIBuilderRef Dref, int64_t *Addr,
size_t Length) {
-#if LLVM_VERSION_LE(3, 6)
-# if LLVM_VERSION_EQ(3, 5)
- return nullptr;
-# else /* LLVM <= 3.6 && LLVM != 3.5 */
- DIBuilder *D = unwrap(Dref);
- DIExpression Expr = D->createExpression(ArrayRef<int64_t>(Addr, Length));
- return wrap(Expr);
-# endif
-#else /* LLVM > 3.6 */
return wrap(Dref->createExpression(ArrayRef<int64_t>(Addr, Length)));
-#endif
}
LLVMMetadataRef LLVMDIBuilderCreateEnumerationType(
@@ -325,30 +200,16 @@ LLVMMetadataRef LLVMDIBuilderCreateEnumerationType(
LLVMMetadataRef File, unsigned LineNumber, uint64_t SizeInBits,
uint64_t AlignInBits, LLVMMetadataRef Elements,
LLVMMetadataRef UnderlyingType) {
-#if LLVM_VERSION_LE(3, 6)
- DIBuilder *D = unwrap(Dref);
- DICompositeType enumType = D->createEnumerationType(
- unwrapDI<DIDescriptor>(Scope), Name, unwrapDI<DIFile>(File), LineNumber,
- SizeInBits, AlignInBits, unwrapDI<DIArray>(Elements),
- unwrapDI<DIType>(UnderlyingType));
-#else
DICompositeType *enumType = Dref->createEnumerationType(
unwrapDI<DIDescriptor>(Scope), Name, unwrapDI<DIFile>(File), LineNumber,
SizeInBits, AlignInBits, DINodeArray(unwrapDI<MDTuple>(Elements)),
unwrapDI<DIType>(UnderlyingType));
-#endif
return wrap(enumType);
}
LLVMMetadataRef LLVMDIBuilderCreateEnumerator(DIBuilderRef Dref,
const char *Name, int64_t Value) {
-#if LLVM_VERSION_LE(3, 6)
- DIBuilder *D = unwrap(Dref);
- DIEnumerator e = D->createEnumerator(Name, Value);
- return wrap(e);
-#else
DIEnumerator *e = Dref->createEnumerator(Name, Value);
-#endif
return wrap(e);
}
@@ -367,22 +228,13 @@ LLVMDIBuilderCreateStructType(DIBuilderRef Dref,
#endif
LLVMMetadataRef DerivedFrom,
LLVMMetadataRef Elements) {
-#if LLVM_VERSION_LE(3, 6)
- DIBuilder *D = unwrap(Dref);
- DICompositeType CT = D->createStructType(
- unwrapDI<DIDescriptor>(Scope), Name, unwrapDI<DIFile>(File), Line,
- SizeInBits, AlignInBits, Flags, unwrapDI<DIType>(DerivedFrom),
- unwrapDI<DIArray>(Elements));
-#else
DICompositeType *CT = Dref->createStructType(
unwrapDI<DIDescriptor>(Scope), Name, unwrapDI<DIFile>(File), Line,
SizeInBits, AlignInBits, Flags, unwrapDI<DIType>(DerivedFrom),
DINodeArray(unwrapDI<MDTuple>(Elements)));
-#endif
return wrap(CT);
}
-#if LLVM_VERSION_GE(3, 8)
LLVMMetadataRef
LLVMDIBuilderCreateReplaceableCompositeType(DIBuilderRef Dref,
LLVMMetadataRef Scope,
@@ -409,7 +261,6 @@ LLVMDIBuilderReplaceTemporary(DIBuilderRef Dref,
llvm::TempMDNode fwd_decl(Node);
Dref->replaceTemporary(std::move(fwd_decl), Type);
}
-#endif
LLVMMetadataRef
LLVMDIBuilderCreateMemberType(DIBuilderRef Dref, LLVMMetadataRef Scope,
@@ -422,16 +273,9 @@ LLVMDIBuilderCreateMemberType(DIBuilderRef Dref, LLVMMetadataRef Scope,
DINode::DIFlags Flags,
#endif
LLVMMetadataRef Ty) {
-#if LLVM_VERSION_LE(3, 6)
- DIBuilder *D = unwrap(Dref);
- DIDerivedType DT = D->createMemberType(
- unwrapDI<DIDescriptor>(Scope), Name, unwrapDI<DIFile>(File), Line,
- SizeInBits, AlignInBits, OffsetInBits, Flags, unwrapDI<DIType>(Ty));
-#else
DIDerivedType *DT = Dref->createMemberType(
unwrapDI<DIDescriptor>(Scope), Name, unwrapDI<DIFile>(File), Line,
SizeInBits, AlignInBits, OffsetInBits, Flags, unwrapDI<DIType>(Ty));
-#endif
return wrap(DT);
}
@@ -440,39 +284,24 @@ LLVMMetadataRef LLVMDIBuilderCreatePointerType(DIBuilderRef Dref,
uint64_t SizeInBits,
uint64_t AlignInBits,
const char *Name) {
-#if LLVM_VERSION_LE(3, 6)
- DIBuilder *D = unwrap(Dref);
- DIDerivedType T = D->createPointerType(unwrapDI<DIType>(PointeeType),
- SizeInBits, AlignInBits, Name);
-#else
DIDerivedType *T = Dref->createPointerType(unwrapDI<DIType>(PointeeType),
- SizeInBits, AlignInBits, Name);
+ SizeInBits, AlignInBits,
+#if LLVM_VERSION_GE(5, 0)
+ None,
#endif
+ Name);
return wrap(T);
}
LLVMMetadataRef LLVMTemporaryMDNode(LLVMContextRef C, LLVMMetadataRef *MDs,
unsigned Count) {
-#if LLVM_VERSION_LE(3, 6)
- return wrap(MDNode::getTemporary(*unwrap(C),
- ArrayRef<Metadata *>(unwrap(MDs), Count)));
-#else
return wrap(MDTuple::getTemporary(*unwrap(C),
ArrayRef<Metadata *>(unwrap(MDs), Count))
.release());
-#endif
}
void LLVMMetadataReplaceAllUsesWith(LLVMMetadataRef MD, LLVMMetadataRef New) {
-#if LLVM_VERSION_LE(3, 6)
-# if LLVM_VERSION_EQ(3, 5)
auto *Node = unwrap<MDNode>(MD);
-# else /* LLVM <= 3.6 && LLVM != 3.5 */
- auto *Node = unwrap<MDNodeFwdDecl>(MD);
-# endif
-#else /* LLVM > 3.6 */
- auto *Node = unwrap<MDNode>(MD);
-#endif
Node->replaceAllUsesWith(unwrap<MDNode>(New));
MDNode::deleteTemporary(Node);
}
diff --git a/src/llvm/function_pass_manager.cr b/src/llvm/function_pass_manager.cr
index 979cb9c97..834d72a20 100644
--- a/src/llvm/function_pass_manager.cr
+++ b/src/llvm/function_pass_manager.cr
@@ -2,12 +2,6 @@ class LLVM::FunctionPassManager
def initialize(@unwrap : LibLLVM::PassManagerRef)
end
- {% if LibLLVM::IS_35 || LibLLVM::IS_36 %}
- def add_target_data(target_data)
- LibLLVM.add_target_data target_data, self
- end
- {% end %}
-
def run(mod : Module)
changed = false
run do |runner|
diff --git a/src/llvm/lib_llvm.cr b/src/llvm/lib_llvm.cr
index e2c7a9445..5a0b67cdd 100644
--- a/src/llvm/lib_llvm.cr
+++ b/src/llvm/lib_llvm.cr
@@ -6,8 +6,6 @@ lib LibLLVM
(command -v llvm-config > /dev/null && (case "$(llvm-config --version)" in 3.9*) command -v llvm-config;; *) false;; esac)) || \
command -v llvm-config-3.8 || command -v llvm-config38 || \
(command -v llvm-config > /dev/null && (case "$(llvm-config --version)" in 3.8*) command -v llvm-config;; *) false;; esac)) || \
- command -v llvm-config-3.6 || command -v llvm-config36 || \
- command -v llvm-config-3.5 || command -v llvm-config35 || \
command -v llvm-config
`.chomp.stringify
}}
@@ -32,8 +30,6 @@ end
IS_40 = {{LibLLVM::VERSION.starts_with?("4.0")}}
IS_39 = {{LibLLVM::VERSION.starts_with?("3.9")}}
IS_38 = {{LibLLVM::VERSION.starts_with?("3.8")}}
- IS_36 = {{LibLLVM::VERSION.starts_with?("3.6")}}
- IS_35 = {{LibLLVM::VERSION.starts_with?("3.5")}}
end
{% end %}
@@ -283,9 +279,7 @@ lib LibLLVM
fun set_alignment = LLVMSetAlignment(value : ValueRef, bytes : UInt32)
fun get_return_type = LLVMGetReturnType(TypeRef) : TypeRef
- {% unless LibLLVM::IS_35 %}
- fun write_bitcode_to_memory_buffer = LLVMWriteBitcodeToMemoryBuffer(mod : ModuleRef) : MemoryBufferRef
- {% end %}
+ fun write_bitcode_to_memory_buffer = LLVMWriteBitcodeToMemoryBuffer(mod : ModuleRef) : MemoryBufferRef
fun dispose_memory_buffer = LLVMDisposeMemoryBuffer(buf : MemoryBufferRef) : Void
fun get_buffer_start = LLVMGetBufferStart(buf : MemoryBufferRef) : UInt8*
@@ -293,26 +287,22 @@ lib LibLLVM
fun write_bitcode_to_fd = LLVMWriteBitcodeToFD(mod : ModuleRef, fd : LibC::Int, should_close : LibC::Int, unbuffered : LibC::Int) : LibC::Int
- {% if LibLLVM::IS_36 || LibLLVM::IS_35 %}
- fun add_target_data = LLVMAddTargetData(td : TargetDataRef, pm : PassManagerRef)
- {% end %}
-
- {% if LibLLVM::IS_38 || LibLLVM::IS_36 || LibLLVM::IS_35 %}
+ {% if LibLLVM::IS_38 %}
fun copy_string_rep_of_target_data = LLVMCopyStringRepOfTargetData(data : TargetDataRef) : UInt8*
fun get_target_machine_data = LLVMGetTargetMachineData(t : TargetMachineRef) : TargetDataRef
fun set_data_layout = LLVMSetDataLayout(mod : ModuleRef, data : UInt8*)
- {% else %}
+ {% else %} # LLVM >= 3.9
fun create_target_data_layout = LLVMCreateTargetDataLayout(t : TargetMachineRef) : TargetDataRef
fun set_module_data_layout = LLVMSetModuleDataLayout(mod : ModuleRef, data : TargetDataRef)
{% end %}
- {% if LibLLVM::IS_38 || LibLLVM::IS_36 || LibLLVM::IS_35 %}
+ {% if LibLLVM::IS_38 %}
fun add_attribute = LLVMAddAttribute(arg : ValueRef, attr : LLVM::Attribute)
fun add_instr_attribute = LLVMAddInstrAttribute(instr : ValueRef, index : UInt32, attr : LLVM::Attribute)
fun add_function_attr = LLVMAddFunctionAttr(fn : ValueRef, pa : LLVM::Attribute)
fun get_function_attr = LLVMGetFunctionAttr(fn : ValueRef) : LLVM::Attribute
fun get_attribute = LLVMGetAttribute(arg : ValueRef) : LLVM::Attribute
- {% else %}
+ {% else %} # LLVM >= 3.9
type AttributeRef = Void*
alias AttributeIndex = UInt
diff --git a/src/llvm/lib_llvm_ext.cr b/src/llvm/lib_llvm_ext.cr
index 84c65cccb..953567eb8 100644
--- a/src/llvm/lib_llvm_ext.cr
+++ b/src/llvm/lib_llvm_ext.cr
@@ -13,19 +13,11 @@ lib LibLLVMExt
fun create_di_builder = LLVMNewDIBuilder(LibLLVM::ModuleRef) : DIBuilder
fun di_builder_finalize = LLVMDIBuilderFinalize(DIBuilder)
- {% if LibLLVM::IS_36 || LibLLVM::IS_35 %}
- fun di_builder_create_function = LLVMDIBuilderCreateFunction(
- builder : DIBuilder, scope : Metadata, name : Char*,
- linkage_name : Char*, file : Metadata, line : UInt,
- composite_type : Metadata, is_local_to_unit : Int, is_definition : Int,
- scope_line : UInt, flags : LLVM::DIFlags, is_optimized : Int, func : LibLLVM::ValueRef) : Metadata
- {% else %}
- fun di_builder_create_function = LLVMDIBuilderCreateFunction(
- builder : DIBuilder, scope : Metadata, name : Char*,
- linkage_name : Char*, file : Metadata, line : UInt,
- composite_type : Metadata, is_local_to_unit : Bool, is_definition : Bool,
- scope_line : UInt, flags : LLVM::DIFlags, is_optimized : Bool, func : LibLLVM::ValueRef) : Metadata
- {% end %}
+ fun di_builder_create_function = LLVMDIBuilderCreateFunction(
+ builder : DIBuilder, scope : Metadata, name : Char*,
+ linkage_name : Char*, file : Metadata, line : UInt,
+ composite_type : Metadata, is_local_to_unit : Bool, is_definition : Bool,
+ scope_line : UInt, flags : LLVM::DIFlags, is_optimized : Bool, func : LibLLVM::ValueRef) : Metadata
fun di_builder_create_file = LLVMDIBuilderCreateFile(builder : DIBuilder, file : Char*, dir : Char*) : Metadata
fun di_builder_create_compile_unit = LLVMDIBuilderCreateCompileUnit(builder : DIBuilder,
@@ -94,17 +86,12 @@ lib LibLLVMExt
align_in_bits : UInt64,
name : Char*) : Metadata
- {% if LibLLVM::IS_35 || LibLLVM::IS_36 %}
- fun temporary_md_node = LLVMTemporaryMDNode(context : LibLLVM::ContextRef, mds : Metadata*, count : UInt) : Metadata
- fun metadata_replace_all_uses_with = LLVMMetadataReplaceAllUsesWith(Metadata, Metadata)
- {% else %}
- fun di_builder_create_replaceable_composite_type = LLVMDIBuilderCreateReplaceableCompositeType(builder : DIBuilder,
- scope : Metadata,
- name : Char*,
- file : Metadata,
- line : UInt) : Metadata
- fun di_builder_replace_temporary = LLVMDIBuilderReplaceTemporary(builder : DIBuilder, from : Metadata, to : Metadata)
- {% end %}
+ fun di_builder_create_replaceable_composite_type = LLVMDIBuilderCreateReplaceableCompositeType(builder : DIBuilder,
+ scope : Metadata,
+ name : Char*,
+ file : Metadata,
+ line : UInt) : Metadata
+ fun di_builder_replace_temporary = LLVMDIBuilderReplaceTemporary(builder : DIBuilder, from : Metadata, to : Metadata)
fun set_current_debug_location = LLVMSetCurrentDebugLocation2(LibLLVM::BuilderRef, Int, Int, Metadata, Metadata)
diff --git a/src/llvm/module.cr b/src/llvm/module.cr
index cb71e3b21..c15a56e77 100644
--- a/src/llvm/module.cr
+++ b/src/llvm/module.cr
@@ -6,7 +6,7 @@ class LLVM::Module
getter context : Context
- {% if LibLLVM::IS_38 || LibLLVM::IS_36 || LibLLVM::IS_35 %}
+ {% if LibLLVM::IS_38 %}
def initialize(@unwrap : LibLLVM::ModuleRef, @name : String, @context : Context)
@owned = false
end
@@ -14,7 +14,7 @@ class LLVM::Module
def name : String
@name
end
- {% else %}
+ {% else %} # LLVM >= 3.9
def initialize(@unwrap : LibLLVM::ModuleRef, @context : Context)
@owned = false
end
@@ -34,9 +34,9 @@ class LLVM::Module
end
def data_layout=(data : TargetData)
- {% if LibLLVM::IS_38 || LibLLVM::IS_36 || LibLLVM::IS_35 %}
+ {% if LibLLVM::IS_38 %}
LibLLVM.set_data_layout(self, data.to_data_layout_string)
- {% else %}
+ {% else %} # LLVM >= 3.9
LibLLVM.set_module_data_layout(self, data)
{% end %}
end
@@ -57,11 +57,9 @@ class LLVM::Module
LibLLVM.write_bitcode_to_file self, filename
end
- {% unless LibLLVM::IS_35 %}
- def write_bitcode_to_memory_buffer
- MemoryBuffer.new(LibLLVM.write_bitcode_to_memory_buffer self)
- end
- {% end %}
+ def write_bitcode_to_memory_buffer
+ MemoryBuffer.new(LibLLVM.write_bitcode_to_memory_buffer self)
+ end
def write_bitcode_to_fd(fd : Int, should_close = false, buffered = false)
LibLLVM.write_bitcode_to_fd(self, fd, should_close ? 1 : 0, buffered ? 1 : 0)
diff --git a/src/llvm/module_pass_manager.cr b/src/llvm/module_pass_manager.cr
index 10bfa60bd..519227809 100644
--- a/src/llvm/module_pass_manager.cr
+++ b/src/llvm/module_pass_manager.cr
@@ -3,12 +3,6 @@ class LLVM::ModulePassManager
@unwrap = LibLLVM.pass_manager_create
end
- {% if LibLLVM::IS_35 || LibLLVM::IS_36 %}
- def add_target_data(target_data)
- LibLLVM.add_target_data target_data, self
- end
- {% end %}
-
def run(mod)
LibLLVM.run_pass_manager(self, mod) != 0
end
diff --git a/src/llvm/target_machine.cr b/src/llvm/target_machine.cr
index e4bb081e9..42e44abe2 100644
--- a/src/llvm/target_machine.cr
+++ b/src/llvm/target_machine.cr
@@ -9,9 +9,9 @@ class LLVM::TargetMachine
def data_layout
@layout ||= begin
- layout = {% if LibLLVM::IS_38 || LibLLVM::IS_36 || LibLLVM::IS_35 %}
+ layout = {% if LibLLVM::IS_38 %}
LibLLVM.get_target_machine_data(self)
- {% else %}
+ {% else %} # LLVM >= 3.9
LibLLVM.create_target_data_layout(self)
{% end %}
layout ? TargetData.new(layout) : raise "Missing layout for #{self}"
--
2.14.1

@ -1 +1,2 @@
DIST mujs-0_p20161202.tar.gz 105413 SHA256 45754e225357d7707905e14a8709057b8089fb3977fad8611f220aececb5507c SHA512 90dd1bce44740715a6f642bdb376be230c4a03c7970c2026479cf014a080b98b56a2131ca7ef8bf9c05b91285fe7dcc21dd4ca83879750351d57088408a62cbc WHIRLPOOL 5450af5567c19903a1548103b0b4a6d0f8cf83a68f3c377be0dd455cea8cf287dbd821db144c03a8322f0064f535a4540aeb234939b3e56c32efd1090624ccaa
DIST mujs-1.0.1.tar.gz 116948 SHA256 7b8d99a07176922f8adb34b1713641abec3330b8c1292bbfaa9caf013bc331b9 SHA512 46cbc45735dbf173d7fa5839e3b511730e4d42933c2286d170767659649ea88c2a3dcc74fb986d1eedb1d4fec8fcaaba146805cc9d0ef7da98bb5a9ce0c80a96 WHIRLPOOL c79288615081aeb9ad174c3778ad4ad615e9a50738016122779497a9b16a2723c7dba675832653cc29be2fe9747ecc83d9bd1c32970776fb4ca28b7297709ba8

@ -0,0 +1,37 @@
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@
build ?= release
-prefix ?= /usr/local
+prefix ?= /usr
bindir ?= $(prefix)/bin
incdir ?= $(prefix)/include
libdir ?= $(prefix)/lib
@@ -11,7 +11,7 @@
# Compiler flags for various configurations:
-CFLAGS := -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter
+CFLAGS += -std=c99 -pedantic -Wall -Wextra -Wno-unused-parameter
ifeq "$(CC)" "clang"
CFLAGS += -Wunreachable-code
@@ -22,16 +22,6 @@
LDFLAGS += -Wl,--gc-sections
endif
-ifeq "$(build)" "debug"
-CFLAGS += -g
-else ifeq "$(build)" "sanitize"
-CFLAGS += -pipe -g -fsanitize=address -fno-omit-frame-pointer
-LDFLAGS += -fsanitize=address
-else
-CFLAGS += -Os
-LDFLAGS += -Wl,-s
-endif
-
# You shouldn't need to edit anything below here.
OUT := build/$(build)

@ -0,0 +1,42 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit flag-o-matic multilib toolchain-funcs
DESCRIPTION="lightweight Javascript interpreter"
HOMEPAGE="http://mujs.com/"
SRC_URI="http://git.ghostscript.com/?p=mujs.git;a=snapshot;h=4792d16f17b15a1eca3c2a9c856dc13fda1d23c5;sf=tgz -> ${P}.tar.gz"
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~ppc-macos ~x64-macos ~x86-macos"
IUSE="static-libs"
PATCHES=(
"${FILESDIR}"/${PN}-1.0.1-gentoo.patch
)
S=${WORKDIR}/${PN}-4792d16
src_prepare() {
default
append-cflags -fPIC -Wl,-soname=lib${PN}.so.${PV}
tc-export CC
}
src_compile() {
emake VERSION=${PV} shared
}
src_install() {
emake \
DESTDIR="${ED}" \
VERSION=${PV} \
libdir="/usr/$(get_libdir)" \
install-shared \
$(usex static-libs install-static '')
mv -v "${D}"/usr/$(get_libdir)/lib${PN}.so{,.${PV}} || die
dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so || die
dosym lib${PN}.so.${PV} /usr/$(get_libdir)/lib${PN}.so.${PV:0:1} || die
}

@ -1 +1,2 @@
DIST orc-0.4.26.tar.xz 465768 SHA256 7d52fa80ef84988359c3434e1eea302d077a08987abdde6905678ebcad4fa649 SHA512 c0b02d4f00b7cc45c5952a4db4f63629bbcbc4d338bbe69fd2743198f2b346bf437742a7a8e1d308f765caf1b43f7fab75add7ebf69897bc0e335a169eef7326 WHIRLPOOL 019891cc9272315666b9b68eb439002192d676794bb7b8b490353991b152a6deadb5171bf46b0e4894c2372b77935e2578b9a0221e6172a8ccfa6f7966983c8c
DIST orc-0.4.27.tar.xz 465116 SHA256 51e53e58fc8158e5986a1f1a49a6d970c5b16493841cf7b9de2c2bde7ce36b93 SHA512 5ca0b4553e370ea7c95acfc8248d9d568dafc9577041d47f52c7d0945456c534e18e0e80d28df9301d6deac1ea4f8ea6a51ca373b32927c8724846d8ec1f73e8 WHIRLPOOL 6f39e17e22c2b2f515f6081432e670fc04df81f5ebd3a1da7009eef2ca69476b91c767fdae3086bb4ff9ece52668eadd2332026dc0d457f62f870d3d9b7b10af

@ -0,0 +1,70 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit eutils flag-o-matic multilib-minimal pax-utils
DESCRIPTION="The Oil Runtime Compiler, a just-in-time compiler for array operations"
HOMEPAGE="https://gstreamer.freedesktop.org/"
SRC_URI="https://gstreamer.freedesktop.org/src/${PN}/${P}.tar.xz"
LICENSE="BSD BSD-2"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="examples pax_kernel static-libs"
RDEPEND=""
DEPEND="${RDEPEND}
app-arch/xz-utils
>=dev-util/gtk-doc-am-1.12
"
src_prepare() {
default
# Do not build examples
sed -e '/SUBDIRS/ s:examples::' \
-i Makefile.am Makefile.in || die
}
multilib_src_configure() {
# any optimisation on PPC/Darwin yields in a complaint from the assembler
# Parameter error: r0 not allowed for parameter %lu (code as 0 not r0)
# the same for Intel/Darwin, although the error message there is different
# but along the same lines
[[ ${CHOST} == *-darwin* ]] && filter-flags -O*
# FIXME: handle backends per arch ?
ECONF_SOURCE="${S}" econf \
--disable-gtk-doc \
--enable-backend=all \
$(use_enable static-libs static)
}
multilib_src_install() {
emake DESTDIR="${D}" install
prune_libtool_files --all
if use pax_kernel; then
pax-mark m "${ED}"usr/bin/orc-bugreport
pax-mark m "${ED}"usr/bin/orcc
pax-mark m "${ED}"usr/$(get_libdir)/liborc*.so*
fi
}
multilib_src_install_all() {
einstalldocs
if use examples; then
insinto /usr/share/doc/${PF}/examples
doins examples/{*.c,*.orc}
fi
}
pkg_postinst() {
if use pax_kernel; then
ewarn "Please run \"revdep-pax\" after installation".
ewarn "It's provided by sys-apps/elfix."
fi
}

@ -30,7 +30,7 @@ SRC_URI="mirror://ruby/2.2/${MY_P}.tar.xz
https://dev.gentoo.org/~flameeyes/ruby-team/${PN}-patches-${PATCHSET}.tar.bz2"
LICENSE="|| ( Ruby-BSD BSD-2 )"
KEYWORDS="alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
KEYWORDS="alpha ~amd64 ~arm ~arm64 hppa ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
IUSE="berkdb debug doc examples gdbm ipv6 jemalloc libressl +rdoc rubytests socks5 ssl tk xemacs ncurses +readline"
RDEPEND="

@ -1,8 +1,3 @@
DIST leatherman-0.10.1.tar.gz 423218 SHA256 79b0eded49a02cb8f6ce6260ae39e3f1bdd2dc2c62c02f661308e04c08edb69e SHA512 bbbb772c855f5ce1e38abe7186400d9a2c9663dcdc72bd0a822bbe171eed3d01e33a6ec2196d4f6f8f0895f309d031b1eb77ec188bd16b37e52b306fafb66d17 WHIRLPOOL 19ff51352c49e9fca7d45683117809cf916e15066015e40cbe2eb10e3eb4ae3e6d27595e8bae8291bd5fac874f845399b9c87a5fcc6b645dd174bf3c9b1a8229
DIST leatherman-0.12.1.tar.gz 423884 SHA256 656a49bdb1181932a8606b58dd19efd8cf428dd0ebbb4af619e3737f2131bdc0 SHA512 f93b6b0f1051507469bcb8d964cd38b238a269bf277f3b540d4b0e53700012aba3eefc8dc5656a4158ad55b8570ebdb09f528fb586621972b847e10305912ce4 WHIRLPOOL bb2ea8b025aa07b18c485e5d5b98cad035590cb2f13d59780b683a3c2003cfe676e160769e6293b185a8fb1c16c542e033fc10cb27ac6be705345d8c672b8e47
DIST leatherman-0.12.2.tar.gz 423879 SHA256 32873bc61109e4fa64f26c810cad76315f90721711742c9a04cfed687f43829e SHA512 4c6aab859901a5685f23cfe023cd2ca922548e7068835a34e2665e9f7384a8efd9d7fe49de384a20c17d685a672c994bca6c1612f70d01f83c87db0a74683841 WHIRLPOOL af513b04076090bb6782c176bb386dc02d564c05c992c2f48f92d91d6346b54061d55585a24283073b1a4441acbcdb7cc34e1d7f798c2062fc300d83368c1cec
DIST leatherman-1.0.0.tar.gz 423859 SHA256 4bcb8eaf08429e9e62cc6fcbfc1f216bd2eff800f751dbacabbec7d714ed21a2 SHA512 a4fabe53662e00b7be563b768b317d186204b66c0949d4cf0b3c9133462a95fe449758f474b04285803a786745d27c7327429dc80ff4d6d2b52b3973d3927ef0 WHIRLPOOL 3490566cdb495bb972fe4e906412184f4d16505fb7cd156588da68d1d08eb79014cdc65faeeb04f1646aef9d7054e84e087280c4a67607884a389ac85a2cffa2
DIST leatherman-1.1.1.tar.gz 429468 SHA256 5c277b094cdfd8bfec43aef57bd02443d8789e85c203821acb7d0fbe42fa20c3 SHA512 a27976185ea356e9c3318b2d2f9f3fd41e5586ea376788fda8ee1061d98c8127aec7056231f0614a45b09113756c6778e52b5277dbf71c42a8f46fd0560dd9ce WHIRLPOOL e2e2b726e9086fe26265f8fe9f8c0b13e43e8df4edc4c81b438259acb78a5e90dd1ab5d5beef69e3c068b69481477f1722645abf5d95843acd1effa97c3fff7b
DIST leatherman-1.1.2.tar.gz 430545 SHA256 1feca2ba8472252132ad90c6bcc3fba6dbb85ee912b1cbcde9853d812d54729f SHA512 2b0ae54664ed0506c7c87079f9d7096a031b324650be7713cf7d0172d48fb36d619a1c00e6604dd0ac8aa397b72fded2b4ff535ebe853f42c9bddc0d3a3bde15 WHIRLPOOL 521d540530c7ffdb43296c475ca8903785484880b593f50417bb66b570814019a64ba655fe3a76723a86964a537109b1fc1ef5ffbaf78991b7a6c1e619888a9a
DIST leatherman-1.2.0.tar.gz 431224 SHA256 96cc533e1cf3f7d3bcb1d358acf8b59f151646ea33147a516bb1a82f01355d87 SHA512 9873cc9c7c85280da443141dc72cc77bdd8f929d9b4ca327bdd9dd2bcb1763b154a5c95e7c52b5d0c8836fc6d2dcd36471e127166357cb1ccabec4aabac493a3 WHIRLPOOL 0a1ad1797a7fbbc55a8d8cf7ed649c8ed3b88096c4b6dd14e935068cb6d7632e926528ef4161c7675384520b2e1de7ddbb31488352d8b6c20ebce814b3de10d1
DIST leatherman-1.2.1.tar.gz 431781 SHA256 747a12948167634d2c3db8c7be741ceb1eb486f54ed6b5b96fecfd68827e4efb SHA512 f12414093d09b86878558cbe68f03b7f36fc89131412edad0573dbc891b1c422b98b9923babbed9ac4acef2cad869ef452d602199ae4d3e90fca5a3e2eb688d2 WHIRLPOOL 87effe1fdccb432959f2ab530675ab8ca893c306fd4eafa94758961975db374e35254fbade1300a8bf1340b915197b59eca1b89bc52e0356532db2ae2628345f

@ -1,49 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
USE_RUBY="ruby21 ruby22"
inherit cmake-utils multilib
DESCRIPTION="A C++ toolkit"
HOMEPAGE="https://github.com/puppetlabs/leatherman"
SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="debug test"
KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~sparc x86"
RDEPEND="net-misc/curl"
DEPEND=">=dev-libs/boost-1.54[nls]
net-misc/curl
>=sys-devel/gcc-4.8:*"
src_prepare() {
sed -i 's/\-Werror\ //g' "cmake/cflags.cmake" || die
}
src_configure() {
local mycmakeargs=(
-DCMAKE_VERBOSE_MAKEFILE=ON
-DCMAKE_BUILD_TYPE=None
-DCMAKE_INSTALL_PREFIX=/usr
-DCMAKE_INSTALL_SYSCONFDIR=/etc
-DCMAKE_INSTALL_LOCALSTATEDIR=/var
)
if use debug; then
mycmakeargs+=(
-DCMAKE_BUILD_TYPE=Debug
)
fi
cmake-utils_src_configure
}
src_test() {
cmake-utils_src_test
}
src_install() {
cmake-utils_src_install
}

@ -13,7 +13,7 @@ SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
LICENSE="Apache-2.0"
SLOT="0"
IUSE="debug test"
KEYWORDS="~amd64 ~hppa ~ppc ~ppc64 ~sparc ~x86"
KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~sparc x86"
RDEPEND="net-misc/curl"
DEPEND=">=dev-libs/boost-1.54[nls]

@ -1,52 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
USE_RUBY="ruby21 ruby22"
inherit cmake-utils multilib
DESCRIPTION="A C++ toolkit"
HOMEPAGE="https://github.com/puppetlabs/leatherman"
SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="debug test"
KEYWORDS="amd64 ~hppa ~ppc ~ppc64 ~sparc x86"
RDEPEND="net-misc/curl"
DEPEND=">=dev-libs/boost-1.54[nls]
net-misc/curl
>=sys-devel/gcc-4.8:*"
PATCHES=( "${FILESDIR}"/portage-sandbox-test-fix.patch )
src_prepare() {
sed -i 's/\-Werror\ //g' "cmake/cflags.cmake" || die
default
}
src_configure() {
local mycmakeargs=(
-DCMAKE_VERBOSE_MAKEFILE=ON
-DCMAKE_BUILD_TYPE=None
-DCMAKE_INSTALL_PREFIX=/usr
-DCMAKE_INSTALL_SYSCONFDIR=/etc
-DCMAKE_INSTALL_LOCALSTATEDIR=/var
)
if use debug; then
mycmakeargs+=(
-DCMAKE_BUILD_TYPE=Debug
)
fi
cmake-utils_src_configure
}
src_test() {
"${WORKDIR}/${P}"_build/bin/leatherman_test
}
src_install() {
cmake-utils_src_install
}

@ -1,52 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
USE_RUBY="ruby21 ruby22"
inherit cmake-utils multilib
DESCRIPTION="A C++ toolkit"
HOMEPAGE="https://github.com/puppetlabs/leatherman"
SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="debug test"
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
RDEPEND="net-misc/curl"
DEPEND=">=dev-libs/boost-1.54[nls]
net-misc/curl
>=sys-devel/gcc-4.8:*"
PATCHES=( "${FILESDIR}"/portage-sandbox-test-fix.patch )
src_prepare() {
sed -i 's/\-Werror\ //g' "cmake/cflags.cmake" || die
default
}
src_configure() {
local mycmakeargs=(
-DCMAKE_VERBOSE_MAKEFILE=ON
-DCMAKE_BUILD_TYPE=None
-DCMAKE_INSTALL_PREFIX=/usr
-DCMAKE_INSTALL_SYSCONFDIR=/etc
-DCMAKE_INSTALL_LOCALSTATEDIR=/var
)
if use debug; then
mycmakeargs+=(
-DCMAKE_BUILD_TYPE=Debug
)
fi
cmake-utils_src_configure
}
src_test() {
"${WORKDIR}/${P}"_build/bin/leatherman_test
}
src_install() {
cmake-utils_src_install
}

@ -1,52 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
USE_RUBY="ruby21 ruby22"
inherit cmake-utils multilib
DESCRIPTION="A C++ toolkit"
HOMEPAGE="https://github.com/puppetlabs/leatherman"
SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="debug test"
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
RDEPEND="net-misc/curl"
DEPEND=">=dev-libs/boost-1.54[nls]
net-misc/curl
>=sys-devel/gcc-4.8:*"
PATCHES=( "${FILESDIR}"/portage-sandbox-test-fix.patch )
src_prepare() {
sed -i 's/\-Werror\ //g' "cmake/cflags.cmake" || die
default
}
src_configure() {
local mycmakeargs=(
-DCMAKE_VERBOSE_MAKEFILE=ON
-DCMAKE_BUILD_TYPE=None
-DCMAKE_INSTALL_PREFIX=/usr
-DCMAKE_INSTALL_SYSCONFDIR=/etc
-DCMAKE_INSTALL_LOCALSTATEDIR=/var
)
if use debug; then
mycmakeargs+=(
-DCMAKE_BUILD_TYPE=Debug
)
fi
cmake-utils_src_configure
}
src_test() {
"${WORKDIR}/${P}"_build/bin/leatherman_test
}
src_install() {
cmake-utils_src_install
}

@ -1,52 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
USE_RUBY="ruby21 ruby22"
inherit cmake-utils multilib
DESCRIPTION="A C++ toolkit"
HOMEPAGE="https://github.com/puppetlabs/leatherman"
SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
IUSE="debug test"
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
RDEPEND="net-misc/curl"
DEPEND=">=dev-libs/boost-1.54[nls]
net-misc/curl
>=sys-devel/gcc-4.8:*"
PATCHES=( "${FILESDIR}"/portage-sandbox-test-fix.patch )
src_prepare() {
sed -i 's/\-Werror\ //g' "cmake/cflags.cmake" || die
default
}
src_configure() {
local mycmakeargs=(
-DCMAKE_VERBOSE_MAKEFILE=ON
-DCMAKE_BUILD_TYPE=None
-DCMAKE_INSTALL_PREFIX=/usr
-DCMAKE_INSTALL_SYSCONFDIR=/etc
-DCMAKE_INSTALL_LOCALSTATEDIR=/var
)
if use debug; then
mycmakeargs+=(
-DCMAKE_BUILD_TYPE=Debug
)
fi
cmake-utils_src_configure
}
src_test() {
"${WORKDIR}/${P}"_build/bin/leatherman_test
}
src_install() {
cmake-utils_src_install
}

@ -13,7 +13,7 @@ SRC_URI="https://github.com/puppetlabs/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz
LICENSE="Apache-2.0"
SLOT="0"
IUSE="debug test"
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86"
KEYWORDS="amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc x86"
RDEPEND="net-misc/curl"
DEPEND=">=dev-libs/boost-1.54[nls]

@ -11,7 +11,7 @@ SRC_URI="mirror://sourceforge/filezilla/${P}.tar.bz2
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="amd64 ~arm ~ia64 x86"
KEYWORDS="amd64 ~arm ~ia64 ~ppc x86"
IUSE="test"
RDEPEND=""

@ -1,2 +1,2 @@
DIST unittest++-1.6.0.tar.gz 52227 SHA256 9fa7e797816e16669d68171418b0dc41ec6b7eaf8483f782441f5f159598c3c0 SHA512 499450b6cfa8ef8be5eff09ac238423fe5dc04b1c6065db02f46b903968e702fb45ccd9953aff81eef4a8aae80e91448afc0cbdf4a3f1f83b551f9d7dcd828f3 WHIRLPOOL 8043c8da08117f70fda142e92bcdfd0c2c8fd99d10380554a2f32fbe5a5c58fe1f3cf31bcc82bfcc6b1dda22dcc61ed11a87370f0f2c7874116dfe8c5a9410e7
DIST unittest++-1.6.1.tar.gz 52536 SHA256 1cc9071be01db190f26868fefb6a7af49ee56a339fc3b08d1a1e9eeca5376c45 SHA512 2bb03def8b6ac84dbb6e5e440e5be8648199096fdc93d6666b704386e2c2279b329be6bda47c81bd8a8c485334059fb2a53fdd90358005a95b8add6f057c25ce WHIRLPOOL e6dfe890ce809fcbee4d82b379e14c66687d9b9fd28bd934941677f32b4974951cae498010370bef85191bc01fd047ce23ff4a14e5b03d4b9216ee131610852a
DIST unittest++-2.0.0.tar.gz 54100 SHA256 74852198877dc2fdebdc4e5e9bd074018bf8ee03a13de139bfe41f4585b2f5b9 SHA512 39318f4ed31534c116679a3257bf1438a6c4b3bef1894dfd40aea934950c6c8197af6a7f61539b8e9ddc67327c9388d7e8a6f8a3e0e966ad26c07554e2429cab WHIRLPOOL 416149ce2f8af4f3f68d93119179c598eb56c1e223f98c67f6f2193b46fbf891e4871549c973f70ee76e3a87aba7125ce97a3d21f9e5b313ff166c4548c3eb86

@ -10,7 +10,7 @@
<name>Proxy Maintainers</name>
</maintainer>
<upstream>
<remote-id type="github">unittest-cpp/issues</remote-id>
<remote-id type="github">unittest-cpp/unittest-cpp</remote-id>
<bugs-to>https://github.com/unittest-cpp/unittest-cpp/issues</bugs-to>
</upstream>
</pkgmetadata>

@ -1,4 +1,4 @@
# Copyright 1999-2016 Gentoo Foundation
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
@ -20,12 +20,18 @@ IUSE="test"
S="${WORKDIR}/${MY_P}"
src_prepare() {
cmake-utils_src_prepare
# https://github.com/unittest-cpp/unittest-cpp/pull/163
sed -i '/run unit tests as post build step/,/Running unit tests/d' \
CMakeLists.txt || die
use test || sed -i \
'/build the test runner/,/target_link_libraries(TestUnitTest++ UnitTest++/d' \
CMakeLists.txt || die
cmake-utils_src_prepare
}
src_configure() {
local mycmakeargs=(
-DUTPP_INCLUDE_TESTS_IN_BUILD=$(usex test)
)
cmake-utils_src_configure
}
src_test() {

@ -1,2 +1 @@
DIST capnp-ocaml-2.1.1.tar.gz 189731 SHA256 b4718b650c51ba05292afcbd1cb0ddfbd3efc7e160c65736538434b76c9cd931 SHA512 79083c2f387d6055a2cab45230b97f579a727418d55be13d3ca0135efd8561787b772012ed7f6f3277f9a34df3cb4684242bd754e048fbe77e4c8ba8ff9faf93 WHIRLPOOL c7b697cc8a2e2d26900a2845140d302da8b81aa5cdd8cfc0fd1ff95b8193b3f51185e7da3275b76582d98a7b03808c21e7eafb98d55e3d9ac700aac0ac614f68
DIST capnp-ocaml-3.0.0.tar.gz 140985 SHA256 01b5380d4d4ec5392c91036787d93a553055ad403ff41d2cf73caff25a9098cc SHA512 5cdf678fa80e67c552f60123f1d04eb5facad81e6c29661c2234c06bbcb98312d1eba96f81f3e747fef0b4de986aff07b69aafcbfde60873ba40452a66d75075 WHIRLPOOL 2b6f04034c81dd0d01089b3ff39c681dab98a665ade944ca5d21014bb2d61b5bcaa4e4545e65d2829e9a837b44423cca580e7c6ca87a62d55c33e81caf859e3e

@ -1,43 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit findlib eutils
DESCRIPTION="OCaml code generator plugin for the Cap'n Proto serialization framework"
HOMEPAGE="https://github.com/pelzlpj/capnp-ocaml"
SRC_URI="https://github.com/pelzlpj/capnp-ocaml/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD-2"
SLOT="0/${PV}"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="
dev-lang/ocaml:=[ocamlopt]
dev-ml/core_kernel:=
dev-ml/camlp4:=
dev-ml/ocaml-extunix:=
dev-ml/ocplib-endian:=
dev-ml/res:=
dev-ml/ocaml-uint:=
"
DEPEND="${RDEPEND}
dev-util/omake
"
src_prepare() {
epatch "${FILESDIR}/mi.patch" \
"${FILESDIR}/core.patch"
}
src_compile() {
PREFIX="${EPREFIX}/usr" omake --force-dotomake || die
}
src_install() {
findlib_src_preinst
DESTDIR="${D}" PREFIX="${EPREFIX}/usr" omake --force-dotomake install || die
dodoc README.adoc CHANGELOG.adoc
}

@ -27,6 +27,10 @@ DEPEND="${RDEPEND}
dev-ml/jbuilder
"
src_compile() {
emake build
}
src_install() {
opam_src_install capnp
}

@ -1,366 +0,0 @@
Index: capnp-ocaml-2.1.1/src/compiler/genCommon.ml
===================================================================
--- capnp-ocaml-2.1.1.orig/src/compiler/genCommon.ml
+++ capnp-ocaml-2.1.1/src/compiler/genCommon.ml
@@ -77,7 +77,7 @@ let apply_indent ~(indent : string) (lin
(* Mangle a name so that it doesn't collide with any of the names in the list. *)
let mangle_ident (ident : string) (idents : string list) =
let rec loop mangled =
- if List.mem idents mangled then
+ if List.mem idents mangled String.equal then
loop (mangled ^ "_")
else
mangled
@@ -516,7 +516,7 @@ let filter_interesting_imports ~context
let make_disambiguated_type_name ~context ~(mode : Mode.t) ~(scope_mode : Mode.t)
~scope ~tp node =
let node_id = PS.Node.id_get node in
- if List.mem scope node_id then
+ if List.mem scope node_id uint64_equal then
(* The node of interest is a parent node of the node being generated.
this is a case where an unambiguous type is emitted. *)
make_unique_typename ~context ~mode node
Index: capnp-ocaml-2.1.1/src/compiler/make_includes.ml
===================================================================
--- capnp-ocaml-2.1.1.orig/src/compiler/make_includes.ml
+++ capnp-ocaml-2.1.1/src/compiler/make_includes.ml
@@ -2,29 +2,26 @@
as a list of lines. This is used to perform an ocaml source inclusion,
providing functor-like capability without the performance hit. *)
-open Core_kernel
-
-
let make_inclusion oc variable_name filename =
- Out_channel.output_string oc ("let " ^ variable_name ^ " = [\n");
- In_channel.with_file filename ~f:(fun ic ->
- In_channel.iter_lines ic ~f:(fun line ->
+ Core_kernel.Out_channel.output_string oc ("let " ^ variable_name ^ " = [\n");
+ Core_kernel.In_channel.with_file filename ~f:(fun ic ->
+ Core_kernel.In_channel.iter_lines ic ~f:(fun line ->
if String.trim line = "INCLUDE \"common-inc.ml\"" then
- In_channel.with_file "../runtime/common-inc.ml" ~f:(fun ic ->
- In_channel.iter_lines ic ~f:(fun line ->
- Out_channel.output_string oc " \" ";
- Out_channel.output_string oc (String.escaped line);
- Out_channel.output_string oc "\";\n"))
+ Core_kernel.In_channel.with_file "../runtime/common-inc.ml" ~f:(fun ic ->
+ Core_kernel.In_channel.iter_lines ic ~f:(fun line ->
+ Core_kernel.Out_channel.output_string oc " \" ";
+ Core_kernel.Out_channel.output_string oc (String.escaped line);
+ Core_kernel.Out_channel.output_string oc "\";\n"))
else begin
- Out_channel.output_string oc " \"";
- Out_channel.output_string oc (String.escaped line);
- Out_channel.output_string oc "\";\n"
+ Core_kernel.Out_channel.output_string oc " \"";
+ Core_kernel.Out_channel.output_string oc (String.escaped line);
+ Core_kernel.Out_channel.output_string oc "\";\n"
end));
- Out_channel.output_string oc "]\n\n"
+ Core_kernel.Out_channel.output_string oc "]\n\n"
let () =
- Out_channel.with_file "includes.ml" ~f:(fun oc ->
+ Core_kernel.Out_channel.with_file "includes.ml" ~f:(fun oc ->
make_inclusion oc "reader_api" "../runtime/reader-inc.ml";
make_inclusion oc "builder_api" "../runtime/builder-inc.ml")
Index: capnp-ocaml-2.1.1/src/compiler/topsort.ml
===================================================================
--- capnp-ocaml-2.1.1.orig/src/compiler/topsort.ml
+++ capnp-ocaml-2.1.1/src/compiler/topsort.ml
@@ -83,7 +83,7 @@ let register_reference ~parentage_table
else
begin match Hashtbl.find edges parent_referee with
| Some referrer_list ->
- if List.mem referrer_list referrer then
+ if List.mem referrer_list referrer uint64_equal then
(* This reference is already present *)
()
else
@@ -199,7 +199,7 @@ let build_reference_graph
let dump_reference_graph reference_graph =
let () = Printf.printf "reference graph:\n" in
- Hashtbl.iter reference_graph ~f:(fun ~key ~data ->
+ Hashtbl.iteri reference_graph ~f:(fun ~key ~data ->
let () = Printf.printf " key: %s\n" (Uint64.to_string key) in
List.iter data
~f:(fun x -> Printf.printf " data: %s\n" (Uint64.to_string x)))
Index: capnp-ocaml-2.1.1/src/runtime/farPointer.ml
===================================================================
--- capnp-ocaml-2.1.1.orig/src/runtime/farPointer.ml
+++ capnp-ocaml-2.1.1/src/runtime/farPointer.ml
@@ -28,7 +28,6 @@
******************************************************************************)
-module Int64 = Core_kernel.Core_int64
module Caml = Core_kernel.Caml
type landing_pad_t =
@@ -94,14 +93,14 @@ let decode (pointer64 : Int64.t) : t =
Caml.Int64.to_int id64
in
let landing_pad =
- let masked = Int64.bit_and pointer64 landing_pad_type_mask in
+ let masked = Int64.logand pointer64 landing_pad_type_mask in
if Int64.compare masked Int64.zero = 0 then
NormalPointer
else
TaggedFarPointer
in
let offset =
- let masked = Int64.bit_and pointer64 offset_mask in
+ let masked = Int64.logand pointer64 offset_mask in
let offset64 = Int64.shift_right_logical masked offset_shift in
Caml.Int64.to_int offset64
in {
@@ -137,8 +136,8 @@ let encode (storage_descr : t) : Int64.t
let offset64 = Int64.of_int storage_descr.offset in
let segment64 = Int64.of_int storage_descr.segment_id in
tag_val_far |>
- Int64.bit_or (Int64.shift_left type64 landing_pad_type_shift) |>
- Int64.bit_or (Int64.shift_left offset64 offset_shift) |>
- Int64.bit_or (Int64.shift_left segment64 segment_shift)
+ Int64.logor (Int64.shift_left type64 landing_pad_type_shift) |>
+ Int64.logor (Int64.shift_left offset64 offset_shift) |>
+ Int64.logor (Int64.shift_left segment64 segment_shift)
Index: capnp-ocaml-2.1.1/src/runtime/fragmentBuffer.ml
===================================================================
--- capnp-ocaml-2.1.1.orig/src/runtime/fragmentBuffer.ml
+++ capnp-ocaml-2.1.1/src/runtime/fragmentBuffer.ml
@@ -36,14 +36,14 @@ module Bytes = CamlBytes
type t = {
(** String fragments stored in FIFO order *)
- fragments : string Dequeue.t;
+ fragments : string Deque.t;
(** Total byte count of the fragments *)
mutable fragments_size : int;
}
let empty () = {
- fragments = Dequeue.create ();
+ fragments = Deque.create ();
fragments_size = 0;
}
@@ -52,7 +52,7 @@ let add_fragment stream fragment =
if len = 0 then
()
else
- let () = Dequeue.enqueue_back stream.fragments fragment in
+ let () = Deque.enqueue_back stream.fragments fragment in
stream.fragments_size <- stream.fragments_size + len
let of_string s =
@@ -71,7 +71,7 @@ let remove_exact stream size =
let ofs = ref 0 in
while !ofs < size do
let bytes_remaining = size - !ofs in
- let fragment = Dequeue.dequeue_front_exn stream.fragments in
+ let fragment = Deque.dequeue_front_exn stream.fragments in
let bytes_from_fragment = min bytes_remaining (String.length fragment) in
Bytes.blit
(Bytes.unsafe_of_string fragment) 0
@@ -79,7 +79,7 @@ let remove_exact stream size =
bytes_from_fragment;
begin if bytes_from_fragment < String.length fragment then
let remainder = Util.str_slice ~start:bytes_from_fragment fragment in
- Dequeue.enqueue_front stream.fragments remainder
+ Deque.enqueue_front stream.fragments remainder
end;
ofs := !ofs + bytes_from_fragment;
done;
@@ -93,7 +93,7 @@ let remove_at_least stream size =
else begin
let buffer = Buffer.create size in
while Buffer.length buffer < size do
- Buffer.add_string buffer (Dequeue.dequeue_front_exn stream.fragments)
+ Buffer.add_string buffer (Deque.dequeue_front_exn stream.fragments)
done;
stream.fragments_size <- stream.fragments_size - (Buffer.length buffer);
Some (Buffer.contents buffer)
@@ -102,7 +102,7 @@ let remove_at_least stream size =
let peek_exact stream size =
match remove_exact stream size with
| Some bytes ->
- let () = Dequeue.enqueue_front stream.fragments bytes in
+ let () = Deque.enqueue_front stream.fragments bytes in
let () = stream.fragments_size <- stream.fragments_size + size in
Some bytes
| None ->
@@ -113,7 +113,7 @@ let unremove stream bytes =
if len = 0 then
()
else
- let () = Dequeue.enqueue_front stream.fragments bytes in
+ let () = Deque.enqueue_front stream.fragments bytes in
stream.fragments_size <- stream.fragments_size + len
Index: capnp-ocaml-2.1.1/src/runtime/iO.ml
===================================================================
--- capnp-ocaml-2.1.1.orig/src/runtime/iO.ml
+++ capnp-ocaml-2.1.1/src/runtime/iO.ml
@@ -49,7 +49,7 @@ module WriteContext = struct
write : 'a -> buf:string -> pos:int -> len:int -> int;
(** Data remaining to write to the descriptor *)
- fragments : string Dequeue.t;
+ fragments : string Deque.t;
(** Total number of bytes stored in [fragments] *)
mutable fragments_size : int;
@@ -62,23 +62,23 @@ module WriteContext = struct
fd;
comp = compression;
write;
- fragments = Dequeue.create ();
+ fragments = Deque.create ();
fragments_size = 0;
first_fragment_pos = 0;
}
let enqueue_message context message =
Codecs.serialize_iter message ~compression:context.comp ~f:(fun buf ->
- Dequeue.enqueue_back context.fragments buf;
+ Deque.enqueue_back context.fragments buf;
context.fragments_size <- context.fragments_size + (String.length buf))
let bytes_remaining context = context.fragments_size - context.first_fragment_pos
let write context =
- if Dequeue.is_empty context.fragments then
+ if Deque.is_empty context.fragments then
0
else
- let first_fragment = Dequeue.peek_front_exn context.fragments in
+ let first_fragment = Deque.peek_front_exn context.fragments in
let first_fragment_remaining =
String.length first_fragment - context.first_fragment_pos
in
@@ -88,7 +88,7 @@ module WriteContext = struct
in
let () =
if bytes_written = first_fragment_remaining then
- let (_ : string) = Dequeue.dequeue_front_exn context.fragments in
+ let (_ : string) = Deque.dequeue_front_exn context.fragments in
let () = context.fragments_size <-
context.fragments_size - (String.length first_fragment)
in
Index: capnp-ocaml-2.1.1/src/runtime/listPointer.ml
===================================================================
--- capnp-ocaml-2.1.1.orig/src/runtime/listPointer.ml
+++ capnp-ocaml-2.1.1/src/runtime/listPointer.ml
@@ -1,5 +1,4 @@
-module Int64 = Core_kernel.Core_int64;;
module Caml = Core_kernel.Caml
type element_type_t =
@@ -73,13 +72,13 @@ let decode (pointer64 : Int64.t) : t =
}
else
let offset =
- let masked = Int64.bit_and pointer64 offset_mask in
+ let masked = Int64.logand pointer64 offset_mask in
let offset64 = Int64.shift_right_logical masked offset_shift in
let offset_int = Caml.Int64.to_int offset64 in
Util.decode_signed 30 offset_int
in
let element_type =
- let masked = Int64.bit_and pointer64 type_mask in
+ let masked = Int64.logand pointer64 type_mask in
let tp64 = Int64.shift_right_logical masked type_shift in
match Caml.Int64.to_int tp64 with
| 0 -> Void
@@ -136,8 +135,8 @@ let encode (storage_descr : t) : Int64.t
Int64.of_int type_id
in
tag_val_list |>
- Int64.bit_or (Int64.shift_left offset64 offset_shift) |>
- Int64.bit_or (Int64.shift_left type64 type_shift) |>
- Int64.bit_or (Int64.shift_left (Int64.of_int storage_descr.num_elements) count_shift)
+ Int64.logor (Int64.shift_left offset64 offset_shift) |>
+ Int64.logor (Int64.shift_left type64 type_shift) |>
+ Int64.logor (Int64.shift_left (Int64.of_int storage_descr.num_elements) count_shift)
Index: capnp-ocaml-2.1.1/src/runtime/otherPointer.ml
===================================================================
--- capnp-ocaml-2.1.1.orig/src/runtime/otherPointer.ml
+++ capnp-ocaml-2.1.1/src/runtime/otherPointer.ml
@@ -28,7 +28,6 @@
******************************************************************************)
-module Int64 = Core_kernel.Core_int64
module Caml = Core_kernel.Caml
type t =
@@ -43,8 +42,8 @@ let index_shift = 32
let index_mask = Int64.shift_left 0xffffffffL index_shift
let decode (pointer64 : Int64.t) : t =
- if Int64.compare (Int64.bit_and pointer64 b_mask) Int64.zero = 0 then
- let shifted_index = Int64.bit_and pointer64 index_mask in
+ if Int64.compare (Int64.logand pointer64 b_mask) Int64.zero = 0 then
+ let shifted_index = Int64.logand pointer64 index_mask in
let index64 = Int64.shift_right_logical shifted_index index_shift in
let index32 = Caml.Int64.to_int32 index64 in
Capability (Uint32.of_int32 index32)
@@ -57,6 +56,6 @@ let encode (descr : t) : Int64.t =
let index32 = Uint32.to_int32 index in
let index64 = Int64.of_int32 index32 in
let shifted_index = Int64.shift_left index64 index_shift in
- Int64.bit_or shifted_index tag_val_other
+ Int64.logor shifted_index tag_val_other
Index: capnp-ocaml-2.1.1/src/runtime/structPointer.ml
===================================================================
--- capnp-ocaml-2.1.1.orig/src/runtime/structPointer.ml
+++ capnp-ocaml-2.1.1/src/runtime/structPointer.ml
@@ -28,7 +28,6 @@
******************************************************************************)
-module Int64 = Core_kernel.Core_int64
module Caml = Core_kernel.Caml
type t = {
@@ -79,13 +78,13 @@ let decode (pointer64 : Int64.t) : t =
}
else
let offset =
- let masked = Int64.bit_and pointer64 offset_mask in
+ let masked = Int64.logand pointer64 offset_mask in
let offset64 = Int64.shift_right_logical masked offset_shift in
let offset_int = Caml.Int64.to_int offset64 in
Util.decode_signed 30 offset_int
in
let data_size =
- let masked = Int64.bit_and pointer64 data_size_mask in
+ let masked = Int64.logand pointer64 data_size_mask in
let size64 = Int64.shift_right_logical masked data_size_shift in
Caml.Int64.to_int size64
in {
@@ -113,8 +112,8 @@ let encode (storage_descr : t) : Int64.t
let data_size64 = Int64.of_int storage_descr.data_words in
let ptr_size64 = Int64.of_int storage_descr.pointer_words in
tag_val_struct |>
- Int64.bit_or (Int64.shift_left offset64 offset_shift) |>
- Int64.bit_or (Int64.shift_left data_size64 data_size_shift) |>
- Int64.bit_or (Int64.shift_left ptr_size64 pointers_size_shift)
+ Int64.logor (Int64.shift_left offset64 offset_shift) |>
+ Int64.logor (Int64.shift_left data_size64 data_size_shift) |>
+ Int64.logor (Int64.shift_left ptr_size64 pointers_size_shift)

@ -1,31 +0,0 @@
Index: capnp-ocaml-2.1.1/src/compiler/OMakefile
===================================================================
--- capnp-ocaml-2.1.1.orig/src/compiler/OMakefile
+++ capnp-ocaml-2.1.1/src/compiler/OMakefile
@@ -24,7 +24,8 @@ else
includes.ml: make_includes.ml ../runtime/common-inc.ml \
../runtime/reader-inc.ml ../runtime/builder-inc.ml
- ocaml $(TOPLEVEL_INCLUDE) make_includes.ml
+ ocamlfind ocamlopt -o make_includes -package core_kernel -linkpkg make_includes.ml
+ ./make_includes
PROGRAM = capnpc-ocaml
Index: capnp-ocaml-2.1.1/src/compiler/make_includes.ml
===================================================================
--- capnp-ocaml-2.1.1.orig/src/compiler/make_includes.ml
+++ capnp-ocaml-2.1.1/src/compiler/make_includes.ml
@@ -1,12 +1,7 @@
-#!/usr/bin/env ocaml
-
(* Generate ocaml code containing the content of a couple of files, formatted
as a list of lines. This is used to perform an ocaml source inclusion,
providing functor-like capability without the performance hit. *)
-#use "topfind"
-#require "core_kernel"
-
open Core_kernel

@ -11,7 +11,7 @@ inherit perl-module
DESCRIPTION="A wrapper that lets you read Zip archive members as if they were files"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris
KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris
~x64-solaris ~x86-solaris"
IUSE="test"

@ -10,7 +10,7 @@ inherit perl-module
DESCRIPTION="Override subroutines in a module for unit testing"
SLOT="0"
KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris
KEYWORDS="alpha amd64 arm ~arm64 ~hppa ia64 ppc ppc64 sparc x86 ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris
~x64-solaris ~x86-solaris"
IUSE="test"

@ -1,2 +1,3 @@
DIST alembic-0.8.10.tar.gz 976028 SHA256 0e3b50e96218283ec7443fb661199f5a81f5879f766967a8a2d25e8f9d4e7919 SHA512 28456eb41a2b2d0d870f34cfddf46c25ed01fd1ee99b1a3697e6c0c5369f49245e54db0d7232cc839cf03a5c48efb48a8b967586b3a81ba9462b485b6782a415 WHIRLPOOL 7aeac48eb5fa81c91bfbf9c601875fe3329f1f899f5c20321574bc7141f82aa4dee8c7388cad67d28f6a13ad5d016a14beb7e84386f8a641d10c00cec1839cb1
DIST alembic-0.9.3.tar.gz 991744 SHA256 57f2ede554c0b18f1cf811cfbb3b02c586a5422df94922e3821883ba0b8c616c SHA512 1f39521a1cc9e1e8f8d344f2e48e1f656aed2ffda8e0608b9c5a9a7a1f0e4d16865ae0fba903023512a198afc70e72c683b0ff2bd1bc2e9ba6667009e940a63e WHIRLPOOL 3ffc0bac46b4e0e89fa1e2afff2c1f2a6df5f9e3e9af3a4245ea4d048024b7b34896910db79d7bfc7be73fa9cb182d8a52425b67d5f57402984b6f3db39dc085
DIST alembic-0.9.5.tar.gz 990808 SHA256 8bdcb4babaa16b9a826f8084949cc2665cb328ecf7b89b3224b0ab85bd16fd05 SHA512 7588a681a6cf50a58ad697cb879d465d259880a473647d598242609c6321a8be7f53fc0d9a24fe976c4c65750eb0acc1a8e60253d4ccda33c87319ac9985e8b8 WHIRLPOOL a402d2294169243d97461500d4ef06af536c319ad1e957f282b59aa2c8756c512e67dff7b9887706994fbfc29b5d46af3a0f1df79d5ca76772524f43796c0ea5

@ -0,0 +1,47 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
inherit distutils-r1
DESCRIPTION="database migrations tool, written by the author of SQLAlchemy"
HOMEPAGE="https://bitbucket.org/zzzeek/alembic"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
IUSE="test doc"
# requires.txt cites 'SQLAlchemy>=0.7.3' which is really both old and silly
# because it shatters the testsuite. If 'someone' cares to adhere to correct form
# and edit to -0.7.3, feel free, and then pick up the pieces.
RDEPEND=">=dev-python/sqlalchemy-0.8.4[${PYTHON_USEDEP}]
dev-python/mako[${PYTHON_USEDEP}]
>=dev-python/python-editor-0.3[${PYTHON_USEDEP}]
dev-python/python-dateutil[${PYTHON_USEDEP}]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( ${RDEPEND}
dev-python/nose[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}] )"
# For test phase
DISTUTILS_IN_SOURCE_BUILD=1
python_prepare_all() {
# suite passes all if run from source. The residual fail & error are quite erroneous
rm tests/test_script_consumption.py || die
distutils-r1_python_prepare_all
}
python_test() {
${EPYTHON} run_tests.py || die "Testing failed with ${EPYTHON}"
}
python_install_all() {
use doc && local HTML_DOCS=( docs/. )
distutils-r1_python_install_all
}

@ -2,4 +2,5 @@ DIST awscli-1.10.51.tar.gz 474702 SHA256 98690bcc6d6ecc10212ab7b838a45940b25c01e
DIST awscli-1.10.53.tar.gz 474558 SHA256 c925e734d23dd082142b7815e1aa870f1cca93c507e63e742ae0503c7f7b0c12 SHA512 6735055c1b9d79eee9832532dd6a284fe6bdaf08bec10872458d44ce2a549bd0833c1908e1e236282f2b197cc7d4817173c4911e057e301e350fb195f96c1acc WHIRLPOOL 7b0995b0788ba299c852cd1e026354cc2a719cafe036c995983eb466d9bb7f083aef2a3321e218e0302dcb6ee25d105bf70daf68c2c58ddfb75ef3bacf2bc0b5
DIST awscli-1.10.59.tar.gz 484020 SHA256 270b8d7626f398e5867d777b75d16d0d48154d28e45dd309ac96597fa35c15f9 SHA512 b0329ec01a160527e6eb47bd877f102be4f6f53ca89007e1d6ba5012dc31c8fa907728b151b6daf8ed49d9abac48fa741bb4617d689eeeacf880404fe1b4919a WHIRLPOOL 5baf900600a7fbf177fb60e474352bde29fc5873ba9f7620b01bd3c0c2cc6b247075ce8a4ede24dc4b19a8e38d1789064167f424521477677ef83bb754797794
DIST awscli-1.11.0.tar.gz 497631 SHA256 48f26765be66689ef073e086873b016885f443471e542156d46376b527aa2d63 SHA512 db695a9b5d052d872f50883dbd716668b95c3ae6aee85b94ba5fb96aabfd8853cf2c6cdff76b7a2d8e7d006ae1dc65353bc6818999bf02c619dd0c4aa4d3dbbe WHIRLPOOL 3809581a03300f45d2d82f6e21f6f3a8a6d225421d0d4a69b1c6ecb5c6d332e30390837061d65b0b4a19e6905eeda5ca0392f5150247972c386bee86bd0fa810
DIST awscli-1.11.154.tar.gz 553172 SHA256 b11cd09c5fb39637801be277f7aa39d73e63fa5528d04dd90f25e4ed8e28c0e0 SHA512 cb4d0159c816a3abd750e1531f280aa1145fdac6b3b0106fcc913f1f9ab97ff92b5dc8778af2b15f55f94c7ffd64f5a5f5ec3189a062ea99e5e696d991abd8f1 WHIRLPOOL 6e0a72632b37a0d8b1de05a230949d696a515d5088dd832976c79d91e4a90603e7c5835b54cde176a645fe897831ab4dabeea128ed2828b985aa36ed2a6132f7
DIST awscli-1.11.81.tar.gz 544970 SHA256 61022acd60f130c85953d46d47bf4aa3b60d03835eb5e731e2bf533e9ddf5533 SHA512 61b355247d75939d2814ca0594fb1b4498d7a1dc008e27302328c09bbe4ce72a6eddff64712410bd2023663436fd41d405a6a19a1c53c872a0ae6e68a0718175 WHIRLPOOL fd8424e37900ce7c1942595f280468be71c965a95ad270904de89e9bedae656926de6159e79c64599d4a70bd996ba6a30309164c8aa599351aaa350b5a825143

@ -0,0 +1,30 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
inherit distutils-r1
DESCRIPTION="Universal Command Line Environment for AWS"
HOMEPAGE="https://pypi.python.org/pypi/awscli"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE=""
RDEPEND="
dev-python/botocore[${PYTHON_USEDEP}]
<=dev-python/colorama-0.3.3[${PYTHON_USEDEP}]
dev-python/docutils[${PYTHON_USEDEP}]
<=dev-python/rsa-3.5.0[${PYTHON_USEDEP}]
>=dev-python/s3transfer-0.1.5[${PYTHON_USEDEP}]
<=dev-python/pyyaml-3.12[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
"

@ -1,80 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
# Not quite ready for py3, unconditionally deps on too many backported
# pkgs installed in newer pythons that shouldn't need them.
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
MY_PV="17.6.1.post3"
MY_P="${PN}-${MY_PV}"
DESCRIPTION="Crossbar.io - The Unified Application Router for the twisted framework"
HOMEPAGE="http://crossbar.io/ https://github.com/crossbario/crossbar https://pypi.python.org/pypi/crossbar"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
LICENSE="AGPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RDEPEND="
>=dev-python/setuptools-36.0.1[${PYTHON_USEDEP}]
>=dev-python/twisted-17.5.0[${PYTHON_USEDEP}]
$(python_gen_cond_dep '>=dev-python/enum34-1.1.6[${PYTHON_USEDEP}]' python2_7)
>=dev-python/txaio-2.8.0[${PYTHON_USEDEP}]
>=dev-python/pyasn1-0.2.3[${PYTHON_USEDEP}]
>=dev-python/pyasn1-modules-0.0.9[${PYTHON_USEDEP}]
>=dev-python/incremental-17.5.0[${PYTHON_USEDEP}]
>=dev-python/zope-interface-4.4.2[${PYTHON_USEDEP}]
<dev-python/hyper-h2-3.0.0[${PYTHON_USEDEP}]
>=dev-python/priority-1.3.0[${PYTHON_USEDEP}]
>=dev-python/service_identity-17.0.0[${PYTHON_USEDEP}]
>=dev-python/pyopenssl-17.1.0[${PYTHON_USEDEP}]
>=dev-python/cryptography-1.9.0[${PYTHON_USEDEP}]
>=dev-python/autobahn-17.6.2[${PYTHON_USEDEP}]
>=dev-python/jinja-2.9.6[${PYTHON_USEDEP}]
>=dev-python/treq-17.3.1[${PYTHON_USEDEP}]
>=dev-python/pyyaml-3.12[${PYTHON_USEDEP}]
>=dev-python/click-6.7[${PYTHON_USEDEP}]
>=dev-python/attrs-17.2.0[${PYTHON_USEDEP}]
>=dev-python/constantly-15.1.0[${PYTHON_USEDEP}]
$(python_gen_cond_dep '>=dev-python/ipaddress-1.0.18[${PYTHON_USEDEP}]' python2_7)
>=dev-python/cbor-1.0.0[${PYTHON_USEDEP}]
>=dev-python/bitstring-3.1.5[${PYTHON_USEDEP}]
>=dev-python/pygments-2.2.0[${PYTHON_USEDEP}]
>=dev-python/pytrie-0.3[${PYTHON_USEDEP}]
>=dev-python/psutil-5.2.2[${PYTHON_USEDEP}]
>=dev-python/py-ubjson-0.9.0[${PYTHON_USEDEP}]
>=dev-python/pynacl-1.1.2[${PYTHON_USEDEP}]
>=dev-python/pyqrcode-1.2.1[${PYTHON_USEDEP}]
>=dev-python/lmdb-0.92[${PYTHON_USEDEP}]
>=dev-python/mistune-0.7.4[${PYTHON_USEDEP}]
>=dev-python/netaddr-0.7.19[${PYTHON_USEDEP}]
>=dev-python/setproctitle-1.1.10[${PYTHON_USEDEP}]
>=dev-python/sdnotify-0.3.1[${PYTHON_USEDEP}]
>=dev-python/shutilwhich-1.1.0[${PYTHON_USEDEP}]
>=dev-python/u-msgpack-2.4.1[${PYTHON_USEDEP}]
>=dev-python/watchdog-0.8.3[${PYTHON_USEDEP}]
"
DEPEND="
>=dev-python/setuptools-36.0.1[${PYTHON_USEDEP}]
>=dev-python/twisted-17.5.0[${PYTHON_USEDEP}]
test? (
dev-python/mock[${PYTHON_USEDEP}]
)
"
DOCS=(
README.rst LICENSE-FOR-API LICENSE COPYRIGHT
)
S="${WORKDIR}"/${MY_P}
python_prepare_all() {
# don't install the copyright, license... let dodoc do it
sed -e "s/^ data_files=.*//" -i setup.py || die
distutils-r1_python_prepare_all
}

@ -1,2 +1,3 @@
DIST Flask-Admin-1.0.6.tar.gz 235842 SHA256 c16d1bb1b6c2b6ac8db8486b9a5e1919d1a073252e3fb0c0c226406470113a54 SHA512 a30e2678a063d45d55ccf41cfec07fd16973cc8c770b1e7f16d11b9aba693049b1d9d4cff81d8ae8f2548d019f977f0906728e98d23d229d76bf135a079abc8f WHIRLPOOL 9851b8f7e59c5b7bf99e2e58a0ad72076578f12564146a282b9e3e0e79bd31bec7a1fd394dc807b8152165fce617c6a7b025cfaa987680a649412a3d1c3f8e8c
DIST Flask-Admin-1.4.2.tar.gz 922579 SHA256 7d1cfdcb29a7135d4275dc22628c0f068cccfdb84dadad885bde685d0511597c SHA512 e736d5f6d05c886ac8bd96b7524d6bc7af956fd9d2f183d1c0872ea346301d67c5b634589b94b1de3be9fd5f1595ad95505b68d80adc613520259380bb9b0be5 WHIRLPOOL 25b20415ebb3286f59f496d4d443d560e2036b1f9521de9143e97821db5929d3b17be1bcd8cd878cc12e4c232781df4a57540e19655ea1567a6adb4bb8cad812
DIST Flask-Admin-1.5.0.tar.gz 1598074 SHA256 fe3a96d99f22e293cd7e83d364de6cffd36573ef25db93d6e32102527a624bc5 SHA512 dbf5b97f27228eb000fd1298f4da8d4824196856e4ba9e2d8cbae6e562794ec2d1a998b382efaa84ec4fd7a74ae589a739c52e117efebfb171f19bc16e7350e7 WHIRLPOOL 875c1db6527ecb3e1526a72594c017cb999d3cce9a0737d7947726b01511d5ba790e21183aab16d54977f741dd1b51338d2daa393026d2ec3bf37336861f7d7a

@ -0,0 +1,58 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5} )
inherit distutils-r1
#RESTRICT="test" # we're still missing some of the dependencies
MY_PN="Flask-Admin"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Simple and extensible admin interface framework for Flask"
HOMEPAGE="https://pypi.python.org/pypi/Flask-Admin"
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples test"
RDEPEND="
>=dev-python/flask-0.7[${PYTHON_USEDEP}]
dev-python/wtforms[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/flask-wtf[${PYTHON_USEDEP}]
dev-python/peewee[${PYTHON_USEDEP}]
dev-python/wtf-peewee[${PYTHON_USEDEP}]
dev-python/flask-pymongo[${PYTHON_USEDEP}]
dev-python/flask-mongoengine[${PYTHON_USEDEP}]
dev-python/flask-sqlalchemy[${PYTHON_USEDEP}]
dev-python/flask-babelex[${PYTHON_USEDEP}]
sci-libs/Shapely[${PYTHON_USEDEP}]
dev-python/geoalchemy2[${PYTHON_USEDEP}]
>=dev-python/pillow-2.9[${PYTHON_USEDEP},jpeg]
)"
S="${WORKDIR}/${MY_P}"
python_prepare_all() {
sed \
-e 's:find_packages():find_packages(exclude=["*.examples", "*.examples.*", "examples.*", "examples"]):g' \
-i setup.py || die
distutils-r1_python_prepare_all
}
python_test() {
nosetests || die "Testing failed with ${EPYTHON}"
}
python_install_all() {
use examples && dodoc -r examples
distutils-r1_python_install_all
}

@ -1,2 +1,3 @@
DIST Flask-Babel-0.11.1.tar.gz 40494 SHA256 d29b36c399e42e98bc9401c8c1c159f2befcb8c12a2a2a87ec49ad7623036899 SHA512 a70ab4c10d2e495121f8e050e2d6ed136a85b1030c90e540a7746c6e759a63f12940fe44b4551f221445839e972e298053e7778d3fcf1e4ecb7cd9a79699b19a WHIRLPOOL 57ac267da8fb9a0e4034f54b26a73d7b241a0c25705ee3f958b9f8784e5e39e8826279401e0a9423fdd0b02021eb921cdb0241237660a2c51255d122c2a5b9b0
DIST Flask-Babel-0.11.2.tar.gz 41105 SHA256 c0d75710bd4b0fe866f9f2347de6e19208712f9cec006436b4c1c15d4cb0c939 SHA512 d95947983ff5bc33a28384f000512e85ed64c16555aa03e110a32b7c0c9e91eebc02259bfc69a0dbc84adb6ecf8155cffaecde5726658d64d36435060de3f22b WHIRLPOOL 4e1180bcb63712f90581f59c308920e136f17ee5b6d5aa82ed65ce961b98ea42983061ba6633f22fade7fe27a1e0903459c5dd14ed66739d6a4644103622429e
DIST Flask-Babel-0.9.tar.gz 38881 SHA256 4afd150f360434b00684ba7848358f7961072fd0658a6e81aaa578522699fb4c SHA512 c667c8a532332bb3dd0d694932d17f7f9b2b51f68151767624116853b2e71f2a6b4c47164d17a6f368b67a5cabce97495b18147655fb36aee5034c058d3b9a89 WHIRLPOOL 28309a4a27bfd0fbe30be52613ee9eef5110e3cc38e863c6de200cced579476870e01b92edaeb08fd29e0deabcaa13d14742d188960742d61cf8ba5384476cd1

@ -0,0 +1,36 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
inherit distutils-r1
MY_PN="Flask-Babel"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="i18n and l10n support for Flask based on Babel and pytz"
HOMEPAGE="https://pythonhosted.org/Flask-Babel/"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="dev-python/flask[${PYTHON_USEDEP}]
dev-python/Babel[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
>=dev-python/speaklater-1.2[${PYTHON_USEDEP}]
>=dev-python/jinja-2.5[${PYTHON_USEDEP}]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? (
${RDEPEND}
dev-python/nose[${PYTHON_USEDEP}]
)"
S="${WORKDIR}/${MY_P}"
python_test() {
nosetests || die "Tests failed under ${EPYTHON}"
}

@ -1,2 +1,3 @@
DIST flask-mongoengine-0.7.0.tar.gz 103676 SHA256 e5031d1f812181699b10fec76d7c9c6633f19f8b686dcee48371e9216884f2b4 SHA512 3a9ce923b5d391e4fbdacc87d32e6cd8e0ada592c9fce585cf6dc38b8c116966cd70c83c2f2b77f580348722351c129ef38d7788f9ae2bd27d043de0d5487493 WHIRLPOOL 20583285ec18871b750c045a1dc911d6c836b152a27816b81805f12808dd68450236139245fd6ea07c9239544a7a62dafd358feaf13304910b6c6301f5f32567
DIST flask-mongoengine-0.8.tar.gz 115524 SHA256 24b30f3cfce95a53f0ad7ce14aa5eb24db7a6db756e1549056fb2b4b397b045e SHA512 fe64765f5ce5e9d9b6919b29bae5ed0faff98e42f2ae99283c8492e5c82def0ec90afabade92dd8ee7805ca65dd6f529b266c8518a95328422f57d5ab18283e3 WHIRLPOOL c38f5c00de4f8bbebe045a1b7d4ef7f9460209c4f2eac17e0a00dc7b86f1550a5e6f3a601ee00f9f107d05345e07b195ece63198bd31ecaad72dacd4e38acb88
DIST flask-mongoengine-0.9.3.tar.gz 111690 SHA256 01b66bd9bfdef9cc9e7e7102e1f86e772e6777c36d8577b3ef5c94ba3216bde8 SHA512 15b8031e4f8a9275fa6a602aed8466533fc9e6eb408d8f3316fc8814cc785feeee59dae25f40c1c30371e7e33bcc8727bb866bd99dbee0dc75cf15049576fb3d WHIRLPOOL 5b8de916e67f7fca9dffc053ca9e18e390fcfa2afa576d57760770b5e15051ec9accc256f5c6ecc5fab4949d0e27142b2cccc0ec72c8415b13cc4a49b29d01cb

@ -0,0 +1,44 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5} )
inherit distutils-r1
RESTRICT="test" # requires running MongoDB server
DESCRIPTION="Flask support for MongoDB and with WTF model forms"
HOMEPAGE="https://pypi.python.org/pypi/flask-mongoengine/"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
RDEPEND=">=dev-python/flask-0.8[${PYTHON_USEDEP}]
>=dev-python/mongoengine-0.7.10[${PYTHON_USEDEP}]
dev-python/flask-wtf[${PYTHON_USEDEP}]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/nose[${PYTHON_USEDEP}] )
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
python_prepare_all() {
# fix distutils sandbox violation due to missing test-deps in normal build
sed -i '/test_requirements/d' setup.py || die
distutils-r1_python_prepare_all
}
python_compile_all() {
use doc && emake -C docs html
}
python_test() {
nosetests || die "Testing failed with ${EPYTHON}"
}
python_install_all() {
use doc && local HTML_DOCS=( docs/_build/html/. )
distutils-r1_python_install_all
}

@ -1 +1,2 @@
DIST flask-restful-0.3.5.tar.gz 113214 SHA256 30f3433c32d3251b83779034513994df93635db81bf5cd5122a4e0415dd3f5c1 SHA512 a541e6739644b4db6ae97cf529bfc43f3136c97fc19a8538277d1f9be033b7c6dc3e39e1c4b2f313e099efbe750dbdc85c67b527224df557567ecac668e5969a WHIRLPOOL d8d0673380263c25e84ed3e86a83b04bae88761c8f3456dcab7d6d58b9884b1b984c28c861bc091c9693b080c15f2f47f99ff6a3003a7f89dd50df851a7d3af5
DIST flask-restful-0.3.6.tar.gz 114512 SHA256 1b04bf8246fffc92a33a402213cea5a50b4c586d8a515f53ccc94612df32c365 SHA512 c5136302111e6c8953e038d31b42b029744111bb916dea7ec8bd5fac2de5e17a86d30a7d04a7335cdc5da25ee13f35ad9a6d284166e11cca0c6fec96d23fd977 WHIRLPOOL 1e581d19c833d7b27ed8a1d1e4a73cd478f04900f2d4135217c60061189d8c336fc3c548cc4e89579eb063f2e444347bad98d755fb3895c522c01b50880c74f4

@ -0,0 +1,50 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
inherit distutils-r1
DESCRIPTION="Simple framework for creating REST APIs"
HOMEPAGE="http://flask-restful.readthedocs.org/ https://github.com/twilio/flask-restful/"
SRC_URI="https://github.com/twilio/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples paging test"
RDEPEND="
>=dev-python/aniso8601-0.82[${PYTHON_USEDEP}]
>=dev-python/flask-0.8[${PYTHON_USEDEP}]
>=dev-python/six-1.3.0[${PYTHON_USEDEP}]
dev-python/pytz[${PYTHON_USEDEP}]
paging? ( >=dev-python/pycrypto-2.6[${PYTHON_USEDEP}] )
"
DEPEND="${RDEPEND}
dev-python/sphinx[${PYTHON_USEDEP}]
test? (
dev-python/mock[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
dev-python/pycrypto[${PYTHON_USEDEP}]
)
"
python_test() {
nosetests -v || die "Tests fail with ${EPYTHON}"
}
python_compile_all() {
cd docs || die
emake man $(usex doc html "")
}
python_install_all() {
use doc && local HTML_DOCS=( docs/_build/html/. )
use examples && dodoc -r examples
local DOCS=( AUTHORS.md CHANGES.md CONTRIBUTING.md README.md )
doman docs/_build/man/*
distutils-r1_python_install_all
}

@ -1 +1,2 @@
DIST Flask-Script-2.0.5.tar.gz 42580 SHA256 cef76eac751396355429a14c38967bb14d4973c53e07dec94af5cc8fb017107f SHA512 257b724c05dde79c99b028c7fa1980b700f273010de82fa9f1bb090b23519297d8bad87e436fa88a63feabfcd8908041d4a5ad9a673e08f4ed15e97310f16fbb WHIRLPOOL 2f05e8524a6f0ff0beca342f77f9c4b4f7f73cca65b2aa1fc21b4184ccc3a2e253f3d07a88c07c56c9ed1e5f3f9e12c4b6999bfdc85a35569def4107d0fbfb8e
DIST Flask-Script-2.0.6.tar.gz 43146 SHA256 6425963d91054cfcc185807141c7314a9c5ad46325911bd24dcb489bd0161c65 SHA512 03c51213be8e2b86f1f4450565cf4d7e3d9d7257ac017bd53830be57620d581f43bcfe959ef7b621af722c688c56495229aad3dd9654c8a8a5905db0105275fc WHIRLPOOL 3e55418c8fa8023b7ce8ba084ad951a75eea848b7db7c7788592806321021b0bb71b61da613193faf084be003b8abe28c3fe347b5ee5a903f01c2135e73d55ee

@ -0,0 +1,40 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5} pypy )
inherit distutils-r1
MY_PN="Flask-Script"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Flask support for writing external scripts"
HOMEPAGE="http://packages.python.org/Flask-Script/ https://pypi.python.org/pypi/Flask-Script"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
RDEPEND=">=dev-python/flask-0.10.1-r1[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
test? ( dev-python/pytest[${PYTHON_USEDEP}] )"
S="${WORKDIR}/${MY_P}"
python_compile_all() {
use doc && emake -C docs html
}
python_test() {
py.test tests.py || die "Tests failed under ${EPYTHON}"
}
python_install_all() {
use doc && local HTML_DOCS=( docs/_build/html/. )
distutils-r1_python_install_all
}

@ -1,2 +1,3 @@
DIST Flask-Testing-0.4.2.tar.gz 40994 SHA256 921c7c653e0d511ed87fbf70d984e27afea8dfa7e10b358689863d7a63e05321 SHA512 57f1a58f352637b6c1d4dc5aa8b3cac215eae334f355d40b6c777f9c5a769c745ce11f2a98818669ec2c29fc170fd86fe4670bb66bd4e4607174b21c5c2067e3 WHIRLPOOL a1fc0723660c25cb18ea5eb4c283c79eb379f2d8cee1bf8fda6ed8b10391cdf0080fa3e2e1ce6cdc50845548a5d9be3f4b20ef267c1350a14049adfbdcfa8e20
DIST Flask-Testing-0.6.1.tar.gz 42541 SHA256 abf539332c013aee5301cbb720d2c6a78bb69fe9bcf854697b6f62f1e7f175b2 SHA512 f7a0a89885693f568e8e03a9ae689add3b9577517faa6b842bb6b990a2be447ecb9ccf693dd5279ca98dfcc8b18e2041fccf0cf36c28cea5fdc0dbdc9b64f065 WHIRLPOOL 456c7c834f3ed9806fd830f64873f43ac6707cdc195ac2e4c7ae9083987b967a8e2bc0250df1a5247f5512483b39272bf3a3bc53642180990b6269a619eb8b12
DIST Flask-Testing-0.6.2.tar.gz 129078 SHA256 f25effd266fce9b16482f4ce3423d5a7d25534aab77bc83caace5d9637bf0df0 SHA512 1ce6a32f2c4e2d6d39c0bd2f01b8d20e2ee8faa5cb31d308bbcda2159f8307cc42f445e328a3752c3c3c66f4fffef75b400c70954b1aeb1aabab8a54c565b5ce WHIRLPOOL 3cdba18893defeac5728fdb6fed82555769cd93809fef873083876dceb75474133b2a58d3e8d0226b9ffaa13b939c9820a3b64a78768e8278e28ed9d940cf25d

@ -0,0 +1,40 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5} pypy )
inherit distutils-r1
MY_PN="Flask-Testing"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Unit testing for Flask"
HOMEPAGE="http://pythonhosted.org/Flask-Testing/ https://pypi.python.org/pypi/Flask-Testing/"
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RDEPEND="dev-python/flask[${PYTHON_USEDEP}]
$(python_gen_cond_dep 'dev-python/twill[${PYTHON_USEDEP}]' 'python2*')"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/blinker[${PYTHON_USEDEP}]
dev-python/nose[${PYTHON_USEDEP}]
)"
S="${WORKDIR}/${MY_P}"
python_test() {
local exclude
if $(python_is_python3); then
# Twill is not available on python-3
exclude="-e twill"
fi
# test phase appears to run only py2.7 but if it passes for py2.7 is passes for pypy
nosetests ${exclude} || die "Testing failed with ${EPYTHON}"
}

@ -1,2 +1,3 @@
DIST Flask-WTF-0.10.3.tar.gz 247240 SHA256 40da66462df074c2a0fd209e6047972bc226125f6c484c8e367ea10e71ddd718 SHA512 c8cbc817afca7efbc2c0302c4fa3625874159c10e4664b502693acfa3ffcca34aee0a6f17528b45340f1e7f103f87ac72178f2ca4d589307bde12fe47ac5cf50 WHIRLPOOL 08b1b66813a558918ed3e9da8ae2d0db9947f11bf6fccb2ec6f8de1e359422d4431754e982a81a959129230aa39c70470bbad944451238f6c1136976286f303b
DIST Flask-WTF-0.13.1.tar.gz 253341 SHA256 20a5d72271677722ba6834e9e3327af777e0f6a758a3010c892c362107398512 SHA512 ea85898688c16ee0b5dc54055ac0f19564c83b60a433c8fb4dfa27651f9f16b62e6c30ede0f8246a18c19c7b36dd17272210fd1a38f463efe71e12c058bd0f27 WHIRLPOOL 834e86bd54c83fa4e225929b4cf984c197cabffdbdcb440d738cfb338e7dd10521bbceb0516e37fe5049e15898ce84327d453138b1a59962863ce9a9a8d61158
DIST Flask-WTF-0.14.2.tar.gz 254903 SHA256 5d14d55cfd35f613d99ee7cba0fc3fbbe63ba02f544d349158c14ca15561cc36 SHA512 9d4b4b24eb24827aeb524699e6720eab384c42901a102daddd9fdc6b8dbc8eebec8c9d31a1e9052c9af4d61bd08eef8ef9dc4cdc8d9b950ff5bdd0201db1dfde WHIRLPOOL 1863485f4b69f02c8f23c7a0e046816ed596eed55489ff21e9e85f4c3bd3044e87ce9efc60e2fb21bc8b1d30da9b36ae38ec6667c481e0f1015dc79b556669e8

@ -0,0 +1,54 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
inherit distutils-r1
MY_PN="Flask-WTF"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Simple integration of Flask and WTForms"
HOMEPAGE="http://pythonhosted.org/Flask-WTF/ https://pypi.python.org/pypi/Flask-WTF"
SRC_URI="mirror://pypi/${MY_P:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
RDEPEND="dev-python/flask[${PYTHON_USEDEP}]
>=dev-python/wtforms-1.0.5[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
dev-python/nose[${PYTHON_USEDEP}]
dev-python/flask-testing[${PYTHON_USEDEP}]
dev-python/flask-uploads[${PYTHON_USEDEP}]
dev-python/speaklater[${PYTHON_USEDEP}]
dev-python/flask-babel[${PYTHON_USEDEP}] )
doc? ( dev-python/sphinx[${PYTHON_USEDEP}]
$(python_gen_cond_dep 'dev-python/werkzeug[${PYTHON_USEDEP}]' python2_7 )
)"
S="${WORKDIR}/${MY_P}"
python_prepare_all() {
# tries to access things over the network
rm tests/test_recaptcha.py || die
distutils-r1_python_prepare_all
}
python_compile_all() {
use doc && emake -C docs html
}
python_test() {
nosetests || die "Tests failed under ${EPYTHON}"
}
python_install_all() {
use doc && local HTML_DOCS=( docs/_build/html/. )
distutils-r1_python_install_all
}

@ -1,2 +1,3 @@
DIST Frozen-Flask-0.11.tar.gz 106927 SHA256 c348e0165b161efa44770157eba3e006cc6a1e9867bfd74670cbc56529cc5512 SHA512 a734c6e090f08b01756b677a577c013e0198272a9e469410be81e5214eceb34d98e163410e8e04850036c58c5e7c9e718145e69cd26dd9e30c821f6949aede76 WHIRLPOOL 60a54174665e96b4f3921b72bb1f5f313f53c983d84e3dc6fd917f7273ace98a364638d925776eb5cfa6b709d8ee7c935cd3b9bbbb8926550513e3a54e517d59
DIST Frozen-Flask-0.13.tar.gz 174984 SHA256 ed5f92fd7581ea2b26381a08ed0001ca24986bc953bc29a01a7df1fd35782662 SHA512 2ffaa0b9f989058859f742699ce47865ab1dd7602d5e79db4ed6d9f8f79b39249deb48881377cb421c7583ffa77126b9a7d70770595895d91790dabbb23888e0 WHIRLPOOL 2b375e5dd51d3f27746b8dc329ef1bc70f18de228e01c95346c23c46c4e0c2295d68cfdc2d66b16a92e870c2be0957a765186ebe637247c258095ace5738ff42
DIST Frozen-Flask-0.15.tar.gz 477516 SHA256 83858d6ed8b9d3fa7fc9523e415e65fb86b99352798d7695f63cffbd59a56269 SHA512 8cb80ccb5018abdaaf53a43c219504d57f2630af3d8d5c7bd6bee44c7cf483f50530bc00ff49fd674d54c0e1f6a5e0caa004bff04e95dec7f58a8bb443a36241 WHIRLPOOL 1fd9e6fc9ff2b9a97938c5554a2f1705ff334e34b446c53876513c483970bec2581d0f3defa73da18d1feaeeeba7454abd77a3d7d48e6ecb0126bfe4f56afa5a

@ -0,0 +1,43 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python2_7 )
inherit distutils-r1
MY_PN="Frozen-Flask"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Freezes a Flask application into a set of static files"
HOMEPAGE="https://github.com/SimonSapin/Frozen-Flask https://pypi.python.org/pypi/Frozen-Flask"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc test"
RDEPEND=">=dev-python/flask-0.7[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
S="${WORKDIR}/${MY_P}"
python_compile_all() {
if use doc; then
sed -e 's:^intersphinx_mapping:#intersphinx_mapping:' -i docs/conf.py || die
mkdir docs/_build || die
sphinx-build -c docs docs docs/_build || die
fi
}
python_test() {
nosetests || die Tests failed under $"{EPYTHON}"
}
python_install_all() {
use doc && HTML_DOCS=( "${S}"/docs/_build/. )
distutils-r1_python_install_all
}

@ -1,3 +1,4 @@
DIST gst-python-0.10.22.tar.bz2 632651 SHA256 8f26f519a5bccd770864317e098e5e307fc5ad1201eb96329634b6508b253178 SHA512 bbbd6b661778cca990da0e216294d86da31a6e472049905989a3311459dd1227bf8f2ae3699a3cdbb66a16288569764352f1e1b93e696d3db4b0728bc38e5b12 WHIRLPOOL c6902554bc8f390b5d295d05598ee60fd6b2637d290125d83a48fc40bbd4e6e261a711430259831c96a30fee4c5ec5c89aea444424b117fb5d62c946b0263454
DIST gst-python-1.10.3.tar.xz 389748 SHA256 bdfa2d06dfe0ce68f638b04fed6890db506416c1dcf1279e83458269d719a4e8 SHA512 346fae905f5d0d3e6295c4752351e629871e9373f2bf7e1acff0778f0935f81dd6043ae0d9ae774919a19ad8bd19bd9ea3456a3a1a381c9e63e5ad2ee5bf1530 WHIRLPOOL 4540cc8bda15dd4a4b07bf67d440c42c41b4165b92e417abcfc3f84495c7ca712621976dd3db9ce7589ef6fa691afefbefbfe407ef765e888a06dc0a6733d842
DIST gst-python-1.10.5.tar.xz 390188 SHA256 ccc7b63413c29196401488ca2af599ef8bc9791ee3512c7483c9f87294b3a77e SHA512 93120156b5af8914b9190ba0f9996f2bce860889dbd92c0a7b41213af36efd880e0f94f295df07c27d83b5a79a1874dacb035943d3f51a93cfa484d38bd6fd4d WHIRLPOOL 662a46e9c2d9329527d5aecbf3a73564caee515279e4da84195769abdc8fe775ee96e5baeb856dd86394b1d035ee354ca310f9950c8ffe41e8f85e8bbf0165bf
DIST gst-python-1.12.2.tar.xz 387072 SHA256 f4cc32ad46a653e1ae2f27ac2a16078b00075c9106b2784a1a8d1f31c5069e47 SHA512 a588827aadd1f16b99683725b12dfdb6edc146143cf702bdff229dcacbc5accb3193489387ba8670b68fbfdbb727210f05d20c1457d3817116c44b04ebc92918 WHIRLPOOL d7127fbf13c2bde8c5d325609fc7315d88c0b9472e4caaceac69fc79c53d7bae1eb6f6a0573fd668c1a9847b9c658f3e7126abbc5b8005de1b18d4128554b445

@ -0,0 +1,49 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python{3_4,3_5,3_6} )
inherit eutils python-r1
DESCRIPTION="A Python Interface to GStreamer"
HOMEPAGE="https://gstreamer.freedesktop.org/"
SRC_URI="https://gstreamer.freedesktop.org/src/${PN}/${P}.tar.xz"
LICENSE="LGPL-2"
SLOT="1.0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x86-fbsd ~amd64-linux ~x86-linux ~x86-solaris"
IUSE="test"
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
RDEPEND="${PYTHON_DEPS}
>=dev-python/pygobject-3:3[${PYTHON_USEDEP}]
>=media-libs/gstreamer-${PV}:1.0[introspection]
>=media-libs/gst-plugins-base-${PV}:1.0[introspection]
"
DEPEND="${RDEPEND}
virtual/pkgconfig
"
src_prepare() {
default
prepare_gst() {
mkdir -p "${BUILD_DIR}" || die
}
python_foreach_impl prepare_gst
}
src_configure() {
ECONF_SOURCE="${S}" python_foreach_impl run_in_build_dir econf
}
src_compile() {
python_foreach_impl run_in_build_dir default
}
src_install() {
python_foreach_impl run_in_build_dir default
prune_libtool_files --modules
einstalldocs
}

@ -1,2 +1,3 @@
DIST numba-0.27.0.tar.gz 1247144 SHA256 aa75fc2ac7d958d4ac84ad55b279dd95ee5e6ffd247fdcf04800f167731184ca SHA512 3c84fa58bc5e84683b5e593b99f8c48cfc6e9fd0f41a2a18d8a4d9deba618cec1e764a0202bb71166cbeebf27b908044be29e3b183b01f31edc8e85c962df876 WHIRLPOOL 178ec9ddaf5d2a9594eb808350d5e96a8b78ef643595aa6d02d581a7cfb7c86ae4902fccade874244a286957a9d9f4708c89d48d2c914a3528b9abae9db181b2
DIST numba-0.34.0.tar.gz 1603388 SHA256 d2575be1564883960ce38e684adab62d673917ce90d1a70a0ab6c42a45e9d059 SHA512 270bc9b2ea86e96285bd4075a216a31c3654b782e5e7fb26824ed0e57283a48f753542dab54995c14c0c7c303d8794659a1155eba1deb121c670fc4edde0f3aa WHIRLPOOL 9744c8daff1e22f75854afab93093823cbe01fc75b4c4bb074abfe407dd912f2242f143a8e7580f63a8e01df03d52c36cd23b2566af735dc4caec3c823ea4f83
DIST numba-0.35.0.tar.gz 1647189 SHA256 32716ed34973326b72d535cfb045b58d1972f1605eb2a53001158dcfb0f155cc SHA512 48ee1e33e7ec1327a78c3485602e911f045df8b8dbb69da3004133e6da8cbb52388712b4aeffa1e41b83d20aaa88cc8c1202ef35aabbf3e0e04ad2875df789f0 WHIRLPOOL 88b9baa5f9b367b1ccfe5cadf534fced9a11d7e44dfcfe0dd0359bcc53485a7a7589adf8115ad66ecb5bb369d7aed1b3ccee232517976b7bedf464435676472d

@ -0,0 +1,43 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
inherit distutils-r1
DESCRIPTION="NumPy aware dynamic Python compiler using LLVM"
HOMEPAGE="http://numba.pydata.org/"
SRC_URI="https://github.com/${PN}/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
IUSE="examples test"
RDEPEND="
>=dev-python/llvmlite-0.19[${PYTHON_USEDEP}]
dev-python/numpy[${PYTHON_USEDEP}]
virtual/python-enum34[${PYTHON_USEDEP}]
virtual/python-funcsigs[${PYTHON_USEDEP}]
virtual/python-singledispatch[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
"
python_test() {
cd "${BUILD_DIR}"/lib* || die
${PYTHON} -c "import numba; numba.test()" || die
}
python_install_all() {
distutils-r1_python_install_all
if use examples; then
insinto /usr/share/doc/${PF}
doins -r examples
docompress -x /usr/share/doc/${PF}/examples
fi
}

@ -1,3 +1,2 @@
DIST oslo.concurrency-3.18.0.tar.gz 46670 SHA256 49d56f2250e167ee03e3a4255d7b6086f93badd2a826e36d60324b91798c3980 SHA512 ce934910eb33d00bbe0dbb0e022df6ebf69ba7e53ebe3fccb0f0025d9f1dd8a75b1e7547f67168e226d6fde80d953c12e7bae33559e75002a7b1b9040a8d8ce4 WHIRLPOOL 8f93f4d1f418d3b40322f6c576ea48d6cc0d45f1fb1ab6a3479c15b6533b125d58fe97b837f64a23ebd9fe8165292c96da00b38834d662690fa1ea5750a54a2f
DIST oslo.concurrency-3.18.1.tar.gz 47274 SHA256 4314695cf2d0359a488b2f862afcb4262f11c83c9a826f36ac962b85f954ea8c SHA512 bb8eb61fea5995313fb2844fcf3c80ce15cebeb266ea50530569c33d404e75958b7e51a0d11b3cae67d0ccb2738fa8789a902fbcd8d7911283305ac4d4930476 WHIRLPOOL 0e2f1fea00f4671f7d09e128d0ce4a4239a8643426ce184e6bd3820468ab1f3a5a32a9b6b521e990ed92099a10aa7890ea8c8c167f6140d9bf0b2b702e8d3556
DIST oslo.concurrency-3.21.0.tar.gz 47353 SHA256 732e53c37d349a97ea70bd4f31336de26de316453d956210e5cb0015cbc51abb SHA512 98215419ec7864b090fc7b99136d9b719066f626cf336cd011a25126dc75b510f6a6b8ba74e842d7768da01363191abbb41cc80570955e91760fba579407ca30 WHIRLPOOL c8a0343c3bdce498e231dd76d628ebfd5e18aad2c246896c09da300d1c8f72d60ba249e98ccd42176abe09bf1e62d5c8d85489e4b7885da3c49a98ad18bdda1e

@ -1,52 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_4 python3_5 python3_6 )
inherit distutils-r1
DESCRIPTION="library for running multi-thread, multi-process applications"
HOMEPAGE="https://pypi.python.org/pypi/oslo.concurrency"
SRC_URI="mirror://pypi/${PN:0:1}/oslo.concurrency/oslo.concurrency-${PV}.tar.gz"
S="${WORKDIR}/oslo.concurrency-${PV}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
CDPEND=">=dev-python/pbr-1.8[${PYTHON_USEDEP}]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
${CDEPEND}
test? (
>=dev-python/oslotest-1.10.0[${PYTHON_USEDEP}]
>=dev-python/coverage-4.0[${PYTHON_USEDEP}]
virtual/python-futures[${PYTHON_USEDEP}]
>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
>=dev-python/oslo-sphinx-4.7.0[${PYTHON_USEDEP}]
>=dev-python/sphinx-1.2.1[${PYTHON_USEDEP}]
<dev-python/sphinx-1.4[${PYTHON_USEDEP}]
>=dev-python/reno-1.8.0[${PYTHON_USEDEP}]
>=dev-python/eventlet-0.18.4[${PYTHON_USEDEP}]
)"
RDEPEND="
${CDEPEND}
virtual/python-enum34[${PYTHON_USEDEP}]
>=dev-python/oslo-config-3.14.0[${PYTHON_USEDEP}]
!~dev-python/oslo-config-3.18.0[${PYTHON_USEDEP}]
>=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}]
>=dev-python/oslo-utils-3.18.0[${PYTHON_USEDEP}]
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
>=dev-python/fasteners-0.7[${PYTHON_USEDEP}]
"
python_prepare_all() {
sed -i '/^futures/d' test-requirements.txt || die
sed -i '/^hacking/d' test-requirements.txt || die
distutils-r1_python_prepare_all
}
python_test() {
nosetests ${PN/-/_}/tests/ || die "test failed under ${EPYTHON}"
}

@ -13,7 +13,7 @@ S="${WORKDIR}/oslo.concurrency-${PV}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
KEYWORDS="amd64 ~arm64 x86"
IUSE="test"
CDPEND=">=dev-python/pbr-1.8[${PYTHON_USEDEP}]"

@ -1,3 +1,2 @@
DIST oslo.versionedobjects-1.21.0.tar.gz 145073 SHA256 55396622dcbd6427e89d202d5f3f21e5e121b807002c8788a05f550f93217ff6 SHA512 156dc44f47ad444211afc0d8ab9ee3ecb2d74feef79906966b651a3a8f2dc78f166ea4d4021c5ae6fb6bc36b6fd7ea3f9021e11156cbf22a4707398744f7fabf WHIRLPOOL 769367763d92e7d73bc4c90b1607ab9fb4be065431cd17da32be584e229e740310d207092799edfc86b274f8019d3786bfb48549f7adada377c548b08b6ba851
DIST oslo.versionedobjects-1.21.1.tar.gz 145514 SHA256 36b8ae529c6415580a9f17ce22cc20af991c4a544a9055e5c4b22360bc32bd05 SHA512 e594d77a923c588a7ca1bc4f1faae4532f28cc2306d548235e0bc3cf0c6c16a5acb54f5b82b97f4ead165bbbbb29982d0f96f20357b1fa0a1b2fde3445ecdc15 WHIRLPOOL 9bcce0de81242b6ec990fb8a7160cf57b015fc5e477f0d496d620f252ef2b72daa67219776acfd4ec13efae9ba2ac35ebc99e5cb0740e07f5e4e19dab062a4f1
DIST oslo.versionedobjects-1.26.0.tar.gz 146388 SHA256 18d9a5861426d05878cea7db4af2f2057b5b67a27f0673e1d7f776606edfa3de SHA512 633389177b0f4d62e77e5902011bc783f1e7d2993a3d8dee693526c8af435764b1a86e383f861192dfac8d93da7c49b11e16b08485027470107597804c72a81f WHIRLPOOL 64075192158eea536f6d4bd328b53670d91b10bcaddf4c8afa4eadf08d98d60b6678e7bff2566ed1c5b2d6c2fa742606c3dd2d15400ce3bef10a36489d81f6a4

@ -1,38 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_4 python3_5 )
inherit distutils-r1
DESCRIPTION="A library that provides a generic versioned and RPC-friendly object model."
HOMEPAGE="http://docs.openstack.org/developer/oslo.versionedobjects"
SRC_URI="mirror://pypi/${PN:0:1}/oslo.versionedobjects/oslo.versionedobjects-${PV}.tar.gz"
S="${WORKDIR}/oslo.versionedobjects-${PV}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE=""
CDEPEND=">=dev-python/pbr-1.8.0[${PYTHON_USEDEP}]"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
${CDEPEND}"
RDEPEND="
${CDEPEND}
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
>=dev-python/oslo-concurrency-3.8.0[${PYTHON_USEDEP}]
>=dev-python/oslo-config-3.14.0[${PYTHON_USEDEP}]
!~dev-python/oslo-config-3.18.0[${PYTHON_USEDEP}]
>=dev-python/oslo-context-2.9.0[${PYTHON_USEDEP}]
>=dev-python/oslo-messaging-5.14.0[${PYTHON_USEDEP}]
>=dev-python/oslo-serialization-1.10.0[${PYTHON_USEDEP}]
>=dev-python/oslo-utils-3.18.0[${PYTHON_USEDEP}]
>=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}]
>=dev-python/oslo-log-3.11.0[${PYTHON_USEDEP}]
>=dev-python/oslo-i18n-2.1.0[${PYTHON_USEDEP}]
>=dev-python/webob-1.6.0[${PYTHON_USEDEP}]
>=dev-python/netaddr-0.7.13[${PYTHON_USEDEP}]
!~dev-python/netaddr-0.7.16[${PYTHON_USEDEP}]"

@ -13,7 +13,7 @@ S="${WORKDIR}/oslo.versionedobjects-${PV}"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
KEYWORDS="amd64 ~arm64 x86"
IUSE=""
CDEPEND=">=dev-python/pbr-1.8.0[${PYTHON_USEDEP}]"

@ -1,2 +1,3 @@
DIST peewee-2.7.4.tar.gz 608818 SHA256 ff25784ab40d58d659bc8f24e07fe891579b09f74417fca9d8d57772e514c409 SHA512 c72391316c8bd1f712bcb26d4d6e5ef386a415da536d78cade35d42bbb9c8c6d7b0494bf329bd67e3ac5b91a2d76e97365376b0e91a5c6a5b78ab1696f7576cb WHIRLPOOL acc0862963256173b7e918f5456e10dcfb2e533a9cf213841bb42d2bbcea475f8bf329f4227311163de5e9974ea06d1ab9d78b1ab25ce762c11f1d6689556196
DIST peewee-2.8.1.tar.gz 628870 SHA256 a14cfd248c837987346bada53617d7c298a2bd24e18fb4020e6d6e75bf5df05c SHA512 fd65001f6227f3b470046794f306def4a69b2637d916d4d7ee1057dab5671eaae88f32fe5345e3266829651e7529c53d9928516135af520832f34bfc0b1b9f39 WHIRLPOOL e95f14b16dd134153e4d5180a20546dfca3334c9db1e170b20d7f7c8b5e12331612f96daca7de2eddc0ffd64fe786db40b3482200fcd3268f2e1d407bd65fb72
DIST peewee-2.8.2.tar.gz 762456 SHA256 f9a62c41b0e38854e420881d316fc5834b1a1900d3d8c97bc3d00cafde22c265 SHA512 8ffab1c6ac8815e409df67eb2a71604a6e1087693b848a0e49dfd7c1c1cdab4271a81cfb5a8b4c363e19c750ec65608dd6f519a1d2e9a84786d47483cd1e8e20 WHIRLPOOL df129ea2009356d34683f0ac54f6533ac9ba611196dcdd5028b8202461302706459e48b222182d9dfa7b91611d625079531672683aebf3e7d258d2e61cbb3fc0

@ -0,0 +1,47 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} )
PYTHON_REQ_USE="sqlite(+)"
inherit distutils-r1
DESCRIPTION="Small python ORM"
HOMEPAGE="https://github.com/coleifer/peewee/"
SRC_URI="https://github.com/coleifer/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="doc examples"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )"
# Req'd to ensure a unique tmp.db for each python impl running the testsuite.
DISTUTILS_IN_SOURCE_BUILD=1
python_prepare_all() {
sed -i -e "s#test_suite='tests',##g;" ./setup.py || die
distutils-r1_python_prepare_all
}
python_compile() {
python_is_python3 || local -x CFLAGS="${CFLAGS} -fno-strict-aliasing"
distutils-r1_python_compile
}
python_compile_all() {
use doc && emake -C docs html
}
python_test() {
# Testsuite run using runtests.py does not require deps listed in previous ebuild
"${PYTHON}" ./runtests.py || die "tests failed under ${EPYTHON}"
}
python_install_all() {
use doc && local HTML_DOCS=( docs/_build/html/. )
use examples && DOCS=( examples/ )
distutils-r1_python_install_all
}

@ -4,3 +4,4 @@ DIST psutil-5.0.1.tar.gz 326693 SHA256 9d8b7f8353a2b2eb6eb7271d42ec99d0d264a9338
DIST psutil-5.1.3.tar.gz 341980 SHA256 959bd58bdc8152b0a143cb3bd822d4a1b8f7230617b0e3eb2ff6e63812120f2b SHA512 85ccccd5fbfd3ba25f05fd0ad2235956801af31c3fe8d7b80d0ae8870c0542609900e5ccf51e5897ec7bb12b95c1ed89899fe446908b817ae922d43479e83c6a WHIRLPOOL b0356e773d60a9af82591fc88400335709e50551696264d0bcc281e99b97d9246c1d7213da1c9caa15f0dcfd69a47b558042c44d4b3c5feb57acd59c891f8f51
DIST psutil-5.2.2.tar.gz 348413 SHA256 44746540c0fab5b95401520d29eb9ffe84b3b4a235bd1d1971cbe36e1f38dd13 SHA512 df4878d03a6ff98beb611969edd5a4d704ac269d38dc286d84def3ca271936e03367241470f2a192e0d71d0f64fe1f252223b0d67e964918146334a807d1a997 WHIRLPOOL 3c6a2a74ede27f52f5113b060f9786a75169394309ca42f07cb56f839916c4f263877cd30cdc45328195b3ade3ede09cbbfe707bd360422eb7dbbe29e73428ce
DIST psutil-5.3.0.tar.gz 397265 SHA256 a3940e06e92c84ab6e82b95dad056241beea93c3c9b1d07ddf96485079855185 SHA512 fbcb467fe5cd7e9e5ed149409e427d992510eac3e8be73a31e71c60d5e576bdb9c36f6ebd1d84730a0ab250973ad618800a0e864076f978f66c1117d90147a40 WHIRLPOOL 6a99aa4df67520acc2706cf98232aa46774033fb7a8d2a250c0badea48f2176f279ec239e3ea27006bb81ee499cf1b713f566daf28122517242d76fc8abf0633
DIST psutil-5.3.1.tar.gz 397075 SHA256 12dd9c8abbad15f055e9579130035b38617020ce176f4a498b7870e6321ffa67 SHA512 93bfadb19e603f7ccc7eedfc91aea05af41f2aeeeac1f2f11518b011c53f1672e07d550e6db6999fd3574c6b49adf4ffcb1a68f1066e8851be12689b0daf9595 WHIRLPOOL 23dfe92e9870b929c8dd839913cde2be7cf9a4df51cb9fe50f3b2afed58a6f64f4e8a8f200025bc9fb1ebb3bec993ccd2e9a2258b7f5837619bdf36eb5d78780

@ -0,0 +1,28 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
inherit distutils-r1
DESCRIPTION="Retrieve information on running processes and system utilization"
HOMEPAGE="https://github.com/giampaolo/psutil https://pypi.python.org/pypi/psutil/"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="test"
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? ( dev-python/mock[${PYTHON_USEDEP}] )
"
RESTRICT="test"
python_test() {
${PYTHON} psutil/tests/runner.py || die
}

@ -1 +1,2 @@
DIST pytest-xprocess-0.12.1.tar.gz 12078 SHA256 50e0d00d898a867cf2af75168a8bf6d23d582365f8765b73dfc0430d1e53821b SHA512 fda868a12a056070afd5838c4bc466b4906a7138f685d4a0e6e0adbd975e5a1a2b9b37b8de36a45fb700e02ca14ae219cfe29c467f8d03e55d2a375a7efc9927 WHIRLPOOL 2bd27045754f39ba619ed4ecfc5353e4191bba62e3f6200b6fd74672f1b10cd443b104fde6ca84455c581469b2572eaeb186d2376ceddbd938de0a458d0b76d3
DIST pytest-xprocess-0.9.1.tar.gz 7214 SHA256 f70e60cadb5ca1ac9500158ab0144dc9533586e1152fce1fe37e70dc03c5f49f SHA512 1c77112793d7be892746da3b303421d50be9406c9fc0eb3ad85f9cc6120275bad8994a0b9d2fff61172e67ed68631c9a42c9616d3d3e965cb6d053ccb77b54dd WHIRLPOOL ff85be4228b67247bc35371f9daf7372511df6cc3a95807d79a1f9cd658045a2e56c7c635559f3e5d6d393f232574901bc8cd3470f1ade3b59bbef361f184f80

@ -0,0 +1,33 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy pypy3 )
inherit distutils-r1
DESCRIPTION="Manage external processes across test runs"
HOMEPAGE="https://pypi.python.org/pypi/pytest-xprocess/ https://github.com/pytest-dev/pytest-xprocess"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
SLOT="0"
LICENSE="MIT"
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~x86 ~amd64-linux ~x86-linux"
IUSE="test"
RDEPEND="
|| (
dev-python/pytest-cache[${PYTHON_USEDEP}]
>=dev-python/pytest-2.8.0[${PYTHON_USEDEP}]
)
dev-python/psutil[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}
test? ( >=dev-python/pytest-2.3.5[${PYTHON_USEDEP}]
dev-python/pytest-cache[${PYTHON_USEDEP}] )
"
python_test() {
PYTEST_PLUGINS="pytest_xprocess" py.test -v -v || die
}

@ -1,3 +1,2 @@
DIST python-mistralclient-2.1.2.tar.gz 94945 SHA256 0cb7cfa63eeaec320616a8ae068777e05415b431de270b05b97a24bbf3830166 SHA512 32c7bde09b3dad816c71d5d2347c50c0af07354c3badbc3c85678826b0176c08211b1d9d6bf3255544e14d85c3c7c0a17bbcab5dc611bbe23dc5821ba90d9bd3 WHIRLPOOL eb50aa4290dbeda8e91b776380a95146feb6f0acc6959881f250bc6d8ab33fc975edb68bd2ca18d5899bc16aaca09700e496cc8165818d23c88703823f81c4c1
DIST python-mistralclient-3.0.2.tar.gz 78255 SHA256 65371935b8e884de349d30b62e2528655335230a5c6244fdeff02dc5bbac623f SHA512 3f2bcdf7723e3acba9c34947fb26c2ad3814b89ee43a26d3779f4ac7ae0845c4129c98d1a5b6deca2e2dcf77aec128639af4e8e650863cc19b7c03864bae7ab4 WHIRLPOOL 3a7c7c8b59a97453abf01a43a37f5e69c4b051505e778837e54bc60ab42fd2962517951d1e635a466eb935e1e766f787fad0a0017ecb4e7920c435f7778a9828
DIST python-mistralclient-3.1.3.tar.gz 78743 SHA256 1fff20fe8f7f32e4e00adcd486d0d2548534ae17286256930705c66d5d460816 SHA512 d18c8ed486e83e91904a0bb0fe0cce21d4a603d383d309efa249f145cf89aff5b980828eb928d6cee92184e0444e49ac9e3aba0a3095ed9179c67cdbf82dd243 WHIRLPOOL 7e7190ec1bf11ddfa98916706691a1d31648eb4deb203e256714d425d5c5858757f1c3a5c13c40e442abcda1b6ead227ba58d8222455b952753cd041e1440836

@ -1,38 +0,0 @@
# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_4 python3_5 )
inherit distutils-r1
DESCRIPTION="A client for the OpenStack Mistral API"
HOMEPAGE="https://github.com/openstack/python-mistralclient"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
CDEPEND=">=dev-python/pbr-1.6[${PYTHON_USEDEP}]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
${CDEPEND}"
RDEPEND="
${CDEPEND}
>=dev-python/cliff-1.15.0[${PYTHON_USEDEP}]
!~dev-python/cliff-1.16.0[${PYTHON_USEDEP}]
!~dev-python/cliff-1.17.0[${PYTHON_USEDEP}]
>=dev-python/osc-lib-1.0.2[${PYTHON_USEDEP}]
>=dev-python/oslo-utils-3.16.0[${PYTHON_USEDEP}]
>=dev-python/python-keystoneclient-2.0.0[${PYTHON_USEDEP}]
!~dev-python/python-keystoneclient-2.1.0[${PYTHON_USEDEP}]
>=dev-python/pyyaml-3.1.0[${PYTHON_USEDEP}]
>=dev-python/requests-2.10.0[${PYTHON_USEDEP}]
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
"
python_prepare_all() {
# built in...
sed -i '/^hacking/d' test-requirements.txt || die
distutils-r1_python_prepare_all
}

@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
CDEPEND=">=dev-python/pbr-1.8[${PYTHON_USEDEP}]"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save