parent
199acc44a3
commit
122293a30e
@ -1,3 +1,3 @@
|
||||
DIST logcheck_1.3.15.tar.gz 162397 SHA256 b29b4753940a9130b5f19f60d2d89af23be220674625f4bd2fb1d40945d0b9e5 SHA512 45c9e779fc1d1f417aea3f02e70eff4dbc7cd0b45e04f7efc458a4552866686cbb095d0b5ebaf32a57d423a3753b4573277a464f5539789350b087569e025abf WHIRLPOOL 7d4c1975453427eb0897b9f05670565643fd36c44204b23470adf1eac17b19ec77aaeae3523b7b1844f20acf39da0d736386b80bfc0f4059c2099ff816ddd08c
|
||||
DIST logcheck_1.3.16.tar.xz 131832 SHA256 3eea6f4d25b5cba59d30b8edd35e392389b8e4966d0aceac11c220e98426b8e6 SHA512 1dca1c571e01b2816b7d8ac7a7b5b7e4e250b8c298299c707d86e3c18bd0583b1afd72ff80e8ff98259be5eb46b719ce1e5b97377f42a1982ff292c5a92569c4 WHIRLPOOL 85d25f871dc0e31a49d518e292041b98b989957f778bd74a62aac331e1672cd5f1a346de41174f9377ee930a590faf04736f51eb5c6d6b404e22642572aa54d3
|
||||
DIST logcheck_1.3.17.tar.xz 130956 SHA256 c2d3fc323e8c6555e91d956385dbfd0f67b55872ed0f6a7ad8ad2526a9faf03a SHA512 e4a30b6ccd7a9f0f51354b1a6e577f6a3837e3db078f61b3d3ceaf630a1f1eeae03324e6ec58307f8f723dbd017e1543c15f7dc34e50c0eeb9ee0b160b2c879d WHIRLPOOL 21db3f57a07cf416a313ccdb393233c47e30c3675870d7fc1b6024eaa54db6df3542a7d3f40d6fc5c3174593cd910efbac71cd86b1865f969e8ca6dd0523e217
|
||||
DIST logcheck_1.3.18.tar.xz 131252 SHA256 077b9149ccd2b747b52785afa89da844f3d072c017c9e719925dec6acb9a9af4 SHA512 3ab75969f732efa123d9df2c8b44557e4a7eddef8332a8357463930714148a13130c763c22e562bd60e106abf5e18cf39b3572e0c048727a117fbc67430b7e3f WHIRLPOOL 3f86dedd09be36eb9ecb906c39e73625bc45db25148d4b818d5a784105ba2d1987eab0e4bb82fda9ced68422e6a9caf52f1ca7aa861f4b8e1cef65079e444038
|
||||
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="4"
|
||||
|
||||
inherit user
|
||||
|
||||
DESCRIPTION="Mails anomalies in the system logfiles to the administrator"
|
||||
HOMEPAGE="http://packages.debian.org/sid/logcheck"
|
||||
SRC_URI="mirror://debian/pool/main/l/${PN}/${PN}_${PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ~sparc x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="!app-admin/logsentry
|
||||
app-misc/lockfile-progs
|
||||
dev-lang/perl
|
||||
dev-perl/mime-construct
|
||||
virtual/mailx
|
||||
${DEPEND}"
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup logcheck
|
||||
enewuser logcheck -1 -1 -1 logcheck
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
keepdir /var/lib/logcheck
|
||||
dodoc AUTHORS CHANGES CREDITS TODO docs/README.*
|
||||
doman docs/logtail.8 docs/logtail2.8
|
||||
|
||||
exeinto /etc/cron.hourly
|
||||
doexe "${FILESDIR}/${PN}.cron"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
chown -R logcheck:logcheck /etc/logcheck /var/lib/logcheck || die
|
||||
|
||||
elog "Please read the guide at https://wiki.gentoo.org/wiki/Logcheck"
|
||||
elog "for installation instructions."
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
EAPI=6
|
||||
|
||||
inherit user
|
||||
|
@ -1,8 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>phajdan.jr@gentoo.org</email>
|
||||
<name>Pawel Hajdan jr</name>
|
||||
</maintainer>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
|
@ -1,4 +1,5 @@
|
||||
DIST mongo-tools-3.0.14.tar.gz 2413148 SHA256 5a3f706827a9567fc98e2b64a33a2071c68c89090c6f135a508cb4e615051db1 SHA512 0e77417b2c36080515a2ff611427cb18f6d6c2432159c2a09af8d6ff14ae7f25ecbfe0a6631eeb7de084fdfe517a09364d731f5b63923404b6319fc1ca44b840 WHIRLPOOL 615153e87ea0b3cfd837066f850f92e7ea9c533e09bf6e3f4231ff489ac21a5a52a4afe06c827304e9340f9e8172714dae969c65cdd7215939a35c7026d60d98
|
||||
DIST mongo-tools-3.2.12.tar.gz 2712079 SHA256 cda5e869b9233d591e91cac0b4c709a2e71dcabd9ac6bcc8b33d906ce3b13afd SHA512 66f7beb85a83ad6a217e65bba97ace6ad0bf84688f40e598e5fb1cf4bbe481b4069e1247d6829f8d06c8230d33c3e0c8bd8465a975576cad584065c361b6fb72 WHIRLPOOL 46123dc3c97fdf20ff94ac373e774932bd30aca677047fe3366653aaab269bf6d7e59cb420cf1e5716558fa959cb3649ee359cc27932bac276e6d24d2eea43b1
|
||||
DIST mongo-tools-3.2.13.tar.gz 2712076 SHA256 a855eb0141445e34ff3b01807b016467519c390fce79f3566000b5aaecb65d72 SHA512 caa0ba0f1452a16921c187cb407258326324b7222af91b1cd1b870ee2c9e6909d4fa94087a6da148a807f75b40f0bb97808a85804134d53cdab7970d8adf59f8 WHIRLPOOL e2fb38cc8a35ab7c9461f680a2bf0647b5cb5d1225978b7321e6c4227b02ae3cae93e5f2a105f188f3329b0f0f8741e9a0c5439f37196ca875b049d3a91836d3
|
||||
DIST mongo-tools-3.4.3.tar.gz 4700637 SHA256 70348800ca4cc04a319ca414291d5359e7dc86c888bc8264045fbc4de00adab2 SHA512 ec754e8b19c517d9603e0eb89cc315e0af53886b74a905c0742faf5369af8b87b84cedf57aaa25f93068cd21370fa8a274a97dc3c58bbb4a50db6c2e4f0109d9 WHIRLPOOL 0b85fcdb52d5f08624bbcedb96d66c8a519e6415b9aefe68e7957627f3f1e220ca1174ea0a037f53ef2de0e594793ab42d6ec7db9cb42aa09b1892500dac5dd5
|
||||
DIST mongo-tools-3.4.4.tar.gz 4700326 SHA256 d14f4ce153aec373459c802e5a159661ccfde4e5df39d8d750586bae54896cdd SHA512 d49243e41bf3144264add3766a6f7016a07509a583a7368a639d85d2305500dd5afcfbc4449f3dcc8bec6e88bfb76ce021c813fe14169e3bd2476ed0db7c2d5d WHIRLPOOL 33cb527ce7df19e92871219aef9b38f16ae292a4d1cbdd7bb3a1c6ccc752687469b9e4309cc4fd540a65e623740e1ebe20f4bdf8629b50aab25d4ea84c2988cc
|
||||
|
@ -0,0 +1,58 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils
|
||||
|
||||
MY_PV=${PV/_rc/-rc}
|
||||
MY_P=${PN}-r${MY_PV}
|
||||
|
||||
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
|
||||
HOMEPAGE="http://www.mongodb.org"
|
||||
SRC_URI="https://github.com/mongodb/mongo-tools/archive/r${MY_PV}.tar.gz -> mongo-tools-${MY_PV}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="sasl ssl"
|
||||
|
||||
# Maintainer note:
|
||||
# openssl DEPEND constraint, see:
|
||||
# https://github.com/mongodb/mongo-tools/issues/11
|
||||
|
||||
RDEPEND="!<dev-db/mongodb-3.0.0"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-lang/go:=
|
||||
net-libs/libpcap
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
ssl? ( dev-libs/openssl )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
src_prepare() {
|
||||
sed -e 's|go build .*|go build -o "bin/$i" -tags "$tags" "$i/main/$i.go"|g' -i build.sh || die
|
||||
|
||||
# ensure we use bash wrt #582906
|
||||
sed -e 's@/bin/sh@/bin/bash@g' -i build.sh || die
|
||||
|
||||
epatch "${FILESDIR}/${PN}-3.2.10-pie.patch"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myconf
|
||||
|
||||
if use sasl; then
|
||||
myconf="${myconf} sasl"
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
myconf="${myconf} ssl"
|
||||
fi
|
||||
|
||||
./build.sh ${myconf} || die "build failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/*
|
||||
}
|
@ -1,9 +1,6 @@
|
||||
DIST rarlinux-5.3.0.tar.gz 1114667 SHA256 7638f20ba68a49e9d9b3b247d9922f3d36c248eaa2e784bd2f0fad0aa1fd7ba8 SHA512 b2eb9831cac88f7f72a169c081a35fc688aa82a5e80cf681440b38f7d5f7691511ca1b85960b3949668faa4c1fe0921fb170d7a1ffb52d77db124fd073f1516b WHIRLPOOL 42ee7ef6f4a186b6284490e04378d24fcdbdea2406724137522ce2c18ebc62f8321e7092673ce4ea3e917b0ea393145b8f496ba06e780bdf2526b3223d5474aa
|
||||
DIST rarlinux-5.4.0.tar.gz 1121998 SHA256 18b4aa6b22a5460cae6dd4372fa1a6d69e0726e693c04993cc5e124d7c0a7db6 SHA512 6dd905de5fae268bf65d7fc803d03919db96d0489ea5351c5deac8dd12e4a7da295ea9342b26a9603efaad7cfec780094c64c0e82ea9c72967b5e43286a40ee8 WHIRLPOOL aefb8cc47d37ab2c60ffda82f6311233998f0d3b263628341cbeaa9c21d7249b75906e56e3c6ea92008423d76b1f8d840feb92d77d34f9987a01171f1c010940
|
||||
DIST rarlinux-5.5.b1.tar.gz 1125936 SHA256 175138d7476734572d4baac3e1d67ee1e23ad4112e5eb4bd72c6056f2cc49fc3 SHA512 5f96a05d733f36c3ee9e7325a830d1fa0a2d1fe5b11997e3965f3a66435a711c54c83be256e3d983fcf731e7dbcb5a2a84a7b3e65eba21eaf5089bb1156e9d45 WHIRLPOOL 1ed9d8d76efc2501548a69ecf1fcea19853e3dc922ffb40fdc523707bfd6f035668672b4ad3e65b7cde6c83eb8c7c4738fff2011ebd287f6f6fa02a19b26b1bf
|
||||
DIST rarlinux-x64-5.3.0.tar.gz 1149037 SHA256 8075b01d29ba0fc0c927f08e2a1b2149921bdb42c9457b7a7ef0950e387b5131 SHA512 3391db53adcdc355b6c58843a59f17a0adc2abc874ba8828cb985f27d33d27804d6a8c4db642fbef6a09d513858a6b507f6b49f9097a499d800f4cdd953f1f3e WHIRLPOOL b450bf85d36627c0b03be1523cdee980ac771ea5acd9786264fc10efd8473b1cec031dec57d1b1f345ea601fed94f0505d300d106800076c20bc97a437b6fd26
|
||||
DIST rarlinux-x64-5.4.0.tar.gz 1156900 SHA256 bf3e718df88cac8da631e34b3b2cc3185ca111e11d945e6bb91c0c038b8aa945 SHA512 6b4a9f9ba454e6f40bd8ec391a11790dc43d1a54733e1c8de0ac2cf969193959df327f5fee22c9b403cc838dfb92906c1b47d001b41522983fb0cf21b73da696 WHIRLPOOL 31427c056662619790e939b9f9a6904422a2bcbead8589279c206cf36c7a8726176061351d91c9dd8fdf9b7357d0fe20b94e7e67376e14324222f0c47a13c938
|
||||
DIST rarlinux-x64-5.5.b1.tar.gz 1160046 SHA256 6b2b0e986356ac25e55c22875acebc5f8e530d6beae92ede178f0faeb95502fd SHA512 d2fedcd7f081d03216cd5a1a9a5b599d6bff93b83410f975169eac4b0128b6717a6376b9d8d0c106f80dc6aeb84c55212a00dbe098caba5798ed65cb5696de61 WHIRLPOOL 9254cc5c9cc73bda1b94b9855c48cb48c6bb08af6c55164caf5d61ec8756a128496c74157a313f0db462a8b80a56bc9fc60a5346034074486d272487f96ba178
|
||||
DIST winrar-x64-530.exe 1964912 SHA256 951b53d30aa7d40f5fd4720ddd7385d431ede0e18df496fcb9c255ee1520d668 SHA512 ebe7ba3e3bc36941a6cf4f27f00edfd62e2297fda6de64a3718da10f10c9a9510b1dea96e5d128602e3b4069e276c88f79914b535a0acb390158a620510501ca WHIRLPOOL ac463202b33f4130e45da5df85b47a0eaf268686aefb5bcd8b09da729f1348d000d513f8297c67520515321b0d6632a16d6ed23ccc73efbd18c605cb624981d1
|
||||
DIST winrar-x64-540.exe 2179856 SHA256 d73cc6a97c3edde637c7d952ee2e0efc5b09937e5300cb0ecaffda70f4efdef0 SHA512 27082f2aa1fde0b82611360bece85b984258a3e81fb20249122a643ae1d6d9878ca248e854899a7ceffa4363aa032fc5360eba80c19e700292b5a261040d75c0 WHIRLPOOL 62bd28cb0ef7c4b5294f44cf15d697f15a69aaaa898865b006d3ff3984378cb688907481dab738e2f25737cec9fe199dc157b48b66f28ae6a66fb1dd27018d7b
|
||||
DIST winrar-x64-55b1.exe 2195920 SHA256 5aec34a4c159302b0b549d9e016e37b2cd7ca9c022239734d9d689ca2c377f14 SHA512 bf96a7a8cce774a6769df203ac5a0adce472e5dd0440aff1026ba2fa9866690172c289744315f98a869758de4cb0dc2eec90321ad186b9e44653767179f766f8 WHIRLPOOL 99d69446890a89306f170a551fc0a0e8a4e5bac86344e9b2dfd82909ab77d10eeda6231b7beb557c0e11a99ccc7fc51ce37aa480d69492cc9c8efc7d5309edbe
|
||||
DIST rarlinux-5.4.0-r1.tar.gz 541123 SHA256 ea4ec74f1692ceff09e890a427eed3257400124a1e0c173f53737a37993ade6e SHA512 fa6d5abb02c22eeb5c75b6ec84be7247e5629f4d278a7a836265e21e13626d16a00e60793bc8cfb58a1efaf0d8d717e0cbd43a250f64b03ea366d78a21dcc686 WHIRLPOOL e3d9553baabf496e73fee6314b5d06b73f5261ba5fc18d9bb90230a83bb590616899c8d1e747a1718171cf8933fe4aa8ad955f3f211533c71d6f47b96e4c11fd
|
||||
DIST rarlinux-5.5.b1-r1.tar.gz 544081 SHA256 e95bc5e30c44405b2d90d08565a85fe3c54f81c4090a796ea2fa19c65f9af1a6 SHA512 9fc548a6ccd8602162625ecb10bbf7b0748f1fee30c13bd2e63c47ec44405125ef8302e3e8191b4b899189fab35c269995afb24c1f1149c012dabd81953a9cc1 WHIRLPOOL 58f3136a96b85d11391e9593b51f76c610fbe196b7c3cc60f32397d686d09a1b92e244d10df55f42f3d5f084b3da4dd928dac5faa78ef331d175adab4b331d7f
|
||||
DIST rarlinux-x64-5.4.0-r1.tar.gz 531782 SHA256 264b7f09270c44ee9be5f0e8e8cab48781822c9d3aa6caf078af01719511b6de SHA512 8b6b83bebfb8421bf9f1c25313ffa985683309fecafb07260b1a3bd889e2aa922d3a137ff97f47638dac4c2299e76c00e28c27e3e40b413e7d40280e61af9e47 WHIRLPOOL 0a2b2d3ae2e750c0a624d55edc10191536d32d963d1bc1298da349709b6a98032a033f034970d1f2fbb1c2dae0537681186b8fb9c1b1409dae023c8351fb1303
|
||||
DIST rarlinux-x64-5.5.b1-r1.tar.gz 534153 SHA256 4d699bf1ed6320df13b7e7881164ebc49aa7709187b79c93f65f1110f9a29933 SHA512 966f372fff66ff8d21148f954dc75a46172072c71d3d0317bb6eeb93f7a58730b60b49a94360b1aea3cde8fc7c14f4817e9e2a80f131d4c2044bfc7111e1f95f WHIRLPOOL 4fbf9a6cde515f6e0d8da0bc162b95bd4394b19a841bff6740ce997aee32e30620eb01315956eff0813b1d8e87901346713bfac56180e5e353259d43f9c629bd
|
||||
DIST winrar-x64-540-r1.exe 2179856 SHA256 d73cc6a97c3edde637c7d952ee2e0efc5b09937e5300cb0ecaffda70f4efdef0 SHA512 27082f2aa1fde0b82611360bece85b984258a3e81fb20249122a643ae1d6d9878ca248e854899a7ceffa4363aa032fc5360eba80c19e700292b5a261040d75c0 WHIRLPOOL 62bd28cb0ef7c4b5294f44cf15d697f15a69aaaa898865b006d3ff3984378cb688907481dab738e2f25737cec9fe199dc157b48b66f28ae6a66fb1dd27018d7b
|
||||
DIST winrar-x64-55b1-r1.exe 2214240 SHA256 6b08dea9f9b138574c37fb49e211ba201ea81dc54aae4b946428fe16427ec73e SHA512 702e48acdda583a6aaa6f2f80c06260aa83c0742fc1595ece8fc97517c8d891aa51a78ba142cae60153aa51c4ab8efc048bb557a7e375bf0156fcf3c43b96416 WHIRLPOOL 14e3e690a7f37f2f8144d275af9ad23e8f9646663a547fa6b6e3728e25db9429eb9d59ceee962c4dd867448a6e92f059773247c79a5f6a1749956d41422ffb00
|
||||
|
@ -1,80 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
MY_PV="${PV/0_beta/b}"
|
||||
DESCRIPTION="RAR compressor/uncompressor"
|
||||
HOMEPAGE="http://www.rarsoft.com/"
|
||||
URI_x86="http://www.rarsoft.com/rar/rarlinux-${MY_PV}.tar.gz"
|
||||
URI_amd64="http://www.rarsoft.com/rar/rarlinux-x64-${MY_PV}.tar.gz"
|
||||
URI_w64="http://www.rarsoft.com/rar/winrar-x64-${MY_PV//.}.exe"
|
||||
SRC_URI="x86? ( ${URI_x86} )
|
||||
amd64? ( ${URI_amd64} )
|
||||
all_sfx? (
|
||||
${URI_x86}
|
||||
${URI_amd64}
|
||||
${URI_w64}
|
||||
)"
|
||||
|
||||
LICENSE="RAR BSD BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="-* amd64 x86"
|
||||
IUSE="all_sfx static"
|
||||
RESTRICT="mirror bindist"
|
||||
|
||||
DEPEND="all_sfx? ( app-arch/unrar )"
|
||||
RDEPEND="sys-libs/glibc"
|
||||
|
||||
S=${WORKDIR}/${PN}
|
||||
|
||||
QA_FLAGS_IGNORED="opt/rar/default.sfx
|
||||
opt/rar/default-elf32.sfx
|
||||
opt/rar/default-elf64.sfx
|
||||
opt/rar/default-win32.sfx
|
||||
opt/rar/default-win64.sfx
|
||||
opt/rar/WinCon.SFX
|
||||
opt/rar/WinCon64.SFX
|
||||
opt/rar/Zip.SFX
|
||||
opt/rar/Zip64.SFX
|
||||
opt/rar/unrar
|
||||
opt/rar/rar"
|
||||
QA_PRESTRIPPED=${QA_FLAGS_IGNORED}
|
||||
|
||||
src_unpack() {
|
||||
use x86 && unpack ${URI_x86##*/}
|
||||
use amd64 && unpack ${URI_amd64##*/}
|
||||
rm -f "${S}"/license.txt
|
||||
if use all_sfx ; then
|
||||
mkdir sfx
|
||||
cd sfx
|
||||
unpack ${URI_x86##*/}
|
||||
mv rar/default.sfx default-elf32.sfx || die
|
||||
unpack ${URI_amd64##*/}
|
||||
mv rar/default.sfx default-elf64.sfx || die
|
||||
ln -s "${DISTDIR}"/${URI_w64##*/} w64.rar
|
||||
unpack ./w64.rar
|
||||
mv Default.SFX default-win32.sfx || die
|
||||
mv Default64.SFX default-win64.sfx || die
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() { :; }
|
||||
|
||||
src_install() {
|
||||
exeinto /opt/rar
|
||||
doexe rar unrar || die
|
||||
use static && { newexe rar_static rar || die ; }
|
||||
|
||||
dodir /opt/bin
|
||||
dosym ../rar/rar /opt/bin/rar || die
|
||||
dosym ../rar/unrar /opt/bin/unrar || die
|
||||
|
||||
insinto /opt/rar
|
||||
if use all_sfx ; then
|
||||
doins "${WORKDIR}"/sfx/*.{sfx,SFX} || die
|
||||
else
|
||||
doins default.sfx || die
|
||||
fi
|
||||
doins rarfiles.lst || die
|
||||
dodoc *.txt
|
||||
}
|
@ -1,406 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
inherit python-any-r1 multiprocessing rpm
|
||||
|
||||
DESCRIPTION="A hackable text editor for the 21st Century"
|
||||
HOMEPAGE="https://atom.io"
|
||||
MY_PV="${PV//_/-}"
|
||||
|
||||
ELECTRON_V=1.3.5
|
||||
ELECTRON_SLOT=1.3
|
||||
|
||||
# All binary packages depend on this
|
||||
NAN_V=2.4.0
|
||||
|
||||
# Keep dep versions in sync with atom/package.json
|
||||
CACHED_RUN_IN_THIS_CONTEXT_V=0.4.1
|
||||
GIT_UTILS_V=4.1.2
|
||||
NODE_NSLOG_V=3.0.0
|
||||
NODE_ONIGURUMA_V=6.1.0
|
||||
NODE_PATHWATCHER_V=6.5.0
|
||||
NODE_RUNAS_V=3.1.1
|
||||
SCROLLBAR_STYLE_V=3.2.0
|
||||
SPELL_CHECK_V=0.68.5
|
||||
|
||||
# text-buffer dependencies
|
||||
BUFFER_OFFSET_INDEX_V=9588080533c9d0a8a71ee1cfd98596f485940e91
|
||||
MARKER_INDEX_V=4.0.1
|
||||
|
||||
# apm dependency
|
||||
NODE_KEYTAR_V=3.0.2
|
||||
|
||||
# atom-keymap dependency
|
||||
KEYBOARD_LAYOUT_V=2.0.7
|
||||
|
||||
# symbols-view dependency
|
||||
NODE_CTAGS_V=3.0.0
|
||||
|
||||
# spell-check dependency
|
||||
NODE_SPELLCHECKER_V=3.2.3
|
||||
|
||||
ASAR_V=0.12.1
|
||||
|
||||
# The x86_64 arch below is irrelevant, as we will rebuild all binary packages.
|
||||
SRC_URI="
|
||||
https://github.com/${PN}/${PN}/releases/download/v${MY_PV}/atom.x86_64.rpm -> atom-${MY_PV}.rpm
|
||||
https://github.com/elprans/asar/releases/download/v${ASAR_V}-gentoo/asar-build.tar.gz -> asar-${ASAR_V}.tar.gz
|
||||
https://github.com/nodejs/nan/archive/v${NAN_V}.tar.gz -> nodejs-nan-${NAN_V}.tar.gz
|
||||
https://github.com/atom/cached-run-in-this-context/archive/v${CACHED_RUN_IN_THIS_CONTEXT_V}.tar.gz -> atom-cached-run-in-this-context-${CACHED_RUN_IN_THIS_CONTEXT_V}.tar.gz
|
||||
https://github.com/atom/node-ctags/archive/v${NODE_CTAGS_V}.tar.gz -> atom-node-ctags-${NODE_CTAGS_V}.tar.gz
|
||||
https://github.com/atom/git-utils/archive/v${GIT_UTILS_V}.tar.gz -> atom-git-utils-${GIT_UTILS_V}.tar.gz
|
||||
https://github.com/atom/keyboard-layout/archive/v${KEYBOARD_LAYOUT_V}.tar.gz -> atom-keyboard-layout-${KEYBOARD_LAYOUT_V}.tar.gz
|
||||
https://github.com/atom/buffer-offset-index/archive/${BUFFER_OFFSET_INDEX_V}.tar.gz -> atom-buffer-offset-index-${BUFFER_OFFSET_INDEX_V}.tar.gz
|
||||
https://github.com/atom/marker-index/archive/v${MARKER_INDEX_V}.tar.gz -> atom-marker-index-${MARKER_INDEX_V}.tar.gz
|
||||
https://github.com/atom/node-keytar/archive/v${NODE_KEYTAR_V}.tar.gz -> atom-node-keytar-${NODE_KEYTAR_V}.tar.gz
|
||||
https://github.com/atom/node-nslog/archive/v${NODE_NSLOG_V}.tar.gz -> atom-node-nslog-${NODE_NSLOG_V}.tar.gz
|
||||
https://github.com/atom/node-oniguruma/archive/v${NODE_ONIGURUMA_V}.tar.gz -> atom-node-oniguruma-${NODE_ONIGURUMA_V}.tar.gz
|
||||
https://github.com/atom/node-pathwatcher/archive/v${NODE_PATHWATCHER_V}.tar.gz -> atom-node-pathwatcher-${NODE_PATHWATCHER_V}.tar.gz
|
||||
https://github.com/atom/node-runas/archive/v${NODE_RUNAS_V}.tar.gz -> atom-node-runas-${NODE_RUNAS_V}.tar.gz
|
||||
https://github.com/atom/scrollbar-style/archive/v${SCROLLBAR_STYLE_V}.tar.gz -> atom-scrollbar-style-${SCROLLBAR_STYLE_V}.tar.gz
|
||||
https://github.com/atom/node-spellchecker/archive/v${NODE_SPELLCHECKER_V}.tar.gz -> atom-node-spellchecker-${NODE_SPELLCHECKER_V}.tar.gz
|
||||
"
|
||||
|
||||
BINMODS="
|
||||
cached-run-in-this-context
|
||||
node-ctags
|
||||
git-utils
|
||||
keyboard-layout
|
||||
node-nslog
|
||||
node-oniguruma
|
||||
node-pathwatcher
|
||||
node-runas
|
||||
node-keytar
|
||||
scrollbar-style
|
||||
node-spellchecker
|
||||
marker-index
|
||||
buffer-offset-index
|
||||
"
|
||||
|
||||
RESTRICT="mirror"
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="
|
||||
${PYTHON_DEPS}
|
||||
>=app-text/hunspell-1.3.3:=
|
||||
>=dev-libs/libgit2-0.23:=[ssh]
|
||||
>=gnome-base/libgnome-keyring-3.12:=
|
||||
>=dev-libs/oniguruma-5.9.5:=
|
||||
>=dev-util/ctags-5.8
|
||||
>=dev-util/electron-1.3.5:${ELECTRON_SLOT}
|
||||
x11-libs/libxkbfile"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
!sys-apps/apmd
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
get_install_suffix() {
|
||||
local c=(${SLOT//\// })
|
||||
local slot=${c[0]}
|
||||
local suffix
|
||||
|
||||
if [[ "${slot}" == "0" ]]; then
|
||||
suffix=""
|
||||
else
|
||||
suffix="-${slot}"
|
||||
fi
|
||||
|
||||
echo -n "${suffix}"
|
||||
}
|
||||
|
||||
get_install_dir() {
|
||||
echo -n "/usr/$(get_libdir)/atom$(get_install_suffix)"
|
||||
}
|
||||
|
||||
get_electron_dir() {
|
||||
echo -n "/usr/$(get_libdir)/electron-${ELECTRON_SLOT}"
|
||||
}
|
||||
|
||||
get_electron_nodedir() {
|
||||
echo -n "/usr/include/electron-${ELECTRON_SLOT}/node/"
|
||||
}
|
||||
|
||||
enode_electron() {
|
||||
"$(get_electron_dir)"/node $@
|
||||
}
|
||||
|
||||
enodegyp_atom() {
|
||||
local apmpath="/usr/share/atom/resources/app/apm"
|
||||
local nodegyp="${S}/${apmpath}/node_modules/node-gyp/bin/node-gyp.js"
|
||||
|
||||
PATH="$(get_electron_dir):${PATH}" \
|
||||
enode_electron "${nodegyp}" \
|
||||
--nodedir="$(get_electron_nodedir)" $@ || die
|
||||
}
|
||||
|
||||
easar() {
|
||||
local asar="${WORKDIR}/$(package_dir asar)/node_modules/asar/bin/asar"
|
||||
echo "asar" $@
|
||||
enode_electron "${asar}" $@ || die
|
||||
}
|
||||
|
||||
package_dir() {
|
||||
local binmod="${1//-/_}"
|
||||
local binmod_v="${binmod^^}_V"
|
||||
echo -n ${1}-${!binmod_v}
|
||||
}
|
||||
|
||||
_unpack_npm_package() {
|
||||
local a="${1}" basename suffix
|
||||
|
||||
basename=${a%.*}
|
||||
suffix=${basename##*.}
|
||||
if [[ "${suffix}" == "tar" ]]; then
|
||||
basename=${basename%.*}
|
||||
fi
|
||||
|
||||
unpack ${a}
|
||||
mv package "${basename}" || die
|
||||
}
|
||||
|
||||
_have_patches_for() {
|
||||
local _patches="${1}-*.patch" _find
|
||||
_find=$(find "${FILESDIR}" -maxdepth 1 -name "${_patches}" -print -quit)
|
||||
test -n "$_find"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
local a
|
||||
|
||||
for a in ${A} ; do
|
||||
case ${a} in
|
||||
*.rpm) srcrpm_unpack "${a}" ;;
|
||||
*) unpack "${a}" ;;
|
||||
esac
|
||||
done
|
||||
|
||||
mkdir "${WORKDIR}/atom-${MY_PV}" || die
|
||||
mv "${WORKDIR}/usr" "${WORKDIR}/atom-${MY_PV}" || die
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local install_dir="$(get_install_dir)"
|
||||
local suffix="$(get_install_suffix)"
|
||||
local patch binmod _s nan_s="${WORKDIR}/nan-${NAN_V}"
|
||||
|
||||
cd "${S}/usr/share/atom/resources/app" || die
|
||||
eapply "${FILESDIR}/${PN}-python.patch"
|
||||
eapply "${FILESDIR}/${PN}-unbundle-electron.patch"
|
||||
|
||||
sed -i -e "s|{{NPM_CONFIG_NODEDIR}}|$(get_electron_nodedir)|g" \
|
||||
./atom.sh \
|
||||
|| die
|
||||
|
||||
sed -i -e "s|{{ATOM_PATH}}|$(get_electron_dir)/electron|g" \
|
||||
./atom.sh \
|
||||
|| die
|
||||
|
||||
sed -i -e "s|{{ATOM_RESOURCE_PATH}}|${install_dir}/app.asar|g" \
|
||||
./atom.sh \
|
||||
|| die
|
||||
|
||||
local env="export NPM_CONFIG_NODEDIR=$(get_electron_nodedir)"
|
||||
sed -i -e \
|
||||
"s|\"\$binDir/\$nodeBin\"|${env}\nexec $(get_electron_dir)/node|g" \
|
||||
apm/bin/apm || die
|
||||
|
||||
sed -i -e \
|
||||
"s|^\([[:space:]]*\)node[[:space:]]\+|\1\"$(get_electron_dir)/node\" |g" \
|
||||
apm/node_modules/npm/bin/node-gyp-bin/node-gyp || die
|
||||
|
||||
rm apm/bin/node || die
|
||||
|
||||
sed -i -e "s|/usr/share/atom/atom|/usr/bin/atom|g" \
|
||||
"${S}/usr/share/applications/atom.desktop" || die
|
||||
|
||||
cd "${S}" || die
|
||||
|
||||
for binmod in ${BINMODS}; do
|
||||
_s="${WORKDIR}/$(package_dir ${binmod})"
|
||||
cd "${_s}" || die
|
||||
if _have_patches_for "${binmod}"; then
|
||||
for patch in "${FILESDIR}"/${binmod}-*.patch; do
|
||||
eapply "${patch}"
|
||||
done
|
||||
fi
|
||||
done
|
||||
|
||||
# Unbundle bundled libs from modules
|
||||
|
||||
_s="${WORKDIR}/$(package_dir git-utils)"
|
||||
${EPYTHON} "${FILESDIR}/gyp-unbundle.py" \
|
||||
--inplace --unbundle "git;libgit2;git2" \
|
||||
"${_s}/binding.gyp" || die
|
||||
|
||||
_s="${WORKDIR}/$(package_dir node-oniguruma)"
|
||||
${EPYTHON} "${FILESDIR}/gyp-unbundle.py" \
|
||||
--inplace --unbundle "onig_scanner;oniguruma;onig" \
|
||||
"${_s}/binding.gyp" || die
|
||||
|
||||
_s="${WORKDIR}/$(package_dir node-spellchecker)"
|
||||
${EPYTHON} "${FILESDIR}/gyp-unbundle.py" \
|
||||
--inplace --unbundle "spellchecker;hunspell;hunspell" \
|
||||
"${_s}/binding.gyp" || die
|
||||
|
||||
for binmod in ${BINMODS}; do
|
||||
_s="${WORKDIR}/$(package_dir ${binmod})"
|
||||
mkdir -p "${_s}/node_modules" || die
|
||||
ln -s "${nan_s}" "${_s}/node_modules/nan" || die
|
||||
done
|
||||
|
||||
# Unpack app.asar
|
||||
easar extract "${S}/usr/share/atom/resources/app.asar" "${S}/build/app"
|
||||
|
||||
cd "${S}" || die
|
||||
|
||||
eapply "${FILESDIR}/atom-1.13-apm-path.patch"
|
||||
eapply "${FILESDIR}/atom-license-path.patch"
|
||||
eapply "${FILESDIR}/atom-fix-app-restart.patch"
|
||||
|
||||
sed -i -e "s|{{ATOM_SUFFIX}}|${suffix}|g" \
|
||||
"${S}/build/app/src/config-schema.js" || die
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local binmod _s
|
||||
|
||||
for binmod in ${BINMODS}; do
|
||||
einfo "Configuring ${binmod}..."
|
||||
_s="${WORKDIR}/$(package_dir ${binmod})"
|
||||
cd "${_s}" || die
|
||||
enodegyp_atom configure
|
||||
done
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local binmod _s x
|
||||
local ctags_d="node_modules/symbols-view/vendor"
|
||||
local jobs=$(makeopts_jobs) gypopts
|
||||
|
||||
gypopts="--verbose"
|
||||
|
||||
if [[ ${MAKEOPTS} == *-j* && ${jobs} != 999 ]]; then
|
||||
gypopts+=" --jobs ${jobs}"
|
||||
fi
|
||||
|
||||
mkdir -p "${S}/build/modules/" || die
|
||||
|
||||
for binmod in ${BINMODS}; do
|
||||
einfo "Building ${binmod}..."
|
||||
_s="${WORKDIR}/$(package_dir ${binmod})"
|
||||
cd "${_s}" || die
|
||||
enodegyp_atom ${gypopts} build
|
||||
x=${binmod##node-}
|
||||
mkdir -p "${S}/build/modules/${x}" || die
|
||||
cp build/Release/*.node "${S}/build/modules/${x}" || die
|
||||
done
|
||||
|
||||
# Put compiled binary modules in place
|
||||
_fix_binmods "${S}/build" "app"
|
||||
_fix_binmods "${S}/usr/share/atom/resources" "app"
|
||||
|
||||
# Remove non-Linux vendored ctags binaries
|
||||
rm "${S}/build/app/${ctags_d}/ctags-darwin" \
|
||||
"${S}/build/app/${ctags_d}/ctags-win32.exe" || die
|
||||
|
||||
# Re-pack app.asar
|
||||
# Keep unpack rules in sync with build/tasks/generate-asar-task.coffee
|
||||
cd "${S}/build" || die
|
||||
x="--unpack={*.node,ctags-config,ctags-linux,**/node_modules/spellchecker/**,**/resources/atom.png}"
|
||||
easar pack "${x}" "app" "app.asar"
|
||||
cd "${S}" || die
|
||||
}
|
||||
|
||||
_fix_binmods() {
|
||||
local _dir="${2}" _prefix="${1}" path relpath modpath mod depth link f d
|
||||
local cruft
|
||||
|
||||
(find "${_prefix}/${_dir}" -name '*.node' -print || die) \
|
||||
| while IFS= read -r path; do
|
||||
f=$(basename "${path}")
|
||||
d=$(dirname "${path}")
|
||||
relpath=${path#${_prefix}}
|
||||
relpath=${relpath##/}
|
||||
relpath=${relpath#W${_dir}}
|
||||
modpath=$(dirname ${relpath})
|
||||
modpath=${modpath%build/Release}
|
||||
mod=$(basename ${modpath})
|
||||
|
||||
# must copy here as symlinks will cause the module loading to fail
|
||||
cp -f "${S}/build/modules/${mod}/${f}" "${path}" || die
|
||||
cruft=$(find "${d}" -name '*.a' -print)
|
||||
if [[ -n "${cruft}" ]]; then
|
||||
rm ${cruft} || die
|
||||
fi
|
||||
done
|
||||
}
|
||||
|
||||
_fix_executables() {
|
||||
local _dir="${1}" _node_sb="#!$(get_electron_dir)"/node
|
||||
|
||||
(find -L "${ED}/${_dir}" -maxdepth 1 -mindepth 1 -type f -print || die) \
|
||||
| while IFS= read -r f; do
|
||||
IFS= read -r shebang < "${f}"
|
||||
|
||||
if [[ ${shebang} == '#!'* ]]; then
|
||||
fperms +x "${f#${ED}}"
|
||||
if [[ "${shebang}" == "#!/usr/bin/env node" || "${shebang}" == "#!/usr/bin/node" ]]; then
|
||||
einfo "Fixing node shebang in ${f#${ED}}"
|
||||
sed --follow-symlinks -i \
|
||||
-e "1s:${shebang}$:${_node_sb}:" "${f}" || die
|
||||
fi
|
||||
fi
|
||||
done || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local install_dir="$(get_install_dir)"
|
||||
local suffix="$(get_install_suffix)"
|
||||
local ctags_d="node_modules/symbols-view/vendor"
|
||||
|
||||
cd "${S}" || die
|
||||
|
||||
# Replace vendored ctags with a symlink to system ctags
|
||||
rm "${S}/build/app.asar.unpacked/${ctags_d}/ctags-linux" || die
|
||||
ln -s "/usr/bin/ctags" \
|
||||
"${S}/build/app.asar.unpacked/${ctags_d}/ctags-linux" || die
|
||||
|
||||
insinto "${install_dir}"
|
||||
|
||||
doins build/app.asar
|
||||
doins -r build/app.asar.unpacked
|
||||
doins -r usr/share/atom/resources/app
|
||||
|
||||
insinto /usr/share/applications/
|
||||
newins usr/share/applications/atom.desktop "atom${suffix}.desktop"
|
||||
|
||||
insinto /usr/share/icons/
|
||||
doins -r usr/share/icons/hicolor
|
||||
|
||||
exeinto "${install_dir}"
|
||||
newexe usr/share/atom/resources/app/atom.sh atom
|
||||
insinto /usr/share/licenses/"${PN}${suffix}"
|
||||
doins usr/share/atom/resources/LICENSE.md
|
||||
dosym "${install_dir}/atom" "/usr/bin/atom${suffix}"
|
||||
dosym "${install_dir}/app/apm/bin/apm" "/usr/bin/apm${suffix}"
|
||||
|
||||
_fix_executables "${install_dir}/app/apm/bin"
|
||||
_fix_executables "${install_dir}/app/apm/node_modules/.bin"
|
||||
_fix_executables "${install_dir}/app/apm/node_modules/npm/bin"
|
||||
_fix_executables "${install_dir}/app/apm/node_modules/npm/bin/node-gyp-bin"
|
||||
_fix_executables "${install_dir}/app/apm/node_modules/node-gyp/bin"
|
||||
}
|
@ -0,0 +1,77 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Vim-fork focused on extensibility and agility."
|
||||
HOMEPAGE="https://neovim.io"
|
||||
if [[ ${PV} == 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="git://github.com/neovim/neovim.git"
|
||||
else
|
||||
SRC_URI="https://github.com/neovim/neovim/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0 vim"
|
||||
SLOT="0"
|
||||
IUSE="+clipboard +luajit +nvimpager python ruby +tui +jemalloc"
|
||||
|
||||
CDEPEND=">=dev-libs/libuv-1.2.0
|
||||
>=dev-libs/msgpack-1.0.0
|
||||
luajit? ( dev-lang/luajit:2 )
|
||||
!luajit? (
|
||||
dev-lang/lua:=
|
||||
dev-lua/LuaBitOp
|
||||
)
|
||||
tui? (
|
||||
>=dev-libs/libtermkey-0.19
|
||||
>=dev-libs/unibilium-1.1.1
|
||||
)
|
||||
dev-libs/libvterm
|
||||
dev-lua/lpeg[luajit=]
|
||||
dev-lua/mpack[luajit=]
|
||||
jemalloc? ( dev-libs/jemalloc )
|
||||
"
|
||||
DEPEND="${CDEPEND}
|
||||
virtual/libiconv
|
||||
virtual/libintl"
|
||||
RDEPEND="${CDEPEND}
|
||||
python? ( dev-python/neovim-python-client )
|
||||
ruby? ( dev-ruby/neovim-ruby-client )
|
||||
clipboard? ( || ( x11-misc/xsel x11-misc/xclip ) )"
|
||||
|
||||
CMAKE_BUILD_TYPE=RelWithDebInfo
|
||||
|
||||
src_prepare() {
|
||||
# use our system vim dir
|
||||
sed -e '/^# define SYS_VIMRC_FILE/s|$VIM|'"${EPREFIX}"'/etc/vim|' \
|
||||
-i src/nvim/globals.h || die
|
||||
|
||||
# add eclass to bash filetypes
|
||||
sed -e 's|*.ebuild|*.ebuild,*.eclass|' -i runtime/filetype.vim || die
|
||||
|
||||
cmake-utils_src_prepare
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DFEAT_TUI=$(usex tui)
|
||||
-DENABLE_JEMALLOC=$(usex jemalloc)
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
# install a default configuration file
|
||||
insinto /etc/vim
|
||||
doins "${FILESDIR}"/sysinit.vim
|
||||
|
||||
# conditionally install a symlink for nvimpager
|
||||
if use nvimpager; then
|
||||
dosym /usr/share/nvim/runtime/macros/less.sh /usr/bin/nvimpager
|
||||
fi
|
||||
}
|
@ -0,0 +1,772 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE="ncurses,readline"
|
||||
|
||||
PLOCALES="bg de_DE fr_FR hu it tr zh_CN"
|
||||
|
||||
FIRMWARE_ABI_VERSION="2.9.0-r50"
|
||||
|
||||
inherit eutils flag-o-matic linux-info toolchain-funcs multilib python-r1 \
|
||||
user udev fcaps readme.gentoo-r1 pax-utils l10n
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
EGIT_REPO_URI="git://git.qemu.org/qemu.git"
|
||||
inherit git-r3
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="http://wiki.qemu-project.org/download/${P}.tar.bz2"
|
||||
KEYWORDS=""
|
||||
#KEYWORDS="~amd64 ~arm64 ~ppc ~ppc64 ~x86 ~x86-fbsd"
|
||||
fi
|
||||
|
||||
DESCRIPTION="QEMU + Kernel-based Virtual Machine userland tools"
|
||||
HOMEPAGE="http://www.qemu.org http://www.linux-kvm.org"
|
||||
|
||||
LICENSE="GPL-2 LGPL-2 BSD-2"
|
||||
SLOT="0"
|
||||
IUSE="accessibility +aio alsa bluetooth bzip2 +caps +curl debug +fdt
|
||||
glusterfs gnutls gtk gtk2 infiniband iscsi +jpeg kernel_linux
|
||||
kernel_FreeBSD lzo ncurses nfs nls numa opengl +pin-upstream-blobs +png
|
||||
pulseaudio python rbd sasl +seccomp sdl sdl2 selinux smartcard snappy
|
||||
spice ssh static static-user systemtap tci test usb usbredir vde
|
||||
+vhost-net virgl virtfs +vnc vte xattr xen xfs"
|
||||
|
||||
COMMON_TARGETS="aarch64 alpha arm cris i386 m68k microblaze microblazeel
|
||||
mips mips64 mips64el mipsel nios2 or1k ppc ppc64 s390x sh4 sh4eb sparc
|
||||
sparc64 x86_64"
|
||||
IUSE_SOFTMMU_TARGETS="${COMMON_TARGETS}
|
||||
lm32 moxie ppcemb tricore unicore32 xtensa xtensaeb"
|
||||
IUSE_USER_TARGETS="${COMMON_TARGETS}
|
||||
armeb hppa mipsn32 mipsn32el ppc64abi32 ppc64le sparc32plus tilegx"
|
||||
|
||||
use_softmmu_targets=$(printf ' qemu_softmmu_targets_%s' ${IUSE_SOFTMMU_TARGETS})
|
||||
use_user_targets=$(printf ' qemu_user_targets_%s' ${IUSE_USER_TARGETS})
|
||||
IUSE+=" ${use_softmmu_targets} ${use_user_targets}"
|
||||
|
||||
# Allow no targets to be built so that people can get a tools-only build.
|
||||
# Block USE flag configurations known to not work.
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}
|
||||
gtk2? ( gtk )
|
||||
qemu_softmmu_targets_arm? ( fdt )
|
||||
qemu_softmmu_targets_microblaze? ( fdt )
|
||||
qemu_softmmu_targets_ppc? ( fdt )
|
||||
qemu_softmmu_targets_ppc64? ( fdt )
|
||||
sdl2? ( sdl )
|
||||
static? ( static-user !alsa !bluetooth !gtk !gtk2 !opengl !pulseaudio )
|
||||
virtfs? ( xattr )
|
||||
vte? ( gtk )"
|
||||
|
||||
# Dependencies required for qemu tools (qemu-nbd, qemu-img, qemu-io, ...)
|
||||
# and user/softmmu targets (qemu-*, qemu-system-*).
|
||||
#
|
||||
# Yep, you need both libcap and libcap-ng since virtfs only uses libcap.
|
||||
#
|
||||
# The attr lib isn't always linked in (although the USE flag is always
|
||||
# respected). This is because qemu supports using the C library's API
|
||||
# when available rather than always using the extranl library.
|
||||
ALL_DEPEND="
|
||||
>=dev-libs/glib-2.0[static-libs(+)]
|
||||
sys-libs/zlib[static-libs(+)]
|
||||
python? ( ${PYTHON_DEPS} )
|
||||
systemtap? ( dev-util/systemtap )
|
||||
xattr? ( sys-apps/attr[static-libs(+)] )"
|
||||
|
||||
# Dependencies required for qemu tools (qemu-nbd, qemu-img, qemu-io, ...)
|
||||
# softmmu targets (qemu-system-*).
|
||||
SOFTMMU_TOOLS_DEPEND="
|
||||
>=x11-libs/pixman-0.28.0[static-libs(+)]
|
||||
accessibility? (
|
||||
app-accessibility/brltty[api]
|
||||
app-accessibility/brltty[static-libs(+)]
|
||||
)
|
||||
aio? ( dev-libs/libaio[static-libs(+)] )
|
||||
alsa? ( >=media-libs/alsa-lib-1.0.13 )
|
||||
bluetooth? ( net-wireless/bluez )
|
||||
bzip2? ( app-arch/bzip2[static-libs(+)] )
|
||||
caps? ( sys-libs/libcap-ng[static-libs(+)] )
|
||||
curl? ( >=net-misc/curl-7.15.4[static-libs(+)] )
|
||||
fdt? ( >=sys-apps/dtc-1.4.0[static-libs(+)] )
|
||||
glusterfs? ( >=sys-cluster/glusterfs-3.4.0[static-libs(+)] )
|
||||
gnutls? (
|
||||
dev-libs/nettle:=[static-libs(+)]
|
||||
>=net-libs/gnutls-3.0:=[static-libs(+)]
|
||||
)
|
||||
gtk? (
|
||||
gtk2? (
|
||||
x11-libs/gtk+:2
|
||||
vte? ( x11-libs/vte:0 )
|
||||
)
|
||||
!gtk2? (
|
||||
x11-libs/gtk+:3
|
||||
vte? ( x11-libs/vte:2.91 )
|
||||
)
|
||||
)
|
||||
infiniband? ( sys-fabric/librdmacm:=[static-libs(+)] )
|
||||
iscsi? ( net-libs/libiscsi )
|
||||
jpeg? ( virtual/jpeg:0=[static-libs(+)] )
|
||||
lzo? ( dev-libs/lzo:2[static-libs(+)] )
|
||||
ncurses? (
|
||||
sys-libs/ncurses:0=[unicode]
|
||||
sys-libs/ncurses:0=[static-libs(+)]
|
||||
)
|
||||
nfs? ( >=net-fs/libnfs-1.9.3[static-libs(+)] )
|
||||
numa? ( sys-process/numactl[static-libs(+)] )
|
||||
opengl? (
|
||||
virtual/opengl
|
||||
media-libs/libepoxy[static-libs(+)]
|
||||
media-libs/mesa[static-libs(+)]
|
||||
media-libs/mesa[egl,gbm]
|
||||
)
|
||||
png? ( media-libs/libpng:0=[static-libs(+)] )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
rbd? ( sys-cluster/ceph[static-libs(+)] )
|
||||
sasl? ( dev-libs/cyrus-sasl[static-libs(+)] )
|
||||
sdl? (
|
||||
!sdl2? (
|
||||
media-libs/libsdl[X]
|
||||
>=media-libs/libsdl-1.2.11[static-libs(+)]
|
||||
)
|
||||
sdl2? (
|
||||
media-libs/libsdl2[X]
|
||||
media-libs/libsdl2[static-libs(+)]
|
||||
)
|
||||
)
|
||||
seccomp? ( >=sys-libs/libseccomp-2.1.0[static-libs(+)] )
|
||||
smartcard? ( >=app-emulation/libcacard-2.5.0[static-libs(+)] )
|
||||
snappy? ( app-arch/snappy[static-libs(+)] )
|
||||
spice? (
|
||||
>=app-emulation/spice-protocol-0.12.3
|
||||
>=app-emulation/spice-0.12.0[static-libs(+)]
|
||||
)
|
||||
ssh? ( >=net-libs/libssh2-1.2.8[static-libs(+)] )
|
||||
usb? ( >=virtual/libusb-1-r2[static-libs(+)] )
|
||||
usbredir? ( >=sys-apps/usbredir-0.6[static-libs(+)] )
|
||||
vde? ( net-misc/vde[static-libs(+)] )
|
||||
virgl? ( media-libs/virglrenderer[static-libs(+)] )
|
||||
virtfs? ( sys-libs/libcap )
|
||||
xen? ( app-emulation/xen-tools:= )
|
||||
xfs? ( sys-fs/xfsprogs[static-libs(+)] )"
|
||||
|
||||
X86_FIRMWARE_DEPEND="
|
||||
pin-upstream-blobs? (
|
||||
~sys-firmware/ipxe-1.0.0_p20160620
|
||||
~sys-firmware/seabios-1.10.1[binary,seavgabios]
|
||||
~sys-firmware/sgabios-0.1_pre8
|
||||
)
|
||||
!pin-upstream-blobs? (
|
||||
sys-firmware/ipxe
|
||||
sys-firmware/seabios[seavgabios]
|
||||
sys-firmware/sgabios
|
||||
)"
|
||||
|
||||
CDEPEND="
|
||||
!static? (
|
||||
${ALL_DEPEND//\[static-libs(+)]}
|
||||
${SOFTMMU_TOOLS_DEPEND//\[static-libs(+)]}
|
||||
)
|
||||
qemu_softmmu_targets_i386? ( ${X86_FIRMWARE_DEPEND} )
|
||||
qemu_softmmu_targets_x86_64? ( ${X86_FIRMWARE_DEPEND} )"
|
||||
DEPEND="${CDEPEND}
|
||||
dev-lang/perl
|
||||
=dev-lang/python-2*
|
||||
sys-apps/texinfo
|
||||
virtual/pkgconfig
|
||||
kernel_linux? ( >=sys-kernel/linux-headers-2.6.35 )
|
||||
gtk? ( nls? ( sys-devel/gettext ) )
|
||||
static? (
|
||||
${ALL_DEPEND}
|
||||
${SOFTMMU_TOOLS_DEPEND}
|
||||
)
|
||||
static-user? ( ${ALL_DEPEND} )
|
||||
test? (
|
||||
dev-libs/glib[utils]
|
||||
sys-devel/bc
|
||||
)"
|
||||
RDEPEND="${CDEPEND}
|
||||
selinux? ( sec-policy/selinux-qemu )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-2.5.0-cflags.patch
|
||||
"${FILESDIR}"/${PN}-2.5.0-sysmacros.patch
|
||||
"${FILESDIR}"/${PN}-2.9.0-bug616870.patch
|
||||
"${FILESDIR}"/${PN}-2.9.0-bug616872.patch
|
||||
"${FILESDIR}"/${PN}-2.9.0-bug616874.patch
|
||||
"${FILESDIR}"/${PN}-2.9.0-CVE-2017-8112.patch
|
||||
)
|
||||
|
||||
STRIP_MASK="/usr/share/qemu/palcode-clipper"
|
||||
|
||||
QA_PREBUILT="
|
||||
usr/share/qemu/openbios-ppc
|
||||
usr/share/qemu/openbios-sparc64
|
||||
usr/share/qemu/openbios-sparc32
|
||||
usr/share/qemu/palcode-clipper
|
||||
usr/share/qemu/s390-ccw.img
|
||||
usr/share/qemu/u-boot.e500"
|
||||
|
||||
QA_WX_LOAD="usr/bin/qemu-i386
|
||||
usr/bin/qemu-x86_64
|
||||
usr/bin/qemu-alpha
|
||||
usr/bin/qemu-arm
|
||||
usr/bin/qemu-cris
|
||||
usr/bin/qemu-m68k
|
||||
usr/bin/qemu-microblaze
|
||||
usr/bin/qemu-microblazeel
|
||||
usr/bin/qemu-mips
|
||||
usr/bin/qemu-mipsel
|
||||
usr/bin/qemu-or1k
|
||||
usr/bin/qemu-ppc
|
||||
usr/bin/qemu-ppc64
|
||||
usr/bin/qemu-ppc64abi32
|
||||
usr/bin/qemu-sh4
|
||||
usr/bin/qemu-sh4eb
|
||||
usr/bin/qemu-sparc
|
||||
usr/bin/qemu-sparc64
|
||||
usr/bin/qemu-armeb
|
||||
usr/bin/qemu-sparc32plus
|
||||
usr/bin/qemu-s390x
|
||||
usr/bin/qemu-unicore32"
|
||||
|
||||
DOC_CONTENTS="If you don't have kvm compiled into the kernel, make sure you have the
|
||||
kernel module loaded before running kvm. The easiest way to ensure that the
|
||||
kernel module is loaded is to load it on boot.
|
||||
For AMD CPUs the module is called 'kvm-amd'.
|
||||
For Intel CPUs the module is called 'kvm-intel'.
|
||||
Please review /etc/conf.d/modules for how to load these.
|
||||
|
||||
Make sure your user is in the 'kvm' group. Just run
|
||||
$ gpasswd -a <USER> kvm
|
||||
then have <USER> re-login.
|
||||
|
||||
For brand new installs, the default permissions on /dev/kvm might not let
|
||||
you access it. You can tell udev to reset ownership/perms:
|
||||
$ udevadm trigger -c add /dev/kvm
|
||||
|
||||
If you want to register binfmt handlers for qemu user targets:
|
||||
For openrc:
|
||||
# rc-update add qemu-binfmt
|
||||
For systemd:
|
||||
# ln -s /usr/share/qemu/binfmt.d/qemu.conf /etc/binfmt.d/qemu.conf"
|
||||
|
||||
pkg_pretend() {
|
||||
if use kernel_linux && kernel_is lt 2 6 25; then
|
||||
eerror "This version of KVM requres a host kernel of 2.6.25 or higher."
|
||||
elif use kernel_linux; then
|
||||
if ! linux_config_exists; then
|
||||
eerror "Unable to check your kernel for KVM support"
|
||||
else
|
||||
CONFIG_CHECK="~KVM ~TUN ~BRIDGE"
|
||||
ERROR_KVM="You must enable KVM in your kernel to continue"
|
||||
ERROR_KVM_AMD="If you have an AMD CPU, you must enable KVM_AMD in"
|
||||
ERROR_KVM_AMD+=" your kernel configuration."
|
||||
ERROR_KVM_INTEL="If you have an Intel CPU, you must enable"
|
||||
ERROR_KVM_INTEL+=" KVM_INTEL in your kernel configuration."
|
||||
ERROR_TUN="You will need the Universal TUN/TAP driver compiled"
|
||||
ERROR_TUN+=" into your kernel or loaded as a module to use the"
|
||||
ERROR_TUN+=" virtual network device if using -net tap."
|
||||
ERROR_BRIDGE="You will also need support for 802.1d"
|
||||
ERROR_BRIDGE+=" Ethernet Bridging for some network configurations."
|
||||
use vhost-net && CONFIG_CHECK+=" ~VHOST_NET"
|
||||
ERROR_VHOST_NET="You must enable VHOST_NET to have vhost-net"
|
||||
ERROR_VHOST_NET+=" support"
|
||||
|
||||
if use amd64 || use x86 || use amd64-linux || use x86-linux; then
|
||||
CONFIG_CHECK+=" ~KVM_AMD ~KVM_INTEL"
|
||||
fi
|
||||
|
||||
use python && CONFIG_CHECK+=" ~DEBUG_FS"
|
||||
ERROR_DEBUG_FS="debugFS support required for kvm_stat"
|
||||
|
||||
# Now do the actual checks setup above
|
||||
check_extra_config
|
||||
fi
|
||||
fi
|
||||
|
||||
if grep -qs '/usr/bin/qemu-kvm' "${EROOT}"/etc/libvirt/qemu/*.xml; then
|
||||
eerror "The kvm/qemu-kvm wrappers no longer exist, but your libvirt"
|
||||
eerror "instances are still pointing to it. Please update your"
|
||||
eerror "configs in /etc/libvirt/qemu/ to use the -enable-kvm flag"
|
||||
eerror "and the right system binary (e.g. qemu-system-x86_64)."
|
||||
die "update your virt configs to not use qemu-kvm"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup kvm 78
|
||||
}
|
||||
|
||||
# Sanity check to make sure target lists are kept up-to-date.
|
||||
check_targets() {
|
||||
local var=$1 mak=$2
|
||||
local detected sorted
|
||||
|
||||
pushd "${S}"/default-configs >/dev/null || die
|
||||
|
||||
# Force C locale until glibc is updated. #564936
|
||||
detected=$(echo $(printf '%s\n' *-${mak}.mak | sed "s:-${mak}.mak::" | LC_COLLATE=C sort -u))
|
||||
sorted=$(echo $(printf '%s\n' ${!var} | LC_COLLATE=C sort -u))
|
||||
if [[ ${sorted} != "${detected}" ]] ; then
|
||||
eerror "The ebuild needs to be kept in sync."
|
||||
eerror "${var}: ${sorted}"
|
||||
eerror "$(printf '%-*s' ${#var} configure): ${detected}"
|
||||
die "sync ${var} to the list of targets"
|
||||
fi
|
||||
|
||||
popd >/dev/null
|
||||
}
|
||||
|
||||
handle_locales() {
|
||||
# Make sure locale list is kept up-to-date.
|
||||
local detected sorted
|
||||
detected=$(echo $(cd po && printf '%s\n' *.po | grep -v messages.po | sed 's:.po$::' | sort -u))
|
||||
sorted=$(echo $(printf '%s\n' ${PLOCALES} | sort -u))
|
||||
if [[ ${sorted} != "${detected}" ]] ; then
|
||||
eerror "The ebuild needs to be kept in sync."
|
||||
eerror "PLOCALES: ${sorted}"
|
||||
eerror " po/*.po: ${detected}"
|
||||
die "sync PLOCALES"
|
||||
fi
|
||||
|
||||
# Deal with selective install of locales.
|
||||
if use nls ; then
|
||||
# Delete locales the user does not want. #577814
|
||||
rm_loc() { rm po/$1.po || die; }
|
||||
l10n_for_each_disabled_locale_do rm_loc
|
||||
else
|
||||
# Cheap hack to disable gettext .mo generation.
|
||||
rm -f po/*.po
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
check_targets IUSE_SOFTMMU_TARGETS softmmu
|
||||
check_targets IUSE_USER_TARGETS linux-user
|
||||
|
||||
# Alter target makefiles to accept CFLAGS set via flag-o
|
||||
sed -i -r \
|
||||
-e 's/^(C|OP_C|HELPER_C)FLAGS=/\1FLAGS+=/' \
|
||||
Makefile Makefile.target || die
|
||||
|
||||
default
|
||||
|
||||
# Fix ld and objcopy being called directly
|
||||
tc-export AR LD OBJCOPY
|
||||
|
||||
# Verbose builds
|
||||
MAKEOPTS+=" V=1"
|
||||
|
||||
# Run after we've applied all patches.
|
||||
handle_locales
|
||||
}
|
||||
|
||||
##
|
||||
# configures qemu based on the build directory and the build type
|
||||
# we are using.
|
||||
#
|
||||
qemu_src_configure() {
|
||||
debug-print-function ${FUNCNAME} "$@"
|
||||
|
||||
local buildtype=$1
|
||||
local builddir="${S}/${buildtype}-build"
|
||||
|
||||
mkdir "${builddir}"
|
||||
|
||||
local conf_opts=(
|
||||
--prefix=/usr
|
||||
--sysconfdir=/etc
|
||||
--libdir=/usr/$(get_libdir)
|
||||
--docdir=/usr/share/doc/${PF}/html
|
||||
--disable-bsd-user
|
||||
--disable-guest-agent
|
||||
--disable-strip
|
||||
--disable-werror
|
||||
# We support gnutls/nettle for crypto operations. It is possible
|
||||
# to use gcrypt when gnutls/nettle are disabled (but not when they
|
||||
# are enabled), but it's not really worth the hassle. Disable it
|
||||
# all the time to avoid automatically detecting it. #568856
|
||||
--disable-gcrypt
|
||||
--python="${PYTHON}"
|
||||
--cc="$(tc-getCC)"
|
||||
--cxx="$(tc-getCXX)"
|
||||
--host-cc="$(tc-getBUILD_CC)"
|
||||
$(use_enable debug debug-info)
|
||||
$(use_enable debug debug-tcg)
|
||||
--enable-docs
|
||||
$(use_enable tci tcg-interpreter)
|
||||
$(use_enable xattr attr)
|
||||
)
|
||||
|
||||
# Disable options not used by user targets. This simplifies building
|
||||
# static user targets (USE=static-user) considerably.
|
||||
conf_notuser() {
|
||||
if [[ ${buildtype} == "user" ]] ; then
|
||||
echo "--disable-${2:-$1}"
|
||||
else
|
||||
use_enable "$@"
|
||||
fi
|
||||
}
|
||||
conf_opts+=(
|
||||
$(conf_notuser accessibility brlapi)
|
||||
$(conf_notuser aio linux-aio)
|
||||
$(conf_notuser bzip2)
|
||||
$(conf_notuser bluetooth bluez)
|
||||
$(conf_notuser caps cap-ng)
|
||||
$(conf_notuser curl)
|
||||
$(conf_notuser fdt)
|
||||
$(conf_notuser glusterfs)
|
||||
$(conf_notuser gnutls)
|
||||
$(conf_notuser gnutls nettle)
|
||||
$(conf_notuser gtk)
|
||||
$(conf_notuser infiniband rdma)
|
||||
$(conf_notuser iscsi libiscsi)
|
||||
$(conf_notuser jpeg vnc-jpeg)
|
||||
$(conf_notuser kernel_linux kvm)
|
||||
$(conf_notuser lzo)
|
||||
$(conf_notuser ncurses curses)
|
||||
$(conf_notuser nfs libnfs)
|
||||
$(conf_notuser numa)
|
||||
$(conf_notuser opengl)
|
||||
$(conf_notuser png vnc-png)
|
||||
$(conf_notuser rbd)
|
||||
$(conf_notuser sasl vnc-sasl)
|
||||
$(conf_notuser sdl)
|
||||
$(conf_notuser seccomp)
|
||||
$(conf_notuser smartcard)
|
||||
$(conf_notuser snappy)
|
||||
$(conf_notuser spice)
|
||||
$(conf_notuser ssh libssh2)
|
||||
$(conf_notuser usb libusb)
|
||||
$(conf_notuser usbredir usb-redir)
|
||||
$(conf_notuser vde)
|
||||
$(conf_notuser vhost-net)
|
||||
$(conf_notuser virgl virglrenderer)
|
||||
$(conf_notuser virtfs)
|
||||
$(conf_notuser vnc)
|
||||
$(conf_notuser vte)
|
||||
$(conf_notuser xen)
|
||||
$(conf_notuser xen xen-pci-passthrough)
|
||||
$(conf_notuser xfs xfsctl)
|
||||
)
|
||||
|
||||
if [[ ! ${buildtype} == "user" ]] ; then
|
||||
# audio options
|
||||
local audio_opts="oss"
|
||||
use alsa && audio_opts="alsa,${audio_opts}"
|
||||
use sdl && audio_opts="sdl,${audio_opts}"
|
||||
use pulseaudio && audio_opts="pa,${audio_opts}"
|
||||
conf_opts+=(
|
||||
--audio-drv-list="${audio_opts}"
|
||||
)
|
||||
use gtk && conf_opts+=( --with-gtkabi=$(usex gtk2 2.0 3.0) )
|
||||
use sdl && conf_opts+=( --with-sdlabi=$(usex sdl2 2.0 1.2) )
|
||||
fi
|
||||
|
||||
case ${buildtype} in
|
||||
user)
|
||||
conf_opts+=(
|
||||
--enable-linux-user
|
||||
--disable-system
|
||||
--disable-blobs
|
||||
--disable-tools
|
||||
)
|
||||
local static_flag="static-user"
|
||||
;;
|
||||
softmmu)
|
||||
conf_opts+=(
|
||||
--disable-linux-user
|
||||
--enable-system
|
||||
--disable-tools
|
||||
--with-system-pixman
|
||||
)
|
||||
local static_flag="static"
|
||||
;;
|
||||
tools)
|
||||
conf_opts+=(
|
||||
--disable-linux-user
|
||||
--disable-system
|
||||
--disable-blobs
|
||||
--enable-tools
|
||||
)
|
||||
local static_flag="static"
|
||||
;;
|
||||
esac
|
||||
|
||||
local targets="${buildtype}_targets"
|
||||
[[ -n ${targets} ]] && conf_opts+=( --target-list="${!targets}" )
|
||||
|
||||
# Add support for SystemTAP
|
||||
use systemtap && conf_opts+=( --enable-trace-backend=dtrace )
|
||||
|
||||
# We always want to attempt to build with PIE support as it results
|
||||
# in a more secure binary. But it doesn't work with static or if
|
||||
# the current GCC doesn't have PIE support.
|
||||
if use ${static_flag}; then
|
||||
conf_opts+=( --static --disable-pie )
|
||||
else
|
||||
gcc-specs-pie && conf_opts+=( --enable-pie )
|
||||
fi
|
||||
|
||||
echo "../configure ${conf_opts[*]}"
|
||||
cd "${builddir}"
|
||||
../configure "${conf_opts[@]}" || die "configure failed"
|
||||
|
||||
# FreeBSD's kernel does not support QEMU assigning/grabbing
|
||||
# host USB devices yet
|
||||
use kernel_FreeBSD && \
|
||||
sed -i -E -e "s|^(HOST_USB=)bsd|\1stub|" "${S}"/config-host.mak
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local target
|
||||
|
||||
python_setup
|
||||
|
||||
softmmu_targets= softmmu_bins=()
|
||||
user_targets= user_bins=()
|
||||
|
||||
for target in ${IUSE_SOFTMMU_TARGETS} ; do
|
||||
if use "qemu_softmmu_targets_${target}"; then
|
||||
softmmu_targets+=",${target}-softmmu"
|
||||
softmmu_bins+=( "qemu-system-${target}" )
|
||||
fi
|
||||
done
|
||||
|
||||
for target in ${IUSE_USER_TARGETS} ; do
|
||||
if use "qemu_user_targets_${target}"; then
|
||||
user_targets+=",${target}-linux-user"
|
||||
user_bins+=( "qemu-${target}" )
|
||||
fi
|
||||
done
|
||||
|
||||
softmmu_targets=${softmmu_targets#,}
|
||||
user_targets=${user_targets#,}
|
||||
|
||||
[[ -n ${softmmu_targets} ]] && qemu_src_configure "softmmu"
|
||||
[[ -n ${user_targets} ]] && qemu_src_configure "user"
|
||||
qemu_src_configure "tools"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
cd "${S}/user-build"
|
||||
default
|
||||
fi
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
default
|
||||
fi
|
||||
|
||||
cd "${S}/tools-build"
|
||||
default
|
||||
}
|
||||
|
||||
src_test() {
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
pax-mark m */qemu-system-* #515550
|
||||
emake -j1 check
|
||||
emake -j1 check-report.html
|
||||
fi
|
||||
}
|
||||
|
||||
qemu_python_install() {
|
||||
python_domodule "${S}/scripts/qmp/qmp.py"
|
||||
|
||||
python_doscript "${S}/scripts/kvm/vmxcap"
|
||||
python_doscript "${S}/scripts/qmp/qmp-shell"
|
||||
python_doscript "${S}/scripts/qmp/qemu-ga-client"
|
||||
}
|
||||
|
||||
# Generate binfmt support files.
|
||||
# - /etc/init.d/qemu-binfmt script which registers the user handlers (openrc)
|
||||
# - /usr/share/qemu/binfmt.d/qemu.conf (for use with systemd-binfmt)
|
||||
generate_initd() {
|
||||
local out="${T}/qemu-binfmt"
|
||||
local out_systemd="${T}/qemu.conf"
|
||||
local d="${T}/binfmt.d"
|
||||
|
||||
einfo "Generating qemu binfmt scripts and configuration files"
|
||||
|
||||
# Generate the debian fragments first.
|
||||
mkdir -p "${d}"
|
||||
"${S}"/scripts/qemu-binfmt-conf.sh \
|
||||
--debian \
|
||||
--exportdir "${d}" \
|
||||
--qemu-path "${EPREFIX}/usr/bin" \
|
||||
|| die
|
||||
# Then turn the fragments into a shell script we can source.
|
||||
sed -E -i \
|
||||
-e 's:^([^ ]+) (.*)$:\1="\2":' \
|
||||
"${d}"/* || die
|
||||
|
||||
# Generate the init.d script by assembling the fragments from above.
|
||||
local f qcpu package interpreter magic mask
|
||||
cat "${FILESDIR}"/qemu-binfmt.initd.head >"${out}" || die
|
||||
for f in "${d}"/qemu-* ; do
|
||||
source "${f}"
|
||||
|
||||
# Normalize the cpu logic like we do in the init.d for the native cpu.
|
||||
qcpu=${package#qemu-}
|
||||
case ${qcpu} in
|
||||
arm*) qcpu="arm";;
|
||||
mips*) qcpu="mips";;
|
||||
ppc*) qcpu="ppc";;
|
||||
s390*) qcpu="s390";;
|
||||
sh*) qcpu="sh";;
|
||||
sparc*) qcpu="sparc";;
|
||||
esac
|
||||
|
||||
cat <<EOF >>"${out}"
|
||||
if [ "\${cpu}" != "${qcpu}" -a -x "${interpreter}" ] ; then
|
||||
echo ':${package}:M::${magic}:${mask}:${interpreter}:'"\${QEMU_BINFMT_FLAGS}" >/proc/sys/fs/binfmt_misc/register
|
||||
fi
|
||||
EOF
|
||||
|
||||
echo ":${package}:M::${magic}:${mask}:${interpreter}:OC" >>"${out_systemd}"
|
||||
|
||||
done
|
||||
cat "${FILESDIR}"/qemu-binfmt.initd.tail >>"${out}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if [[ -n ${user_targets} ]]; then
|
||||
cd "${S}/user-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
# Install binfmt handler init script for user targets.
|
||||
generate_initd
|
||||
doinitd "${T}/qemu-binfmt"
|
||||
|
||||
# Install binfmt/qemu.conf.
|
||||
insinto "/usr/share/qemu/binfmt.d"
|
||||
doins "${T}/qemu.conf"
|
||||
fi
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
cd "${S}/softmmu-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
# This might not exist if the test failed. #512010
|
||||
[[ -e check-report.html ]] && dohtml check-report.html
|
||||
|
||||
if use kernel_linux; then
|
||||
udev_newrules "${FILESDIR}"/65-kvm.rules-r1 65-kvm.rules
|
||||
fi
|
||||
|
||||
if use python; then
|
||||
python_foreach_impl qemu_python_install
|
||||
fi
|
||||
fi
|
||||
|
||||
cd "${S}/tools-build"
|
||||
emake DESTDIR="${ED}" install
|
||||
|
||||
# Disable mprotect on the qemu binaries as they use JITs to be fast #459348
|
||||
pushd "${ED}"/usr/bin >/dev/null
|
||||
pax-mark mr "${softmmu_bins[@]}" "${user_bins[@]}" # bug 575594
|
||||
popd >/dev/null
|
||||
|
||||
# Install config file example for qemu-bridge-helper
|
||||
insinto "/etc/qemu"
|
||||
doins "${FILESDIR}/bridge.conf"
|
||||
|
||||
cd "${S}"
|
||||
dodoc Changelog MAINTAINERS docs/specs/pci-ids.txt
|
||||
newdoc pc-bios/README README.pc-bios
|
||||
dodoc docs/qmp-*.txt
|
||||
|
||||
if [[ -n ${softmmu_targets} ]]; then
|
||||
# Remove SeaBIOS since we're using the SeaBIOS packaged one
|
||||
rm "${ED}/usr/share/qemu/bios.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../seabios/bios.bin /usr/share/qemu/bios.bin
|
||||
fi
|
||||
|
||||
# Remove vgabios since we're using the seavgabios packaged one
|
||||
rm "${ED}/usr/share/qemu/vgabios.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-cirrus.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-qxl.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-stdvga.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-virtio.bin"
|
||||
rm "${ED}/usr/share/qemu/vgabios-vmware.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../seavgabios/vgabios-isavga.bin /usr/share/qemu/vgabios.bin
|
||||
dosym ../seavgabios/vgabios-cirrus.bin /usr/share/qemu/vgabios-cirrus.bin
|
||||
dosym ../seavgabios/vgabios-qxl.bin /usr/share/qemu/vgabios-qxl.bin
|
||||
dosym ../seavgabios/vgabios-stdvga.bin /usr/share/qemu/vgabios-stdvga.bin
|
||||
dosym ../seavgabios/vgabios-virtio.bin /usr/share/qemu/vgabios-virtio.bin
|
||||
dosym ../seavgabios/vgabios-vmware.bin /usr/share/qemu/vgabios-vmware.bin
|
||||
fi
|
||||
|
||||
# Remove sgabios since we're using the sgabios packaged one
|
||||
rm "${ED}/usr/share/qemu/sgabios.bin"
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../sgabios/sgabios.bin /usr/share/qemu/sgabios.bin
|
||||
fi
|
||||
|
||||
# Remove iPXE since we're using the iPXE packaged one
|
||||
rm "${ED}"/usr/share/qemu/pxe-*.rom
|
||||
if use qemu_softmmu_targets_x86_64 || use qemu_softmmu_targets_i386; then
|
||||
dosym ../ipxe/8086100e.rom /usr/share/qemu/pxe-e1000.rom
|
||||
dosym ../ipxe/80861209.rom /usr/share/qemu/pxe-eepro100.rom
|
||||
dosym ../ipxe/10500940.rom /usr/share/qemu/pxe-ne2k_pci.rom
|
||||
dosym ../ipxe/10222000.rom /usr/share/qemu/pxe-pcnet.rom
|
||||
dosym ../ipxe/10ec8139.rom /usr/share/qemu/pxe-rtl8139.rom
|
||||
dosym ../ipxe/1af41000.rom /usr/share/qemu/pxe-virtio.rom
|
||||
fi
|
||||
fi
|
||||
|
||||
DISABLE_AUTOFORMATTING=true
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
firmware_abi_change() {
|
||||
local pv
|
||||
for pv in ${REPLACING_VERSIONS}; do
|
||||
if ! version_is_at_least ${FIRMWARE_ABI_VERSION} ${pv}; then
|
||||
return 0
|
||||
fi
|
||||
done
|
||||
return 1
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -n ${softmmu_targets} ]] && use kernel_linux; then
|
||||
udev_reload
|
||||
fi
|
||||
|
||||
fcaps cap_net_admin /usr/libexec/qemu-bridge-helper
|
||||
|
||||
DISABLE_AUTOFORMATTING=true
|
||||
readme.gentoo_print_elog
|
||||
|
||||
if use pin-upstream-blobs && firmware_abi_change; then
|
||||
ewarn "This version of qemu pins new versions of firmware blobs:"
|
||||
ewarn " $(best_version sys-firmware/ipxe)"
|
||||
ewarn " $(best_version sys-firmware/seabios)"
|
||||
ewarn " $(best_version sys-firmware/sgabios)"
|
||||
ewarn "This might break resume of hibernated guests (started with a different"
|
||||
ewarn "firmware version) and live migration to/from qemu versions with different"
|
||||
ewarn "firmware. Please (cold) restart all running guests. For functional"
|
||||
ewarn "guest migration ensure that all"
|
||||
ewarn "hosts run at least"
|
||||
ewarn " app-emulation/qemu-${FIRMWARE_ABI_VERSION}."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_info() {
|
||||
echo "Using:"
|
||||
echo " $(best_version app-emulation/spice-protocol)"
|
||||
echo " $(best_version sys-firmware/ipxe)"
|
||||
echo " $(best_version sys-firmware/seabios)"
|
||||
if has_version 'sys-firmware/seabios[binary]'; then
|
||||
echo " USE=binary"
|
||||
else
|
||||
echo " USE=''"
|
||||
fi
|
||||
}
|
@ -0,0 +1,586 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PLOCALES="ar bg ca cs da de el en en_US eo es fa fi fr he hi hr hu it ja ko lt ml nb_NO nl or pa pl pt_BR pt_PT rm ro ru sk sl sr_RS@cyrillic sr_RS@latin sv te th tr uk wa zh_CN zh_TW"
|
||||
PLOCALE_BACKUP="en"
|
||||
|
||||
inherit autotools eutils fdo-mime flag-o-matic gnome2-utils l10n multilib multilib-minimal pax-utils toolchain-funcs virtualx versionator
|
||||
|
||||
MY_PN="${PN%%-*}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://source.winehq.org/git/wine.git http://source.winehq.org/git/wine.git"
|
||||
EGIT_BRANCH="master"
|
||||
inherit git-r3
|
||||
SRC_URI=""
|
||||
#KEYWORDS=""
|
||||
else
|
||||
MAJOR_V=$(get_version_component_range 1)
|
||||
SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}.x/${MY_P}.tar.xz"
|
||||
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
|
||||
fi
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
STAGING_P="wine-staging-${PV}"
|
||||
STAGING_DIR="${WORKDIR}/${STAGING_P}"
|
||||
WDC_V="20150204"
|
||||
WINE_DESKTOP_COMMON_P="wine-desktop-common-${WDC_V}"
|
||||
|
||||
DESCRIPTION="Free implementation of Windows(tm) on Unix"
|
||||
HOMEPAGE="http://www.winehq.org/"
|
||||
SRC_URI="${SRC_URI}
|
||||
https://github.com/NP-Hardass/wine-desktop-common/archive/${WDC_V}.tar.gz -> ${WINE_DESKTOP_COMMON_P}.tar.gz
|
||||
"
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
STAGING_EGIT_REPO_URI="git://github.com/wine-compholio/wine-staging.git"
|
||||
else
|
||||
SRC_URI="${SRC_URI}
|
||||
staging? ( https://github.com/wine-compholio/wine-staging/archive/v${PV}.tar.gz -> ${STAGING_P}.tar.gz )"
|
||||
fi
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="${PV}"
|
||||
IUSE="+abi_x86_32 +abi_x86_64 +alsa capi cups custom-cflags dos elibc_glibc +fontconfig +gecko gphoto2 gsm gstreamer +jpeg kernel_FreeBSD +lcms ldap +mono mp3 ncurses netapi nls odbc openal opencl +opengl osmesa oss +perl pcap pipelight +png prelink pulseaudio +realtime +run-exes s3tc samba scanner selinux +ssl staging test themes +threads +truetype udev +udisks v4l vaapi +X +xcomposite xinerama +xml"
|
||||
REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )
|
||||
X? ( truetype )
|
||||
elibc_glibc? ( threads )
|
||||
osmesa? ( opengl )
|
||||
pipelight? ( staging )
|
||||
s3tc? ( staging )
|
||||
test? ( abi_x86_32 )
|
||||
themes? ( staging )
|
||||
vaapi? ( staging )" # osmesa-opengl #286560 # X-truetype #551124
|
||||
|
||||
# FIXME: the test suite is unsuitable for us; many tests require net access
|
||||
# or fail due to Xvfb's opengl limitations.
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
X? (
|
||||
x11-libs/libXcursor[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXext[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrandr[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXi[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
|
||||
)
|
||||
alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
|
||||
capi? ( net-libs/libcapi[${MULTILIB_USEDEP}] )
|
||||
cups? ( net-print/cups:=[${MULTILIB_USEDEP}] )
|
||||
fontconfig? ( media-libs/fontconfig:=[${MULTILIB_USEDEP}] )
|
||||
gphoto2? ( media-libs/libgphoto2:=[${MULTILIB_USEDEP}] )
|
||||
gsm? ( media-sound/gsm:=[${MULTILIB_USEDEP}] )
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
|
||||
media-plugins/gst-plugins-meta:1.0[${MULTILIB_USEDEP}]
|
||||
)
|
||||
jpeg? ( virtual/jpeg:0=[${MULTILIB_USEDEP}] )
|
||||
lcms? ( media-libs/lcms:2=[${MULTILIB_USEDEP}] )
|
||||
ldap? ( net-nds/openldap:=[${MULTILIB_USEDEP}] )
|
||||
mp3? ( >=media-sound/mpg123-1.5.0[${MULTILIB_USEDEP}] )
|
||||
ncurses? ( >=sys-libs/ncurses-5.2:0=[${MULTILIB_USEDEP}] )
|
||||
netapi? ( net-fs/samba[netapi(+),${MULTILIB_USEDEP}] )
|
||||
nls? ( sys-devel/gettext[${MULTILIB_USEDEP}] )
|
||||
odbc? ( dev-db/unixODBC:=[${MULTILIB_USEDEP}] )
|
||||
openal? ( media-libs/openal:=[${MULTILIB_USEDEP}] )
|
||||
opencl? ( virtual/opencl[${MULTILIB_USEDEP}] )
|
||||
opengl? (
|
||||
virtual/glu[${MULTILIB_USEDEP}]
|
||||
virtual/opengl[${MULTILIB_USEDEP}]
|
||||
)
|
||||
osmesa? ( >=media-libs/mesa-13[osmesa,${MULTILIB_USEDEP}] )
|
||||
pcap? ( net-libs/libpcap[${MULTILIB_USEDEP}] )
|
||||
png? ( media-libs/libpng:0=[${MULTILIB_USEDEP}] )
|
||||
pulseaudio? ( media-sound/pulseaudio[${MULTILIB_USEDEP}] )
|
||||
scanner? ( media-gfx/sane-backends:=[${MULTILIB_USEDEP}] )
|
||||
ssl? ( net-libs/gnutls:=[${MULTILIB_USEDEP}] )
|
||||
staging? ( sys-apps/attr[${MULTILIB_USEDEP}] )
|
||||
themes? (
|
||||
dev-libs/glib:2[${MULTILIB_USEDEP}]
|
||||
x11-libs/cairo[${MULTILIB_USEDEP}]
|
||||
x11-libs/gtk+:3[${MULTILIB_USEDEP}]
|
||||
)
|
||||
truetype? ( >=media-libs/freetype-2.0.0[${MULTILIB_USEDEP}] )
|
||||
udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
|
||||
udisks? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
|
||||
v4l? ( media-libs/libv4l[${MULTILIB_USEDEP}] )
|
||||
vaapi? ( x11-libs/libva[X,${MULTILIB_USEDEP}] )
|
||||
xcomposite? ( x11-libs/libXcomposite[${MULTILIB_USEDEP}] )
|
||||
xinerama? ( x11-libs/libXinerama[${MULTILIB_USEDEP}] )
|
||||
xml? (
|
||||
dev-libs/libxml2[${MULTILIB_USEDEP}]
|
||||
dev-libs/libxslt[${MULTILIB_USEDEP}]
|
||||
)
|
||||
abi_x86_32? (
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
!<app-emulation/emul-linux-x86-baselibs-20140508-r14
|
||||
!app-emulation/emul-linux-x86-db[-abi_x86_32(-)]
|
||||
!<app-emulation/emul-linux-x86-db-20140508-r3
|
||||
!app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)]
|
||||
!<app-emulation/emul-linux-x86-medialibs-20140508-r6
|
||||
!app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)]
|
||||
!<app-emulation/emul-linux-x86-opengl-20140508-r1
|
||||
!app-emulation/emul-linux-x86-sdl[-abi_x86_32(-)]
|
||||
!<app-emulation/emul-linux-x86-sdl-20140508-r1
|
||||
!app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)]
|
||||
!<app-emulation/emul-linux-x86-soundlibs-20140508
|
||||
!app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)]
|
||||
!<app-emulation/emul-linux-x86-xlibs-20140508
|
||||
)"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
app-emulation/wine-desktop-common
|
||||
>app-eselect/eselect-wine-0.3
|
||||
!app-emulation/wine:0
|
||||
dos? ( >=games-emulation/dosbox-0.74_p20160629 )
|
||||
gecko? ( app-emulation/wine-gecko:2.47[abi_x86_32?,abi_x86_64?] )
|
||||
mono? ( app-emulation/wine-mono:4.7.0 )
|
||||
perl? (
|
||||
dev-lang/perl
|
||||
dev-perl/XML-Simple
|
||||
)
|
||||
pulseaudio? (
|
||||
realtime? ( sys-auth/rtkit )
|
||||
)
|
||||
s3tc? ( >=media-libs/libtxc_dxtn-1.0.1-r1[${MULTILIB_USEDEP}] )
|
||||
samba? ( >=net-fs/samba-3.0.25[winbind] )
|
||||
selinux? ( sec-policy/selinux-wine )
|
||||
udisks? ( sys-fs/udisks:2 )"
|
||||
|
||||
# tools/make_requests requires perl
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
sys-devel/flex
|
||||
>=sys-kernel/linux-headers-2.6
|
||||
virtual/pkgconfig
|
||||
virtual/yacc
|
||||
X? (
|
||||
x11-proto/inputproto
|
||||
x11-proto/xextproto
|
||||
x11-proto/xf86vidmodeproto
|
||||
)
|
||||
prelink? ( sys-devel/prelink )
|
||||
staging? (
|
||||
dev-lang/perl
|
||||
dev-perl/XML-Simple
|
||||
)
|
||||
xinerama? ( x11-proto/xineramaproto )"
|
||||
|
||||
# These use a non-standard "Wine" category, which is provided by
|
||||
# /etc/xdg/applications-merged/wine.menu
|
||||
QA_DESKTOP_FILE="usr/share/applications/wine-browsedrive.desktop
|
||||
usr/share/applications/wine-notepad.desktop
|
||||
usr/share/applications/wine-uninstaller.desktop
|
||||
usr/share/applications/wine-winecfg.desktop"
|
||||
|
||||
wine_compiler_check() {
|
||||
[[ ${MERGE_TYPE} = "binary" ]] && return 0
|
||||
|
||||
# GCC-specific bugs
|
||||
if tc-is-gcc; then
|
||||
# bug #549768
|
||||
if use abi_x86_64 && [[ $(gcc-major-version) = 5 && $(gcc-minor-version) -le 2 ]]; then
|
||||
ebegin "Checking for gcc-5 ms_abi compiler bug"
|
||||
$(tc-getCC) -O2 "${FILESDIR}"/pr66838.c -o "${T}"/pr66838 || die
|
||||
# Run in subshell to prevent "Aborted" message
|
||||
( "${T}"/pr66838 || false ) >/dev/null 2>&1
|
||||
if ! eend $?; then
|
||||
eerror "64-bit wine cannot be built with gcc-5.1 or initial patchset of 5.2.0"
|
||||
eerror "due to compiler bugs; please re-emerge the latest gcc-5.2.x ebuild,"
|
||||
eerror "or use gcc-config to select a different compiler version."
|
||||
eerror "See https://bugs.gentoo.org/549768"
|
||||
eerror
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
# bug #574044
|
||||
if use abi_x86_64 && [[ $(gcc-major-version) = 5 && $(gcc-minor-version) = 3 ]]; then
|
||||
ebegin "Checking for gcc-5-3 stack realignment compiler bug"
|
||||
# Compile in subshell to prevent "Aborted" message
|
||||
( $(tc-getCC) -O2 -mincoming-stack-boundary=3 "${FILESDIR}"/pr69140.c -o "${T}"/pr69140 ) >/dev/null 2>&1
|
||||
if ! eend $?; then
|
||||
eerror "Wine cannot be built with this version of gcc-5.3"
|
||||
eerror "due to compiler bugs; please re-emerge the latest gcc-5.3.x ebuild,"
|
||||
eerror "or use gcc-config to select a different compiler version."
|
||||
eerror "See https://bugs.gentoo.org/574044"
|
||||
eerror
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
# Ensure compiler support
|
||||
if use abi_x86_64; then
|
||||
ebegin "Checking for 64-bit compiler with builtin_ms_va_list support"
|
||||
# Compile in subshell to prevent "Aborted" message
|
||||
( $(tc-getCC) -O2 "${FILESDIR}"/builtin_ms_va_list.c -o "${T}"/builtin_ms_va_list >/dev/null 2>&1)
|
||||
if ! eend $?; then
|
||||
eerror "This version of $(tc-getCC) does not support builtin_ms_va_list, can't enable 64-bit wine"
|
||||
eerror
|
||||
eerror "You need gcc-4.4+ or clang 3.8+ to build 64-bit wine"
|
||||
eerror
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
wine_build_environment_check() {
|
||||
[[ ${MERGE_TYPE} = "binary" ]] && return 0
|
||||
|
||||
if use abi_x86_64; then
|
||||
if tc-is-gcc && [[ $(gcc-major-version) -lt 4 || ( $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 4 ) ]]; then
|
||||
eerror "You need gcc-4.4+ to compile 64-bit wine"
|
||||
die
|
||||
elif tc-is-clang && [[ $(clang-major-version) -lt 3 || ( $(clang-major-version) -eq 3 && $(clang-minor-version) -lt 8 ) ]]; then
|
||||
eerror "You need clang-3.8+ to compile 64-bit wine"
|
||||
die
|
||||
fi
|
||||
fi
|
||||
if tc-is-gcc && [[ $(gcc-major-version) -eq 5 && $(gcc-minor-version) -le 3 ]]; then
|
||||
ewarn "GCC-5.0-5.3 suffered from compiler bugs and are no longer supported by"
|
||||
ewarn "Gentoo's Toolchain Team. If your ebuild fails the compiler checks in"
|
||||
ewarn "the configure phase, either update your compiler or switch to <5.0 || >=5.4"
|
||||
fi
|
||||
if tc-is-gcc && [[ $(gcc-major-version) -eq 5 && $(gcc-minor-version) -eq 4 ]]; then
|
||||
if has "-march=i686" ${CFLAGS} && ! has "-mtune=generic" ${CFLAGS}; then
|
||||
ewarn "Compilation can hang with CFLAGS=\"-march=i686\". You can temporarily work"
|
||||
ewarn "around this by adding \"-mtune=generic\" to your CFLAGS for wine."
|
||||
ewarn "See package.env in man 5 portage for more information on how to do this."
|
||||
ewarn "See https://bugs.gentoo.org/show_bug.cgi?id=613128 for more details"
|
||||
fi
|
||||
fi
|
||||
|
||||
if use abi_x86_32 && use opencl && [[ "$(eselect opencl show 2> /dev/null)" == "intel" ]]; then
|
||||
eerror "You cannot build wine with USE=opencl because intel-ocl-sdk is 64-bit only."
|
||||
eerror "See https://bugs.gentoo.org/487864 for more details."
|
||||
eerror
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
wine_env_vcs_vars() {
|
||||
local pn_live_var="${PN//[-+]/_}_LIVE_COMMIT"
|
||||
local pn_live_val="${pn_live_var}"
|
||||
eval pn_live_val='$'${pn_live_val}
|
||||
if [[ ! -z ${pn_live_val} ]]; then
|
||||
if use staging; then
|
||||
eerror "Because of the multi-repo nature of ${MY_PN}, ${pn_live_var}"
|
||||
eerror "cannot be used to set the commit. Instead, you may use the"
|
||||
eerror "environmental variables WINE_COMMIT, and STAGING_COMMIT."
|
||||
eerror
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
if [[ ! -z ${EGIT_COMMIT} ]]; then
|
||||
eerror "Commits must now be specified using the environmental variables"
|
||||
eerror "WINE_COMMIT, STAGING_COMMIT, and D3D9_COMMIT"
|
||||
eerror
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
wine_build_environment_check || die
|
||||
|
||||
# Verify OSS support
|
||||
if use oss && ! use kernel_FreeBSD; then
|
||||
if ! has_version ">=media-sound/oss-4"; then
|
||||
eerror "You cannot build wine with USE=oss without having support from a"
|
||||
eerror "FreeBSD kernel or >=media-sound/oss-4 (only available through external repos)"
|
||||
eerror
|
||||
die
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
wine_build_environment_check || die
|
||||
wine_env_vcs_vars || die
|
||||
|
||||
WINE_VARIANT="${PN#wine}-${PV}"
|
||||
WINE_VARIANT="${WINE_VARIANT#-}"
|
||||
|
||||
MY_PREFIX="${EPREFIX}/usr/lib/wine-${WINE_VARIANT}"
|
||||
MY_DATAROOTDIR="${EPREFIX}/usr/share/wine-${WINE_VARIANT}"
|
||||
MY_DATADIR="${MY_DATAROOTDIR}"
|
||||
MY_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
|
||||
MY_INCLUDEDIR="${EPREFIX}/usr/include/wine-${WINE_VARIANT}"
|
||||
MY_LIBEXECDIR="${EPREFIX}/usr/libexec/wine-${WINE_VARIANT}"
|
||||
MY_LOCALSTATEDIR="${EPREFIX}/var/wine-${WINE_VARIANT}"
|
||||
MY_MANDIR="${MY_DATADIR}/man"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_CHECKOUT_DIR="${S}" EGIT_COMMIT="${WINE_COMMIT}" git-r3_src_unpack
|
||||
if use staging; then
|
||||
local CURRENT_WINE_COMMIT=${EGIT_VERSION}
|
||||
|
||||
git-r3_fetch "${STAGING_EGIT_REPO_URI}" "${STAGING_COMMIT}"
|
||||
git-r3_checkout "${STAGING_EGIT_REPO_URI}" "${STAGING_DIR}"
|
||||
|
||||
local COMPAT_WINE_COMMIT=$("${STAGING_DIR}/patches/patchinstall.sh" --upstream-commit) || die
|
||||
|
||||
if [[ "${CURRENT_WINE_COMMIT}" != "${COMPAT_WINE_COMMIT}" ]]; then
|
||||
einfo "The current Staging patchset is not guaranteed to apply on this WINE commit."
|
||||
einfo "If src_prepare fails, try emerging with the env var WINE_COMMIT."
|
||||
einfo "Example: WINE_COMMIT=${COMPAT_WINE_COMMIT} emerge -1 wine"
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
default
|
||||
|
||||
l10n_find_plocales_changes "${S}/po" "" ".po"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local md5="$(md5sum server/protocol.def)"
|
||||
local PATCHES=(
|
||||
"${FILESDIR}"/${MY_PN}-1.5.26-winegcc.patch #260726
|
||||
"${FILESDIR}"/${MY_PN}-1.9.5-multilib-portage.patch #395615
|
||||
"${FILESDIR}"/${MY_PN}-1.6-memset-O3.patch #480508
|
||||
"${FILESDIR}"/${MY_PN}-2.0-multislot-apploader.patch
|
||||
)
|
||||
if use staging; then
|
||||
ewarn "Applying the Wine-Staging patchset. Any bug reports to the"
|
||||
ewarn "Wine bugzilla should explicitly state that staging was used."
|
||||
|
||||
local STAGING_EXCLUDE=""
|
||||
STAGING_EXCLUDE="${STAGING_EXCLUDE} -W winhlp32-Flex_Workaround" # Avoid double patching https://bugs.winehq.org/show_bug.cgi?id=42132
|
||||
use pipelight || STAGING_EXCLUDE="${STAGING_EXCLUDE} -W Pipelight"
|
||||
|
||||
# Launch wine-staging patcher in a subshell, using eapply as a backend, and gitapply.sh as a backend for binary patches
|
||||
ebegin "Running Wine-Staging patch installer"
|
||||
(
|
||||
set -- DESTDIR="${S}" --backend=eapply --no-autoconf --all ${STAGING_EXCLUDE}
|
||||
cd "${STAGING_DIR}/patches"
|
||||
source "${STAGING_DIR}/patches/patchinstall.sh"
|
||||
)
|
||||
eend $? || die "Failed to apply Wine-Staging patches"
|
||||
fi
|
||||
|
||||
default
|
||||
eautoreconf
|
||||
|
||||
# Modification of the server protocol requires regenerating the server requests
|
||||
if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then
|
||||
einfo "server/protocol.def was patched; running tools/make_requests"
|
||||
tools/make_requests || die #432348
|
||||
fi
|
||||
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
|
||||
if ! use run-exes; then
|
||||
sed -i '/^MimeType/d' loader/wine.desktop || die #117785
|
||||
fi
|
||||
|
||||
# Edit wine.desktop to work for specific variant
|
||||
sed -e "/^Exec=/s/wine /wine-${WINE_VARIANT} /" -i loader/wine.desktop || die
|
||||
|
||||
# hi-res default icon, #472990, http://bugs.winehq.org/show_bug.cgi?id=24652
|
||||
cp "${WORKDIR}/${WINE_DESKTOP_COMMON_P}/icons/oic_winlogo.ico" dlls/user32/resources/ || die
|
||||
|
||||
l10n_get_locales > po/LINGUAS || die # otherwise wine doesn't respect LINGUAS
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
wine_compiler_check || die
|
||||
|
||||
export LDCONFIG=/bin/true
|
||||
use custom-cflags || strip-flags
|
||||
|
||||
multilib-minimal_src_configure
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myconf=(
|
||||
--prefix="${MY_PREFIX}"
|
||||
--datarootdir="${MY_DATAROOTDIR}"
|
||||
--datadir="${MY_DATADIR}"
|
||||
--docdir="${MY_DOCDIR}"
|
||||
--includedir="${MY_INCLUDEDIR}"
|
||||
--libdir="${EPREFIX}/usr/$(get_libdir)/wine-${WINE_VARIANT}"
|
||||
--libexecdir="${MY_LIBEXECDIR}"
|
||||
--localstatedir="${MY_LOCALSTATEDIR}"
|
||||
--mandir="${MY_MANDIR}"
|
||||
--sysconfdir=/etc/wine
|
||||
$(use_with alsa)
|
||||
$(use_with capi)
|
||||
$(use_with lcms cms)
|
||||
$(use_with cups)
|
||||
$(use_with ncurses curses)
|
||||
$(use_with udisks dbus)
|
||||
$(use_with fontconfig)
|
||||
$(use_with ssl gnutls)
|
||||
$(use_enable gecko mshtml)
|
||||
$(use_with gphoto2 gphoto)
|
||||
$(use_with gsm)
|
||||
$(use_with gstreamer)
|
||||
--without-hal
|
||||
$(use_with jpeg)
|
||||
$(use_with ldap)
|
||||
$(use_enable mono mscoree)
|
||||
$(use_with mp3 mpg123)
|
||||
$(use_with netapi)
|
||||
$(use_with nls gettext)
|
||||
$(use_with openal)
|
||||
$(use_with opencl)
|
||||
$(use_with opengl)
|
||||
$(use_with osmesa)
|
||||
$(use_with oss)
|
||||
$(use_with pcap)
|
||||
$(use_with png)
|
||||
$(use_with pulseaudio pulse)
|
||||
$(use_with threads pthread)
|
||||
$(use_with scanner sane)
|
||||
$(use_enable test tests)
|
||||
$(use_with truetype freetype)
|
||||
$(use_with udev)
|
||||
$(use_with v4l)
|
||||
$(use_with X x)
|
||||
$(use_with xcomposite)
|
||||
$(use_with xinerama)
|
||||
$(use_with xml)
|
||||
$(use_with xml xslt)
|
||||
)
|
||||
|
||||
use staging && myconf+=(
|
||||
--with-xattr
|
||||
$(use_with themes gtk3)
|
||||
$(use_with vaapi va)
|
||||
)
|
||||
|
||||
local PKG_CONFIG AR RANLIB
|
||||
# Avoid crossdev's i686-pc-linux-gnu-pkg-config if building wine32 on amd64; #472038
|
||||
# set AR and RANLIB to make QA scripts happy; #483342
|
||||
tc-export PKG_CONFIG AR RANLIB
|
||||
|
||||
if use amd64; then
|
||||
if [[ ${ABI} == amd64 ]]; then
|
||||
myconf+=( --enable-win64 )
|
||||
else
|
||||
myconf+=( --disable-win64 )
|
||||
fi
|
||||
|
||||
# Note: using --with-wine64 results in problems with multilib.eclass
|
||||
# CC/LD hackery. We're using separate tools instead.
|
||||
fi
|
||||
|
||||
ECONF_SOURCE=${S} \
|
||||
econf "${myconf[@]}"
|
||||
emake depend
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
# FIXME: win32-only; wine64 tests fail with "could not find the Wine loader"
|
||||
if [[ ${ABI} == x86 ]]; then
|
||||
if [[ $(id -u) == 0 ]]; then
|
||||
ewarn "Skipping tests since they cannot be run under the root user."
|
||||
ewarn "To run the test ${MY_PN} suite, add userpriv to FEATURES in make.conf"
|
||||
return
|
||||
fi
|
||||
|
||||
WINEPREFIX="${T}/.wine-${ABI}" \
|
||||
Xemake test
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
local DOCS=( ANNOUNCE AUTHORS README )
|
||||
add_locale_docs() {
|
||||
local locale_doc="documentation/README.$1"
|
||||
[[ ! -e ${locale_doc} ]] || DOCS+=( ${locale_doc} )
|
||||
}
|
||||
l10n_for_each_locale_do add_locale_docs
|
||||
|
||||
einstalldocs
|
||||
prune_libtool_files --all
|
||||
|
||||
if ! use perl ; then # winedump calls function_grep.pl, and winemaker is a perl script
|
||||
rm "${D%/}${MY_PREFIX}"/bin/{wine{dump,maker},function_grep.pl} \
|
||||
"${D%/}${MY_MANDIR}"/man1/wine{dump,maker}.1 || die
|
||||
fi
|
||||
|
||||
# Remove wineconsole if neither backend is installed #551124
|
||||
if ! use X && ! use ncurses; then
|
||||
rm "${D%/}${MY_PREFIX}"/bin/wineconsole* || die
|
||||
rm "${D%/}${MY_MANDIR}"/man1/wineconsole* || die
|
||||
rm_wineconsole() {
|
||||
rm "${D%/}${MY_PREFIX}/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die
|
||||
}
|
||||
multilib_foreach_abi rm_wineconsole
|
||||
fi
|
||||
|
||||
use abi_x86_32 && pax-mark psmr "${D%/}${MY_PREFIX}"/bin/wine{,-preloader} #255055
|
||||
use abi_x86_64 && pax-mark psmr "${D%/}${MY_PREFIX}"/bin/wine64{,-preloader}
|
||||
|
||||
if use abi_x86_64 && ! use abi_x86_32; then
|
||||
dosym "${MY_PREFIX}"/bin/wine{64,} # 404331
|
||||
dosym "${MY_PREFIX}"/bin/wine{64,}-preloader
|
||||
fi
|
||||
|
||||
# Failglob for bin and man loops
|
||||
local glob_state=$(shopt -p failglob)
|
||||
shopt -s failglob
|
||||
|
||||
# Make wrappers for binaries for handling multiple variants
|
||||
# Note: wrappers instead of symlinks because some are shell which use basename
|
||||
local b
|
||||
for b in "${D%/}${MY_PREFIX}"/bin/*; do
|
||||
make_wrapper "${b##*/}-${WINE_VARIANT}" "${MY_PREFIX}/bin/${b##*/}"
|
||||
done
|
||||
|
||||
# respect LINGUAS when installing man pages, #469418
|
||||
local l
|
||||
for l in de fr pl; do
|
||||
use linguas_${l} || rm -r "${D%/}${MY_MANDIR}"/${l}*
|
||||
done
|
||||
|
||||
eval "${glob_state}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect wine register ${P}
|
||||
if [[ ${PN} == "wine-vanilla" ]]; then
|
||||
eselect wine register --vanilla ${P} || die
|
||||
else
|
||||
if use staging; then
|
||||
eselect wine register --staging ${P} || die
|
||||
fi
|
||||
fi
|
||||
|
||||
eselect wine update --all --if-unset || die
|
||||
|
||||
fdo-mime_desktop_database_update
|
||||
|
||||
if ! use gecko; then
|
||||
ewarn "Without Wine Gecko, wine prefixes will not have a default"
|
||||
ewarn "implementation of iexplore. Many older windows applications"
|
||||
ewarn "rely upon the existence of an iexplore implementation, so"
|
||||
ewarn "you will likely need to install an external one, like via winetricks"
|
||||
fi
|
||||
if ! use mono; then
|
||||
ewarn "Without Wine Mono, wine prefixes will not have a default"
|
||||
ewarn "implementation of .NET. Many windows applications rely upon"
|
||||
ewarn "the existence of a .NET implementation, so you will likely need"
|
||||
ewarn "to install an external one, like via winetricks"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
eselect wine deregister ${P}
|
||||
if [[ ${PN} == "wine-vanilla" ]]; then
|
||||
eselect wine deregister --vanilla ${P} || die
|
||||
else
|
||||
if use staging; then
|
||||
eselect wine deregister --staging ${P} || die
|
||||
fi
|
||||
fi
|
||||
|
||||
eselect wine update --all --if-unset || die
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -0,0 +1,161 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE='xml,threads'
|
||||
|
||||
inherit flag-o-matic eutils multilib python-single-r1 toolchain-funcs
|
||||
|
||||
XEN_EXTFILES_URL="http://xenbits.xensource.com/xen-extfiles"
|
||||
LIBPCI_URL=ftp://atrey.karlin.mff.cuni.cz/pub/linux/pci
|
||||
GRUB_URL=mirror://gnu-alpha/grub
|
||||
|
||||
UPSTREAM_VER=
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
|
||||
SRC_URI="
|
||||
http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz
|
||||
$GRUB_URL/grub-0.97.tar.gz
|
||||
$XEN_EXTFILES_URL/zlib-1.2.3.tar.gz
|
||||
$LIBPCI_URL/pciutils-2.2.9.tar.bz2
|
||||
$XEN_EXTFILES_URL/lwip-1.3.0.tar.gz
|
||||
$XEN_EXTFILES_URL/newlib/newlib-1.16.0.tar.gz
|
||||
$XEN_EXTFILES_URL/polarssl-1.1.4-gpl.tgz
|
||||
${UPSTREAM_PATCHSET_URI}"
|
||||
|
||||
S="${WORKDIR}/xen-${PV}"
|
||||
|
||||
DESCRIPTION="allows to boot Xen domU kernels from a menu.lst laying inside guest filesystem"
|
||||
HOMEPAGE="http://xen.org/"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="custom-cflags"
|
||||
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
DEPEND="sys-devel/gettext
|
||||
sys-devel/bin86
|
||||
sys-apps/texinfo
|
||||
x11-libs/pixman"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}
|
||||
>=app-emulation/xen-tools-${PV}"
|
||||
|
||||
pkg_setup() {
|
||||
python-single-r1_pkg_setup
|
||||
}
|
||||
|
||||
retar-externals() {
|
||||
# Purely to unclutter src_prepare
|
||||
local set="grub-0.97.tar.gz lwip-1.3.0.tar.gz newlib-1.16.0.tar.gz polarssl-1.1.4-gpl.tgz zlib-1.2.3.tar.gz"
|
||||
|
||||
# epatch can't patch in $WORKDIR, requires a sed; Bug #455194. Patchable, but sed informative
|
||||
sed -e s':AR=${AR-"ar rc"}:AR=${AR-"ar"}:' \
|
||||
-i "${WORKDIR}"/zlib-1.2.3/configure
|
||||
sed -e 's:^AR=ar rc:AR=ar:' \
|
||||
-e s':$(AR) $@:$(AR) rc $@:' \
|
||||
-i "${WORKDIR}"/zlib-1.2.3/{Makefile,Makefile.in}
|
||||
einfo "zlib Makefile edited"
|
||||
|
||||
cd "${WORKDIR}"
|
||||
tar czp zlib-1.2.3 -f zlib-1.2.3.tar.gz
|
||||
tar czp grub-0.97 -f grub-0.97.tar.gz
|
||||
tar czp lwip -f lwip-1.3.0.tar.gz
|
||||
tar czp newlib-1.16.0 -f newlib-1.16.0.tar.gz
|
||||
tar czp polarssl-1.1.4 -f polarssl-1.1.4-gpl.tgz
|
||||
mv $set "${S}"/stubdom/
|
||||
einfo "tarballs moved to source"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
einfo "Try to apply Xen Upstream patch set"
|
||||
EPATCH_SUFFIX="patch" \
|
||||
EPATCH_FORCE="yes" \
|
||||
EPATCH_OPTS="-p1" \
|
||||
epatch "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
# if the user *really* wants to use their own custom-cflags, let them
|
||||
if use custom-cflags; then
|
||||
einfo "User wants their own CFLAGS - removing defaults"
|
||||
# try and remove all the default custom-cflags
|
||||
find "${S}" -name Makefile -o -name Rules.mk -o -name Config.mk -exec sed \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O3\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-march=i686\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-fomit-frame-pointer\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-g3*\s\(.*\)/CFLAGS\1=\2 \3/' \
|
||||
-e 's/CFLAGS\(.*\)=\(.*\)-O2\(.*\)/CFLAGS\1=\2\3/' \
|
||||
-i {} \;
|
||||
fi
|
||||
|
||||
# Patch the unmergeable newlib, fix most of the leftover gcc QA issues
|
||||
cp "${FILESDIR}"/newlib-implicits.patch stubdom || die
|
||||
|
||||
# Patch stubdom/Makefile to patch insource newlib & prevent internal downloading
|
||||
epatch "${FILESDIR}"/${PN/-pvgrub/}-4.3-externals.patch
|
||||
|
||||
# fix jobserver in Makefile
|
||||
epatch "${FILESDIR}"/${PN}-4.8-jserver.patch
|
||||
|
||||
#Substitute for internal downloading. pciutils copied only due to the only .bz2
|
||||
cp "${DISTDIR}"/pciutils-2.2.9.tar.bz2 ./stubdom/ || die "pciutils not copied to stubdom"
|
||||
retar-externals || die "re-tar procedure failed"
|
||||
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="--prefix=${PREFIX}/usr \
|
||||
--libdir=${PREFIX}/usr/$(get_libdir) \
|
||||
--libexecdir=${PREFIX}/usr/libexec \
|
||||
--disable-werror \
|
||||
--disable-xen"
|
||||
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use custom-cflags || unset CFLAGS
|
||||
if test-flag-CC -fno-strict-overflow; then
|
||||
append-flags -fno-strict-overflow
|
||||
fi
|
||||
|
||||
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" -C tools/include
|
||||
|
||||
if use x86; then
|
||||
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" \
|
||||
XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub
|
||||
elif use amd64; then
|
||||
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" \
|
||||
XEN_TARGET_ARCH="x86_64" -C stubdom pv-grub
|
||||
if has_multilib_profile; then
|
||||
multilib_toolchain_setup x86
|
||||
emake CC="$(tc-getCC)" AR="$(tc-getAR)" \
|
||||
XEN_TARGET_ARCH="x86_32" -C stubdom pv-grub
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use x86; then
|
||||
emake XEN_TARGET_ARCH="x86_32" DESTDIR="${D}" -C stubdom install-grub
|
||||
fi
|
||||
if use amd64; then
|
||||
emake XEN_TARGET_ARCH="x86_64" DESTDIR="${D}" -C stubdom install-grub
|
||||
if has_multilib_profile; then
|
||||
emake XEN_TARGET_ARCH="x86_32" DESTDIR="${D}" -C stubdom install-grub
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the offical wiki page:"
|
||||
elog "https://wiki.gentoo.org/wiki/Xen"
|
||||
elog "http://wiki.xen.org/wiki/Main_Page"
|
||||
}
|
@ -1,8 +1,5 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>phajdan.jr@gentoo.org</email>
|
||||
<name>Pawel Hajdan jr</name>
|
||||
</maintainer>
|
||||
<!-- maintainer-needed -->
|
||||
</pkgmetadata>
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="GNU readline wrapper"
|
||||
HOMEPAGE="http://utopia.knoware.nl/~hlub/uck/rlwrap/"
|
||||
SRC_URI="http://utopia.knoware.nl/~hlub/uck/rlwrap/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~mips ~ppc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos"
|
||||
IUSE="debug"
|
||||
|
||||
RDEPEND="sys-libs/readline:0="
|
||||
|
||||
DOCS=( AUTHORS BUGS ChangeLog NEWS README )
|
||||
|
||||
src_configure() {
|
||||
econf \
|
||||
$(use_enable debug)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
einstalldocs
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="textile"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="A Python port of Textile, A humane web text generator"
|
||||
HOMEPAGE="https://github.com/textile/python-textile"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
RDEPEND="
|
||||
dev-python/regex[${PYTHON_USEDEP}]"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_prepare_all() {
|
||||
# This resolves a nasty race condition, courtesy of Arfrever
|
||||
sed -e 's:with-id = 1::' -i setup.cfg || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests textile/tests/ || die "Tests failed under ${EPYTHON}"
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="textile"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="A Python port of Textile, A humane web text generator"
|
||||
HOMEPAGE="https://github.com/textile/python-textile"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
RDEPEND="
|
||||
dev-python/regex[${PYTHON_USEDEP}]"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_prepare_all() {
|
||||
# This resolves a nasty race condition, courtesy of Arfrever
|
||||
sed -e 's:with-id = 1::' -i setup.cfg || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests textile/tests/ || die "Tests failed under ${EPYTHON}"
|
||||
}
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="python-textile"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="A Python port of Textile, A humane web text generator"
|
||||
HOMEPAGE="https://github.com/textile/python-textile"
|
||||
SRC_URI="https://github.com/textile/python-textile/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-runner[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-cov[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
RDEPEND="
|
||||
dev-python/regex[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
python_prepare_all() {
|
||||
# This resolves a nasty race condition, courtesy of Arfrever
|
||||
sed -e 's:with-id = 1::' -i setup.cfg || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
py.test || die "Testsuite failed under ${EPYTHON}"
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST mariadb-galera-10.0.28.tar.gz 63652419 SHA256 cbbbd3067cbd350aad4811c270aeb77119c6f3949b400231b69e765b64610923 SHA512 8c176771f0329a60da298bc2e234778432a39a78253810b7cd91f5c736e9fc1a730227f9b7ab7a245ed4a935f177274c3ce69b253038052006148a6937c5f272 WHIRLPOOL cbef008eb570a142c4ffab090b9a03e6df58ae8d0726d99c124c87a073865ca71354231805a2eaa9c364d0357d84df0fa8d56176d806dbcfdb43a51d0ee7446c
|
||||
DIST mariadb-galera-10.0.30.tar.gz 63823185 SHA256 d236e12cfd64e79a5bbca3f7b1914829ca6db2f39f330366d0226d8ad8cc998f SHA512 fcc059f13e68aa664c077edeed186980d121fbbcc88b2281dcdb4939e19bc53c089a70f3a051393e69805e3ded41721ea8fe64771d4cf54d29efa75cb07f9e8a WHIRLPOOL a4dab62602fab4384ff10804c783e773cde12feff6d296be0c7ae84625d82c980cb3090386b318c0da974290583063522d34dbc67bb63e74371492da1924dc8e
|
||||
DIST mysql-extras-20160629-1442Z.tar.bz2 299152 SHA256 c90979db927772468f8b398c640469ff4740f950068e740c04ff60500e714766 SHA512 1de46daf6b4534dadf9d3eff8d5d557778e63b5e04aedb57fe56d3016ba93a9d55d80faee38f77852d23da5169879e4f25b3386abe44ee8d961db7ffc4145715 WHIRLPOOL d8c94e4e43e772307d8d137a28e18991fa24a27b1587ec19ae5bd12c733cc0931e459092de2c43216776e3284c7c416d52030fe20c98a6439388507c5fe5111f
|
||||
|
@ -0,0 +1,181 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
MY_EXTRAS_VER="20160629-1442Z"
|
||||
# The wsrep API version must match between upstream WSREP and sys-cluster/galera major number
|
||||
WSREP_REVISION="25"
|
||||
SUBSLOT="18"
|
||||
MYSQL_PV_MAJOR="5.6"
|
||||
|
||||
SERVER_URI="https://downloads.mariadb.org/interstitial/${P}/source/${P}.tar.gz"
|
||||
MY_SOURCEDIR="${PN%%-galera}-${PV}"
|
||||
JAVA_PKG_OPT_USE="jdbc"
|
||||
|
||||
inherit toolchain-funcs java-pkg-opt-2 mysql-multilib-r1
|
||||
|
||||
HOMEPAGE="http://mariadb.org/"
|
||||
DESCRIPTION="An enhanced, drop-in replacement for MySQL with Galera Replication"
|
||||
|
||||
IUSE="bindist jdbc odbc oqgraph pam sphinx sst-rsync sst-xtrabackup tokudb xml"
|
||||
RESTRICT="!bindist? ( bindist )"
|
||||
|
||||
REQUIRED_USE="server? ( tokudb? ( jemalloc ) ) static? ( !pam )"
|
||||
|
||||
# REMEMBER: also update eclass/mysql*.eclass before committing!
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
MY_PATCH_DIR="${WORKDIR}/mysql-extras-${MY_EXTRAS_VER}"
|
||||
PATCHES=(
|
||||
"${MY_PATCH_DIR}/01050_all_mariadb_mysql_config_cleanup-5.5.41.patch"
|
||||
"${MY_PATCH_DIR}/20006_all_cmake_elib-mariadb-10.0.26.patch"
|
||||
"${MY_PATCH_DIR}/20009_all_mariadb_myodbc_symbol_fix-5.5.38.patch"
|
||||
"${MY_PATCH_DIR}/20018_all_mariadb-galera-10.0.20-without-clientlibs-tools.patch"
|
||||
)
|
||||
COMMON_DEPEND="
|
||||
!bindist? ( >=sys-libs/readline-4.1:0= )
|
||||
server? (
|
||||
extraengine? (
|
||||
odbc? ( dev-db/unixODBC:0= )
|
||||
xml? ( dev-libs/libxml2:2= )
|
||||
)
|
||||
oqgraph? ( >=dev-libs/boost-1.40.0:0= dev-libs/judy:0= )
|
||||
pam? ( virtual/pam:0= )
|
||||
tokudb? ( app-arch/snappy )
|
||||
)
|
||||
>=dev-libs/libpcre-8.35:3=
|
||||
"
|
||||
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )
|
||||
server? ( extraengine? ( jdbc? ( >=virtual/jdk-1.6 ) ) )
|
||||
${COMMON_DEPEND}"
|
||||
RDEPEND="${RDEPEND} ${COMMON_DEPEND}
|
||||
sys-apps/iproute2
|
||||
=sys-cluster/galera-${WSREP_REVISION}*
|
||||
sst-rsync? ( sys-process/lsof )
|
||||
sst-xtrabackup? ( net-misc/socat[ssl] )
|
||||
perl? ( !dev-db/mytop
|
||||
virtual/perl-Getopt-Long
|
||||
dev-perl/TermReadKey
|
||||
virtual/perl-Term-ANSIColor
|
||||
virtual/perl-Time-HiRes )
|
||||
server? ( extraengine? ( jdbc? ( >=virtual/jre-1.6 ) ) )
|
||||
"
|
||||
# xtrabackup-bin causes a circular dependency if DBD-mysql is not already installed
|
||||
PDEPEND="sst-xtrabackup? ( || ( >=dev-db/xtrabackup-bin-2.2.4 dev-db/percona-xtrabackup ) )"
|
||||
|
||||
MULTILIB_WRAPPED_HEADERS+=( /usr/include/mysql/mysql_version.h )
|
||||
|
||||
pkg_setup() {
|
||||
java-pkg-opt-2_pkg_setup
|
||||
mysql-multilib-r1_pkg_setup
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
java-pkg-opt-2_pkg_preinst
|
||||
mysql-multilib-r1_pkg_preinst
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
java-pkg-opt-2_src_prepare
|
||||
mysql-multilib-r1_src_prepare
|
||||
}
|
||||
|
||||
src_configure(){
|
||||
# bug 508724 mariadb cannot use ld.gold
|
||||
tc-ld-disable-gold
|
||||
local MYSQL_CMAKE_NATIVE_DEFINES=(
|
||||
-DWITH_JEMALLOC=$(usex jemalloc system)
|
||||
-DWITH_PCRE=system
|
||||
)
|
||||
if use server ; then
|
||||
# Federated{,X} must be treated special otherwise they will not be built as plugins
|
||||
if ! use extraengine ; then
|
||||
MYSQL_CMAKE_NATIVE_DEFINES+=(
|
||||
-DWITHOUT_FEDERATED=1
|
||||
-DWITHOUT_FEDERATEDX=1 )
|
||||
fi
|
||||
|
||||
MYSQL_CMAKE_NATIVE_DEFINES+=(
|
||||
$(mysql-cmake_use_plugin oqgraph OQGRAPH)
|
||||
$(mysql-cmake_use_plugin sphinx SPHINX)
|
||||
$(mysql-cmake_use_plugin tokudb TOKUDB)
|
||||
$(mysql-cmake_use_plugin pam AUTH_PAM)
|
||||
-DWITHOUT_CASSANDRA=0
|
||||
$(mysql-cmake_use_plugin extraengine SEQUENCE)
|
||||
$(mysql-cmake_use_plugin extraengine SPIDER)
|
||||
$(mysql-cmake_use_plugin extraengine CONNECT)
|
||||
-DCONNECT_WITH_MYSQL=1
|
||||
-DCONNECT_WITH_LIBXML2=$(usex xml)
|
||||
-DCONNECT_WITH_ODBC=$(usex odbc)
|
||||
-DCONNECT_WITH_JDBC=$(usex jdbc)
|
||||
-DWITHOUT_MROONGA=1
|
||||
)
|
||||
fi
|
||||
mysql-multilib-r1_src_configure
|
||||
}
|
||||
|
||||
# Official test instructions:
|
||||
# USE='embedded extraengine perl server openssl static-libs' \
|
||||
# FEATURES='test userpriv -usersandbox' \
|
||||
# ebuild mariadb-X.X.XX.ebuild \
|
||||
# digest clean package
|
||||
multilib_src_test() {
|
||||
|
||||
if ! multilib_is_native_abi ; then
|
||||
einfo "Server tests not available on non-native abi".
|
||||
return 0;
|
||||
fi
|
||||
|
||||
local TESTDIR="${BUILD_DIR}/mysql-test"
|
||||
local retstatus_unit
|
||||
local retstatus_tests
|
||||
|
||||
if ! use server ; then
|
||||
einfo "Skipping server tests due to minimal build."
|
||||
fi
|
||||
|
||||
# Bug #213475 - MySQL _will_ object strenously if your machine is named
|
||||
# localhost. Also causes weird failures.
|
||||
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
|
||||
|
||||
if [[ $UID -eq 0 ]]; then
|
||||
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
|
||||
fi
|
||||
has usersandbox $FEATURES && ewarn "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
|
||||
# Run CTest (test-units)
|
||||
cmake-utils_src_test
|
||||
retstatus_unit=$?
|
||||
|
||||
# Ensure that parallel runs don't die
|
||||
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
|
||||
# Enable parallel testing, auto will try to detect number of cores
|
||||
# You may set this by hand.
|
||||
# The default maximum is 8 unless MTR_MAX_PARALLEL is increased
|
||||
export MTR_PARALLEL="${MTR_PARALLEL:-auto}"
|
||||
|
||||
# create directories because mysqladmin might run out of order
|
||||
mkdir -p "${T}"/var-tests{,/log}
|
||||
|
||||
# Run mysql tests
|
||||
pushd "${TESTDIR}" || die
|
||||
|
||||
# run mysql-test tests
|
||||
perl mysql-test-run.pl --force --vardir="${T}/var-tests" --reorder
|
||||
retstatus_tests=$?
|
||||
|
||||
popd || die
|
||||
|
||||
# Cleanup is important for these testcases.
|
||||
pkill -9 -f "${S}/ndb" 2>/dev/null
|
||||
pkill -9 -f "${S}/sql" 2>/dev/null
|
||||
|
||||
local failures=""
|
||||
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
|
||||
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
|
||||
|
||||
[[ -z "$failures" ]] || die "Test failures: $failures"
|
||||
einfo "Tests successfully completed"
|
||||
}
|
@ -0,0 +1,122 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
MY_EXTRAS_VER="20160721-1526Z"
|
||||
|
||||
# Build system
|
||||
BUILD="cmake"
|
||||
|
||||
inherit toolchain-funcs mysql-v2
|
||||
# only to make repoman happy. it is really set in the eclass
|
||||
IUSE="$IUSE"
|
||||
|
||||
# REMEMBER: also update eclass/mysql*.eclass before committing!
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
|
||||
|
||||
# When MY_EXTRAS is bumped, the index should be revised to exclude these.
|
||||
EPATCH_EXCLUDE=''
|
||||
|
||||
DEPEND="|| ( >=sys-devel/gcc-3.4.6 >=sys-devel/gcc-apple-4.0 )"
|
||||
RDEPEND="${RDEPEND}"
|
||||
|
||||
# Please do not add a naive src_unpack to this ebuild
|
||||
# If you want to add a single patch, copy the ebuild to an overlay
|
||||
# and create your own mysql-extras tarball, looking at 000_index.txt
|
||||
|
||||
# Official test instructions:
|
||||
# USE='embedded extraengine perl ssl static-libs community' \
|
||||
# FEATURES='test userpriv -usersandbox' \
|
||||
# ebuild mariadb-X.X.XX.ebuild \
|
||||
# digest clean package
|
||||
src_test() {
|
||||
|
||||
local TESTDIR="${BUILD_DIR}/mysql-test"
|
||||
local retstatus_unit
|
||||
local retstatus_tests
|
||||
|
||||
# Bug #213475 - MySQL _will_ object strenously if your machine is named
|
||||
# localhost. Also causes weird failures.
|
||||
[[ "${HOSTNAME}" == "localhost" ]] && die "Your machine must NOT be named localhost"
|
||||
|
||||
if ! use "minimal" ; then
|
||||
|
||||
if [[ $UID -eq 0 ]]; then
|
||||
die "Testing with FEATURES=-userpriv is no longer supported by upstream. Tests MUST be run as non-root."
|
||||
fi
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
einfo ">>> Test phase [test]: ${CATEGORY}/${PF}"
|
||||
addpredict /this-dir-does-not-exist/t9.MYI
|
||||
|
||||
# Run CTest (test-units)
|
||||
cmake-utils_src_test
|
||||
retstatus_unit=$?
|
||||
[[ $retstatus_unit -eq 0 ]] || eerror "test-unit failed"
|
||||
|
||||
# Ensure that parallel runs don't die
|
||||
export MTR_BUILD_THREAD="$((${RANDOM} % 100))"
|
||||
# Enable parallel testing, auto will try to detect number of cores
|
||||
# You may set this by hand.
|
||||
# The default maximum is 8 unless MTR_MAX_PARALLEL is increased
|
||||
export MTR_PARALLEL="${MTR_PARALLEL:-auto}"
|
||||
|
||||
# create directories because mysqladmin might right out of order
|
||||
mkdir -p "${T}"/var-tests{,/log}
|
||||
|
||||
# create symlink for the tests to find the replace util
|
||||
ln -s "${BUILD_DIR}/extra/replace" "${BUILD_DIR}/client/"
|
||||
|
||||
# These are failing in MariaDB 5.5 for now and are believed to be
|
||||
# false positives:
|
||||
#
|
||||
# main.information_schema, binlog.binlog_statement_insert_delayed,
|
||||
# main.mysqld--help, funcs_1.is_triggers, funcs_1.is_tables_mysql,
|
||||
# funcs_1.is_columns_mysql
|
||||
# fails due to USE=-latin1 / utf8 default
|
||||
#
|
||||
# main.mysql_client_test, main.mysql_client_test_nonblock:
|
||||
# segfaults at random under Portage only, suspect resource limits.
|
||||
#
|
||||
# archive.mysqlhotcopy_archive main.mysqlhotcopy_myisam
|
||||
# fails due to bad cleanup of previous tests when run in parallel
|
||||
# The tool is deprecated anyway
|
||||
# Bug 532288
|
||||
|
||||
for t in main.mysql_client_test main.mysql_client_test_nonblock \
|
||||
binlog.binlog_statement_insert_delayed main.information_schema \
|
||||
main.mysqld--help \
|
||||
archive.mysqlhotcopy_archive main.mysqlhotcopy_myisam \
|
||||
funcs_1.is_triggers funcs_1.is_tables_mysql funcs_1.is_columns_mysql ; do
|
||||
mysql-v2_disable_test "$t" "False positives in Gentoo"
|
||||
done
|
||||
|
||||
# Run mysql tests
|
||||
pushd "${TESTDIR}"
|
||||
|
||||
# run mysql-test tests
|
||||
perl mysql-test-run.pl --force --vardir="${T}/var-tests" \
|
||||
--testcase-timeout=30
|
||||
retstatus_tests=$?
|
||||
[[ $retstatus_tests -eq 0 ]] || eerror "tests failed"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
popd
|
||||
|
||||
# Cleanup is important for these testcases.
|
||||
pkill -9 -f "${S}/ndb" 2>/dev/null
|
||||
pkill -9 -f "${S}/sql" 2>/dev/null
|
||||
|
||||
failures=""
|
||||
[[ $retstatus_unit -eq 0 ]] || failures="${failures} test-unit"
|
||||
[[ $retstatus_tests -eq 0 ]] || failures="${failures} tests"
|
||||
has usersandbox $FEATURES && eerror "Some tests may fail with FEATURES=usersandbox"
|
||||
|
||||
[[ -z "$failures" ]] || die "Test failures: $failures"
|
||||
einfo "Tests successfully completed"
|
||||
|
||||
else
|
||||
|
||||
einfo "Skipping server tests due to minimal build."
|
||||
fi
|
||||
}
|
@ -0,0 +1,192 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
SCONS_MIN_VERSION="2.3.0"
|
||||
CHECKREQS_DISK_BUILD="2400M"
|
||||
CHECKREQS_DISK_USR="512M"
|
||||
CHECKREQS_MEMORY="1024M"
|
||||
|
||||
inherit eutils flag-o-matic multilib pax-utils scons-utils systemd toolchain-funcs user versionator check-reqs
|
||||
|
||||
MY_P=${PN}-src-r${PV/_rc/-rc}
|
||||
|
||||
DESCRIPTION="A high-performance, open source, schema-free document-oriented database"
|
||||
HOMEPAGE="http://www.mongodb.org"
|
||||
SRC_URI="https://fastdl.mongodb.org/src/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="AGPL-3 Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="debug kerberos libressl mms-agent ssl test +tools"
|
||||
|
||||
RDEPEND=">=app-arch/snappy-1.1.2
|
||||
|| ( =dev-cpp/yaml-cpp-0.5.1 >dev-cpp/yaml-cpp-0.5.2 )
|
||||
>=dev-libs/boost-1.57[threads(+)]
|
||||
>=dev-libs/libpcre-8.39[cxx]
|
||||
dev-libs/snowball-stemmer
|
||||
net-libs/libpcap
|
||||
>=sys-libs/zlib-1.2.8
|
||||
mms-agent? ( app-admin/mms-agent )
|
||||
ssl? (
|
||||
!libressl? ( >=dev-libs/openssl-1.0.1g:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
)"
|
||||
DEPEND="${RDEPEND}
|
||||
>=sys-devel/gcc-4.8.2:*
|
||||
sys-libs/ncurses
|
||||
sys-libs/readline
|
||||
debug? ( dev-util/valgrind )
|
||||
kerberos? ( dev-libs/cyrus-sasl[kerberos] )
|
||||
test? (
|
||||
dev-python/pymongo
|
||||
dev-python/pyyaml
|
||||
)"
|
||||
PDEPEND="tools? ( >=app-admin/mongo-tools-${PV} )"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
pkg_pretend() {
|
||||
if [[ ${REPLACING_VERSIONS} < 3.0 ]]; then
|
||||
ewarn "To upgrade an existing MongoDB deployment to 3.2, you must be"
|
||||
ewarn "running a 3.0-series release. Please update to the latest 3.0"
|
||||
ewarn "release before continuing if wish to keep your data."
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
enewgroup mongodb
|
||||
enewuser mongodb -1 -1 /var/lib/${PN} mongodb
|
||||
|
||||
# Maintainer notes
|
||||
#
|
||||
# --use-system-tcmalloc is strongly NOT recommended:
|
||||
# https://www.mongodb.org/about/contributors/tutorial/build-mongodb-from-source/
|
||||
|
||||
scons_opts=(
|
||||
CC="$(tc-getCC)"
|
||||
CXX="$(tc-getCXX)"
|
||||
|
||||
--disable-warnings-as-errors
|
||||
--use-system-boost
|
||||
--use-system-pcre
|
||||
--use-system-snappy
|
||||
--use-system-stemmer
|
||||
--use-system-yaml
|
||||
--use-system-zlib
|
||||
)
|
||||
|
||||
# wiredtiger not supported on 32bit platforms #572166
|
||||
use x86 && scons_opts+=( --wiredtiger=off )
|
||||
|
||||
if use debug; then
|
||||
scons_opts+=( --dbg=on )
|
||||
fi
|
||||
|
||||
if use prefix; then
|
||||
scons_opts+=(
|
||||
--cpppath="${EPREFIX}/usr/include"
|
||||
--libpath="${EPREFIX}/usr/$(get_libdir)"
|
||||
)
|
||||
fi
|
||||
|
||||
if use kerberos; then
|
||||
scons_opts+=( --use-sasl-client )
|
||||
fi
|
||||
|
||||
if use ssl; then
|
||||
scons_opts+=( --ssl )
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
epatch \
|
||||
"${FILESDIR}/${PN}-3.2.0-fix-scons.patch" \
|
||||
"${FILESDIR}/${PN}-3.2.4-boost-1.60.patch"
|
||||
if has_version ">=dev-libs/boost-1.62"; then
|
||||
epatch "${FILESDIR}/${PN}-3.2.10-boost-1.62.patch"
|
||||
fi
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# respect mongoDB upstream's basic recommendations
|
||||
# see bug #536688 and #526114
|
||||
if ! use debug; then
|
||||
filter-flags '-m*'
|
||||
filter-flags '-O?'
|
||||
fi
|
||||
escons "${scons_opts[@]}" core tools
|
||||
}
|
||||
|
||||
src_install() {
|
||||
escons "${scons_opts[@]}" --nostrip install --prefix="${ED}"/usr
|
||||
|
||||
for x in /var/{lib,log}/${PN}; do
|
||||
keepdir "${x}"
|
||||
fowners mongodb:mongodb "${x}"
|
||||
done
|
||||
|
||||
doman debian/mongo*.1
|
||||
dodoc README docs/building.md
|
||||
|
||||
newinitd "${FILESDIR}/${PN}.initd-r2" ${PN}
|
||||
newconfd "${FILESDIR}/${PN}.confd-r2" ${PN}
|
||||
newinitd "${FILESDIR}/${PN/db/s}.initd-r2" ${PN/db/s}
|
||||
newconfd "${FILESDIR}/${PN/db/s}.confd-r2" ${PN/db/s}
|
||||
|
||||
insinto /etc
|
||||
newins "${FILESDIR}/${PN}.conf-r3" ${PN}.conf
|
||||
newins "${FILESDIR}/${PN/db/s}.conf-r2" ${PN/db/s}.conf
|
||||
|
||||
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||
|
||||
insinto /etc/logrotate.d/
|
||||
newins "${FILESDIR}/${PN}.logrotate" ${PN}
|
||||
|
||||
# see bug #526114
|
||||
pax-mark emr "${ED}"/usr/bin/{mongo,mongod,mongos}
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# wrt bug #461466
|
||||
if [[ "$(get_libdir)" == "lib64" ]]; then
|
||||
rmdir "${ED}"/usr/lib/ &>/dev/null
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# this one test fails
|
||||
rm jstests/core/repl_write_threads_start_param.js
|
||||
|
||||
./buildscripts/resmoke.py --dbpathPrefix=test --suites core || die "Tests failed"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
local v
|
||||
for v in ${REPLACING_VERSIONS}; do
|
||||
if ! version_is_at_least 3.0 ${v}; then
|
||||
ewarn "!! IMPORTANT !!"
|
||||
ewarn " "
|
||||
ewarn "${PN} configuration files have changed !"
|
||||
ewarn " "
|
||||
ewarn "Make sure you migrate from /etc/conf.d/${PN} to the new YAML standard in /etc/${PN}.conf"
|
||||
ewarn " http://docs.mongodb.org/manual/reference/configuration-options/"
|
||||
ewarn " "
|
||||
ewarn "Make sure you also follow the upgrading process :"
|
||||
ewarn " http://docs.mongodb.org/master/release-notes/3.0-upgrade/"
|
||||
ewarn " "
|
||||
ewarn "MongoDB 3.0 introduces the WiredTiger storage engine."
|
||||
ewarn "WiredTiger is incompatible with MMAPv1 and you need to dump/reload your data if you want to use it."
|
||||
ewarn "Once you have your data dumped, you need to set storage.engine: wiredTiger in /etc/${PN}.conf"
|
||||
ewarn " http://docs.mongodb.org/master/release-notes/3.0-upgrade/#change-storage-engine-to-wiredtiger"
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
ewarn "Make sure to read the release notes and follow the upgrade process:"
|
||||
ewarn " https://docs.mongodb.org/manual/release-notes/3.2/"
|
||||
ewarn " https://docs.mongodb.org/master/release-notes/3.2-upgrade/"
|
||||
ewarn
|
||||
ewarn " Starting in 3.2, MongoDB uses the WiredTiger as the default storage engine."
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST reason-parser-1.13.3.tar.gz 10253108 SHA256 b92840f8238dd6266c5678da3e4dc832776bcc98990ac47773020e34dce708a6 SHA512 82398fbbf72bcadfc868e5f33e8666ef80ef610f8313d08bc16593944569b7a16693fcc6397a117518bf8e32f71083f0ac4a416112f97cd220715f4293136b84 WHIRLPOOL a82dd8e28a012ed0716fba6bc79eee849110bfb42cd8221eb15847cadae90d62d909e635f3da465c6220382d6eee62f2f69a739d96d3d6a5baddc58623cd059e
|
||||
DIST reason-parser-1.13.4.tar.gz 6856260 SHA256 07b0f4a471b570b9f6ee699016d2fb9d98788d1ccfb428a2b2f20f1ee6f42b9e SHA512 ee2270ffbb3c3c818aafec2ef0f23f3741e66e5b077b3a84b49b357b003d24d639165c521bf0afe92bf81ef626ed6d863ea6d097b83a2e1b5a0349a679cc8c7f WHIRLPOOL ffc8b96ce5b653c1d78877f0422315cce3d42615b88bb6f09f52d3af9799fe30ed221094a5acbc49448f0d1e865b1702a2b5956a8d327a22b2db01eb33aa0da7
|
||||
DIST reason-parser-1.13.5.tar.gz 183248 SHA256 442266c4bdb0f5c11e56f1e239b042faa4d501291158c7bc82de1d4632e7a20a SHA512 a0ffebd80ecb0ba2a4b49bebe68e71589069e48a1992b07b122dd52495847971d23aba4d7ee7a3ad88fd75f45a758f80ebeea9acbef45b0eeab2966ec952475b WHIRLPOOL 98395a7c81003b3598b6cf730d01b867b6378dcaff9ecf0fd55151189cb8fa03b2ac8cbc733800b2ef8b0810908f88387ac6b8d0a6c1b6576e068336ba5b05da
|
||||
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit findlib eutils
|
||||
|
||||
DESCRIPTION="Meta Language Toolchain"
|
||||
HOMEPAGE="https://github.com/facebook/reason"
|
||||
SRC_URI="https://github.com/facebook/reason/releases/download/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+ocamlopt"
|
||||
|
||||
DEPEND="
|
||||
dev-lang/ocaml:=[ocamlopt?]
|
||||
>=dev-ml/menhir-20170418:=
|
||||
dev-ml/merlin-extend:=
|
||||
dev-ml/result:=
|
||||
dev-ml/topkg:=
|
||||
dev-ml/ocaml-migrate-parsetree:=
|
||||
dev-ml/ppx_tools_versioned:=
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
DEPEND="${DEPEND}
|
||||
dev-ml/ocamlbuild
|
||||
dev-ml/opam
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}"
|
||||
|
||||
src_compile() {
|
||||
emake compile_error
|
||||
ocamlbuild -package topkg pkg/build.native || die
|
||||
./build.native build \
|
||||
--native "$(usex ocamlopt true false)" \
|
||||
--native-dynlink "$(usex ocamlopt true false)" \
|
||||
|| die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
opam-installer -i \
|
||||
--prefix="${ED}/usr" \
|
||||
--libdir="${D}/$(ocamlc -where)" \
|
||||
--docdir="${ED}/usr/share/doc/${PF}" \
|
||||
--mandir="${ED}/usr/share/man" \
|
||||
${PN}.install || die
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST reason-1.13.3.tar.gz 10253108 SHA256 b92840f8238dd6266c5678da3e4dc832776bcc98990ac47773020e34dce708a6 SHA512 82398fbbf72bcadfc868e5f33e8666ef80ef610f8313d08bc16593944569b7a16693fcc6397a117518bf8e32f71083f0ac4a416112f97cd220715f4293136b84 WHIRLPOOL a82dd8e28a012ed0716fba6bc79eee849110bfb42cd8221eb15847cadae90d62d909e635f3da465c6220382d6eee62f2f69a739d96d3d6a5baddc58623cd059e
|
||||
DIST reason-1.13.4.tar.gz 6856260 SHA256 07b0f4a471b570b9f6ee699016d2fb9d98788d1ccfb428a2b2f20f1ee6f42b9e SHA512 ee2270ffbb3c3c818aafec2ef0f23f3741e66e5b077b3a84b49b357b003d24d639165c521bf0afe92bf81ef626ed6d863ea6d097b83a2e1b5a0349a679cc8c7f WHIRLPOOL ffc8b96ce5b653c1d78877f0422315cce3d42615b88bb6f09f52d3af9799fe30ed221094a5acbc49448f0d1e865b1702a2b5956a8d327a22b2db01eb33aa0da7
|
||||
DIST reason-1.13.5.tar.gz 6681110 SHA256 d769e15e507ae401e5f7d8e59a1c327729824dd9914d05d7fe0ee51c84afeb2f SHA512 e47836281fb36094358f746b3460ac9671782fbf51058b220f5fe2be060592db75b688c917e162345c3fdcf8822d9b7fad0483ae274a97ccf640bdd7853510a9 WHIRLPOOL 21e86a487263735af8968577f4b3dc8fb4492c9b831b24e27faf30d421e0e164342bc76661fa674c90a2bb78b911639ea12e5eb7562cb6144c6b0d414844e4fe
|
||||
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="Meta Language Toolchain"
|
||||
HOMEPAGE="https://github.com/facebook/reason"
|
||||
SRC_URI="https://github.com/facebook/reason/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="+ocamlopt"
|
||||
|
||||
DEPEND="
|
||||
dev-lang/ocaml:=[ocamlopt?]
|
||||
dev-ml/reason-parser:=
|
||||
dev-ml/merlin-extend:=
|
||||
dev-ml/result:=
|
||||
dev-ml/topkg:=
|
||||
dev-ml/ocaml-migrate-parsetree:=
|
||||
dev-ml/utop:=
|
||||
"
|
||||
RDEPEND="${DEPEND}"
|
||||
DEPEND="${DEPEND}
|
||||
dev-ml/findlib
|
||||
dev-ml/ocamlbuild
|
||||
dev-ml/opam"
|
||||
|
||||
src_compile() {
|
||||
emake precompile
|
||||
emake build
|
||||
}
|
||||
|
||||
src_install() {
|
||||
opam-installer -i \
|
||||
--prefix="${ED}/usr" \
|
||||
--libdir="${D}/$(ocamlc -where)" \
|
||||
--docdir="${ED}/usr/share/doc/${PF}" \
|
||||
--mandir="${ED}/usr/share/man" \
|
||||
${PN}.install || die
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=KAZEBURO
|
||||
DIST_VERSION=0.33
|
||||
DIST_EXAMPLES=("eg/*")
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Compile an Apache log format string to perl-code"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~ia64 ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
# POSIX -> perl
|
||||
RDEPEND="
|
||||
>=dev-perl/POSIX-strftime-Compiler-0.300.0
|
||||
virtual/perl-Time-Local
|
||||
>=dev-lang/perl-5.8.4"
|
||||
|
||||
# HTTP::Request::Common -> HTTP-Message
|
||||
# Test::More -> perl-Test-Simple
|
||||
# URI::Escape -> URI
|
||||
DEPEND="${RDEPEND}
|
||||
>=dev-perl/Module-Build-0.380.0
|
||||
test? (
|
||||
dev-perl/HTTP-Message
|
||||
dev-perl/Test-MockTime
|
||||
>=virtual/perl-Test-Simple-0.980.0
|
||||
dev-perl/Test-Requires
|
||||
>=dev-perl/Try-Tiny-0.120.0
|
||||
>=dev-perl/URI-1.600.0
|
||||
)
|
||||
"
|
@ -1,2 +1 @@
|
||||
DIST Apache-LogFormat-Compiler-0.33.tar.gz 16431 SHA256 1bf36d92aa184236fbd9d1f795f273de9d365c6fbe087bfdfbaa800bff98749d SHA512 2d098316d02dd9d81dbdb9b4852917430fad0e8e8599464500ee838b5eb6b26ec30fff04f1a9d0fad87141f38b6262c0a0a9bb14c13c559c9b92b53649225e21 WHIRLPOOL d5da1f1c6ee993fe666c612fffc5ef6e98eb4beed2d97a3a0e4fcd06f7daf1cf7f545ce012a256c8da4f45a82ca9a46f1ac4a1d5aa3b834293a53fa2a4fb2721
|
||||
DIST Apache-LogFormat-Compiler-0.35.tar.gz 15996 SHA256 1654c0000a042a8af052616e30b91c1f0b95a720c8048b59168a8bd99b07271a SHA512 9a4447e0be864e6ba3a6170daa6f219b0ddd6b765ab6fbe6125a808da76803fb4bf6eed131df793a8cf900378b5c72f11489d5429106b97931f6fbef08f9f349 WHIRLPOOL a99988a1ccd13ff3612224550036402ec44ccef50c5ed8c50332cfbcdf68fff59c5c73a8f139947e2b0b4c7f83a530e945f3848050ec9101e74f03a12fe5b107
|
||||
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=BRICAS
|
||||
MODULE_VERSION=0.26
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Load configuration from different file formats, transparently"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm ppc x86 ~ppc-aix"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-perl/Module-Pluggable-3.10.0
|
||||
!<dev-perl/config-general-2.47
|
||||
!<dev-perl/Config-General-2.47
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=virtual/perl-ExtUtils-MakeMaker-6.590.0
|
||||
test? ( virtual/perl-Test-Simple )
|
||||
"
|
||||
|
||||
SRC_TEST=do
|
||||
|
||||
src_test() {
|
||||
perl_rm_files t/pod.t t/pod-coverage.t
|
||||
perl-module_src_test
|
||||
}
|
@ -1,36 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=BRICAS
|
||||
DIST_VERSION=0.27
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Load configuration from different file formats, transparently"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ppc ~x86 ~ppc-aix"
|
||||
IUSE="test minimal"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-perl/Module-Pluggable-3.600.0
|
||||
!minimal? (
|
||||
>=dev-perl/Config-General-2.470.0
|
||||
)
|
||||
minimal? (
|
||||
!<dev-perl/config-general-2.470.0
|
||||
!<dev-perl/Config-General-2.470.0
|
||||
)
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
>=virtual/perl-ExtUtils-MakeMaker-6.590.0
|
||||
test? (
|
||||
virtual/perl-Test-Simple
|
||||
)
|
||||
"
|
||||
|
||||
src_test() {
|
||||
perl_rm_files t/pod.t t/pod-coverage.t
|
||||
perl-module_src_test
|
||||
}
|
@ -1,4 +1,2 @@
|
||||
DIST Config-Any-0.26.tar.gz 35193 SHA256 f9ae12d5c1f084385dd9d55dd25c09a6f69f1a76c938d4d06ea3c6d85710a594 SHA512 15bac8e71340b181dd195ae211add730d8be01fcd7bbf4a7d3ed10b7fd2d7f207501a88a6ed03999d7207672249c4045defc931b7e9eb56e00166fdf7daccfda WHIRLPOOL 1534dfea6d6774be38d61ef683482081cac84c94c51bf8c31a0260d12d2829bc8194fa5edd2ced61c6665e1661ef77e4aa9700c8d980128992722060ba538e53
|
||||
DIST Config-Any-0.27.tar.gz 34862 SHA256 836f6dfff4a7ca2b05cf72e81848f9904ef2b61690f382a76819dc4853289cde SHA512 3987ab9521e5dc00f12b20f2cf3fb3ddb2fe1275903009064c6d5a29b1e5acfedde1238b9a60f0266a38c70a010fe26b4d29e4e8bccd11a01a19f28fa63625d2 WHIRLPOOL b7e9cbfe24eee5e921cfeb51114fb747b3c869fb19f955861a62338908839c05a2ef9cdd6aa961628790bd9799772331c288ad38dfb1984f960f631f709a5092
|
||||
DIST Config-Any-0.29.tar.gz 22124 SHA256 5793cba5b2c3620d4f466fd1fcb81dbbd43c5aa23116fe0f10b93ce2f95381a9 SHA512 4c9e9aeca0e21ab50a26ed319298430f95783e5f93577cac59da1d791334c9bcc8d4c19194080697fad2be99b0b426a538196a8a9de2f6eec5a5a015d00f9cbb WHIRLPOOL 5a60fdfc6d4caa41f0eeb431d51eccd51ebd6e9afcf10c4194d9e99a5d23a7cd36a6aecd81acc280647c69d9c33c0e3f5c92b47d6d3d2e0d0e94668c2c87e5c1
|
||||
DIST Config-Any-0.30.tar.gz 20026 SHA256 257e29ff52fcfdd3f9a1d8deb6c63d18d32c4257ab8f2c090164528fd0a23cc0 SHA512 798165360ff5dd0af2d7720f6b4372dc4fc7eba464fbb8635606aa9d16a86e88f91dcaf22ba3dc4aba52303b695391acb2540f7eac97223af69064b6322b600d WHIRLPOOL 7ee371c9e9bf360b0f0be52abd5c0245e2d04d1bca884a676b17e32fa6cd982d3e0dddf4d169ab8184fd0b1b9d8c45838fa961f2334ce5bf40349dc8651a6408
|
||||
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
MODULE_AUTHOR=PETDANCE
|
||||
MODULE_VERSION=1.12
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="File::Next is an iterator-based module for finding files"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~hppa ~ppc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="virtual/perl-File-Spec
|
||||
virtual/perl-Test-Simple"
|
||||
DEPEND="
|
||||
test? ( ${RDEPEND} )"
|
||||
|
||||
SRC_TEST=do
|
||||
|
||||
src_test() {
|
||||
# Ugh, Upstream has tests that depend on tests ...
|
||||
echo 'print qq[1..1\nok 1];' > "${S}/t/pod.t"
|
||||
echo 'print qq[1..1\nok 1];' > "${S}/t/pod-coverage.t"
|
||||
perl-module_src_test
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST File-Next-1.12.tar.gz 16842 SHA256 cc3afd8eaf6294aba93b8152a269cc36a9df707c6dc2c149aaa04dabd869e60a SHA512 eb742ed03f91463946ffe9d2ddade77f794996f4007ba6ae924255cf028d14959a3263c254ef9e7bed1e10ec40a244364743c40b2f34c2160064059b1f4c6f2f WHIRLPOOL 1abab70a23b867e8e97dbbb782bb03b1949c8f4c38852b093d21050ed83b119e20c39bb71878f6a9833c2fdc1cddee4af8f4e5319e03d5fdd8a3bd5336693abe
|
||||
DIST File-Next-1.16.tar.gz 17914 SHA256 6965f25c2c132d0ba7a6f72b57b8bc6d25cf8c1b7032caa3a9bda8612e41d759 SHA512 42c812b8927a18e1f01758a2218f37f2079083117763b41adcee1eb4947b36b1379405707304b948fddd4640e2c34070f4dcd0f217fb60b7ba765efe98be8ad3 WHIRLPOOL 5dcb5994a79cf9aec8aaec143f7ffdb6c87f3de1b52a1be15872e653c89ec7df8e58ea38e7b664e696105d99bee9c28acaf917e33118277bf3bfb8163feb6ee1
|
||||
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=KENTNL
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Convert arbitrary Perl Modules' versions into normalised Gentoo versions"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="alpha amd64 arm ia64 ~mips ppc ppc64 sparc x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
virtual/perl-Carp
|
||||
virtual/perl-Data-Dumper
|
||||
dev-perl/Sub-Exporter-Progressive
|
||||
>=virtual/perl-version-0.770.0
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/perl-ExtUtils-MakeMaker
|
||||
test? (
|
||||
dev-perl/Test-Fatal
|
||||
virtual/perl-File-Spec
|
||||
virtual/perl-Scalar-List-Utils
|
||||
>=virtual/perl-Test-Simple-0.960.0
|
||||
)
|
||||
"
|
@ -1,2 +1 @@
|
||||
DIST Gentoo-PerlMod-Version-0.8.0.tar.gz 40297 SHA256 ada634de6c467f61269652c9ef88e8e1e4cf1f1b79927677ccdd8257f3868ae3 SHA512 417066431bc475550d4a8376220f5cacf0013b1e8f1287b3e12afc9cb0473982fb2cbe3429414088f9ce3f41c80e67215b55d5cd9369a1f6611ae6658cb90678 WHIRLPOOL d4baa4cbf4278b102c7d3adbd77b11012cd03103aacaf08d2f038cca1fc86b2ec2dc1c20414291231ed76077097a191eea745261b064127829ac289803f88f9b
|
||||
DIST Gentoo-PerlMod-Version-v0.8.1.tar.gz 42054 SHA256 3b7acee7973d91028d05ed4d9767564138e9a7704d454aa8dae1a80a604d8131 SHA512 547e16e1a6d2572c1c514795408240365a576d8eb45fca30aa0d0a8ed1979f7bf9113d7cfa7abb4cb787b6328be880c355436be9d25a0703b0981c9c5f8f5c66 WHIRLPOOL 896de41439afcbdbbf88f41f34e10b6c9730092cd8146d84f0f9802d1d21334996dc79f5bb52d3e8aa51292091b591f653c05416d507b6cb1078659dc80390d1
|
||||
|
@ -1,4 +1,2 @@
|
||||
DIST PAR-1.010.tar.gz 75412 SHA256 78af355e757a55bfec0db4a02d62c402c5c56b31e8d317f70a31fc963b2e7e51 SHA512 57e2c39927402c353ee356ae9b91b4233614afa9dca61c3c2effbe2db8b6c653949cc424b637d12dc89668ddf7f49a38d2e6610521410e613e061c0f980b304d WHIRLPOOL 09f71c55d28a559182f8e1ffecc64a8cc7d9b1dd90eb7a5a72a6c8ac5280691268751113c9f6639f069286326813820d26ea4738c471b80d8a1d3d74c1dde252
|
||||
DIST PAR-1.012.tar.gz 82015 SHA256 ee1e2b7d7f364a71e91456faf3ceef69eeb639901480a17e4e0ff1e8dba26a85 SHA512 c40eff1c998c5ff64b5260ba8aec4899bd51a848f26d4c59dfc9abc6b0fac48095de5ba6cd42f1bb285243347710242dc997e61c9af0d5466e58127216185873 WHIRLPOOL 1e9173ef27af47ab75e56cc2dfbbb214635edf65bb3a8e3015c4e5b0f8c3394dea15252b4be6862c60935129d5306fb27ea703b3d95032af375aca8876ddebfe
|
||||
DIST PAR-1.014.tar.gz 81744 SHA256 a8a6ebb9130e0466fce4eec9db7e666531d25a6eb818eff83963dc685942ed4b SHA512 8c672f811a599fe608caa6d781ed196cf7391842eecef4d5829f45e1ec19e8c9e4c16c6a54eaf49b024a93a5dbc024f299159ad55058a43889f0f9b600ef0d4a WHIRLPOOL 4ec3fc35b58dddc09bf1a189ed17ed78e4668c330bb2db2a9561a34b7d7a7a613e0438d868c066413c9899f16f441337be3065844be292a5deb045a6a463c9ee
|
||||
DIST PAR-1.015.tar.gz 65748 SHA256 7d47e4b229739601f013b3043a680501cb9da48d8887d8d5d622a862a2115f46 SHA512 411048cb6517364b04cb46c179574b4baf2dc0788efecedc1e5fe2283a203d25157f1e74411761b8dd3019f50b651b0f40bf7d50131cf40077c4372571aa62b7 WHIRLPOOL 9b82e0ab776e1bea0c4b73b6894558774fef45668faec6d722e9e7d1d11322d7a86e5a4a0a427bb9a301764dafc176c4524a239c6274cc6a13095b191cc763d7
|
||||
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=RSCHUPP
|
||||
DIST_VERSION=1.010
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Perl Archive Toolkit"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~x86-solaris"
|
||||
IUSE="minimal"
|
||||
|
||||
DEPEND="
|
||||
!minimal? (
|
||||
virtual/perl-Digest
|
||||
dev-perl/Module-Signature
|
||||
)
|
||||
>=dev-perl/Archive-Zip-1.00
|
||||
>=virtual/perl-AutoLoader-5.660.200
|
||||
>=virtual/perl-File-Temp-0.50.0
|
||||
>=virtual/perl-IO-Compress-1.300.0
|
||||
>=dev-perl/PAR-Dist-0.320.0
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
>=virtual/perl-ExtUtils-MakeMaker-6.590.0
|
||||
"
|
||||
src_test() {
|
||||
perl_rm_files 't/00-pod.t'
|
||||
perl-module_src_test
|
||||
}
|
@ -1,33 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DIST_AUTHOR=RSCHUPP
|
||||
DIST_VERSION=1.012
|
||||
inherit perl-module
|
||||
|
||||
DESCRIPTION="Perl Archive Toolkit"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~x86-solaris"
|
||||
IUSE="minimal"
|
||||
|
||||
DEPEND="
|
||||
!minimal? (
|
||||
virtual/perl-Digest
|
||||
dev-perl/Module-Signature
|
||||
)
|
||||
>=dev-perl/Archive-Zip-1.00
|
||||
>=virtual/perl-AutoLoader-5.660.200
|
||||
>=virtual/perl-File-Temp-0.50.0
|
||||
>=virtual/perl-IO-Compress-1.300.0
|
||||
>=dev-perl/PAR-Dist-0.320.0
|
||||
"
|
||||
RDEPEND="${DEPEND}
|
||||
>=virtual/perl-ExtUtils-MakeMaker-6.590.0
|
||||
"
|
||||
src_test() {
|
||||
perl_rm_files 't/00-pod.t'
|
||||
perl-module_src_test
|
||||
}
|
@ -1,19 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_7,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A pure-Python memory-efficient packed representation for bit arrays"
|
||||
HOMEPAGE="http://cobweb.ecn.purdue.edu/~kak/dist/ https://pypi.python.org/pypi/BitVector"
|
||||
SRC_URI="http://cobweb.ecn.purdue.edu/~kak/dist/${P}.tar.gz"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" TestBitVector/Test.py || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST BitVector-3.3.2.tar.gz 128784 SHA256 8d63d4410f345e6cb7ea236d0b15b5b4b775bcff3bc1409ba2a07da3c1341c83 SHA512 47cdfec67e83679b5777004f76d7b920481d65745595aeda2e07b091ba54b332b37d8a447344dbcbbc861cba6af042f0031fe77a57b6bae57e010d9b208e3426 WHIRLPOOL 6ac840d0c7f2cd8711e68c65d81c4530c993b598c2c86a363e730a1a040a9a011075fc217e8041137a4c22b635570ffc4209bdf8f2961e82ee5b4177774d6b54
|
||||
DIST BitVector-3.4.4.tar.gz 121822 SHA256 e528ec6e03bcabe6d7e10d4a13459d644dd6577b73e225f7a686bd1902734186 SHA512 b2310ef712c97538e29d008688efdc10269030bfdf7656733093dd4580ff4dfa171f6d58683c3a6336e909a020ba5100474e18997c1b2a0873a0da2e622ba9ff WHIRLPOOL 0cdae2ec0503f2ba2d704ba2d992c0b8c176da1fd940690bc30483f3db3c4f23dbc7d395aed5a2db548f8da53df381222858932d1a1541c156b178f5518cbbb4
|
||||
DIST BitVector-3.4.6.tar.gz 125137 SHA256 2dc160d433eafb154eb3e2b5d419417fe9a819070e58ada685c1c14e3485841e SHA512 56994692b7cd62f5790a1629d6a653f66f147e674dbc1a5f256dac4462c3eedf6363551165de940e4823d78462f63a44dce03ccd28073db1d93f2e2af436d0ab WHIRLPOOL 9bb405dfac2674c3d42e4483602d42d2c481073d145c33f49a5fb252cf5fac9aa1ae6715d6752fc9ecca200020af5de00b09a437c294373052f044cd4d3345a1
|
||||
|
@ -1,36 +0,0 @@
|
||||
# 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 eutils
|
||||
|
||||
DESCRIPTION="The httplib2 caching algorithms packaged up for use with requests"
|
||||
HOMEPAGE="https://github.com/ionrock/cachecontrol https://pypi.python.org/pypi/cachecontrol/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
>=dev-python/lockfile-0.9[${PYTHON_USEDEP}]"
|
||||
DEPENDS="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/pytest[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
# Not included
|
||||
RESTRICT=test
|
||||
|
||||
python_test() {
|
||||
py.test -v -v || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "Redis based caches" dev-python/redis-py
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST CacheControl-0.11.5.tar.gz 13104 SHA256 b78484d6feb17b501267f4048c364a8fc26fcef35ca3ff62bdba63d41fa4cf42 SHA512 2acce5a8be2e409a1a18254cfe71314074037bce3341f8b8fdec52c43500c90bfdb6063b2121c5cf6c8a2fc7c0903e4fd0c15813ffdfa547810b33571d211deb WHIRLPOOL 5e12640ba5c952ee8a83f5271bbbd105f148cd080bf6ae5c2cbc9c6cc20361005aa5cf1a95feaa1a808c56c26b7abdfbde3b7bffc873f26072d23262c12b49ca
|
||||
DIST CacheControl-0.11.6.tar.gz 13642 SHA256 37dfcb453e7f186c95b330834a1673e022db900d5e3a883f80257c4369477695 SHA512 5640805db3a0f3e0e96192f2122159f0391be4821934ae6624b2778e91de319d5acf0e8693d00cf9910314ff7e2e1e7d2c82789b46fb012363fbb1c38dcb0d29 WHIRLPOOL 9187c18e12196b379136afa89d64c5dda461f9f0fa1764a5922046d579d9c10921a7bc8f8b409db29cd51d6bc0c358ab9bd8f3cf142de375da2b0a5723ed4117
|
||||
DIST CacheControl-0.11.7.tar.gz 13902 SHA256 8f7829d92584f1f2360ebfff4517ee359787d5b7dfa2ef9579f871b628745a1e SHA512 fad1f93140dd6fcedb3797f4dbc1587045ade8dafe6cbc6774bf62bd635fbc1ba08b2dec124745cffed5259606b55f0e2edee036b5b5e34156d3114f6bf63493 WHIRLPOOL 736a503fae24d8ba1ecc13a1d47d8f51b0f478f1890de52747b56b3aba770e44aba4eae48bd6140a0611931fa1cdfb5ee5315f833abb997aa69143ee9b84b9e4
|
||||
|
@ -1,26 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Jinja2 adapter for Django"
|
||||
HOMEPAGE="https://github.com/coffin/coffin"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND=""
|
||||
|
||||
python_prepare_all() {
|
||||
# Req'd to avoid file collisions
|
||||
sed -e s":find_packages():find_packages(exclude=['tests']):" -i setup.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST Coffin-0.3.8.tar.gz 35269 SHA256 be3e804ea1c740d8f09c0f811253eee4c6aeeb993455521cac6e95e1e4d6151b SHA512 e3e0b9855e14b7fc57cd164aa3ba50f84847eb8a324d4ceaf52513224d235889407c061d542a894b82d6cdc96fc378fd44856d46f471333017d7a6ac6427c7d3 WHIRLPOOL c8105e5900e0f07a461689ca0c7295bb483991ec86466f4e72b8e837631fe6135a5db9192598d1f763bbfff773a06d5b611e391620a9ac76f3313f475802d978
|
||||
DIST Coffin-2.0.1.tar.gz 9858 SHA256 b1cfb44b1ef7daabc7c607a937f85e4b89b63bd9536ee3b817461747a476a65c SHA512 e618c74a91f84e7f41411c8e34b2c97fad1a59bc5124f0f5b3439abf1b0c2972d5f59d4b71f49393e843cd588ec143c08d659e90d2cfd006d55b5244b5727ccc WHIRLPOOL a1c745eca498ac5e7877c0ce20433d22c647d9e419b5269eb1a167d9ab478c068acfd6d2d59f485e8cb2f2fe7b440aa84c34ccefdc7595fb43a9d320e08d12cd
|
||||
|
@ -1,2 +1 @@
|
||||
DIST PyECLib-1.2.0.tar.gz 6677880 SHA256 0f55656b4288fef1cc85978ebb8eef2e83515482f68bb1cf19903c048c9f8c9b SHA512 6413b8f48e05d96bf43d25640d68941aa17a938fba18f0fc7847e51ac75b222eeb6678ae49eba2a582220d55e253f60a1802b175134d1e138764ac1d15b5d88e WHIRLPOOL d9f14894bec43b97cbcd4bdd0f3f1cc871e8241a4c126fa5b6a3fa83e95da39cda16812e38fea815a21d318f4313c0981a019c2c3d6c874dea82122f6a359ff3
|
||||
DIST pyeclib-1.4.0.tar.gz 6682441 SHA256 f5c49956eaef84ff8fe76378d215a21e6f46fdbea4872facc0c97e503f8b5d2c SHA512 849da9ad32e26ca4e923bc00482734d6431bdcf402eff6b0c5ead4264c7be9e8502eb0bea6e60fa8565d361d9d7d81e01e38fd3c85c4e87c4d6b8b30be328e0c WHIRLPOOL 93333c44e1cb630c27975d29e4913025dcd802eacba7eec38c7015e4dff48353564b07d2134e660b66f59fec88d0ae4ba57923306938aac838d572e0a95467ba
|
||||
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1 eutils multilib
|
||||
|
||||
DESCRIPTION="Messaging API for RPC and notifications over a number of different messaging transports"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/PyECLib"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
IUSE="test"
|
||||
|
||||
CDEPEND="dev-libs/jerasure"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
${CDEPEND}"
|
||||
RDEPEND="dev-libs/liberasurecode
|
||||
${CDEPEND}"
|
@ -1,3 +1 @@
|
||||
DIST PyGithub-1.25.2.tar.gz 2624603 SHA256 3afce80516998ce4478424797f341d961d1c251958859c70b8d3986d00faafd7 SHA512 24b8370552889e748de1f51e6d5a14f11e2f77a9b1f920743f90ffbadc849cb887bf6d84c1c251b7a86ee454d919004255fc3046b199792cd078ce49d892cec0 WHIRLPOOL 56d7989c63f0b0943da3c88e38ec266277659f124566ab20c9a9f30ceec74c792d4f13cc201d7b7851ac3074c05f5608280674803597652913f0a1b71f430505
|
||||
DIST PyGithub-1.27.1.tar.gz 2661261 SHA256 464a172d547a0429d038a5a75cbdfbcdf99ab756c7742aad875a3db70ccabf3b SHA512 67a741d98a35aedfc73c2099b224145348742a6bbe0393a1301fd84034dd0690fb6c80c7ae0c1e1b2e9f4768327adde87cc8ca5b69f16fee118338ea0aeb2a1d WHIRLPOOL ef80bb3fb6f07f526b7f8a0bbef86ba030700ae159e9bca8298539384e4f975f03f6d14d044e90afed3a4eff1dd8eaf1000c1269bd82eaf3b46769fabe6342c9
|
||||
DIST PyGithub-1.28.tar.gz 2662625 SHA256 44feab87eefcdf311fe4ad9c356c279b56ba0fc4dd90baeaec1a52e9875cad76 SHA512 e1d9f6f473d757074220f4ec6a96f0e0a6de89af6436b8f0ab30ed22eb24b0955f0b64e6b25eae36bfe19bce580677552aedc82a7749520c5b1baac03428db7d WHIRLPOOL 6a17617816b90120b358b0181ea5743f5380367cc4b725452bf281d2f313d2bac67edff0e50178afff2a87f312befdc1809ee7494d51299d02d694f8b2ded110
|
||||
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python library to access the Github API v3"
|
||||
HOMEPAGE="https://github.com/jacquev6/PyGithub/"
|
||||
# Use github since pypi is missing test data
|
||||
SRC_URI="https://github.com/jacquev6/PyGithub/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2016 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="Python library to access the Github API v3"
|
||||
HOMEPAGE="https://github.com/jacquev6/PyGithub/"
|
||||
# Use github since pypi is missing test data
|
||||
SRC_URI="https://github.com/jacquev6/PyGithub/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -1,3 +1,2 @@
|
||||
DIST PyPDF2-1.24.tar.gz 59891 SHA256 aca40d5155524120fceaf2eb4ae054480b8a2b6ffcfa0a2e77e3e45666428c64 SHA512 91a9338b0338eee1cfddc25dd0f21494f73696e630b08a71ff9195fe7b0fc77cf6c07b38a0c6aa4856536be6fe0a474c3b292c13fdd0187b62cb8848e69b29f9 WHIRLPOOL b5d33c209d5e0ce7d2d567d9266faacbbc6c1e49ac714e0063eeeb3879f400482a3fa887bd165b364a7216b4240b5236dec1954683ade632ea802a36a5272303
|
||||
DIST PyPDF2-1.25.1.tar.gz 194181 SHA256 43d324f70f8994c25a08e6edc02ec2d5c1e84c9231d3537f785b3f97641182eb SHA512 0cb43d4557d17ec82298ceabce5c4731438a0e16ad6c6b2abc54204a3d93373a46b86c995e9b39cec475de1dce325d552da17ce36de3733c7b0471779e3b0899 WHIRLPOOL 71467c2b43d462fde0486a1ca9c300bc3c6b048c21450affa6f09e3b2a5b893b5125fec10cb6ac9d1c1157fdfacdcf5c5b6ed37a1e3742f95595b3f76bd9868a
|
||||
DIST PyPDF2-1.26.0.tar.gz 77556 SHA256 e28f902f2f0a1603ea95ebe21dff311ef09be3d0f0ef29a3e44a932729564385 SHA512 7b427f1d099dcd687a718fb8d86e6f677ad45257414c6367e4dfacd8dfef7e3dbe3816027359868764981f36a30721f1731b4c23cbe2f35cfab1c64fb290b034 WHIRLPOOL 0f96818874f77bfef9d60e3bb84a648ec5366911fbb365d2e9ce965ef7321df845a85fede714e14dcb73e87d85bdc72af38ce40c2ed3ae096bd9daf07a7204b2
|
||||
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python{2_7,3_4} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python library to work with pdf files"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/${PN}/ https://github.com/mstamy2/PyPDF2"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
python_test() {
|
||||
# https://github.com/mstamy2/PyPDF2/issues/216
|
||||
einfo ""; einfo "According to the author, this 1 failed test is an"
|
||||
einfo "expected failure meaning the installation of PyPDF2 is working"
|
||||
einfo "He plans to update the causative file to see it pass"; einfo ""
|
||||
|
||||
"${PYTHON}" -m unittest Tests.tests || die "Tests failed under ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use examples && local EXAMPLES=( Sample_Code/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST QtPy-1.1.2.tar.gz 14390 SHA256 2abb462decc80fa4f0ba9ff18feaaab21a765d7d2d0808120f001f9a4c385946 SHA512 5f610e60ac6ed2f2b0eed59dd24537b34ccff8816afad059e056f47dd95d2dd49939ec6e0ebb816520a2ef075d8f9619903a4b2c79f18ed12e16eb60718e5c1d WHIRLPOOL 297112c79003b868aadbe404f70926bdbc0045c852b1f5f8d6000d0e7ce74c46a54667e7117787d1b5488e71a3120ef1553a3abb3d0f26f5416441c9314dac86
|
||||
DIST QtPy-1.2.1.tar.gz 29210 SHA256 5803ce31f50b24295e8e600b76cc91d7f2a3140a5a0d526d40226f9ec5e9097d SHA512 7f9609b479a11daf1d8302040552f3926aa869eb775d23e32282a80ae9f5a39bf9be6b18cd62a6094a176ee8e7b4aef896fa8687eb2ce9ab9486f02aeeb756d7 WHIRLPOOL c598789661a43c96b3b4db8fb766fbfdcc746a8c6bdf270175b4e3f2733b666939e44921a056c1f77d2d6683ec73a4221ab409c320c840cdc7ee2d00ccec6184
|
||||
|
@ -1,37 +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,5} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Abtraction layer for PyQt5/PyQt4/PySide"
|
||||
HOMEPAGE="https://github.com/spyder-ide/qtpy"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
IUSE="designer gui svg testlib webkit"
|
||||
|
||||
RDEPEND="
|
||||
|| (
|
||||
dev-python/PyQt5[${PYTHON_USEDEP},designer=,svg=,webkit=]
|
||||
dev-python/PyQt4[${PYTHON_USEDEP},designer=,svg=,webkit=]
|
||||
dev-python/pyside[${PYTHON_USEDEP},designer=,svg=,webkit=]
|
||||
)
|
||||
gui? ( || (
|
||||
dev-python/PyQt5[${PYTHON_USEDEP},gui,widgets]
|
||||
dev-python/PyQt4[${PYTHON_USEDEP},X]
|
||||
dev-python/pyside[${PYTHON_USEDEP},X]
|
||||
) )
|
||||
testlib? ( || (
|
||||
dev-python/PyQt5[${PYTHON_USEDEP},testlib]
|
||||
dev-python/PyQt4[${PYTHON_USEDEP},testlib]
|
||||
dev-python/pyside[${PYTHON_USEDEP},X]
|
||||
) )"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
@ -1,6 +1,2 @@
|
||||
DIST SaltTesting-2014.8.5.tar.gz 32787 SHA256 ee1681e13f09646ce08f9e95e700eddb7d882f6a87051f2caee0e844aca69339 SHA512 f3a25d36c94e01d448c3a3ce1bbf831ab9d806847ccc44a4e3d2cc40ac8f967f570d6724fef3b61838e14f8624a092e83e9db46101509c22e817836b545c9f58 WHIRLPOOL bed7114ea75b496bf87efccb937e75d744b2f416a74f4df979ce151037cab13485b863d1ab757ff59810517df9c1a297b1f0e891e63ad64d7436081ddc5d281b
|
||||
DIST SaltTesting-2015.2.16.tar.gz 77908 SHA256 05ddb56d9775c404b2c8536bd5f8fce97cf35777b1077eed895175ae8db02d1d SHA512 170ff267be0edd24da1e90d70795fb2ff5193407e766a4d90cef550130b997ce4f4ecc0d327ca8555fbe14fd3587620b8e356e1060a91edac62cf114356ada48 WHIRLPOOL 736babf2df8922ce092fd0578fc2c45b3a9773975d63dbd12d04bb428e020ad4f8f798f9876fceb922154e5d8e55f105524a70b4514a582e84064f5fc332887a
|
||||
DIST SaltTesting-2015.5.8.tar.gz 79236 SHA256 c4256f1e22bf90951fdee46444ec8c9f040f5a75b405151f4b8cd9a30091a559 SHA512 8f517c13428d679d44c288cccd02033f79cbbe93c0c1adad48179d41d97cb7c4f2b49d43a10fa52e803f1fddf9b05595b8a9f894612777388ee5c15a3919ecbf WHIRLPOOL 9b8f2f9dc7043d16f3479d15f1c668899a2991c7af789f5b1c02ca4a5749aad8dd50183da9567f78412d0d2f32170c5c63341fd440a5c14b4e38664b3f433776
|
||||
DIST SaltTesting-2015.7.10.tar.gz 77163 SHA256 908c15e830bc124c01c121e53a94b38b686b5b7233bcc8320a3ade73d6441e5c SHA512 8f8979fcbb13ff6f56c67d726aaa95a5e9fb0e73338487b87d72acdf4621f327bdc6944f5e27baee46f15d3537c7b37321aa5535d1b6d4b88c79c0c72acfb099 WHIRLPOOL bdcdd67a422696946d60fe0317650d0cac537b2641462085d0ab05ae9468e5bd237a45020b22c551cd44d27902114cd0ae8c636f64c09d4b844f4b12c3732fe2
|
||||
DIST SaltTesting-2016.5.11.tar.gz 78399 SHA256 8813ef9602d7ac9bdb6875f6532ebe1f9cf115c870f86f529f9a38e7cb3aab60 SHA512 5fc362ba6cf41efd0d3197c832f05b14267c9d92bbb0c34d872bd3ae1383996e0918dc6b01052076ecea70bbf4687fde3d5de2915aab7d07f961f2b6badac6ff WHIRLPOOL 743e7bc70f942a0f864a0e163067fd23ed8da33cd8c5e6624fbdef9d65bb62725e3d4e2d6b5039ddf5188c3d9de5456c75e71929490b8b470819752f568fc85f
|
||||
DIST SaltTesting-2017.2.23.tar.gz 91715 SHA256 24daa65834e8db141698ef7908aac0433480b36ff1fed6eb9dbfbea1a03ad942 SHA512 d45085463dadcce3ab91b496cd580c5d091d875258e791d7c9c60746d8c1367471aea6ea855551116f505a43afbead83d14a44e2f40f1acd0d55d5367bcccd03 WHIRLPOOL 4b8ba85c9dcabf0466541d3bf8fc225a498c1a352f9b605e148b11b6ed02ef8e6609cfdc6f4b433170aeb90d8dbd50542bc870eb7f85f95d68d9a760b7909005
|
||||
|
@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=(python2_7)
|
||||
|
||||
inherit eutils distutils-r1
|
||||
|
||||
DESCRIPTION="Required testing tools needed in the several Salt Stack projects"
|
||||
HOMEPAGE="http://saltstack.org/"
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
inherit git-2
|
||||
EGIT_REPO_URI="git://github.com/saltstack/salt-testing.git"
|
||||
EGIT_BRANCH="develop"
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="amd64 x86"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=(python2_7)
|
||||
|
||||
inherit eutils distutils-r1
|
||||
|
||||
DESCRIPTION="Required testing tools needed in the several Salt Stack projects"
|
||||
HOMEPAGE="http://saltstack.org/"
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
inherit git-2
|
||||
EGIT_REPO_URI="git://github.com/saltstack/salt-testing.git"
|
||||
EGIT_BRANCH="develop"
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND=">=dev-python/requests-2.4.2"
|
||||
RDEPEND="${DEPEND}"
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit eutils distutils-r1
|
||||
|
||||
DESCRIPTION="Required testing tools needed in the several Salt Stack projects"
|
||||
HOMEPAGE="http://saltstack.org/"
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
inherit git-2
|
||||
EGIT_REPO_URI="git://github.com/saltstack/salt-testing.git"
|
||||
EGIT_BRANCH="develop"
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND="
|
||||
>=dev-python/requests-2.4.2[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]"
|
@ -1,28 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit eutils distutils-r1
|
||||
|
||||
DESCRIPTION="Required testing tools needed in the several Salt Stack projects"
|
||||
HOMEPAGE="http://saltstack.org/"
|
||||
|
||||
if [[ ${PV} == 9999* ]]; then
|
||||
inherit git-2
|
||||
EGIT_REPO_URI="git://github.com/saltstack/salt-testing.git"
|
||||
EGIT_BRANCH="develop"
|
||||
SRC_URI=""
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
DEPEND="
|
||||
>=dev-python/requests-2.4.2[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]"
|
@ -1,2 +1 @@
|
||||
DIST aadict-0.2.2.tar.gz 17698 SHA256 491d75eedad3d1d45204fdda3b70a12f6982d242d927dac68a7dbe69270b5491 SHA512 883ab22b036bbfc81ff97ab90d3d7246aea7cfc7b9e0bdd1f8e74e7036c003128002ba7bc645bb14f54a1e47423ecdb09969968127e71da0398e9f9398c2dd3f WHIRLPOOL 948d6914af59426c016d642cfff50939588fe40a214180bb1bb0621da1ad096f5f2af4a811b6ea60445125daa794feee9429246ff89bb25a6e71c0fb51a51f20
|
||||
DIST aadict-0.2.3.tar.gz 16511 SHA256 a77328ac55dbb5735da99441870251befe135f687ab707a7a178561363b27704 SHA512 16f3ff59f41d5dd1f9504ed11d660636766758332a0317544253daef9d76f2fdfc654add6346ad809e56e2be51c1f19a645c1047ef01e1e4aee8db24afcab113 WHIRLPOOL d6923d762cf858955cfec7d8bb806dac425ba5a01565c81a0f6970a0e71bee2ee4397c4bc1ed25f0cd123174962903d175ee9c2c2a615e2a461b8a53ccd170c1
|
||||
|
@ -1,30 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5} pypy pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="An auto-attribute dict (and a couple of other useful dict functions)"
|
||||
HOMEPAGE="https://github.com/metagriffin/aadict http://pypi.python.org/pypi/aadict"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/six-1.6.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/nose-1.3.0[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
nosetests --verbose || die
|
||||
}
|
@ -1,45 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_4} )
|
||||
|
||||
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 ~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}]"
|
||||
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
|
||||
|
||||
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
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_4 )
|
||||
|
||||
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}]"
|
||||
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
|
||||
|
||||
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
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_4 )
|
||||
|
||||
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 ~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}]"
|
||||
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
|
||||
|
||||
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
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_4 python3_5)
|
||||
|
||||
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}]"
|
||||
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
|
||||
|
||||
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
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_4 python3_5)
|
||||
|
||||
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}]"
|
||||
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
|
||||
|
||||
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
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_4 python3_5)
|
||||
|
||||
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}]"
|
||||
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
|
||||
|
||||
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
|
||||
}
|
@ -1,46 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python2_7 python3_4 python3_5)
|
||||
|
||||
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}]"
|
||||
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
|
||||
|
||||
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
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST algopy-0.5.1.tar.gz 135183 SHA256 509e3ec6068bd6ed4c336546f8a8d84aa1083c2fd50a1a4f4d26df606bd0e901 SHA512 384e22e89db7bc999aad29269d0f9669d4b72f3cd08860a4346801470b5b912d63cea8493c902639f35526e53979771dea8c8b3caf2d431ca45bb47892cd1308 WHIRLPOOL b8121f3106d5b05e60ce81517531d4d0de6756dc7fa2af11eea0c2fce55cfc9a306dfd928fc778886f4742308e7bea12ea49eed87d11438fc1e6efd274d0d282
|
||||
DIST algopy-0.5.2.tar.gz 148172 SHA256 a87aeb8a406fd26a3aecd6f2d7634135411ce77b9623665c51cb8a194fb76234 SHA512 9c8cd6947050d39d312836c14b790acab4ccdc9e8fcb060916f777a330da35ea8c7f987c26e3116da8a7a3bd004860d5aef789e74768c21c687febcfffdf6444 WHIRLPOOL 966d21c2d71eddba0d277706c3a88d14d76024bba60433ab8dd4e45459cbef1f08efd141debd05b039c9180618f13c23f92cb68bad6fd648109f1a3b3b69d5fc
|
||||
DIST algopy-0.5.3.tar.gz 149560 SHA256 2380bafeeeca4e07012d4b0017e163fce260dc50f2d8593ca883b2d761338aed SHA512 43b3cd4f17fa821fc61898534f595202097cd56d57133a1d13e23743c794166a0f8877947cc6eae6d2ac2fd7400e2a6527ee8229ec1b26ea660ac9c01cd22912 WHIRLPOOL d81ae613354879d99bdfc60b962ee5be7b6a2eeef1f7da7c76a2e90cd0ae187abd860f658c379e945b10fbf82b3972eae9ef2036ccd8f251c618a58f0cf09969
|
||||
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_4 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Taylor Arithmetic Computation and Algorithmic Differentiation"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/algopy http://packages.python.org/algopy"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
sci-libs/scipy[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
python_test() {
|
||||
${EPYTHON} run_tests.py || die
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_4 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Taylor Arithmetic Computation and Algorithmic Differentiation"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/algopy http://packages.python.org/algopy"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="BSD"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
sci-libs/scipy[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/nose[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
python_test() {
|
||||
${EPYTHON} run_tests.py || die
|
||||
}
|
@ -1,2 +1 @@
|
||||
DIST amqplib-0.6.1.tgz 53680 SHA256 0f2618b74d95cd360a6d46a309a3fb1c37d881a237e269ac195a69a34e0e2f62 SHA512 ec97312e8fe8a297dff37057f7498ab72d1655aa3ac22453c84b6142db8469a51a29c676a359802be45a575b91e7f72f624233564a8e41aeeb987acbb1412954 WHIRLPOOL a75b19a1bd74d8d9a212d703c6a7b0a240ec0866cae4276e580a5f4abc5ad72224152f419b3dc37c12529d08dffc14c18107077ea4a93570fa5ff6341448a8d7
|
||||
DIST amqplib-1.0.2.tgz 58544 SHA256 843d69b681a60afd21fbf50f310404ec67fcdf9d13dfcf6e9d41f3b456217e5b SHA512 6c8c9fd7fd68fd6a1eb944962094e57f89525bc78dd002dc0dadd491b262293367a86569dfc52f0701723b4327b7c290150dc2e69e3ac1a28613578d9e0d0710 WHIRLPOOL f3584906a9f6407271335d838cd3b49d3d04b1ec9da04cbc0483272c6f3a73c7307f6bacd6ef8f4a6cf64a348eae631619c1ab09a951d0f3aaa69a1271964cb2
|
||||
|
@ -1,42 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
DESCRIPTION="Python client for the Advanced Message Queuing Procotol (AMQP)"
|
||||
HOMEPAGE="https://barryp.org/software/py-amqplib/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tgz"
|
||||
|
||||
LICENSE="LGPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86 ~amd64"
|
||||
IUSE="examples extras test"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
RDEPEND=""
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}_disable_socket_tests.patch"
|
||||
)
|
||||
|
||||
python_test() {
|
||||
"${PYTHON}" tests/client_0_8/run_all.py \
|
||||
|| die "Tests fail with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
|
||||
dodoc -r docs/.
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc -r demo/.
|
||||
fi
|
||||
if use extras; then
|
||||
insinto /usr/share/${PF}
|
||||
doins -r extras
|
||||
fi
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST aniso8601-0.83.tar.gz 58487 SHA256 1153cfe2599da556c6ce664b12c0e39659340cc6633a316b34eaac480f276429 SHA512 393bbc59dfad69be4224c1149fdfd305486188aae14336b065791e994c50719ba163ba7a701fc785a25ff983861242a8d171a39139f4d475c002f4f4b8405761 WHIRLPOOL f32edfa8d52c820d466322b7b1a4e1cd1d5514276fe7c4cbf529453d4015b1608abd507a199b5079fb36fcb7f0c070675384677877649bb0da51c1249f85d818
|
||||
DIST aniso8601-1.1.0.tar.gz 49417 SHA256 4fc462db59811f541bc25d865b86367153d8ce773ae75b16d54e2e1cd393b5cc SHA512 c8e634ae00bb1eb465c48f1f5a4df2aef48ba8a868abbd0bd158c435646a43b681908a25361c9f916333b9e92ab321389b1b2be89320f37b8ce3c7238d86b1c8 WHIRLPOOL 0b455b0fb92abe13f5aa2bb1aaba3e87a4e529cf54360d2759ccab5eb65d88e04d92261c7786c2ca2de40cd18e4913af7aab29551e1156e640651137db2e2243
|
||||
DIST aniso8601-1.2.0.tar.gz 59998 SHA256 502400f82574afa804cc915d83f15c67533d364dcd594f8a6b9d2053f3404dd4 SHA512 1918ee5a22c0ca3fd7cf331ca4f06dff93b73cc7865276e0e276b70e7ade7db0cbc10020619be23d73d646dc15764cb597084e0b5d632c1ee5dd21d29fb33311 WHIRLPOOL 3e62c9b82ef54132fabc4ba20b2ce8711926cb2e162cdd083de1ffdb986b46dfa2608a928e7f0231552507d4c4c144dcd1458491e269ed81283c06ac23414bee
|
||||
|
@ -1,24 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
PYTHON_COMPAT=( python{2_7,3_4} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A library for parsing ISO 8601 strings"
|
||||
HOMEPAGE="https://bitbucket.org/nielsenb/aniso8601/ https://pypi.python.org/pypi/aniso8601/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
||||
python_test() {
|
||||
local testdir=python2
|
||||
python_is_python3 && testdir=python3
|
||||
|
||||
"${PYTHON}" -m unittest discover ${testdir}/${PN}/tests || die "Tests fail with ${EPYTHON}"
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue