Sync with portage [Fri Mar 13 21:48:09 MSK 2020].
This commit is contained in:
parent
4ee69d4059
commit
537a79b900
517 changed files with 7275 additions and 8192 deletions
30
Manifest
30
Manifest
|
@ -1,23 +1,23 @@
|
|||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29454 BLAKE2B d9ee5bcf7050d43578dc81568de77365b8ff6b1ff381f247809bc20e13ff959045ee420ef004c2378076b5b2e470401cb94c05f845921cc0d1c598c603da277b SHA512 e6addf93e953b7d5fa9b1513355cbb11d340318e4f5785f3f8ffa20df35140823679b5d64a84f4f0e4a1dc3166a46224a28dcda308566a31d345f00390ea6f03
|
||||
TIMESTAMP 2020-03-12T16:38:59Z
|
||||
MANIFEST Manifest.files.gz 29458 BLAKE2B 7d5d6e46492fa7722511f25f1904a18ac0b4b20a6d53e8b1e62b3b66c8216158eb13b22152512e2ac3faab2485cc5006ae44df9d9f852d5363b5edc2ec932728 SHA512 d6c0982de569cc3e66f736f8ee270212ef94d80fb146946520692e72e33c1c7bba14d118b7452499688ea5d7e2d4b6c9e69f3e7b3a0ac63119cf02378206d942
|
||||
TIMESTAMP 2020-03-13T18:08:54Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAl5qZaNfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAl5rzDZfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klCZdRAApQK6XONMQU7imC5xYX1CYc22A2vf6rBkrnyzU7z+3Sg2m6Nfvj12imiF
|
||||
NtCCXto/fa3jqGSe6PWDnmwluDN8bTaYP/DziM4tQ+T0K+UN6pULHQKkuqhCwVMh
|
||||
Q2SXrpz0Z5hy2PKb1hNqjEbmPZS2GW3cn0cqDeBKK/RbiH1BYWEOzROdXMirf9eX
|
||||
j5OQByigadE1iVND1NUEvX35VxUm1PkvcztvnEUSauuZJyfHpT0nqVz/Koi8gwiS
|
||||
yI2+D6eKWMyUBzrPpTDQNHM7uCboNhOtkyvCA25O8SjNpqG8l5XTqYZvdXno5U4M
|
||||
fdkwjkqgpxGvss+d6mEfIIpvT8ILFXvukW9qwslYHhhtD0uE5tNlKFIB5cn27J1U
|
||||
bMn4si5l/LoEbPyv21us+FZfpqg0aMkfRXJenP5jxp+s7uf4f6ymKZjOONhcOS02
|
||||
aSbGJ2zvg7sJdZj9KNm+5rSNyTaqT4QTnlZn1JJKNplrb/1JPBbfeudPP/uvFMqG
|
||||
FNtVyQsvj9EgtkX4pM37woMZft2xIrxG97+kF1DAOcbIr772WOUoqKlm6Ti/u3LI
|
||||
d8qwqWaiToLBXuXlTqOVJ3g9LWvz5OCe5legSbC+69yTA6/seB5zulFWku1TpsC/
|
||||
7CCn5f6g9A2sdkKE6L/jZ0Ei7SVgkwoZd0Z8oOZ5qLB7cITp5n8=
|
||||
=Lgqe
|
||||
klDozQ//fdXJIvjyVV2fxu2ipefp463AFCheWvAn+C/faLWYiCSNkLNlQX7ng645
|
||||
FZiT46lJUO98VeAY3gpauRS+rNUck42TA4yZevQKd66Av6PoQ11MyLLniTAI/XFL
|
||||
xdTA0qR6wwNPfQ4Lpdy9HRFEwQCx82EGgBZNN7tpOILLXFz4w9k2BZsE5h3zU2Mp
|
||||
mth4j0jylQ1rizSBMkuKZ6ZUaxfLI+eVGLwO+kOQraQERjaaQ1xLGlOYb2f8BsIL
|
||||
acsnMvhkZASQOPHMIIlhkmRYuYgPC9DTpc2MBrF1msStphek7Qjnr+rgq3cAvNnA
|
||||
JhFuaoADjbPv8AK3wSWvYaO/SnnTUx/C7xx7U8duI/TJ6BEWXpa7n+DiPeNh3kD9
|
||||
Z1tFbqexNBA2gow6YeVAdd0V9GpP1vtf8frpy4ylG+Zr2zzekQI+L5zLEn5oNhlc
|
||||
XD/liQDc9TtoMxJG4XCtzEsM55p+boPswMCNl09GS3+aKZWv2sasEmLZfnfEIPrd
|
||||
3SCqSzPwlKm1tfjjkKLG9Kmn40oZuA7ZURKbuM+P/2BGx0J5iJwstEpcSUGY0it0
|
||||
KDrzz7FJqDRBISbKFoyDSStE/+jesnWIfZUe4CcqQvhUKAiSDEy1RZ/3HTyMDB0M
|
||||
EeHYOYIC1I+LvOCX8jEAfPRMlKjZL1Y512AtGO3qQup6i/VCv2Q=
|
||||
=3c2l
|
||||
-----END PGP SIGNATURE-----
|
||||
|
|
Binary file not shown.
Binary file not shown.
|
@ -1,3 +1,4 @@
|
|||
AUX conky-1.10.8-clang.patch 773 BLAKE2B 1e1920093c8cea54190d2907f1966b66aae343f20bec111df0b6c6009f572d57912869ff879f05b55fa18ac4b40736acaeef03b0ec207baac2053937a305649c SHA512 82c7795c33256bd22575d3133ef20dc3a5cbdc4ae68ef7e6fefc3a9295d5e9f0f2d9d912122a5a22e1d6d42cbe1c40cdd3513d9bd7d08db636d96972a622c2a7
|
||||
AUX conky-1.10.8-libical-3.patch 1395 BLAKE2B a42403799854d0c96e37b654ab1a72897e32cd176d4efee3aa3816f36b782d823502a4a1cb79646995e90c9ac25d9a4bcd6f1879abe365173c3e29fc8583f213 SHA512 40cdd81f975c5198149ac62066af1a7b8eaa2c722d896d71a88663bef5bfdda17521d841a4fa8e08b5c4cc9106929385d626afcbe65709360b669b10a118f397
|
||||
AUX conky-1.10.8-portmon.patch 551 BLAKE2B 6b69ebb6c8ec194e51d616f487ab8d736062636b12c11b1beb6ae5d599a34c2598a0bc96563fa9e01e55a7187597b78b311ce729a0bdbe3f0c7c7135372aa764 SHA512 2a793c9b297c9ff13eba4cff37af0699c30f30e58edd3c73243090d26235db45a554b9f5751878937606ac6a1bb1759edc2507372412c25ff4df613327aedc03
|
||||
AUX conky-1.10.8-use-pkgconfig.patch 1115 BLAKE2B d951bdd32ee0e6eace1444d3b8a6453c6ba25c15df2cb5ca4e1ccbb2f7f86fb860e4b43e75d76b62f7d1d12e91018bb03fb3b0237ce1b1af239c53f0bffc832b SHA512 e4b73aa8c0cc917a87e1eaecc3a2e55058fa4ea0acee9c76e409cda29de0c430df3a13f8a6c3ac922dd0a11b6c4cfca781bef39c6d508e903ae81423144c86d4
|
||||
|
@ -5,5 +6,6 @@ DIST conky-1.10.8.tar.gz 373075 BLAKE2B 749d8bb37557c1eeb8b07955bbd45704fadb4199
|
|||
DIST conky-1.11.5.tar.gz 2400965 BLAKE2B 06b6817ed3cb4bb638b5fa7f9a5f8544c9d274560dbef2bc8f8c10ed681b83d0ab27988f60bed70cd0c13cd4947a2bd9b70ad66c38dbb6f516f5d57165ef5765 SHA512 71ba02acc879dad3c240ed9a38635cb2d30e3c9ac849012ff3db53f8143c28d6cc9e502816834b0a073f7486bded7cea002b58c3bb8e189e542afb1070bb84be
|
||||
EBUILD conky-1.10.8-r4.ebuild 4722 BLAKE2B 72aecb9bbc2ee9d198af609f1354b92380f809d72c12eddb09b5b2dedb51e15429cf7726720b3690263e31c28e63c303d1a85272ca554208d8594e55dda2ed24 SHA512 d6b28af2625d7efe7ad418eada32ba55e034c49c2a780c8bb7edd75ec0eb1325778924104bb4a232196aea2dfc2332d3c3d47482bb600cad368f4d11d18931fa
|
||||
EBUILD conky-1.10.8-r8.ebuild 4772 BLAKE2B b8b7eb6a6dc3e381890663337613fa334d301bbf5192ad4d42b6f6fcdcd80971f6453f444f70e6da354cb745567a78f92d320de5deb87745e1e2b0ed9087d5f7 SHA512 c7771bf49e134d9a50c94df85f136814aa96507117812c99b05effa86d28be800479c04f5f6a4659f73ec03b374de7bae0ed1a12c216b3c5fcf7841153d1b023
|
||||
EBUILD conky-1.10.8-r9.ebuild 4804 BLAKE2B 917f0dec8a1888746c508583e70f8b988a7bbc9e243b14b34e9d8a6916aa2cdb0a9cd721aad739aa63e8fb558e5c3ca0023ddabfad0dd62203bfeaf1c8db5944 SHA512 89a91b5aa8f7560c52280e265720bd153ae16d64f4c7d9b94c17709fb5567e5f3e234a5f8c64ab8b0b39c7d75c42bad6a25fb47684e5bd06943afcc39dbafbe7
|
||||
EBUILD conky-1.11.5.ebuild 4648 BLAKE2B d4f51731070dfdb03e7d1ba3772e60140c1c47cb4cdaf5d74e52bfecf6f4a5f00dfd1a9f98696a06f36c5c8053789e3b7f043939374e1b0c15a083cd054aae63 SHA512 05e8520a2545c16291024397600abb550e83407191001aaacfbcec499db585b0cff4f0728e87cd6ae3020211331001ef896a5ed7bdd31042d0bc984c8083a9de
|
||||
MISC metadata.xml 2469 BLAKE2B 15947c03593a9d5215a9c1dd142458aeb84f61c77a669bbfa4abe256c94e28650516a0226350323f56bbc225c5edc5e9b9e3310d7957e072b6701e77e40623ce SHA512 75e2d5bd8f4848779c03fd983d995d8216f4bc35ca1d3af47cf004d1d43e36c2924523d286e13ea82c720a51a63d91e03af795e6c31471af71716b4c5ce46c4e
|
||||
|
|
185
app-admin/conky/conky-1.10.8-r9.ebuild
Normal file
185
app-admin/conky/conky-1.10.8-r9.ebuild
Normal file
|
@ -0,0 +1,185 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils linux-info readme.gentoo-r1
|
||||
|
||||
DESCRIPTION="An advanced, highly configurable system monitor for X"
|
||||
HOMEPAGE="https://github.com/brndnmtthws/conky"
|
||||
SRC_URI="https://github.com/brndnmtthws/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3 BSD LGPL-2.1 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~ppc ~ppc64 ~sparc ~x86"
|
||||
IUSE="apcupsd cmus curl eve hddtemp ical iconv imlib iostats ipv6 irc
|
||||
lua-cairo lua-imlib lua-rsvg math moc mpd mysql nano-syntax ncurses
|
||||
nvidia +portmon pulseaudio rss systemd thinkpad truetype vim-syntax
|
||||
weather-metar webserver wifi X xmms2"
|
||||
|
||||
COMMON_DEPEND="
|
||||
X? (
|
||||
imlib? ( media-libs/imlib2[X] )
|
||||
lua-cairo? ( >=dev-lua/toluapp-1.0.93 x11-libs/cairo[X] )
|
||||
lua-imlib? ( >=dev-lua/toluapp-1.0.93 media-libs/imlib2[X] )
|
||||
lua-rsvg? ( >=dev-lua/toluapp-1.0.93 gnome-base/librsvg )
|
||||
nvidia? ( x11-drivers/nvidia-drivers[tools,static-libs] )
|
||||
truetype? ( x11-libs/libXft >=media-libs/freetype-2 )
|
||||
x11-libs/libX11
|
||||
x11-libs/libXdamage
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXext
|
||||
xmms2? ( media-sound/xmms2 )
|
||||
)
|
||||
cmus? ( media-sound/cmus )
|
||||
curl? ( net-misc/curl )
|
||||
eve? ( net-misc/curl dev-libs/libxml2 )
|
||||
ical? ( dev-libs/libical:= )
|
||||
iconv? ( virtual/libiconv )
|
||||
irc? ( net-libs/libircclient )
|
||||
mysql? ( dev-db/mysql-connector-c )
|
||||
ncurses? ( sys-libs/ncurses:= )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
rss? ( dev-libs/libxml2 net-misc/curl dev-libs/glib:2 )
|
||||
systemd? ( sys-apps/systemd )
|
||||
wifi? ( net-wireless/wireless-tools )
|
||||
weather-metar? ( net-misc/curl )
|
||||
webserver? ( net-libs/libmicrohttpd )
|
||||
|| ( dev-lang/lua:0 dev-lang/lua:5.1 )
|
||||
"
|
||||
RDEPEND="
|
||||
${COMMON_DEPEND}
|
||||
apcupsd? ( sys-power/apcupsd )
|
||||
hddtemp? ( app-admin/hddtemp )
|
||||
moc? ( media-sound/moc )
|
||||
nano-syntax? ( app-editors/nano )
|
||||
vim-syntax? ( || ( app-editors/vim app-editors/gvim ) )
|
||||
"
|
||||
DEPEND="
|
||||
${COMMON_DEPEND}
|
||||
app-text/docbook2X
|
||||
"
|
||||
|
||||
CONFIG_CHECK=~IPV6
|
||||
|
||||
DOCS=( README.md TODO ChangeLog NEWS AUTHORS )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-use-pkgconfig.patch
|
||||
"${FILESDIR}"/${P}-libical-3.patch
|
||||
"${FILESDIR}"/${P}-portmon.patch
|
||||
"${FILESDIR}"/${P}-clang.patch
|
||||
)
|
||||
|
||||
DISABLE_AUTOFORMATTING="yes"
|
||||
DOC_CONTENTS="You can find sample configurations at ${ROOT}/usr/share/doc/${PF}.
|
||||
To customize, copy to ${XDG_CONFIG_HOME}/conky/conky.conf
|
||||
and edit it to your liking.
|
||||
|
||||
There are pretty html docs available at the conky homepage
|
||||
or in ${ROOT}/usr/share/doc/${PF}/html.
|
||||
|
||||
Also see https://wiki.gentoo.org/wiki/Conky/HOWTO"
|
||||
|
||||
pkg_setup() {
|
||||
use ipv6 && linux-info_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
cmake-utils_src_prepare
|
||||
|
||||
sed -i -e "s|find_program(APP_MAN man)|set(APP_MAN $(which man) CACHE FILEPATH MAN_BINARY)|" \
|
||||
cmake/ConkyPlatformChecks.cmake || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs
|
||||
|
||||
if use X; then
|
||||
mycmakeargs=(
|
||||
-DBUILD_X11=ON
|
||||
-DOWN_WINDOW=ON
|
||||
-DBUILD_XDAMAGE=ON
|
||||
-DBUILD_XINERAMA=ON
|
||||
-DBUILD_XDBE=ON
|
||||
-DBUILD_XFT=$(usex truetype)
|
||||
-DBUILD_IMLIB2=$(usex imlib)
|
||||
-DBUILD_XSHAPE=ON
|
||||
-DBUILD_ARGB=ON
|
||||
-DBUILD_LUA_CAIRO=$(usex lua-cairo)
|
||||
-DBUILD_LUA_IMLIB2=$(usex lua-imlib)
|
||||
-DBUILD_LUA_RSVG=$(usex lua-rsvg)
|
||||
-DBUILD_NVIDIA=$(usex nvidia)
|
||||
-DBUILD_XMMS2=$(usex xmms2)
|
||||
)
|
||||
else
|
||||
mycmakeargs=(
|
||||
-DBUILD_X11=OFF
|
||||
-DBUILD_NVIDIA=OFF
|
||||
-DBUILD_LUA_CAIRO=OFF
|
||||
-DBUILD_LUA_IMLIB2=OFF
|
||||
-DBUILD_LUA_RSVG=OFF
|
||||
-DBUILD_XMMS2=OFF
|
||||
)
|
||||
fi
|
||||
|
||||
mycmakeargs+=(
|
||||
-DBUILD_APCUPSD=$(usex apcupsd)
|
||||
-DBUILD_CMUS=$(usex cmus)
|
||||
-DBUILD_CURL=$(usex curl)
|
||||
-DBUILD_EVE=$(usex eve)
|
||||
-DBUILD_HDDTEMP=$(usex hddtemp)
|
||||
-DBUILD_IOSTATS=$(usex iostats)
|
||||
-DBUILD_ICAL=$(usex ical)
|
||||
-DBUILD_ICONV=$(usex iconv)
|
||||
-DBUILD_IPV6=$(usex ipv6)
|
||||
-DBUILD_IRC=$(usex irc)
|
||||
-DBUILD_MATH=$(usex math)
|
||||
-DBUILD_MOC=$(usex moc)
|
||||
-DBUILD_MPD=$(usex mpd)
|
||||
-DBUILD_MYSQL=$(usex mysql)
|
||||
-DBUILD_NCURSES=$(usex ncurses)
|
||||
-DBUILD_PORT_MONITORS=$(usex portmon)
|
||||
-DBUILD_PULSEAUDIO=$(usex pulseaudio)
|
||||
-DBUILD_RSS=$(usex rss)
|
||||
-DBUILD_JOURNAL=$(usex systemd)
|
||||
-DBUILD_IBM=$(usex thinkpad)
|
||||
-DBUILD_HTTP=$(usex webserver)
|
||||
-DBUILD_WEATHER_METAR=$(usex weather-metar)
|
||||
-DBUILD_WLAN=$(usex wifi)
|
||||
-DBUILD_BUILTIN_CONFIG=ON
|
||||
-DBUILD_OLD_CONFIG=ON
|
||||
-DBUILD_I18N=ON
|
||||
-DMAINTAINER_MODE=ON
|
||||
-DRELEASE=ON
|
||||
-DBUILD_AUDACIOUS=OFF
|
||||
-DBUILD_BMPX=OFF
|
||||
-DDOC_PATH=/usr/share/doc/${PF}
|
||||
)
|
||||
|
||||
cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake-utils_src_install
|
||||
|
||||
if use vim-syntax; then
|
||||
insinto /usr/share/vim/vimfiles/ftdetect
|
||||
doins "${S}"/extras/vim/ftdetect/conkyrc.vim
|
||||
|
||||
insinto /usr/share/vim/vimfiles/syntax
|
||||
doins "${S}"/extras/vim/syntax/conkyrc.vim
|
||||
fi
|
||||
|
||||
if use nano-syntax; then
|
||||
insinto /usr/share/nano/
|
||||
doins "${S}"/extras/nano/conky.nanorc
|
||||
fi
|
||||
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
readme.gentoo_print_elog
|
||||
}
|
30
app-admin/conky/files/conky-1.10.8-clang.patch
Normal file
30
app-admin/conky/files/conky-1.10.8-clang.patch
Normal file
|
@ -0,0 +1,30 @@
|
|||
--- conky-1.10.8/src/linux.cc 2018-02-07 17:16:39.000000000 +0300
|
||||
+++ conky-1.10.8.new/src/linux.cc 2020-02-22 00:43:52.336620654 +0300
|
||||
@@ -37,6 +37,7 @@
|
||||
#include <ctype.h>
|
||||
#include <errno.h>
|
||||
#include <limits.h>
|
||||
+#include <clocale>
|
||||
#include <sys/types.h>
|
||||
#include <sys/sysinfo.h>
|
||||
#include <sys/stat.h>
|
||||
--- conky-1.10.8/src/luamm.cc 2020-02-22 00:57:25.847867585 +0300
|
||||
+++ conky-1.10.8.new/src/luamm.cc 2020-02-22 00:59:29.820510124 +0300
|
||||
@@ -23,6 +23,8 @@
|
||||
|
||||
#include "luamm.hh"
|
||||
|
||||
+#include <cxxabi.h>
|
||||
+
|
||||
namespace lua {
|
||||
namespace {
|
||||
|
||||
@@ -57,7 +59,7 @@
|
||||
lua_pushstring(l, e.what());
|
||||
}
|
||||
catch(...) {
|
||||
- lua_pushstring(l, ptr->__cxa_exception_type()->name());
|
||||
+ lua_pushstring(l, abi::__cxa_current_exception_type()->name());
|
||||
}
|
||||
return 1;
|
||||
}
|
|
@ -1092,6 +1092,7 @@ DIST helm-3.0.1.tar.gz 498975 BLAKE2B 802b49ecc8888ef988571c9469be2dc039bb583733
|
|||
DIST helm-3.0.2.tar.gz 499904 BLAKE2B 0a3fb3912a1cca4c2539922ad5759196de5d4d7e61acb9370017a5053a519ebfd2eaa7bfa3514a05c28e40ba2d0d8bf55b7651fffdc2f32e69d0e0db50bfdb17 SHA512 c45ca39603e14c75812c695ffd1d67b070144c5311de369a53fbe10d2935ae616d5fd8e79fb81bbc8485061f649b63446b4f081152c3de0a3a0b4bafac7104a3
|
||||
DIST helm-3.0.3.tar.gz 499874 BLAKE2B eda691d2b02fb5aaee7e09dd846c19650c3fc0e5d46e703a768b3db5a9966c8bb5548beb1699c5c8771e8e39f8fe35558e601a961d900cd6ebd2e813dec1e6b7 SHA512 9dc776f0638350ba09f7a1af383160a56b0badd3c353f57173ea2540625eb36afe2c0cc1a203b6bcef738d32e4d914028a9b0495d2b652a8cbee4317bca47f0b
|
||||
DIST helm-3.1.1.tar.gz 530397 BLAKE2B 02e92379a9d2010e2126e9b24b48282ff607c4850328d7988e7110c33c509b606d4f48b4cc6413ef4fbc3613536dca6f8ca118921da8b53fe976ecc82bf6b41a SHA512 c48a6cded6c65b44f75d45136a2b9f661a4c2b3ced3ab479558f2cf4d7eb0921b10852ebf998582f607975b4e5b5258dce0e2166f55facbfcffb023cf486b276
|
||||
DIST helm-3.1.2.tar.gz 532703 BLAKE2B c3b1ca53d2cb6847342c67514094487e960bcdec0b2a3aafc21d493702a8d48e49a32afb7178f1336e840cdc908e88fffd81c48306771cedb7f0c51f64e606e7 SHA512 5d2392fa1c738f3be0cab1542df850748d237d2cfa978bdab96267e74401f2956ad372e178ff9716ba7ba5cb8f7bce7e3a31448830666b570767a533d559db33
|
||||
DIST honnef.co%2Fgo%2Ftools%2F@v%2Fv0.0.0-20180728063816-88497007e858.mod 26 BLAKE2B db6cc87a17bed88b955e6b36a17568930239c94a969211b02c2d5acc70386fbea63ac44365a0d3241e900125bd64644d698d8f1bdcabc3e6cf99c47259c63df5 SHA512 d00ae74b24e7fb3ff351ff68b88e59636153bbcf92b36e81e91556e3e75a7ccfb08ce471f757f92fd7612378944de3d7309c73923812e2df6a26b74e999ca9ce
|
||||
DIST honnef.co%2Fgo%2Ftools%2F@v%2Fv0.0.0-20190102054323-c2f93a96b099.mod 26 BLAKE2B db6cc87a17bed88b955e6b36a17568930239c94a969211b02c2d5acc70386fbea63ac44365a0d3241e900125bd64644d698d8f1bdcabc3e6cf99c47259c63df5 SHA512 d00ae74b24e7fb3ff351ff68b88e59636153bbcf92b36e81e91556e3e75a7ccfb08ce471f757f92fd7612378944de3d7309c73923812e2df6a26b74e999ca9ce
|
||||
DIST honnef.co%2Fgo%2Ftools%2F@v%2Fv0.0.0-20190106161140-3f1c8253044a.mod 26 BLAKE2B db6cc87a17bed88b955e6b36a17568930239c94a969211b02c2d5acc70386fbea63ac44365a0d3241e900125bd64644d698d8f1bdcabc3e6cf99c47259c63df5 SHA512 d00ae74b24e7fb3ff351ff68b88e59636153bbcf92b36e81e91556e3e75a7ccfb08ce471f757f92fd7612378944de3d7309c73923812e2df6a26b74e999ca9ce
|
||||
|
@ -1175,4 +1176,5 @@ EBUILD helm-3.0.1.ebuild 7057 BLAKE2B ea4a09c1ed7a18e03e258a674b6587d38f915161c8
|
|||
EBUILD helm-3.0.2.ebuild 7057 BLAKE2B 35d906b9ff6ffabe35a88d069652c3efba27c4c3598713cb332cdd7b1835ebd47f50c5e6dbf0e62a13079ada2808e5aacce7167fb918d30ccbf0f6f8ac57627f SHA512 c05e5e8a9eee9a6a698af4c8fad82f5f664ec9a549001966f41f674451b4991c3bd3b1c11d0cd67dfb55152a072a1a4ef7e1251ba010e8a2a656b906557ad62b
|
||||
EBUILD helm-3.0.3.ebuild 38439 BLAKE2B 3827ab505c187340588ef4e2596e3b0913ea2e98f51c9fa23718c5f2e4b57a5623c9bf4244b589a195292978cbe134a2dfc6358dbabf701bfe8bf67de7a4a636 SHA512 b978278e59854245840bc4cd80cd1fe48835f685ed61015211d5c83267c437321454d1c4e380df8b1cbe20243317d3af0f5fba7a5dc2cf531b3e7d6d26f70a50
|
||||
EBUILD helm-3.1.1.ebuild 38892 BLAKE2B 911b9e3e4ba6bcb4659130811361f3c315e5301fefcf73a6e1074b6e5ed9f224168f3f620be57df9fd93b290d75e4c1a5bda85c5c40f3a753f98ba468ae4720c SHA512 3b9fd7ef4d45b0d08c537ce54d546ce621ffc54def9fe6ec7c2fa64618e742d2f6b785c80984cc0cc4dcd3cfff75f51af38fbb3a74d1ed10a11a9439abcbcfa6
|
||||
EBUILD helm-3.1.2.ebuild 38892 BLAKE2B e2a07d820e7d8659225e470c0f31adb7bdfcdf535467ce07fa83e9b341bce7fb50406dfb159fdf40812ef85a13c8ef3d1e359ae94a42fcaf564ab87ba67b0929 SHA512 ad66b6850a34be3db3f8f38b389d03a19d8c6d4261a8a97e2cad44e0c82065d69df13547785ac9a6c18565e63e335ab1265fb4ff5fb9d283e724100f0c445855
|
||||
MISC metadata.xml 322 BLAKE2B b452dfaecaf6b32e7fc334ddb00444d739a618898f8e0d6905e8b3191acc7f0fc5e3929345405d86f9ab56e8ad80fbcd1dd46a0ea3ff5aaa2bb9f56407d10234 SHA512 ef4bb714213346e60a2a39833d0ab1987e10d2b34460a053b479775163e8778021ef3da63a8f5fede055281298dab88309a796cf3ad650c2d3ddeb17a7b0b4be
|
||||
|
|
737
app-admin/helm/helm-3.1.2.ebuild
Normal file
737
app-admin/helm/helm-3.1.2.ebuild
Normal file
|
@ -0,0 +1,737 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit go-module bash-completion-r1
|
||||
GIT_COMMIT=d878d4d45863e42fd5cff6743294a11d28a9abce
|
||||
MY_PV=${PV/_rc/-rc.}
|
||||
|
||||
DESCRIPTION="Kubernetes Package Manager"
|
||||
HOMEPAGE="https://github.com/helm/helm https://helm.sh"
|
||||
|
||||
EGO_SUM=(
|
||||
"bazil.org/fuse v0.0.0-20160811212531-371fbbdaa898/go.mod"
|
||||
"cloud.google.com/go v0.26.0/go.mod"
|
||||
"cloud.google.com/go v0.34.0/go.mod"
|
||||
"cloud.google.com/go v0.38.0"
|
||||
"cloud.google.com/go v0.38.0/go.mod"
|
||||
"github.com/Azure/azure-sdk-for-go v16.2.1+incompatible/go.mod"
|
||||
"github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78"
|
||||
"github.com/Azure/go-ansiterm v0.0.0-20170929234023-d6e3b3328b78/go.mod"
|
||||
"github.com/Azure/go-autorest v13.3.2+incompatible"
|
||||
"github.com/Azure/go-autorest v13.3.2+incompatible/go.mod"
|
||||
"github.com/Azure/go-autorest/autorest v0.9.0"
|
||||
"github.com/Azure/go-autorest/autorest v0.9.0/go.mod"
|
||||
"github.com/Azure/go-autorest/autorest/adal v0.5.0"
|
||||
"github.com/Azure/go-autorest/autorest/adal v0.5.0/go.mod"
|
||||
"github.com/Azure/go-autorest/autorest/date v0.1.0"
|
||||
"github.com/Azure/go-autorest/autorest/date v0.1.0/go.mod"
|
||||
"github.com/Azure/go-autorest/autorest/mocks v0.1.0/go.mod"
|
||||
"github.com/Azure/go-autorest/autorest/mocks v0.2.0"
|
||||
"github.com/Azure/go-autorest/autorest/mocks v0.2.0/go.mod"
|
||||
"github.com/Azure/go-autorest/logger v0.1.0"
|
||||
"github.com/Azure/go-autorest/logger v0.1.0/go.mod"
|
||||
"github.com/Azure/go-autorest/tracing v0.5.0"
|
||||
"github.com/Azure/go-autorest/tracing v0.5.0/go.mod"
|
||||
"github.com/BurntSushi/toml v0.3.1"
|
||||
"github.com/BurntSushi/toml v0.3.1/go.mod"
|
||||
"github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod"
|
||||
"github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd"
|
||||
"github.com/MakeNowJust/heredoc v0.0.0-20170808103936-bb23615498cd/go.mod"
|
||||
"github.com/Masterminds/goutils v1.1.0"
|
||||
"github.com/Masterminds/goutils v1.1.0/go.mod"
|
||||
"github.com/Masterminds/semver/v3 v3.0.3"
|
||||
"github.com/Masterminds/semver/v3 v3.0.3/go.mod"
|
||||
"github.com/Masterminds/sprig/v3 v3.0.2"
|
||||
"github.com/Masterminds/sprig/v3 v3.0.2/go.mod"
|
||||
"github.com/Masterminds/vcs v1.13.1"
|
||||
"github.com/Masterminds/vcs v1.13.1/go.mod"
|
||||
"github.com/Microsoft/go-winio v0.4.15-0.20190919025122-fc70bd9a86b5"
|
||||
"github.com/Microsoft/go-winio v0.4.15-0.20190919025122-fc70bd9a86b5/go.mod"
|
||||
"github.com/Microsoft/hcsshim v0.8.7"
|
||||
"github.com/Microsoft/hcsshim v0.8.7/go.mod"
|
||||
"github.com/NYTimes/gziphandler v0.0.0-20170623195520-56545f4a5d46/go.mod"
|
||||
"github.com/PuerkitoBio/purell v1.0.0/go.mod"
|
||||
"github.com/PuerkitoBio/purell v1.1.0/go.mod"
|
||||
"github.com/PuerkitoBio/purell v1.1.1"
|
||||
"github.com/PuerkitoBio/purell v1.1.1/go.mod"
|
||||
"github.com/PuerkitoBio/urlesc v0.0.0-20160726150825-5bd2802263f2/go.mod"
|
||||
"github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578"
|
||||
"github.com/PuerkitoBio/urlesc v0.0.0-20170810143723-de5bf2ad4578/go.mod"
|
||||
"github.com/Shopify/logrus-bugsnag v0.0.0-20171204204709-577dee27f20d"
|
||||
"github.com/Shopify/logrus-bugsnag v0.0.0-20171204204709-577dee27f20d/go.mod"
|
||||
"github.com/agnivade/levenshtein v1.0.1/go.mod"
|
||||
"github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod"
|
||||
"github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod"
|
||||
"github.com/andreyvit/diff v0.0.0-20170406064948-c7f18ee00883/go.mod"
|
||||
"github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod"
|
||||
"github.com/asaskevich/govalidator v0.0.0-20180720115003-f9ffefc3facf/go.mod"
|
||||
"github.com/asaskevich/govalidator v0.0.0-20190424111038-f61b66f89f4a/go.mod"
|
||||
"github.com/asaskevich/govalidator v0.0.0-20200108200545-475eaeb16496"
|
||||
"github.com/asaskevich/govalidator v0.0.0-20200108200545-475eaeb16496/go.mod"
|
||||
"github.com/aws/aws-sdk-go v1.15.11/go.mod"
|
||||
"github.com/beorn7/perks v0.0.0-20160804104726-4c0e84591b9a/go.mod"
|
||||
"github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod"
|
||||
"github.com/beorn7/perks v1.0.0"
|
||||
"github.com/beorn7/perks v1.0.0/go.mod"
|
||||
"github.com/bgentry/speakeasy v0.1.0/go.mod"
|
||||
"github.com/bitly/go-simplejson v0.5.0"
|
||||
"github.com/bitly/go-simplejson v0.5.0/go.mod"
|
||||
"github.com/blang/semver v3.1.0+incompatible/go.mod"
|
||||
"github.com/blang/semver v3.5.0+incompatible/go.mod"
|
||||
"github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869"
|
||||
"github.com/bmizerany/assert v0.0.0-20160611221934-b7ed37b82869/go.mod"
|
||||
"github.com/bshuster-repo/logrus-logstash-hook v0.4.1"
|
||||
"github.com/bshuster-repo/logrus-logstash-hook v0.4.1/go.mod"
|
||||
"github.com/bugsnag/bugsnag-go v0.0.0-20141110184014-b1d153021fcd"
|
||||
"github.com/bugsnag/bugsnag-go v0.0.0-20141110184014-b1d153021fcd/go.mod"
|
||||
"github.com/bugsnag/osext v0.0.0-20130617224835-0dd3f918b21b"
|
||||
"github.com/bugsnag/osext v0.0.0-20130617224835-0dd3f918b21b/go.mod"
|
||||
"github.com/bugsnag/panicwrap v0.0.0-20151223152923-e2c28503fcd0"
|
||||
"github.com/bugsnag/panicwrap v0.0.0-20151223152923-e2c28503fcd0/go.mod"
|
||||
"github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod"
|
||||
"github.com/chai2010/gettext-go v0.0.0-20160711120539-c6fed771bfd5/go.mod"
|
||||
"github.com/client9/misspell v0.3.4/go.mod"
|
||||
"github.com/cockroachdb/datadriven v0.0.0-20190809214429-80d97fb3cbaa/go.mod"
|
||||
"github.com/containerd/cgroups v0.0.0-20190919134610-bf292b21730f"
|
||||
"github.com/containerd/cgroups v0.0.0-20190919134610-bf292b21730f/go.mod"
|
||||
"github.com/containerd/console v0.0.0-20180822173158-c12b1e7919c1/go.mod"
|
||||
"github.com/containerd/containerd v1.3.0-beta.2.0.20190828155532-0293cbd26c69/go.mod"
|
||||
"github.com/containerd/containerd v1.3.2"
|
||||
"github.com/containerd/containerd v1.3.2/go.mod"
|
||||
"github.com/containerd/continuity v0.0.0-20190426062206-aaeac12a7ffc/go.mod"
|
||||
"github.com/containerd/continuity v0.0.0-20200107194136-26c1120b8d41"
|
||||
"github.com/containerd/continuity v0.0.0-20200107194136-26c1120b8d41/go.mod"
|
||||
"github.com/containerd/fifo v0.0.0-20190226154929-a9fb20d87448/go.mod"
|
||||
"github.com/containerd/go-runc v0.0.0-20180907222934-5a6d9f37cfa3/go.mod"
|
||||
"github.com/containerd/ttrpc v0.0.0-20190828154514-0e0f228740de/go.mod"
|
||||
"github.com/containerd/typeurl v0.0.0-20180627222232-a93fcdb778cd/go.mod"
|
||||
"github.com/coreos/etcd v3.3.10+incompatible/go.mod"
|
||||
"github.com/coreos/go-etcd v2.0.0+incompatible/go.mod"
|
||||
"github.com/coreos/go-oidc v2.1.0+incompatible/go.mod"
|
||||
"github.com/coreos/go-semver v0.2.0/go.mod"
|
||||
"github.com/coreos/go-semver v0.3.0/go.mod"
|
||||
"github.com/coreos/go-systemd v0.0.0-20180511133405-39ca1b05acc7/go.mod"
|
||||
"github.com/coreos/go-systemd v0.0.0-20190321100706-95778dfbb74e/go.mod"
|
||||
"github.com/coreos/pkg v0.0.0-20160727233714-3ac0863d7acf/go.mod"
|
||||
"github.com/coreos/pkg v0.0.0-20180108230652-97fdf19511ea/go.mod"
|
||||
"github.com/cpuguy83/go-md2man v1.0.10"
|
||||
"github.com/cpuguy83/go-md2man v1.0.10/go.mod"
|
||||
"github.com/creack/pty v1.1.7/go.mod"
|
||||
"github.com/cyphar/filepath-securejoin v0.2.2"
|
||||
"github.com/cyphar/filepath-securejoin v0.2.2/go.mod"
|
||||
"github.com/davecgh/go-spew v0.0.0-20151105211317-5215b55f46b2/go.mod"
|
||||
"github.com/davecgh/go-spew v1.1.0/go.mod"
|
||||
"github.com/davecgh/go-spew v1.1.1"
|
||||
"github.com/davecgh/go-spew v1.1.1/go.mod"
|
||||
"github.com/daviddengcn/go-colortext v0.0.0-20160507010035-511bcaf42ccd/go.mod"
|
||||
"github.com/deislabs/oras v0.8.1"
|
||||
"github.com/deislabs/oras v0.8.1/go.mod"
|
||||
"github.com/denverdino/aliyungo v0.0.0-20190125010748-a747050bb1ba/go.mod"
|
||||
"github.com/dgrijalva/jwt-go v0.0.0-20170104182250-a601269ab70c/go.mod"
|
||||
"github.com/dgrijalva/jwt-go v3.2.0+incompatible"
|
||||
"github.com/dgrijalva/jwt-go v3.2.0+incompatible/go.mod"
|
||||
"github.com/dnaeon/go-vcr v1.0.1/go.mod"
|
||||
"github.com/docker/cli v0.0.0-20200130152716-5d0cf8839492"
|
||||
"github.com/docker/cli v0.0.0-20200130152716-5d0cf8839492/go.mod"
|
||||
"github.com/docker/distribution v0.0.0-20191216044856-a8371794149d"
|
||||
"github.com/docker/distribution v0.0.0-20191216044856-a8371794149d/go.mod"
|
||||
"github.com/docker/docker v0.7.3-0.20190327010347-be7ac8be2ae0/go.mod"
|
||||
"github.com/docker/docker v1.4.2-0.20200203170920-46ec8731fbce"
|
||||
"github.com/docker/docker v1.4.2-0.20200203170920-46ec8731fbce/go.mod"
|
||||
"github.com/docker/docker-credential-helpers v0.6.3"
|
||||
"github.com/docker/docker-credential-helpers v0.6.3/go.mod"
|
||||
"github.com/docker/go-connections v0.4.0"
|
||||
"github.com/docker/go-connections v0.4.0/go.mod"
|
||||
"github.com/docker/go-metrics v0.0.0-20180209012529-399ea8c73916"
|
||||
"github.com/docker/go-metrics v0.0.0-20180209012529-399ea8c73916/go.mod"
|
||||
"github.com/docker/go-units v0.3.3/go.mod"
|
||||
"github.com/docker/go-units v0.4.0"
|
||||
"github.com/docker/go-units v0.4.0/go.mod"
|
||||
"github.com/docker/libtrust v0.0.0-20150114040149-fa567046d9b1"
|
||||
"github.com/docker/libtrust v0.0.0-20150114040149-fa567046d9b1/go.mod"
|
||||
"github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96"
|
||||
"github.com/docker/spdystream v0.0.0-20160310174837-449fdfce4d96/go.mod"
|
||||
"github.com/dustin/go-humanize v0.0.0-20171111073723-bb3d318650d4/go.mod"
|
||||
"github.com/dustin/go-humanize v1.0.0/go.mod"
|
||||
"github.com/elazarl/goproxy v0.0.0-20170405201442-c4fc26588b6e"
|
||||
"github.com/elazarl/goproxy v0.0.0-20170405201442-c4fc26588b6e/go.mod"
|
||||
"github.com/emicklei/go-restful v0.0.0-20170410110728-ff4f55a20633/go.mod"
|
||||
"github.com/emicklei/go-restful v2.9.5+incompatible"
|
||||
"github.com/emicklei/go-restful v2.9.5+incompatible/go.mod"
|
||||
"github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod"
|
||||
"github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod"
|
||||
"github.com/evanphx/json-patch v4.2.0+incompatible/go.mod"
|
||||
"github.com/evanphx/json-patch v4.5.0+incompatible"
|
||||
"github.com/evanphx/json-patch v4.5.0+incompatible/go.mod"
|
||||
"github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d"
|
||||
"github.com/exponent-io/jsonpath v0.0.0-20151013193312-d6023ce2651d/go.mod"
|
||||
"github.com/fatih/camelcase v1.0.0/go.mod"
|
||||
"github.com/fatih/color v1.7.0"
|
||||
"github.com/fatih/color v1.7.0/go.mod"
|
||||
"github.com/fsnotify/fsnotify v1.4.7"
|
||||
"github.com/fsnotify/fsnotify v1.4.7/go.mod"
|
||||
"github.com/garyburd/redigo v0.0.0-20150301180006-535138d7bcd7"
|
||||
"github.com/garyburd/redigo v0.0.0-20150301180006-535138d7bcd7/go.mod"
|
||||
"github.com/ghodss/yaml v0.0.0-20150909031657-73d445a93680/go.mod"
|
||||
"github.com/ghodss/yaml v1.0.0"
|
||||
"github.com/ghodss/yaml v1.0.0/go.mod"
|
||||
"github.com/globalsign/mgo v0.0.0-20180905125535-1ca0a4f7cbcb/go.mod"
|
||||
"github.com/globalsign/mgo v0.0.0-20181015135952-eeefdecb41b8/go.mod"
|
||||
"github.com/go-ini/ini v1.25.4/go.mod"
|
||||
"github.com/go-kit/kit v0.8.0/go.mod"
|
||||
"github.com/go-logfmt/logfmt v0.3.0/go.mod"
|
||||
"github.com/go-logr/logr v0.1.0/go.mod"
|
||||
"github.com/go-openapi/analysis v0.0.0-20180825180245-b006789cd277/go.mod"
|
||||
"github.com/go-openapi/analysis v0.17.0/go.mod"
|
||||
"github.com/go-openapi/analysis v0.18.0/go.mod"
|
||||
"github.com/go-openapi/analysis v0.19.2/go.mod"
|
||||
"github.com/go-openapi/analysis v0.19.5/go.mod"
|
||||
"github.com/go-openapi/errors v0.17.0/go.mod"
|
||||
"github.com/go-openapi/errors v0.18.0/go.mod"
|
||||
"github.com/go-openapi/errors v0.19.2/go.mod"
|
||||
"github.com/go-openapi/jsonpointer v0.0.0-20160704185906-46af16f9f7b1/go.mod"
|
||||
"github.com/go-openapi/jsonpointer v0.17.0/go.mod"
|
||||
"github.com/go-openapi/jsonpointer v0.18.0/go.mod"
|
||||
"github.com/go-openapi/jsonpointer v0.19.2/go.mod"
|
||||
"github.com/go-openapi/jsonpointer v0.19.3"
|
||||
"github.com/go-openapi/jsonpointer v0.19.3/go.mod"
|
||||
"github.com/go-openapi/jsonreference v0.0.0-20160704190145-13c6e3589ad9/go.mod"
|
||||
"github.com/go-openapi/jsonreference v0.17.0/go.mod"
|
||||
"github.com/go-openapi/jsonreference v0.18.0/go.mod"
|
||||
"github.com/go-openapi/jsonreference v0.19.2/go.mod"
|
||||
"github.com/go-openapi/jsonreference v0.19.3"
|
||||
"github.com/go-openapi/jsonreference v0.19.3/go.mod"
|
||||
"github.com/go-openapi/loads v0.17.0/go.mod"
|
||||
"github.com/go-openapi/loads v0.18.0/go.mod"
|
||||
"github.com/go-openapi/loads v0.19.0/go.mod"
|
||||
"github.com/go-openapi/loads v0.19.2/go.mod"
|
||||
"github.com/go-openapi/loads v0.19.4/go.mod"
|
||||
"github.com/go-openapi/runtime v0.0.0-20180920151709-4f900dc2ade9/go.mod"
|
||||
"github.com/go-openapi/runtime v0.19.0/go.mod"
|
||||
"github.com/go-openapi/runtime v0.19.4/go.mod"
|
||||
"github.com/go-openapi/spec v0.0.0-20160808142527-6aced65f8501/go.mod"
|
||||
"github.com/go-openapi/spec v0.17.0/go.mod"
|
||||
"github.com/go-openapi/spec v0.18.0/go.mod"
|
||||
"github.com/go-openapi/spec v0.19.2/go.mod"
|
||||
"github.com/go-openapi/spec v0.19.3"
|
||||
"github.com/go-openapi/spec v0.19.3/go.mod"
|
||||
"github.com/go-openapi/strfmt v0.17.0/go.mod"
|
||||
"github.com/go-openapi/strfmt v0.18.0/go.mod"
|
||||
"github.com/go-openapi/strfmt v0.19.0/go.mod"
|
||||
"github.com/go-openapi/strfmt v0.19.3/go.mod"
|
||||
"github.com/go-openapi/swag v0.0.0-20160704191624-1d0bd113de87/go.mod"
|
||||
"github.com/go-openapi/swag v0.17.0/go.mod"
|
||||
"github.com/go-openapi/swag v0.18.0/go.mod"
|
||||
"github.com/go-openapi/swag v0.19.2/go.mod"
|
||||
"github.com/go-openapi/swag v0.19.5"
|
||||
"github.com/go-openapi/swag v0.19.5/go.mod"
|
||||
"github.com/go-openapi/validate v0.18.0/go.mod"
|
||||
"github.com/go-openapi/validate v0.19.2/go.mod"
|
||||
"github.com/go-openapi/validate v0.19.5/go.mod"
|
||||
"github.com/go-stack/stack v1.8.0/go.mod"
|
||||
"github.com/gobwas/glob v0.2.3"
|
||||
"github.com/gobwas/glob v0.2.3/go.mod"
|
||||
"github.com/godbus/dbus v0.0.0-20190422162347-ade71ed3457e/go.mod"
|
||||
"github.com/gofrs/flock v0.7.1"
|
||||
"github.com/gofrs/flock v0.7.1/go.mod"
|
||||
"github.com/gogo/protobuf v1.1.1/go.mod"
|
||||
"github.com/gogo/protobuf v1.2.1/go.mod"
|
||||
"github.com/gogo/protobuf v1.2.2-0.20190723190241-65acae22fc9d/go.mod"
|
||||
"github.com/gogo/protobuf v1.3.1"
|
||||
"github.com/gogo/protobuf v1.3.1/go.mod"
|
||||
"github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b"
|
||||
"github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod"
|
||||
"github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903"
|
||||
"github.com/golang/groupcache v0.0.0-20160516000752-02826c3e7903/go.mod"
|
||||
"github.com/golang/mock v1.1.1/go.mod"
|
||||
"github.com/golang/mock v1.2.0/go.mod"
|
||||
"github.com/golang/protobuf v0.0.0-20161109072736-4bd1920723d7/go.mod"
|
||||
"github.com/golang/protobuf v1.2.0/go.mod"
|
||||
"github.com/golang/protobuf v1.3.1/go.mod"
|
||||
"github.com/golang/protobuf v1.3.2"
|
||||
"github.com/golang/protobuf v1.3.2/go.mod"
|
||||
"github.com/golangplus/bytes v0.0.0-20160111154220-45c989fe5450/go.mod"
|
||||
"github.com/golangplus/fmt v0.0.0-20150411045040-2a5d6d7d2995/go.mod"
|
||||
"github.com/golangplus/testing v0.0.0-20180327235837-af21d9c3145e/go.mod"
|
||||
"github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod"
|
||||
"github.com/google/btree v1.0.0"
|
||||
"github.com/google/btree v1.0.0/go.mod"
|
||||
"github.com/google/go-cmp v0.2.0/go.mod"
|
||||
"github.com/google/go-cmp v0.3.0/go.mod"
|
||||
"github.com/google/go-cmp v0.4.0"
|
||||
"github.com/google/go-cmp v0.4.0/go.mod"
|
||||
"github.com/google/gofuzz v0.0.0-20161122191042-44d81051d367/go.mod"
|
||||
"github.com/google/gofuzz v1.0.0"
|
||||
"github.com/google/gofuzz v1.0.0/go.mod"
|
||||
"github.com/google/martian v2.1.0+incompatible/go.mod"
|
||||
"github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod"
|
||||
"github.com/google/uuid v1.0.0/go.mod"
|
||||
"github.com/google/uuid v1.1.1"
|
||||
"github.com/google/uuid v1.1.1/go.mod"
|
||||
"github.com/googleapis/gax-go/v2 v2.0.4/go.mod"
|
||||
"github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d"
|
||||
"github.com/googleapis/gnostic v0.0.0-20170729233727-0c5108395e2d/go.mod"
|
||||
"github.com/gophercloud/gophercloud v0.1.0"
|
||||
"github.com/gophercloud/gophercloud v0.1.0/go.mod"
|
||||
"github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod"
|
||||
"github.com/gorilla/handlers v0.0.0-20150720190736-60c7bfde3e33"
|
||||
"github.com/gorilla/handlers v0.0.0-20150720190736-60c7bfde3e33/go.mod"
|
||||
"github.com/gorilla/mux v1.7.2"
|
||||
"github.com/gorilla/mux v1.7.2/go.mod"
|
||||
"github.com/gorilla/websocket v0.0.0-20170926233335-4201258b820c/go.mod"
|
||||
"github.com/gorilla/websocket v1.4.0/go.mod"
|
||||
"github.com/gosuri/uitable v0.0.4"
|
||||
"github.com/gosuri/uitable v0.0.4/go.mod"
|
||||
"github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7"
|
||||
"github.com/gregjones/httpcache v0.0.0-20180305231024-9cad4c3443a7/go.mod"
|
||||
"github.com/grpc-ecosystem/go-grpc-middleware v1.0.1-0.20190118093823-f849b5445de4/go.mod"
|
||||
"github.com/grpc-ecosystem/go-grpc-prometheus v1.2.0/go.mod"
|
||||
"github.com/grpc-ecosystem/grpc-gateway v1.9.5/go.mod"
|
||||
"github.com/hashicorp/errwrap v0.0.0-20141028054710-7554cd9344ce/go.mod"
|
||||
"github.com/hashicorp/go-multierror v0.0.0-20161216184304-ed905158d874/go.mod"
|
||||
"github.com/hashicorp/golang-lru v0.5.0/go.mod"
|
||||
"github.com/hashicorp/golang-lru v0.5.1"
|
||||
"github.com/hashicorp/golang-lru v0.5.1/go.mod"
|
||||
"github.com/hashicorp/hcl v1.0.0/go.mod"
|
||||
"github.com/hpcloud/tail v1.0.0"
|
||||
"github.com/hpcloud/tail v1.0.0/go.mod"
|
||||
"github.com/huandu/xstrings v1.2.0"
|
||||
"github.com/huandu/xstrings v1.2.0/go.mod"
|
||||
"github.com/imdario/mergo v0.3.5/go.mod"
|
||||
"github.com/imdario/mergo v0.3.7"
|
||||
"github.com/imdario/mergo v0.3.7/go.mod"
|
||||
"github.com/inconshreveable/mousetrap v1.0.0"
|
||||
"github.com/inconshreveable/mousetrap v1.0.0/go.mod"
|
||||
"github.com/jmespath/go-jmespath v0.0.0-20160202185014-0b12d6b521d8/go.mod"
|
||||
"github.com/jmespath/go-jmespath v0.0.0-20160803190731-bd40a432e4c7/go.mod"
|
||||
"github.com/jonboulle/clockwork v0.1.0/go.mod"
|
||||
"github.com/json-iterator/go v0.0.0-20180612202835-f2b4162afba3/go.mod"
|
||||
"github.com/json-iterator/go v1.1.6/go.mod"
|
||||
"github.com/json-iterator/go v1.1.7/go.mod"
|
||||
"github.com/json-iterator/go v1.1.8"
|
||||
"github.com/json-iterator/go v1.1.8/go.mod"
|
||||
"github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod"
|
||||
"github.com/jtolds/gls v4.20.0+incompatible/go.mod"
|
||||
"github.com/julienschmidt/httprouter v1.2.0/go.mod"
|
||||
"github.com/kisielk/errcheck v1.1.0/go.mod"
|
||||
"github.com/kisielk/errcheck v1.2.0/go.mod"
|
||||
"github.com/kisielk/gotool v1.0.0/go.mod"
|
||||
"github.com/konsorten/go-windows-terminal-sequences v1.0.1"
|
||||
"github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod"
|
||||
"github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod"
|
||||
"github.com/kr/pretty v0.1.0"
|
||||
"github.com/kr/pretty v0.1.0/go.mod"
|
||||
"github.com/kr/pty v1.1.1/go.mod"
|
||||
"github.com/kr/pty v1.1.5/go.mod"
|
||||
"github.com/kr/text v0.1.0"
|
||||
"github.com/kr/text v0.1.0/go.mod"
|
||||
"github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de"
|
||||
"github.com/liggitt/tabwriter v0.0.0-20181228230101-89fcab3d43de/go.mod"
|
||||
"github.com/lithammer/dedent v1.1.0/go.mod"
|
||||
"github.com/magiconair/properties v1.8.0/go.mod"
|
||||
"github.com/mailru/easyjson v0.0.0-20160728113105-d5b7844b561a/go.mod"
|
||||
"github.com/mailru/easyjson v0.0.0-20180823135443-60711f1a8329/go.mod"
|
||||
"github.com/mailru/easyjson v0.0.0-20190312143242-1de009706dbe/go.mod"
|
||||
"github.com/mailru/easyjson v0.0.0-20190614124828-94de47d64c63/go.mod"
|
||||
"github.com/mailru/easyjson v0.0.0-20190626092158-b2ccc519800e/go.mod"
|
||||
"github.com/mailru/easyjson v0.7.0"
|
||||
"github.com/mailru/easyjson v0.7.0/go.mod"
|
||||
"github.com/marstr/guid v1.1.0/go.mod"
|
||||
"github.com/mattn/go-colorable v0.0.9"
|
||||
"github.com/mattn/go-colorable v0.0.9/go.mod"
|
||||
"github.com/mattn/go-isatty v0.0.4"
|
||||
"github.com/mattn/go-isatty v0.0.4/go.mod"
|
||||
"github.com/mattn/go-runewidth v0.0.2"
|
||||
"github.com/mattn/go-runewidth v0.0.2/go.mod"
|
||||
"github.com/mattn/go-shellwords v1.0.9"
|
||||
"github.com/mattn/go-shellwords v1.0.9/go.mod"
|
||||
"github.com/matttproud/golang_protobuf_extensions v1.0.1"
|
||||
"github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod"
|
||||
"github.com/mitchellh/copystructure v1.0.0"
|
||||
"github.com/mitchellh/copystructure v1.0.0/go.mod"
|
||||
"github.com/mitchellh/go-homedir v1.1.0/go.mod"
|
||||
"github.com/mitchellh/go-wordwrap v1.0.0"
|
||||
"github.com/mitchellh/go-wordwrap v1.0.0/go.mod"
|
||||
"github.com/mitchellh/mapstructure v1.1.2/go.mod"
|
||||
"github.com/mitchellh/osext v0.0.0-20151018003038-5e2d6d41470f"
|
||||
"github.com/mitchellh/osext v0.0.0-20151018003038-5e2d6d41470f/go.mod"
|
||||
"github.com/mitchellh/reflectwalk v1.0.0"
|
||||
"github.com/mitchellh/reflectwalk v1.0.0/go.mod"
|
||||
"github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod"
|
||||
"github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd"
|
||||
"github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod"
|
||||
"github.com/modern-go/reflect2 v0.0.0-20180320133207-05fbef0ca5da/go.mod"
|
||||
"github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod"
|
||||
"github.com/modern-go/reflect2 v1.0.1"
|
||||
"github.com/modern-go/reflect2 v1.0.1/go.mod"
|
||||
"github.com/morikuni/aec v1.0.0"
|
||||
"github.com/morikuni/aec v1.0.0/go.mod"
|
||||
"github.com/munnerz/goautoneg v0.0.0-20120707110453-a547fc61f48d/go.mod"
|
||||
"github.com/munnerz/goautoneg v0.0.0-20191010083416-a7dc8b61c822/go.mod"
|
||||
"github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod"
|
||||
"github.com/mxk/go-flowrate v0.0.0-20140419014527-cca7078d478f/go.mod"
|
||||
"github.com/ncw/swift v1.0.47/go.mod"
|
||||
"github.com/olekukonko/tablewriter v0.0.0-20170122224234-a0225b3f23b5/go.mod"
|
||||
"github.com/onsi/ginkgo v0.0.0-20170829012221-11459a886d9c/go.mod"
|
||||
"github.com/onsi/ginkgo v1.6.0/go.mod"
|
||||
"github.com/onsi/ginkgo v1.10.1"
|
||||
"github.com/onsi/ginkgo v1.10.1/go.mod"
|
||||
"github.com/onsi/gomega v0.0.0-20170829124025-dcabb60a477c/go.mod"
|
||||
"github.com/onsi/gomega v1.7.0"
|
||||
"github.com/onsi/gomega v1.7.0/go.mod"
|
||||
"github.com/opencontainers/go-digest v0.0.0-20170106003457-a6d0ee40d420/go.mod"
|
||||
"github.com/opencontainers/go-digest v0.0.0-20180430190053-c9281466c8b2/go.mod"
|
||||
"github.com/opencontainers/go-digest v1.0.0-rc1"
|
||||
"github.com/opencontainers/go-digest v1.0.0-rc1/go.mod"
|
||||
"github.com/opencontainers/image-spec v1.0.0/go.mod"
|
||||
"github.com/opencontainers/image-spec v1.0.1"
|
||||
"github.com/opencontainers/image-spec v1.0.1/go.mod"
|
||||
"github.com/opencontainers/runc v0.0.0-20190115041553-12f6a991201f/go.mod"
|
||||
"github.com/opencontainers/runc v0.1.1"
|
||||
"github.com/opencontainers/runc v0.1.1/go.mod"
|
||||
"github.com/opencontainers/runtime-spec v0.1.2-0.20190507144316-5b71a03e2700/go.mod"
|
||||
"github.com/opencontainers/runtime-tools v0.0.0-20181011054405-1d69bd0f9c39/go.mod"
|
||||
"github.com/pborman/uuid v1.2.0/go.mod"
|
||||
"github.com/pelletier/go-toml v1.2.0/go.mod"
|
||||
"github.com/peterbourgon/diskv v2.0.1+incompatible"
|
||||
"github.com/peterbourgon/diskv v2.0.1+incompatible/go.mod"
|
||||
"github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2"
|
||||
"github.com/phayes/freeport v0.0.0-20180830031419-95f893ade6f2/go.mod"
|
||||
"github.com/pkg/errors v0.8.0/go.mod"
|
||||
"github.com/pkg/errors v0.8.1-0.20171018195549-f15c970de5b7/go.mod"
|
||||
"github.com/pkg/errors v0.8.1/go.mod"
|
||||
"github.com/pkg/errors v0.9.1"
|
||||
"github.com/pkg/errors v0.9.1/go.mod"
|
||||
"github.com/pmezard/go-difflib v0.0.0-20151028094244-d8ed2627bdf0/go.mod"
|
||||
"github.com/pmezard/go-difflib v1.0.0"
|
||||
"github.com/pmezard/go-difflib v1.0.0/go.mod"
|
||||
"github.com/pquerna/cachecontrol v0.0.0-20171018203845-0dec1b30a021/go.mod"
|
||||
"github.com/prometheus/client_golang v0.0.0-20180209125602-c332b6f63c06/go.mod"
|
||||
"github.com/prometheus/client_golang v0.9.1/go.mod"
|
||||
"github.com/prometheus/client_golang v1.0.0"
|
||||
"github.com/prometheus/client_golang v1.0.0/go.mod"
|
||||
"github.com/prometheus/client_model v0.0.0-20171117100541-99fa1f4be8e5/go.mod"
|
||||
"github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod"
|
||||
"github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod"
|
||||
"github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4"
|
||||
"github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod"
|
||||
"github.com/prometheus/common v0.0.0-20180110214958-89604d197083/go.mod"
|
||||
"github.com/prometheus/common v0.4.1"
|
||||
"github.com/prometheus/common v0.4.1/go.mod"
|
||||
"github.com/prometheus/procfs v0.0.0-20180125133057-cb4147076ac7/go.mod"
|
||||
"github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod"
|
||||
"github.com/prometheus/procfs v0.0.2/go.mod"
|
||||
"github.com/prometheus/procfs v0.0.5"
|
||||
"github.com/prometheus/procfs v0.0.5/go.mod"
|
||||
"github.com/remyoudompheng/bigfft v0.0.0-20170806203942-52369c62f446/go.mod"
|
||||
"github.com/rogpeppe/fastuuid v0.0.0-20150106093220-6724a57986af/go.mod"
|
||||
"github.com/russross/blackfriday v1.5.2"
|
||||
"github.com/russross/blackfriday v1.5.2/go.mod"
|
||||
"github.com/satori/go.uuid v1.2.0/go.mod"
|
||||
"github.com/sergi/go-diff v1.0.0/go.mod"
|
||||
"github.com/sirupsen/logrus v1.0.4-0.20170822132746-89742aefa4b2/go.mod"
|
||||
"github.com/sirupsen/logrus v1.2.0/go.mod"
|
||||
"github.com/sirupsen/logrus v1.4.1/go.mod"
|
||||
"github.com/sirupsen/logrus v1.4.2"
|
||||
"github.com/sirupsen/logrus v1.4.2/go.mod"
|
||||
"github.com/smartystreets/assertions v0.0.0-20180927180507-b2de0cb4f26d/go.mod"
|
||||
"github.com/smartystreets/goconvey v0.0.0-20190330032615-68dc04aab96a/go.mod"
|
||||
"github.com/soheilhy/cmux v0.1.4/go.mod"
|
||||
"github.com/spf13/afero v1.1.2/go.mod"
|
||||
"github.com/spf13/afero v1.2.2/go.mod"
|
||||
"github.com/spf13/cast v1.3.0"
|
||||
"github.com/spf13/cast v1.3.0/go.mod"
|
||||
"github.com/spf13/cobra v0.0.2-0.20171109065643-2da4a54c5cee/go.mod"
|
||||
"github.com/spf13/cobra v0.0.3/go.mod"
|
||||
"github.com/spf13/cobra v0.0.5"
|
||||
"github.com/spf13/cobra v0.0.5/go.mod"
|
||||
"github.com/spf13/jwalterweatherman v1.0.0/go.mod"
|
||||
"github.com/spf13/pflag v0.0.0-20170130214245-9ff6c6923cff/go.mod"
|
||||
"github.com/spf13/pflag v1.0.1-0.20171106142849-4c012f6dcd95/go.mod"
|
||||
"github.com/spf13/pflag v1.0.1/go.mod"
|
||||
"github.com/spf13/pflag v1.0.3/go.mod"
|
||||
"github.com/spf13/pflag v1.0.5"
|
||||
"github.com/spf13/pflag v1.0.5/go.mod"
|
||||
"github.com/spf13/viper v1.3.2/go.mod"
|
||||
"github.com/stretchr/objx v0.1.0/go.mod"
|
||||
"github.com/stretchr/objx v0.1.1/go.mod"
|
||||
"github.com/stretchr/objx v0.2.0/go.mod"
|
||||
"github.com/stretchr/testify v0.0.0-20151208002404-e3a8ff8ce365/go.mod"
|
||||
"github.com/stretchr/testify v1.2.2/go.mod"
|
||||
"github.com/stretchr/testify v1.3.0/go.mod"
|
||||
"github.com/stretchr/testify v1.4.0"
|
||||
"github.com/stretchr/testify v1.4.0/go.mod"
|
||||
"github.com/syndtr/gocapability v0.0.0-20170704070218-db04d3cc01c8/go.mod"
|
||||
"github.com/tidwall/pretty v1.0.0/go.mod"
|
||||
"github.com/tmc/grpc-websocket-proxy v0.0.0-20170815181823-89b8d40f7ca8/go.mod"
|
||||
"github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod"
|
||||
"github.com/urfave/cli v0.0.0-20171014202726-7bc6a0acffa5/go.mod"
|
||||
"github.com/urfave/cli v1.20.0/go.mod"
|
||||
"github.com/vektah/gqlparser v1.1.2/go.mod"
|
||||
"github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f"
|
||||
"github.com/xeipuuv/gojsonpointer v0.0.0-20180127040702-4e3ac2762d5f/go.mod"
|
||||
"github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415"
|
||||
"github.com/xeipuuv/gojsonreference v0.0.0-20180127040603-bd5ef7bd5415/go.mod"
|
||||
"github.com/xeipuuv/gojsonschema v0.0.0-20180618132009-1d523034197f/go.mod"
|
||||
"github.com/xeipuuv/gojsonschema v1.1.0"
|
||||
"github.com/xeipuuv/gojsonschema v1.1.0/go.mod"
|
||||
"github.com/xiang90/probing v0.0.0-20190116061207-43a291ad63a2/go.mod"
|
||||
"github.com/xlab/handysort v0.0.0-20150421192137-fb3537ed64a1/go.mod"
|
||||
"github.com/xordataexchange/crypt v0.0.3-0.20170626215501-b2862e3d0a77/go.mod"
|
||||
"github.com/yvasiyarov/go-metrics v0.0.0-20140926110328-57bccd1ccd43"
|
||||
"github.com/yvasiyarov/go-metrics v0.0.0-20140926110328-57bccd1ccd43/go.mod"
|
||||
"github.com/yvasiyarov/gorelic v0.0.0-20141212073537-a9bba5b9ab50"
|
||||
"github.com/yvasiyarov/gorelic v0.0.0-20141212073537-a9bba5b9ab50/go.mod"
|
||||
"github.com/yvasiyarov/newrelic_platform_go v0.0.0-20140908184405-b21fdbd4370f"
|
||||
"github.com/yvasiyarov/newrelic_platform_go v0.0.0-20140908184405-b21fdbd4370f/go.mod"
|
||||
"go.etcd.io/bbolt v1.3.3/go.mod"
|
||||
"go.etcd.io/etcd v0.0.0-20191023171146-3cf2f69b5738/go.mod"
|
||||
"go.mongodb.org/mongo-driver v1.0.3/go.mod"
|
||||
"go.mongodb.org/mongo-driver v1.1.1/go.mod"
|
||||
"go.mongodb.org/mongo-driver v1.1.2/go.mod"
|
||||
"go.opencensus.io v0.21.0/go.mod"
|
||||
"go.opencensus.io v0.22.0"
|
||||
"go.opencensus.io v0.22.0/go.mod"
|
||||
"go.uber.org/atomic v1.3.2/go.mod"
|
||||
"go.uber.org/multierr v1.1.0/go.mod"
|
||||
"go.uber.org/zap v1.10.0/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20171113213409-9f005a07e0d3/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20181203042331-505ab145d0a9/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20190211182817-74369b46fc67/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20190320223903-b7391e95e576/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20190611184440-5c40567a22f8/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20190617133340-57b3e21c3d56/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20190820162420-60c769a6c586/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20190911031432-227b76d455e7/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20200128174031-69ecbb4d6d5d"
|
||||
"golang.org/x/crypto v0.0.0-20200128174031-69ecbb4d6d5d/go.mod"
|
||||
"golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod"
|
||||
"golang.org/x/exp v0.0.0-20190125153040-c74c464bbbf2/go.mod"
|
||||
"golang.org/x/exp v0.0.0-20190312203227-4b39c73a6495/go.mod"
|
||||
"golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod"
|
||||
"golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod"
|
||||
"golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod"
|
||||
"golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod"
|
||||
"golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod"
|
||||
"golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod"
|
||||
"golang.org/x/net v0.0.0-20170114055629-f2499483f923/go.mod"
|
||||
"golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod"
|
||||
"golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod"
|
||||
"golang.org/x/net v0.0.0-20180906233101-161cd47e91fd/go.mod"
|
||||
"golang.org/x/net v0.0.0-20181005035420-146acd28ed58/go.mod"
|
||||
"golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod"
|
||||
"golang.org/x/net v0.0.0-20181220203305-927f97764cc3/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190320064053-1272bf9dcd53/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190619014844-b5b0513f8c1b/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190813141303-74dc4d7220e7/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190827160401-ba9fcec4b297/go.mod"
|
||||
"golang.org/x/net v0.0.0-20191004110552-13f9640d40b9"
|
||||
"golang.org/x/net v0.0.0-20191004110552-13f9640d40b9/go.mod"
|
||||
"golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod"
|
||||
"golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod"
|
||||
"golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45"
|
||||
"golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e"
|
||||
"golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20170830134202-bb24a47a89ea/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20180909124046-d0be0721c37e/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20181107165924-66b7b1311ac8/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20181205085412-a5c9d58dba9a/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190209173611-3b5209105503/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190321052220-f7bb7a8bee54/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190514135907-3a4b5fb9f71f/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190602015325-4c4f7f33c9ed/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190616124812-15dcb6c0061f/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190826190057-c7b8b68b1456/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3"
|
||||
"golang.org/x/sys v0.0.0-20190916202348-b4ddaad3f8a3/go.mod"
|
||||
"golang.org/x/text v0.0.0-20160726164857-2910a502d2bf/go.mod"
|
||||
"golang.org/x/text v0.3.0/go.mod"
|
||||
"golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod"
|
||||
"golang.org/x/text v0.3.2"
|
||||
"golang.org/x/text v0.3.2/go.mod"
|
||||
"golang.org/x/time v0.0.0-20180412165947-fbb02b2291d2/go.mod"
|
||||
"golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod"
|
||||
"golang.org/x/time v0.0.0-20190308202827-9d24e82272b4"
|
||||
"golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20180221164845-07fd8470d635/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20181011042414-1f849cf54d09/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20181030221726-6c7e314b6563/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190125232054-d66bd3c5d5a6/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190206041539-40960b6deb8e/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190614205625-5aca471b1d59/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190617190820-da514acc4774/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20190920225731-5eefd052ad72/go.mod"
|
||||
"golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod"
|
||||
"golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543"
|
||||
"golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod"
|
||||
"gonum.org/v1/gonum v0.0.0-20190331200053-3d26580ed485/go.mod"
|
||||
"gonum.org/v1/netlib v0.0.0-20190313105609-8cb42192e0e0/go.mod"
|
||||
"gonum.org/v1/netlib v0.0.0-20190331212654-76723241ea4e/go.mod"
|
||||
"google.golang.org/api v0.0.0-20160322025152-9bf6e6e569ff/go.mod"
|
||||
"google.golang.org/api v0.4.0/go.mod"
|
||||
"google.golang.org/appengine v1.1.0/go.mod"
|
||||
"google.golang.org/appengine v1.4.0/go.mod"
|
||||
"google.golang.org/appengine v1.5.0"
|
||||
"google.golang.org/appengine v1.5.0/go.mod"
|
||||
"google.golang.org/cloud v0.0.0-20151119220103-975617b05ea8/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod"
|
||||
"google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55"
|
||||
"google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod"
|
||||
"google.golang.org/grpc v0.0.0-20160317175043-d3ddb4469d5a/go.mod"
|
||||
"google.golang.org/grpc v1.19.0/go.mod"
|
||||
"google.golang.org/grpc v1.20.1/go.mod"
|
||||
"google.golang.org/grpc v1.23.0/go.mod"
|
||||
"google.golang.org/grpc v1.23.1/go.mod"
|
||||
"google.golang.org/grpc v1.27.0"
|
||||
"google.golang.org/grpc v1.27.0/go.mod"
|
||||
"gopkg.in/airbrake/gobrake.v2 v2.0.9/go.mod"
|
||||
"gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod"
|
||||
"gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod"
|
||||
"gopkg.in/check.v1 v1.0.0-20141024133853-64131543e789/go.mod"
|
||||
"gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127"
|
||||
"gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod"
|
||||
"gopkg.in/cheggaaa/pb.v1 v1.0.25/go.mod"
|
||||
"gopkg.in/fsnotify.v1 v1.4.7"
|
||||
"gopkg.in/fsnotify.v1 v1.4.7/go.mod"
|
||||
"gopkg.in/gemnasium/logrus-airbrake-hook.v2 v2.1.2/go.mod"
|
||||
"gopkg.in/inf.v0 v0.9.1"
|
||||
"gopkg.in/inf.v0 v0.9.1/go.mod"
|
||||
"gopkg.in/natefinch/lumberjack.v2 v2.0.0/go.mod"
|
||||
"gopkg.in/resty.v1 v1.12.0/go.mod"
|
||||
"gopkg.in/square/go-jose.v2 v2.2.2/go.mod"
|
||||
"gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7"
|
||||
"gopkg.in/tomb.v1 v1.0.0-20141024135613-dd632973f1e7/go.mod"
|
||||
"gopkg.in/yaml.v2 v2.0.0-20170812160011-eb3733d160e7/go.mod"
|
||||
"gopkg.in/yaml.v2 v2.2.1/go.mod"
|
||||
"gopkg.in/yaml.v2 v2.2.2/go.mod"
|
||||
"gopkg.in/yaml.v2 v2.2.4"
|
||||
"gopkg.in/yaml.v2 v2.2.4/go.mod"
|
||||
"gotest.tools v2.2.0+incompatible"
|
||||
"gotest.tools v2.2.0+incompatible/go.mod"
|
||||
"honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod"
|
||||
"honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod"
|
||||
"honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod"
|
||||
"k8s.io/api v0.17.2"
|
||||
"k8s.io/api v0.17.2/go.mod"
|
||||
"k8s.io/apiextensions-apiserver v0.17.2"
|
||||
"k8s.io/apiextensions-apiserver v0.17.2/go.mod"
|
||||
"k8s.io/apimachinery v0.17.2"
|
||||
"k8s.io/apimachinery v0.17.2/go.mod"
|
||||
"k8s.io/apiserver v0.17.2/go.mod"
|
||||
"k8s.io/cli-runtime v0.17.2"
|
||||
"k8s.io/cli-runtime v0.17.2/go.mod"
|
||||
"k8s.io/client-go v0.17.2"
|
||||
"k8s.io/client-go v0.17.2/go.mod"
|
||||
"k8s.io/code-generator v0.17.2/go.mod"
|
||||
"k8s.io/component-base v0.17.2"
|
||||
"k8s.io/component-base v0.17.2/go.mod"
|
||||
"k8s.io/gengo v0.0.0-20190128074634-0689ccc1d7d6/go.mod"
|
||||
"k8s.io/gengo v0.0.0-20190822140433-26a664648505/go.mod"
|
||||
"k8s.io/klog v0.0.0-20181102134211-b9b56d5dfc92/go.mod"
|
||||
"k8s.io/klog v0.3.0/go.mod"
|
||||
"k8s.io/klog v1.0.0"
|
||||
"k8s.io/klog v1.0.0/go.mod"
|
||||
"k8s.io/kube-openapi v0.0.0-20191107075043-30be4d16710a"
|
||||
"k8s.io/kube-openapi v0.0.0-20191107075043-30be4d16710a/go.mod"
|
||||
"k8s.io/kubectl v0.17.2"
|
||||
"k8s.io/kubectl v0.17.2/go.mod"
|
||||
"k8s.io/kubernetes v1.13.0/go.mod"
|
||||
"k8s.io/metrics v0.17.2/go.mod"
|
||||
"k8s.io/utils v0.0.0-20191114184206-e782cd3c129f"
|
||||
"k8s.io/utils v0.0.0-20191114184206-e782cd3c129f/go.mod"
|
||||
"modernc.org/cc v1.0.0/go.mod"
|
||||
"modernc.org/golex v1.0.0/go.mod"
|
||||
"modernc.org/mathutil v1.0.0/go.mod"
|
||||
"modernc.org/strutil v1.0.0/go.mod"
|
||||
"modernc.org/xc v1.0.0/go.mod"
|
||||
"sigs.k8s.io/kustomize v2.0.3+incompatible"
|
||||
"sigs.k8s.io/kustomize v2.0.3+incompatible/go.mod"
|
||||
"sigs.k8s.io/structured-merge-diff v0.0.0-20190525122527-15d366b2352e/go.mod"
|
||||
"sigs.k8s.io/structured-merge-diff v1.0.1-0.20191108220359-b1b620dd3f06/go.mod"
|
||||
"sigs.k8s.io/yaml v1.1.0"
|
||||
"sigs.k8s.io/yaml v1.1.0/go.mod"
|
||||
"vbom.ml/util v0.0.0-20160121211510-db5cfe13f5cc/go.mod"
|
||||
)
|
||||
go-module_set_globals
|
||||
SRC_URI="https://github.com/helm/helm/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz
|
||||
${EGO_SUM_SRC_URI}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RESTRICT+=" test"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
# Makefile:
|
||||
# - change GIT & LDFLAGS variable assignments from immediate ":=" to
|
||||
# deferred "=", to allow better overrides.
|
||||
# - Remove GOFLAGS entirely
|
||||
# - Remove -w & -s from LDFLAGS
|
||||
# - Git spec will be passed later
|
||||
sed -r -i \
|
||||
-e '/^GIT_(COMMIT|SHA|TAG|DIRTY)/s,:?=.*,=,g' \
|
||||
-e "/^GOFLAGS[[:space:]]+:?=/d" \
|
||||
-e '/^LDFLAGS[[:space:]]+:?=/{s,-[ws],,g;s,:=,=,g}' \
|
||||
Makefile || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Do not pass LDFLAGS directly here, as the upstream Makefile adds some
|
||||
# data to it via +=
|
||||
emake \
|
||||
GOFLAGS="${GOFLAGS}" \
|
||||
GIT_SHA=${GIT_COMMIT} \
|
||||
GIT_COMMIT=${GIT_COMMIT:0:7} \
|
||||
GIT_TAG=v${PV} \
|
||||
GIT_DIRTY=clean \
|
||||
build
|
||||
bin/${PN} completion bash > ${PN}.bash || die
|
||||
bin/${PN} completion zsh > ${PN}.zsh || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
newbashcomp ${PN}.bash ${PN}
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins ${PN}.zsh _${PN}
|
||||
|
||||
dobin bin/${PN}
|
||||
dodoc README.md
|
||||
}
|
Binary file not shown.
|
@ -1,4 +1,4 @@
|
|||
AUX stress-ng-0.10.13-makefile.patch 1802 BLAKE2B a01a6fe78367de6fd83c581b7866e8ffd90a049a315c5e21e453f57d85a2c1302b5c4bee08931e2623b3fd2172a46ec925d4af4978db80b8d57fa70a6cedbd22 SHA512 d3168c62f75dfcf7aa633fbe6ebc34e42854d45557a7304049076750598b28fa7e33237866f4f2e21882362e1988880e57a528288ee44635461b23749efdf26d
|
||||
DIST stress-ng-0.10.18.tar.xz 417592 BLAKE2B 806a6b1bdd49e5f0ab7f91f0b381b74c47df43e896ee2bbb1f7b8e78a9604443615fd13f331806e6fbaf360f9088a3e8c80d51deadd0dd56ffe92f821b8a3bb5 SHA512 ee2980c28479e50fed90a697e4cbd60732934b0488bb18733d7df8e3e04c32d5f0c5458d536f836a1f8160a60b9d2aa0d99bd2d2de03e1cc94d2c60a250c2daa
|
||||
EBUILD stress-ng-0.10.18.ebuild 755 BLAKE2B 24af205c7c4b08d98e82002c7282050e9261fec49273827b9807696d462cbee53b1ba1ba6882d98797b7208ceed5c2a3a80f7cf52dd544985620a0b6766f0bf4 SHA512 117a274ac2a73d462b4877de6afc0a0532bd516625bf644649e74b031b1ddce827cdb2c546bc116e7040e56ef706ecc4eddbba06ab79316e2c0567895c44bd78
|
||||
AUX stress-ng-0.11.02-makefile.patch 1802 BLAKE2B 1fa9fb57e31a8f0ff60e9a60140e8e85064840f215ba00e82d292737ec37889c3c3bb92cefd94a56104a5e80df69468e3ad7b38cbebed3f8c009dcf23932194b SHA512 7a697fc4c1dfc8e462362e0d3fe99d5432afbf921f2de91963f623163bbcbc0642e61444bb053e673661659d11c22f5a6932668b8a25d9d7564b19eb87467554
|
||||
DIST stress-ng-0.11.02.tar.xz 421596 BLAKE2B 3f6eb0d6a17cdbedf66c3efdbaec73760e6f6dfedb8fb1c59f759c31dd5d471c0687e0fe7d1f578c630b0a38499c3e7bf37799571dfdab3c6d47965dc39967d6 SHA512 115812728bc26af6ce32e78fa8008fe5fb8a08d8fbb5d82ac96b49572e4c451c0f4affdbad86ce15b5f77106d0e50bdd209eeae4c84fe0e0547161f2f3064140
|
||||
EBUILD stress-ng-0.11.02.ebuild 755 BLAKE2B 9898148af6daebe2eb629e0148471e320df3ff620349f2a59349e325c62ff35eb899fb00c8f949f4d23045593bdeacfa780641bcc16bc3512453636e51b6b57d SHA512 3f090ecbd19f577f1ed03ff2918f65e172e1873c7fad9be4c573fc683b443e8706d508bf430e699d48fe78e41aa33c6b88b6b03e82075bc8c8fd7ed5c27996f7
|
||||
MISC metadata.xml 834 BLAKE2B 01f0258893808f35495d063d634b3fecbb47e94cc6915ea605eedd6565e860bd42cbf181afa25e6e2faba396aa4c6da5d4e489af40bf5b11bd2ebb4e363e6994 SHA512 17c422c00bae52d5305ec4c34452c2bf86f280f2fcfa8c26710356023115828092d1d6f321e8ee194801b2d31413e07416041632ef692ad4128f8f99e389efb1
|
||||
|
|
|
@ -4,7 +4,7 @@ and don't install compressed man pages.
|
|||
--- a/Makefile
|
||||
+++ b/Makefile
|
||||
@@ -21,7 +21,7 @@
|
||||
# Codename "systematic system smasher"
|
||||
# Codename "synthetic system strainer"
|
||||
#
|
||||
|
||||
-CFLAGS += -Wall -Wextra -DVERSION='"$(VERSION)"' -O2 -std=gnu99
|
||||
|
@ -12,7 +12,7 @@ and don't install compressed man pages.
|
|||
|
||||
#
|
||||
# Pedantic flags
|
||||
@@ -359,12 +359,10 @@
|
||||
@@ -357,12 +357,10 @@
|
||||
.o: stress-ng.h Makefile
|
||||
|
||||
.c.o: stress-ng.h Makefile $(SRC)
|
||||
|
@ -27,7 +27,7 @@ and don't install compressed man pages.
|
|||
@sync
|
||||
|
||||
makeconfig:
|
||||
@@ -385,7 +383,7 @@
|
||||
@@ -383,7 +381,7 @@
|
||||
sed '$$ s/.$$//' >> apparmor-data.c
|
||||
@echo "};" >> apparmor-data.c
|
||||
@echo "const size_t g_apparmor_data_len = sizeof(g_apparmor_data);" >> apparmor-data.c
|
||||
|
@ -36,7 +36,7 @@ and don't install compressed man pages.
|
|||
@$(CC) -c apparmor-data.c -o apparmor-data.o
|
||||
@rm -rf apparmor-data.c apparmor-data.bin
|
||||
|
||||
@@ -401,12 +399,12 @@
|
||||
@@ -399,12 +397,12 @@
|
||||
core-perf.o: core-perf.c core-perf-event.c
|
||||
@$(CC) $(CFLAGS) -E core-perf-event.c | grep "PERF_COUNT" | sed 's/,/ /' | \
|
||||
awk {'print "#define _SNG_" $$1 " (1)"'} > core-perf-event.h
|
||||
|
@ -53,7 +53,7 @@ and don't install compressed man pages.
|
|||
@touch stress-ng.c
|
||||
|
||||
$(OBJS): stress-ng.h Makefile
|
||||
@@ -455,7 +453,7 @@
|
||||
@@ -453,7 +451,7 @@
|
||||
mkdir -p ${DESTDIR}${BINDIR}
|
||||
cp stress-ng ${DESTDIR}${BINDIR}
|
||||
mkdir -p ${DESTDIR}${MANDIR}
|
|
@ -29,7 +29,7 @@ RDEPEND="${DEPEND}"
|
|||
|
||||
DOCS=( "README" "README.Android" "TODO" "syscalls.txt" )
|
||||
|
||||
PATCHES=( "${FILESDIR}/${PN}-0.10.13-makefile.patch" )
|
||||
PATCHES=( "${FILESDIR}/${PN}-0.11.02-makefile.patch" )
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
Binary file not shown.
|
@ -18,16 +18,8 @@ AUX libvirtd.tmpfiles.conf 36 BLAKE2B fa0e1dac4117dcb2a2e826c82c4c63e20156db47ab
|
|||
AUX virtlockd.init-r1 563 BLAKE2B b8e1d2c29570480b477f14c25042f227093474710f1d9d445472e512415f73c574657a1eaddea892d15a838eb7fce2a0f0dc067dadfd393199640185606bff1f SHA512 524f33171cdbee8a36b341938bf5d45da88893452ed83fbe0fbcfd5191ea6127f3364fa36d6222c37dede1e0c3f195c3a68a30809fb6b11b5ce750ca297be629
|
||||
AUX virtlogd.init-r1 562 BLAKE2B 52b0dce0d3dd856d6cbffbe37e721d8f053d53a4802ce3a1e83ab78a8e0920d66436d9cf5e6d6e4fde13debb90e0b61355befd9e67d6546967f19f8c26736dbd SHA512 98e705fbd08f0f8342d33762c98786ca0690f617be27ede5ddf2c5053eeae3f441403415f4c961a7f388dc844075d21515a8ffd62d1654d1049e06910bb1c7b9
|
||||
DIST libvirt-5.10.0.tar.xz 8732120 BLAKE2B 9b191a624cca2c84d157482c48cd4eec0456382aa861958880bbbdc25785625386f63320a0626e52683776cca25c4af80ee65d19349ed0b2862e76a074e4e419 SHA512 bb518a6aa6731a7de4b24fc7b8ffdcd2cdd84dfe49047374e0f02265c274eb06dbe1732c9cc4954412853d36d9dd5c1124fb8a5e37f4c01654d85013773ffa23
|
||||
DIST libvirt-5.2.0.tar.xz 14992888 BLAKE2B d68aedb634a70063a116e112689f252d3fc2fe5369a4cdde8cacd392e806203bf277406bb10c751bae27f34f27a38355fde84573b6221fc4843393f9ae60ae5c SHA512 378dc1552263cce746117487abc0a1f3411e5be149331717158ba23825734ceae7ca474290264d71de798fdd089ad9672026bcb242fa5b3aef87294284d06f04
|
||||
DIST libvirt-5.5.0.tar.xz 12930224 BLAKE2B 4add0b727e4754bd1b2b4e9020942b17872533737e496ddf7976bf86a0fd3bcfbebd83387a8f3bab8dcc9afb05755b245e55682ed17d6094085d3dc96d94eefe SHA512 47923aaca605fb43a53238ac535abc1f88f73435336b8f3e88cb01df277ed205d99c586991e523aa32b50c832a0a7c949ab5f84dc78eb8d18a4951cfc791448d
|
||||
DIST libvirt-5.6.0.tar.xz 13147976 BLAKE2B dbfc997123f43fcf9d635b59fffa00d96826e673c4037105151bde2c4a0fb3015a0e458e8e67969b5513a4ddbf41d062feb91e6a86054ddcc1d661f0554fd1f7 SHA512 95fe931394fb31288faf73349bb298f08f63cf062f851b9935303145f8166f69128be9360757f0e1845256c14f4d7672843dba0dc6c086b1c3c8bfc035cc8986
|
||||
DIST libvirt-5.8.0.tar.xz 13129328 BLAKE2B ff49b0b6dca86f35c68edfb880677c88e0aed8021ed01ebd145922821914edd70c355ca777fe470e2b0e4baf36f2813c1100be9377344f81c9df374068307da1 SHA512 73d18fdf307b8029921a9f1a0c84ca31c50c662a3c0339e3850d6d2f31574168807a6f34943b286ed86a44031decbbc1339f27366da7269e29d38c7094503113
|
||||
DIST libvirt-6.0.0.tar.xz 8686092 BLAKE2B 669054aa3bb3e4f2cf0be2e9ea796b820786661f65495597322e178d7c7e42355b0e3752c8a847cb2fc4405928a30a00544829647aa84cc2e71bc0cb8ce9af5f SHA512 64259c0cffa9fc01192c5474f69d88a61ed0bae0a100379fed6112723a37eff1865ccfc85a19d6b8cd39ed504f04998bb3f6390aaafff797bb41ef65b6ec413c
|
||||
EBUILD libvirt-5.10.0.ebuild 9496 BLAKE2B 96dbdd33a23d862b6f500684606226e4178fc83322d64cff145600397dc44cbacf70716dd78d85b160b6cd1d5259f8b8973e20eae942277b87d525ad71059ac8 SHA512 c39c3704812f1f9ecca30a078fadb6140ea6b4fc8554b299770df2f0b9768a3d33cbe2499a79a5ac2fe2529e023e854be03ac1951200574e7cff895c2da10182
|
||||
EBUILD libvirt-5.2.0-r2.ebuild 9682 BLAKE2B d68df5a0be03ddd508743fa28effcf52bcbd94bbda19600c00d48c1a6f65da45f159b8bb34f7d22b03d9a5c3a22f612b719abc50694e0cace00508dace70ffc9 SHA512 f39f90fdb888c427f742da2eaede0236809e7d5c885882b3dc40bfb5995759269d0c09e4ddfa50582c17e4fcb598aee74936711392b98484beafb78a0e34d92e
|
||||
EBUILD libvirt-5.5.0-r1.ebuild 9415 BLAKE2B ed2ad664a6d310f65f4b7d291e6eed20a340371164c97a2620d42b52b180336f2d7bd88e43444fd53cfb18f1a0b682f4b4243a003e752be83306c4c8d806a800 SHA512 4d3d90cf63042e79abe913b49dedaac56d8e66af3b310a2c409053a6c213e1637352ab41e1a01fac9ad8cf8557cc1c9f732d7aa0789a111da920680799e153ed
|
||||
EBUILD libvirt-5.6.0.ebuild 9408 BLAKE2B 5f2b2d8e838f389493dfa5a41f5d1ac897e35ec3b62012b491be844d6ec58dbfdddd25d252610bfb3ea37da3b88b6b66775540107dcd80358976b12f31b034ea SHA512 146f7932a4457960adf39339541e95f221903039a9b53b991a00d6136a07a4da52071df44f37c9d24a88df1bf474232160fd7073a7db22093846e6f0f72e2737
|
||||
EBUILD libvirt-5.8.0.ebuild 9563 BLAKE2B 6beeebfbd545d86df7ab7a9a545e4538b3e5b992fff426a542b5eb26935502e3472a7f0674785b00b481197c21c044094b251657086bba6bc6ddf6a606fdfcf1 SHA512 b52e1a56e158f8adf330637d6ab9df52a361e5e9f506fc9c920722242d820b6fd28a9c657b7eead1ccb1fdae96cb419f683232d2b3b1b64d4ec607e9e5a8be3a
|
||||
EBUILD libvirt-6.0.0-r1.ebuild 8893 BLAKE2B ff084289960360eab21e70fd6e296d3342b96ec0c1984c704e8123be4b5e1ab793f012111c0903969326c95d9fac8260ecbaaea1ba13fa3cabeff18438102f15 SHA512 894ef2a41add1c44037b3f3fbfa2aacf147bbb3f47bf0382a876f27c173b2d81aa2076deefc3eaf53260ee15365cb0e5e6903cb6e5fdf2f719c1865770b68ce9
|
||||
EBUILD libvirt-5.10.0.ebuild 9489 BLAKE2B 6723c2eca50e45d8e97ce3df5490ea4a1176291f2761ceba3194f3aa524796372e78008d841f0c4c255deee725804b831ba71ce6983fbf9b2f7c7dac6cca22ba SHA512 cd3d93d1eadff7cad3b0e47bc91555fe8a49e4c32c85ecbb954fa90ce9a2b0afe4419343e68e0c65b5726b51d9c26dca802ff6191ab92743829fd8cdf6d011b8
|
||||
EBUILD libvirt-6.0.0-r1.ebuild 8886 BLAKE2B ff62cd608268c070f7c4b0f4e39696dd8c209d5f8ab9211945031f54841f62c4b7c1364c36e507d9e2a462fc1a9d96dfbc857137862adf47d0ab6b9eebe42e6b SHA512 9f7f91c6bc9ee33b9c717da8d74f82577f3a0a33594349b496bad0d62463d743a88f2b0ecdd157a44f65790a0602c48c62061d1c6658bbbdb99d9eb0148e01d4
|
||||
EBUILD libvirt-9999.ebuild 8812 BLAKE2B 7b574cba50afc386431be7d1feeaf55afcefc17ff3a335aac7dff34a36a404555eda567bf2469b17e8add7c9aeb14b3bdb8d2d622158264a1ec70a04842a3ea2 SHA512 420d5e8b7192a125ca5dd39b00dfdaa126d31378d01e5a3c62b146100eec5deef78d30dadc2a4a1501021eef164e73e5e13c1e9a9bccb13a1da8d9709f1ace06
|
||||
MISC metadata.xml 3791 BLAKE2B 1371e5d5c24af397dbfc9df32bd9b11cd32e49a72e3aba48e586660570bfe98f0b8f9d71d2c8e624b0e4ac470c275fbf87a2e49635b85560009aaedb25780933 SHA512 2ed3df24aecc0c419b6d6c512025b80c5efb9743843664ebd54fae15113f6625333b00c9e9b1e0aab7a5f1918ae194b71e8d59be6fa3e26964a0c677b1fcafd2
|
||||
MISC metadata.xml 3702 BLAKE2B cf4bd9200b3cc77129b7a56ad3e399d1371613dbb4fbdda96c4977ff2b2e8340afef5f10efe6a5f82015c34662dcccef4db8740a666b4714741d97973ec772a8 SHA512 2ba4fd9991263b8884856512faedfaecec0896e8cfdd9bf76a19838f6aaea766c43ca97d40753cd434c6b38a859ddd59b3c9d26b759871c6bdebbff160521509
|
||||
|
|
|
@ -71,7 +71,7 @@ RDEPEND="
|
|||
dbus? ( sys-apps/dbus )
|
||||
dtrace? ( dev-util/systemtap )
|
||||
firewalld? ( >=net-firewall/firewalld-0.6.3 )
|
||||
fuse? ( >=sys-fs/fuse-2.8.6:= )
|
||||
fuse? ( sys-fs/fuse:0= )
|
||||
glusterfs? ( >=sys-cluster/glusterfs-3.4.1 )
|
||||
iscsi? ( sys-block/open-iscsi )
|
||||
iscsi-direct? ( >=net-libs/libiscsi-1.18.0 )
|
||||
|
|
|
@ -1,384 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit autotools bash-completion-r1 eutils linux-info python-any-r1 readme.gentoo-r1 systemd
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://libvirt.org/git/libvirt.git"
|
||||
SRC_URI=""
|
||||
KEYWORDS="amd64 x86"
|
||||
SLOT="0"
|
||||
else
|
||||
SRC_URI="https://libvirt.org/sources/${P}.tar.xz"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
SLOT="0/${PV}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="C toolkit to manipulate virtual machines"
|
||||
HOMEPAGE="http://www.libvirt.org/"
|
||||
LICENSE="LGPL-2.1"
|
||||
IUSE="
|
||||
apparmor audit +caps +dbus firewalld fuse glusterfs iscsi iscsi-direct
|
||||
+libvirtd lvm libssh lxc +macvtap nfs nls numa openvz parted pcap phyp
|
||||
policykit +qemu rbd sasl selinux +udev +vepa virtualbox virt-network
|
||||
wireshark-plugins xen zeroconf zfs
|
||||
"
|
||||
|
||||
REQUIRED_USE="
|
||||
firewalld? ( virt-network )
|
||||
libvirtd? ( || ( lxc openvz qemu virtualbox xen ) )
|
||||
lxc? ( caps libvirtd )
|
||||
openvz? ( libvirtd )
|
||||
policykit? ( dbus )
|
||||
qemu? ( libvirtd )
|
||||
vepa? ( macvtap )
|
||||
virt-network? ( libvirtd )
|
||||
virtualbox? ( libvirtd )
|
||||
xen? ( libvirtd )"
|
||||
|
||||
# gettext.sh command is used by the libvirt command wrappers, and it's
|
||||
# non-optional, so put it into RDEPEND.
|
||||
# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
|
||||
# package will use 3 by default. Since we don't have slot pinning in an API,
|
||||
# we must go with the most recent
|
||||
RDEPEND="
|
||||
acct-user/qemu
|
||||
policykit? ( acct-group/libvirt )
|
||||
app-misc/scrub
|
||||
dev-libs/libgcrypt:0
|
||||
dev-libs/libnl:3
|
||||
>=dev-libs/libxml2-2.7.6
|
||||
>=net-analyzer/openbsd-netcat-1.105-r1
|
||||
>=net-libs/gnutls-1.0.25:0=
|
||||
net-libs/libssh2
|
||||
net-libs/libtirpc
|
||||
net-libs/rpcsvc-proto
|
||||
>=net-misc/curl-7.18.0
|
||||
sys-apps/dmidecode
|
||||
!sys-apps/systemd[-cgroup-hybrid(+)]
|
||||
>=sys-apps/util-linux-2.17
|
||||
sys-devel/gettext
|
||||
sys-libs/ncurses:0=
|
||||
sys-libs/readline:=
|
||||
apparmor? ( sys-libs/libapparmor )
|
||||
audit? ( sys-process/audit )
|
||||
caps? ( sys-libs/libcap-ng )
|
||||
dbus? ( sys-apps/dbus )
|
||||
firewalld? ( >=net-firewall/firewalld-0.6.3 )
|
||||
fuse? ( >=sys-fs/fuse-2.8.6:= )
|
||||
glusterfs? ( >=sys-cluster/glusterfs-3.4.1 )
|
||||
iscsi? ( sys-block/open-iscsi )
|
||||
iscsi-direct? ( >=net-libs/libiscsi-1.18.0 )
|
||||
libssh? ( net-libs/libssh )
|
||||
lvm? ( >=sys-fs/lvm2-2.02.48-r2[-device-mapper-only(-)] )
|
||||
nfs? ( net-fs/nfs-utils )
|
||||
numa? (
|
||||
>sys-process/numactl-2.0.2
|
||||
sys-process/numad
|
||||
)
|
||||
parted? (
|
||||
>=sys-block/parted-1.8[device-mapper]
|
||||
sys-fs/lvm2[-device-mapper-only(-)]
|
||||
)
|
||||
pcap? ( >=net-libs/libpcap-1.0.0 )
|
||||
policykit? ( >=sys-auth/polkit-0.9 )
|
||||
qemu? (
|
||||
>=app-emulation/qemu-1.5.0
|
||||
dev-libs/yajl
|
||||
)
|
||||
rbd? ( sys-cluster/ceph )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
selinux? ( >=sys-libs/libselinux-2.0.85 )
|
||||
virt-network? (
|
||||
net-dns/dnsmasq[script]
|
||||
net-firewall/ebtables
|
||||
>=net-firewall/iptables-1.4.10[ipv6]
|
||||
net-misc/radvd
|
||||
sys-apps/iproute2[-minimal]
|
||||
)
|
||||
virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) )
|
||||
wireshark-plugins? ( net-analyzer/wireshark:= )
|
||||
xen? (
|
||||
>=app-emulation/xen-4.6.0
|
||||
app-emulation/xen-tools:=
|
||||
)
|
||||
udev? (
|
||||
virtual/udev
|
||||
>=x11-libs/libpciaccess-0.10.9
|
||||
)
|
||||
zeroconf? ( >=net-dns/avahi-0.6[dbus] )
|
||||
zfs? ( sys-fs/zfs )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
app-text/xhtml1
|
||||
dev-lang/perl
|
||||
dev-libs/libxslt
|
||||
dev-perl/XML-XPath
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-5.2.0-do-not-use-sysconf.patch
|
||||
"${FILESDIR}"/${PN}-1.2.16-fix_paths_in_libvirt-guests_sh.patch
|
||||
"${FILESDIR}"/${PN}-5.2.0-fix-paths-for-apparmor.patch
|
||||
"${FILESDIR}"/${PN}-5.2.0-md-clear.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
# Check kernel configuration:
|
||||
CONFIG_CHECK=""
|
||||
use fuse && CONFIG_CHECK+="
|
||||
~FUSE_FS"
|
||||
|
||||
use lvm && CONFIG_CHECK+="
|
||||
~BLK_DEV_DM
|
||||
~DM_MULTIPATH
|
||||
~DM_SNAPSHOT"
|
||||
|
||||
use lxc && CONFIG_CHECK+="
|
||||
~BLK_CGROUP
|
||||
~CGROUP_CPUACCT
|
||||
~CGROUP_DEVICE
|
||||
~CGROUP_FREEZER
|
||||
~CGROUP_NET_PRIO
|
||||
~CGROUP_PERF
|
||||
~CGROUPS
|
||||
~CGROUP_SCHED
|
||||
~CPUSETS
|
||||
~IPC_NS
|
||||
~MACVLAN
|
||||
~NAMESPACES
|
||||
~NET_CLS_CGROUP
|
||||
~NET_NS
|
||||
~PID_NS
|
||||
~POSIX_MQUEUE
|
||||
~SECURITYFS
|
||||
~USER_NS
|
||||
~UTS_NS
|
||||
~VETH
|
||||
~!GRKERNSEC_CHROOT_MOUNT
|
||||
~!GRKERNSEC_CHROOT_DOUBLE
|
||||
~!GRKERNSEC_CHROOT_PIVOT
|
||||
~!GRKERNSEC_CHROOT_CHMOD
|
||||
~!GRKERNSEC_CHROOT_CAPS"
|
||||
|
||||
kernel_is lt 4 7 && use lxc && CONFIG_CHECK+="
|
||||
~DEVPTS_MULTIPLE_INSTANCES"
|
||||
|
||||
use macvtap && CONFIG_CHECK+="
|
||||
~MACVTAP"
|
||||
|
||||
use virt-network && CONFIG_CHECK+="
|
||||
~BRIDGE_EBT_MARK_T
|
||||
~BRIDGE_NF_EBTABLES
|
||||
~NETFILTER_ADVANCED
|
||||
~NETFILTER_XT_CONNMARK
|
||||
~NETFILTER_XT_MARK
|
||||
~NETFILTER_XT_TARGET_CHECKSUM
|
||||
~IP_NF_FILTER
|
||||
~IP_NF_MANGLE
|
||||
~IP_NF_NAT
|
||||
~IP_NF_TARGET_MASQUERADE
|
||||
~IP6_NF_FILTER
|
||||
~IP6_NF_MANGLE
|
||||
~IP6_NF_NAT"
|
||||
# Bandwidth Limiting Support
|
||||
use virt-network && CONFIG_CHECK+="
|
||||
~BRIDGE_EBT_T_NAT
|
||||
~IP_NF_TARGET_REJECT
|
||||
~NET_ACT_POLICE
|
||||
~NET_CLS_FW
|
||||
~NET_CLS_U32
|
||||
~NET_SCH_HTB
|
||||
~NET_SCH_INGRESS
|
||||
~NET_SCH_SFQ"
|
||||
|
||||
# Handle specific kernel versions for different features
|
||||
kernel_is lt 3 6 && CONFIG_CHECK+=" ~CGROUP_MEM_RES_CTLR"
|
||||
if kernel_is ge 3 6; then
|
||||
CONFIG_CHECK+=" ~MEMCG ~MEMCG_SWAP "
|
||||
kernel_is lt 4 5 && CONFIG_CHECK+=" ~MEMCG_KMEM "
|
||||
fi
|
||||
|
||||
ERROR_USER_NS="Optional depending on LXC configuration."
|
||||
|
||||
if [[ -n ${CONFIG_CHECK} ]]; then
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
touch "${S}/.mailmap"
|
||||
|
||||
default
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# Reinitialize submodules as this is required for gnulib's bootstrap
|
||||
git submodule init
|
||||
# git checkouts require bootstrapping to create the configure script.
|
||||
# Additionally the submodules must be cloned to the right locations
|
||||
# bug #377279
|
||||
./bootstrap || die "bootstrap failed"
|
||||
(
|
||||
git submodule status .gnulib | awk '{ print $1 }'
|
||||
git hash-object bootstrap.conf
|
||||
git ls-tree -d HEAD gnulib/local | awk '{ print $3 }'
|
||||
) >.git-module-status
|
||||
fi
|
||||
|
||||
# Tweak the init script:
|
||||
cp "${FILESDIR}/libvirtd.init-r17" "${S}/libvirtd.init" || die
|
||||
sed -e "s/USE_FLAG_FIREWALLD/$(usex firewalld 'need firewalld' '')/" \
|
||||
-e "s/USE_FLAG_AVAHI/$(usex zeroconf 'use avahi-daemon' '')/" \
|
||||
-e "s/USE_FLAG_ISCSI/$(usex iscsi 'use iscsid' '')/" \
|
||||
-e "s/USE_FLAG_RBD/$(usex rbd 'use ceph' '')/" \
|
||||
-i "${S}/libvirtd.init" || die "sed failed"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_with apparmor)
|
||||
$(use_with apparmor apparmor-profiles)
|
||||
$(use_with audit)
|
||||
$(use_with caps capng)
|
||||
$(use_with dbus)
|
||||
$(use_with firewalld)
|
||||
$(use_with fuse)
|
||||
$(use_with glusterfs)
|
||||
$(use_with glusterfs storage-gluster)
|
||||
$(use_with iscsi storage-iscsi)
|
||||
$(use_with iscsi-direct storage-iscsi-direct)
|
||||
$(use_with libvirtd)
|
||||
$(use_with libssh)
|
||||
$(use_with lvm storage-lvm)
|
||||
$(use_with lvm storage-mpath)
|
||||
$(use_with lxc)
|
||||
$(use_with macvtap)
|
||||
$(use_enable nls)
|
||||
$(use_with numa numactl)
|
||||
$(use_with numa numad)
|
||||
$(use_with openvz)
|
||||
$(use_with parted storage-disk)
|
||||
$(use_with pcap libpcap)
|
||||
$(use_with phyp)
|
||||
$(use_with policykit polkit)
|
||||
$(use_with qemu)
|
||||
$(use_with qemu yajl)
|
||||
$(use_with rbd storage-rbd)
|
||||
$(use_with sasl)
|
||||
$(use_with selinux)
|
||||
$(use_with udev)
|
||||
$(use_with vepa virtualport)
|
||||
$(use_with virt-network network)
|
||||
$(use_with wireshark-plugins wireshark-dissector)
|
||||
$(use_with xen libxl)
|
||||
$(use_with zeroconf avahi)
|
||||
$(use_with zfs storage-zfs)
|
||||
|
||||
--without-hal
|
||||
--without-netcf
|
||||
--without-sanlock
|
||||
|
||||
--with-esx
|
||||
--with-init-script=systemd
|
||||
--with-qemu-group=$(usex caps qemu root)
|
||||
--with-qemu-user=$(usex caps qemu root)
|
||||
--with-remote
|
||||
--with-storage-fs
|
||||
--with-vmware
|
||||
|
||||
--disable-static
|
||||
--disable-werror
|
||||
|
||||
--with-html-subdir=${PF}/html
|
||||
--localstatedir=/var
|
||||
)
|
||||
|
||||
if use virtualbox && has_version app-emulation/virtualbox-ose; then
|
||||
myeconfargs+=( --with-vbox=/usr/lib/virtualbox-ose/ )
|
||||
else
|
||||
myeconfargs+=( $(use_with virtualbox vbox) )
|
||||
fi
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# Restore gnulib's config.sub and config.guess
|
||||
# bug #377279
|
||||
(cd .gnulib && git reset --hard > /dev/null)
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${BUILD_DIR}"
|
||||
|
||||
# remove problematic tests, bug #591416, bug #591418
|
||||
sed -i -e 's#commandtest$(EXEEXT) # #' \
|
||||
-e 's#virfirewalltest$(EXEEXT) # #' \
|
||||
-e 's#nwfilterebiptablestest$(EXEEXT) # #' \
|
||||
-e 's#nwfilterxml2firewalltest$(EXEEXT)$##' \
|
||||
tests/Makefile
|
||||
|
||||
export VIR_TEST_DEBUG=1
|
||||
HOME="${T}" emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" \
|
||||
SYSTEMD_UNIT_DIR="$(systemd_get_systemunitdir)" install
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
# Remove bogus, empty directories. They are either not used, or
|
||||
# libvirtd is able to create them on demand
|
||||
rm -rf "${D}"/etc/sysconfig
|
||||
rm -rf "${D}"/var
|
||||
|
||||
newbashcomp "${S}/tools/bash-completion/vsh" virsh
|
||||
bashcomp_alias virsh virt-admin
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
systemd_install_serviced \
|
||||
"${FILESDIR}"/libvirtd.service.conf libvirtd.service
|
||||
|
||||
systemd_newtmpfilesd "${FILESDIR}"/libvirtd.tmpfiles.conf libvirtd.conf
|
||||
|
||||
newinitd "${S}/libvirtd.init" libvirtd
|
||||
newinitd "${FILESDIR}/libvirt-guests.init-r3" libvirt-guests
|
||||
newinitd "${FILESDIR}/virtlockd.init-r1" virtlockd
|
||||
newinitd "${FILESDIR}/virtlogd.init-r1" virtlogd
|
||||
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r5" libvirtd
|
||||
newconfd "${FILESDIR}/libvirt-guests.confd" libvirt-guests
|
||||
|
||||
DOC_CONTENTS=$(<"${FILESDIR}/README.gentoo-r2")
|
||||
DISABLE_AUTOFORMATTING=true
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# we only ever want to generate this once
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
rm -rf "${D}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
touch "${ROOT}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
readme.gentoo_print_elog
|
||||
}
|
|
@ -1,379 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit autotools bash-completion-r1 eutils linux-info python-any-r1 readme.gentoo-r1 systemd
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://libvirt.org/git/libvirt.git"
|
||||
SRC_URI=""
|
||||
KEYWORDS="amd64 x86"
|
||||
SLOT="0"
|
||||
else
|
||||
SRC_URI="https://libvirt.org/sources/${P}.tar.xz"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
SLOT="0/${PV}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="C toolkit to manipulate virtual machines"
|
||||
HOMEPAGE="http://www.libvirt.org/"
|
||||
LICENSE="LGPL-2.1"
|
||||
IUSE="
|
||||
apparmor audit +caps +dbus dtrace firewalld fuse glusterfs iscsi
|
||||
iscsi-direct +libvirtd lvm libssh lxc +macvtap nfs nls numa openvz
|
||||
parted pcap phyp policykit +qemu rbd sasl selinux +udev +vepa
|
||||
virtualbox virt-network wireshark-plugins xen zfs
|
||||
"
|
||||
|
||||
REQUIRED_USE="
|
||||
firewalld? ( virt-network )
|
||||
libvirtd? ( || ( lxc openvz qemu virtualbox xen ) )
|
||||
lxc? ( caps libvirtd )
|
||||
openvz? ( libvirtd )
|
||||
policykit? ( dbus )
|
||||
qemu? ( libvirtd )
|
||||
vepa? ( macvtap )
|
||||
virt-network? ( libvirtd )
|
||||
virtualbox? ( libvirtd )
|
||||
xen? ( libvirtd )"
|
||||
|
||||
# gettext.sh command is used by the libvirt command wrappers, and it's
|
||||
# non-optional, so put it into RDEPEND.
|
||||
# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
|
||||
# package will use 3 by default. Since we don't have slot pinning in an API,
|
||||
# we must go with the most recent
|
||||
RDEPEND="
|
||||
acct-user/qemu
|
||||
policykit? ( acct-group/libvirt )
|
||||
app-misc/scrub
|
||||
dev-libs/libgcrypt:0
|
||||
dev-libs/libnl:3
|
||||
>=dev-libs/libxml2-2.7.6
|
||||
>=net-analyzer/openbsd-netcat-1.105-r1
|
||||
>=net-libs/gnutls-1.0.25:0=
|
||||
net-libs/libssh2
|
||||
net-libs/libtirpc
|
||||
net-libs/rpcsvc-proto
|
||||
>=net-misc/curl-7.18.0
|
||||
sys-apps/dmidecode
|
||||
!sys-apps/systemd[-cgroup-hybrid(+)]
|
||||
>=sys-apps/util-linux-2.17
|
||||
sys-devel/gettext
|
||||
sys-libs/ncurses:0=
|
||||
sys-libs/readline:=
|
||||
apparmor? ( sys-libs/libapparmor )
|
||||
audit? ( sys-process/audit )
|
||||
caps? ( sys-libs/libcap-ng )
|
||||
dbus? ( sys-apps/dbus )
|
||||
dtrace? ( dev-util/systemtap )
|
||||
firewalld? ( >=net-firewall/firewalld-0.6.3 )
|
||||
fuse? ( >=sys-fs/fuse-2.8.6:= )
|
||||
glusterfs? ( >=sys-cluster/glusterfs-3.4.1 )
|
||||
iscsi? ( sys-block/open-iscsi )
|
||||
iscsi-direct? ( >=net-libs/libiscsi-1.18.0 )
|
||||
libssh? ( net-libs/libssh )
|
||||
lvm? ( >=sys-fs/lvm2-2.02.48-r2[-device-mapper-only(-)] )
|
||||
nfs? ( net-fs/nfs-utils )
|
||||
numa? (
|
||||
>sys-process/numactl-2.0.2
|
||||
sys-process/numad
|
||||
)
|
||||
parted? (
|
||||
>=sys-block/parted-1.8[device-mapper]
|
||||
sys-fs/lvm2[-device-mapper-only(-)]
|
||||
)
|
||||
pcap? ( >=net-libs/libpcap-1.0.0 )
|
||||
policykit? ( >=sys-auth/polkit-0.9 )
|
||||
qemu? (
|
||||
>=app-emulation/qemu-1.5.0
|
||||
dev-libs/yajl
|
||||
)
|
||||
rbd? ( sys-cluster/ceph )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
selinux? ( >=sys-libs/libselinux-2.0.85 )
|
||||
virt-network? (
|
||||
net-dns/dnsmasq[script]
|
||||
net-firewall/ebtables
|
||||
>=net-firewall/iptables-1.4.10[ipv6]
|
||||
net-misc/radvd
|
||||
sys-apps/iproute2[-minimal]
|
||||
)
|
||||
virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) )
|
||||
wireshark-plugins? ( net-analyzer/wireshark:= )
|
||||
xen? (
|
||||
>=app-emulation/xen-4.6.0
|
||||
app-emulation/xen-tools:=
|
||||
)
|
||||
udev? (
|
||||
virtual/udev
|
||||
>=x11-libs/libpciaccess-0.10.9
|
||||
)
|
||||
zfs? ( sys-fs/zfs )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
app-text/xhtml1
|
||||
dev-lang/perl
|
||||
dev-libs/libxslt
|
||||
dev-perl/XML-XPath
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-5.2.0-do-not-use-sysconf.patch
|
||||
"${FILESDIR}"/${PN}-1.2.16-fix_paths_in_libvirt-guests_sh.patch
|
||||
"${FILESDIR}"/${PN}-5.2.0-fix-paths-for-apparmor.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
# Check kernel configuration:
|
||||
CONFIG_CHECK=""
|
||||
use fuse && CONFIG_CHECK+="
|
||||
~FUSE_FS"
|
||||
|
||||
use lvm && CONFIG_CHECK+="
|
||||
~BLK_DEV_DM
|
||||
~DM_MULTIPATH
|
||||
~DM_SNAPSHOT"
|
||||
|
||||
use lxc && CONFIG_CHECK+="
|
||||
~BLK_CGROUP
|
||||
~CGROUP_CPUACCT
|
||||
~CGROUP_DEVICE
|
||||
~CGROUP_FREEZER
|
||||
~CGROUP_NET_PRIO
|
||||
~CGROUP_PERF
|
||||
~CGROUPS
|
||||
~CGROUP_SCHED
|
||||
~CPUSETS
|
||||
~IPC_NS
|
||||
~MACVLAN
|
||||
~NAMESPACES
|
||||
~NET_CLS_CGROUP
|
||||
~NET_NS
|
||||
~PID_NS
|
||||
~POSIX_MQUEUE
|
||||
~SECURITYFS
|
||||
~USER_NS
|
||||
~UTS_NS
|
||||
~VETH
|
||||
~!GRKERNSEC_CHROOT_MOUNT
|
||||
~!GRKERNSEC_CHROOT_DOUBLE
|
||||
~!GRKERNSEC_CHROOT_PIVOT
|
||||
~!GRKERNSEC_CHROOT_CHMOD
|
||||
~!GRKERNSEC_CHROOT_CAPS"
|
||||
|
||||
kernel_is lt 4 7 && use lxc && CONFIG_CHECK+="
|
||||
~DEVPTS_MULTIPLE_INSTANCES"
|
||||
|
||||
use macvtap && CONFIG_CHECK+="
|
||||
~MACVTAP"
|
||||
|
||||
use virt-network && CONFIG_CHECK+="
|
||||
~BRIDGE_EBT_MARK_T
|
||||
~BRIDGE_NF_EBTABLES
|
||||
~NETFILTER_ADVANCED
|
||||
~NETFILTER_XT_CONNMARK
|
||||
~NETFILTER_XT_MARK
|
||||
~NETFILTER_XT_TARGET_CHECKSUM
|
||||
~IP_NF_FILTER
|
||||
~IP_NF_MANGLE
|
||||
~IP_NF_NAT
|
||||
~IP_NF_TARGET_MASQUERADE
|
||||
~IP6_NF_FILTER
|
||||
~IP6_NF_MANGLE
|
||||
~IP6_NF_NAT"
|
||||
# Bandwidth Limiting Support
|
||||
use virt-network && CONFIG_CHECK+="
|
||||
~BRIDGE_EBT_T_NAT
|
||||
~IP_NF_TARGET_REJECT
|
||||
~NET_ACT_POLICE
|
||||
~NET_CLS_FW
|
||||
~NET_CLS_U32
|
||||
~NET_SCH_HTB
|
||||
~NET_SCH_INGRESS
|
||||
~NET_SCH_SFQ"
|
||||
|
||||
# Handle specific kernel versions for different features
|
||||
kernel_is lt 3 6 && CONFIG_CHECK+=" ~CGROUP_MEM_RES_CTLR"
|
||||
if kernel_is ge 3 6; then
|
||||
CONFIG_CHECK+=" ~MEMCG ~MEMCG_SWAP "
|
||||
kernel_is lt 4 5 && CONFIG_CHECK+=" ~MEMCG_KMEM "
|
||||
fi
|
||||
|
||||
ERROR_USER_NS="Optional depending on LXC configuration."
|
||||
|
||||
if [[ -n ${CONFIG_CHECK} ]]; then
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
touch "${S}/.mailmap"
|
||||
|
||||
default
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# Reinitialize submodules as this is required for gnulib's bootstrap
|
||||
git submodule init
|
||||
# git checkouts require bootstrapping to create the configure script.
|
||||
# Additionally the submodules must be cloned to the right locations
|
||||
# bug #377279
|
||||
./bootstrap || die "bootstrap failed"
|
||||
(
|
||||
git submodule status .gnulib | awk '{ print $1 }'
|
||||
git hash-object bootstrap.conf
|
||||
git ls-tree -d HEAD gnulib/local | awk '{ print $3 }'
|
||||
) >.git-module-status
|
||||
fi
|
||||
|
||||
# Tweak the init script:
|
||||
cp "${FILESDIR}/libvirtd.init-r18" "${S}/libvirtd.init" || die
|
||||
sed -e "s/USE_FLAG_FIREWALLD/$(usex firewalld 'need firewalld' '')/" \
|
||||
-i "${S}/libvirtd.init" || die "sed failed"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_with apparmor)
|
||||
$(use_with apparmor apparmor-profiles)
|
||||
$(use_with audit)
|
||||
$(use_with caps capng)
|
||||
$(use_with dbus)
|
||||
$(use_with dtrace)
|
||||
$(use_with firewalld)
|
||||
$(use_with fuse)
|
||||
$(use_with glusterfs)
|
||||
$(use_with glusterfs storage-gluster)
|
||||
$(use_with iscsi storage-iscsi)
|
||||
$(use_with iscsi-direct storage-iscsi-direct)
|
||||
$(use_with libvirtd)
|
||||
$(use_with libssh)
|
||||
$(use_with lvm storage-lvm)
|
||||
$(use_with lvm storage-mpath)
|
||||
$(use_with lxc)
|
||||
$(use_with macvtap)
|
||||
$(use_enable nls)
|
||||
$(use_with numa numactl)
|
||||
$(use_with numa numad)
|
||||
$(use_with openvz)
|
||||
$(use_with parted storage-disk)
|
||||
$(use_with pcap libpcap)
|
||||
$(use_with phyp)
|
||||
$(use_with policykit polkit)
|
||||
$(use_with qemu)
|
||||
$(use_with qemu yajl)
|
||||
$(use_with rbd storage-rbd)
|
||||
$(use_with sasl)
|
||||
$(use_with selinux)
|
||||
$(use_with udev)
|
||||
$(use_with vepa virtualport)
|
||||
$(use_with virt-network network)
|
||||
$(use_with wireshark-plugins wireshark-dissector)
|
||||
$(use_with xen libxl)
|
||||
$(use_with zfs storage-zfs)
|
||||
|
||||
--without-hal
|
||||
--without-netcf
|
||||
--without-sanlock
|
||||
|
||||
--with-esx
|
||||
--with-init-script=systemd
|
||||
--with-qemu-group=$(usex caps qemu root)
|
||||
--with-qemu-user=$(usex caps qemu root)
|
||||
--with-remote
|
||||
--with-storage-fs
|
||||
--with-vmware
|
||||
|
||||
--disable-static
|
||||
--disable-werror
|
||||
|
||||
--localstatedir=/var
|
||||
)
|
||||
|
||||
if use virtualbox && has_version app-emulation/virtualbox-ose; then
|
||||
myeconfargs+=( --with-vbox=/usr/lib/virtualbox-ose/ )
|
||||
else
|
||||
myeconfargs+=( $(use_with virtualbox vbox) )
|
||||
fi
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# Restore gnulib's config.sub and config.guess
|
||||
# bug #377279
|
||||
(cd .gnulib && git reset --hard > /dev/null)
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${BUILD_DIR}"
|
||||
|
||||
# remove problematic tests, bug #591416, bug #591418
|
||||
sed -i -e 's#commandtest$(EXEEXT) # #' \
|
||||
-e 's#virfirewalltest$(EXEEXT) # #' \
|
||||
-e 's#nwfilterebiptablestest$(EXEEXT) # #' \
|
||||
-e 's#nwfilterxml2firewalltest$(EXEEXT)$##' \
|
||||
tests/Makefile
|
||||
|
||||
export VIR_TEST_DEBUG=1
|
||||
HOME="${T}" emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" \
|
||||
SYSTEMD_UNIT_DIR="$(systemd_get_systemunitdir)" install
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
# Remove bogus, empty directories. They are either not used, or
|
||||
# libvirtd is able to create them on demand
|
||||
rm -rf "${D}"/etc/sysconfig
|
||||
rm -rf "${D}"/var
|
||||
|
||||
newbashcomp "${S}/tools/bash-completion/vsh" virsh
|
||||
bashcomp_alias virsh virt-admin
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
systemd_install_serviced \
|
||||
"${FILESDIR}"/libvirtd.service.conf libvirtd.service
|
||||
|
||||
systemd_newtmpfilesd "${FILESDIR}"/libvirtd.tmpfiles.conf libvirtd.conf
|
||||
|
||||
newinitd "${S}/libvirtd.init" libvirtd
|
||||
newinitd "${FILESDIR}/libvirt-guests.init-r4" libvirt-guests
|
||||
newinitd "${FILESDIR}/virtlockd.init-r1" virtlockd
|
||||
newinitd "${FILESDIR}/virtlogd.init-r1" virtlogd
|
||||
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r5" libvirtd
|
||||
newconfd "${FILESDIR}/libvirt-guests.confd" libvirt-guests
|
||||
|
||||
DOC_CONTENTS=$(<"${FILESDIR}/README.gentoo-r2")
|
||||
DISABLE_AUTOFORMATTING=true
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# we only ever want to generate this once
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
rm -rf "${D}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
touch "${ROOT}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
readme.gentoo_print_elog
|
||||
}
|
|
@ -1,379 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit autotools bash-completion-r1 eutils linux-info python-any-r1 readme.gentoo-r1 systemd
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://libvirt.org/git/libvirt.git"
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
SLOT="0"
|
||||
else
|
||||
SRC_URI="https://libvirt.org/sources/${P}.tar.xz"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
SLOT="0/${PV}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="C toolkit to manipulate virtual machines"
|
||||
HOMEPAGE="http://www.libvirt.org/"
|
||||
LICENSE="LGPL-2.1"
|
||||
IUSE="
|
||||
apparmor audit +caps +dbus dtrace firewalld fuse glusterfs iscsi
|
||||
iscsi-direct +libvirtd lvm libssh lxc +macvtap nfs nls numa openvz
|
||||
parted pcap phyp policykit +qemu rbd sasl selinux +udev +vepa
|
||||
virtualbox virt-network wireshark-plugins xen zfs
|
||||
"
|
||||
|
||||
REQUIRED_USE="
|
||||
firewalld? ( virt-network )
|
||||
libvirtd? ( || ( lxc openvz qemu virtualbox xen ) )
|
||||
lxc? ( caps libvirtd )
|
||||
openvz? ( libvirtd )
|
||||
policykit? ( dbus )
|
||||
qemu? ( libvirtd )
|
||||
vepa? ( macvtap )
|
||||
virt-network? ( libvirtd )
|
||||
virtualbox? ( libvirtd )
|
||||
xen? ( libvirtd )"
|
||||
|
||||
# gettext.sh command is used by the libvirt command wrappers, and it's
|
||||
# non-optional, so put it into RDEPEND.
|
||||
# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
|
||||
# package will use 3 by default. Since we don't have slot pinning in an API,
|
||||
# we must go with the most recent
|
||||
RDEPEND="
|
||||
acct-user/qemu
|
||||
policykit? ( acct-group/libvirt )
|
||||
app-misc/scrub
|
||||
dev-libs/libgcrypt:0
|
||||
dev-libs/libnl:3
|
||||
>=dev-libs/libxml2-2.7.6
|
||||
>=net-analyzer/openbsd-netcat-1.105-r1
|
||||
>=net-libs/gnutls-1.0.25:0=
|
||||
net-libs/libssh2
|
||||
net-libs/libtirpc
|
||||
net-libs/rpcsvc-proto
|
||||
>=net-misc/curl-7.18.0
|
||||
sys-apps/dmidecode
|
||||
!sys-apps/systemd[-cgroup-hybrid(+)]
|
||||
>=sys-apps/util-linux-2.17
|
||||
sys-devel/gettext
|
||||
sys-libs/ncurses:0=
|
||||
sys-libs/readline:=
|
||||
apparmor? ( sys-libs/libapparmor )
|
||||
audit? ( sys-process/audit )
|
||||
caps? ( sys-libs/libcap-ng )
|
||||
dbus? ( sys-apps/dbus )
|
||||
dtrace? ( dev-util/systemtap )
|
||||
firewalld? ( >=net-firewall/firewalld-0.6.3 )
|
||||
fuse? ( >=sys-fs/fuse-2.8.6:= )
|
||||
glusterfs? ( >=sys-cluster/glusterfs-3.4.1 )
|
||||
iscsi? ( sys-block/open-iscsi )
|
||||
iscsi-direct? ( >=net-libs/libiscsi-1.18.0 )
|
||||
libssh? ( net-libs/libssh )
|
||||
lvm? ( >=sys-fs/lvm2-2.02.48-r2[-device-mapper-only(-)] )
|
||||
nfs? ( net-fs/nfs-utils )
|
||||
numa? (
|
||||
>sys-process/numactl-2.0.2
|
||||
sys-process/numad
|
||||
)
|
||||
parted? (
|
||||
>=sys-block/parted-1.8[device-mapper]
|
||||
sys-fs/lvm2[-device-mapper-only(-)]
|
||||
)
|
||||
pcap? ( >=net-libs/libpcap-1.0.0 )
|
||||
policykit? ( >=sys-auth/polkit-0.9 )
|
||||
qemu? (
|
||||
>=app-emulation/qemu-1.5.0
|
||||
dev-libs/yajl
|
||||
)
|
||||
rbd? ( sys-cluster/ceph )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
selinux? ( >=sys-libs/libselinux-2.0.85 )
|
||||
virt-network? (
|
||||
net-dns/dnsmasq[script]
|
||||
net-firewall/ebtables
|
||||
>=net-firewall/iptables-1.4.10[ipv6]
|
||||
net-misc/radvd
|
||||
sys-apps/iproute2[-minimal]
|
||||
)
|
||||
virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) )
|
||||
wireshark-plugins? ( net-analyzer/wireshark:= )
|
||||
xen? (
|
||||
>=app-emulation/xen-4.6.0
|
||||
app-emulation/xen-tools:=
|
||||
)
|
||||
udev? (
|
||||
virtual/udev
|
||||
>=x11-libs/libpciaccess-0.10.9
|
||||
)
|
||||
zfs? ( sys-fs/zfs )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
app-text/xhtml1
|
||||
dev-lang/perl
|
||||
dev-libs/libxslt
|
||||
dev-perl/XML-XPath
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-5.6.0-do-not-use-sysconf.patch
|
||||
"${FILESDIR}"/${PN}-1.2.16-fix_paths_in_libvirt-guests_sh.patch
|
||||
"${FILESDIR}"/${PN}-5.2.0-fix-paths-for-apparmor.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
# Check kernel configuration:
|
||||
CONFIG_CHECK=""
|
||||
use fuse && CONFIG_CHECK+="
|
||||
~FUSE_FS"
|
||||
|
||||
use lvm && CONFIG_CHECK+="
|
||||
~BLK_DEV_DM
|
||||
~DM_MULTIPATH
|
||||
~DM_SNAPSHOT"
|
||||
|
||||
use lxc && CONFIG_CHECK+="
|
||||
~BLK_CGROUP
|
||||
~CGROUP_CPUACCT
|
||||
~CGROUP_DEVICE
|
||||
~CGROUP_FREEZER
|
||||
~CGROUP_NET_PRIO
|
||||
~CGROUP_PERF
|
||||
~CGROUPS
|
||||
~CGROUP_SCHED
|
||||
~CPUSETS
|
||||
~IPC_NS
|
||||
~MACVLAN
|
||||
~NAMESPACES
|
||||
~NET_CLS_CGROUP
|
||||
~NET_NS
|
||||
~PID_NS
|
||||
~POSIX_MQUEUE
|
||||
~SECURITYFS
|
||||
~USER_NS
|
||||
~UTS_NS
|
||||
~VETH
|
||||
~!GRKERNSEC_CHROOT_MOUNT
|
||||
~!GRKERNSEC_CHROOT_DOUBLE
|
||||
~!GRKERNSEC_CHROOT_PIVOT
|
||||
~!GRKERNSEC_CHROOT_CHMOD
|
||||
~!GRKERNSEC_CHROOT_CAPS"
|
||||
|
||||
kernel_is lt 4 7 && use lxc && CONFIG_CHECK+="
|
||||
~DEVPTS_MULTIPLE_INSTANCES"
|
||||
|
||||
use macvtap && CONFIG_CHECK+="
|
||||
~MACVTAP"
|
||||
|
||||
use virt-network && CONFIG_CHECK+="
|
||||
~BRIDGE_EBT_MARK_T
|
||||
~BRIDGE_NF_EBTABLES
|
||||
~NETFILTER_ADVANCED
|
||||
~NETFILTER_XT_CONNMARK
|
||||
~NETFILTER_XT_MARK
|
||||
~NETFILTER_XT_TARGET_CHECKSUM
|
||||
~IP_NF_FILTER
|
||||
~IP_NF_MANGLE
|
||||
~IP_NF_NAT
|
||||
~IP_NF_TARGET_MASQUERADE
|
||||
~IP6_NF_FILTER
|
||||
~IP6_NF_MANGLE
|
||||
~IP6_NF_NAT"
|
||||
# Bandwidth Limiting Support
|
||||
use virt-network && CONFIG_CHECK+="
|
||||
~BRIDGE_EBT_T_NAT
|
||||
~IP_NF_TARGET_REJECT
|
||||
~NET_ACT_POLICE
|
||||
~NET_CLS_FW
|
||||
~NET_CLS_U32
|
||||
~NET_SCH_HTB
|
||||
~NET_SCH_INGRESS
|
||||
~NET_SCH_SFQ"
|
||||
|
||||
# Handle specific kernel versions for different features
|
||||
kernel_is lt 3 6 && CONFIG_CHECK+=" ~CGROUP_MEM_RES_CTLR"
|
||||
if kernel_is ge 3 6; then
|
||||
CONFIG_CHECK+=" ~MEMCG ~MEMCG_SWAP "
|
||||
kernel_is lt 4 5 && CONFIG_CHECK+=" ~MEMCG_KMEM "
|
||||
fi
|
||||
|
||||
ERROR_USER_NS="Optional depending on LXC configuration."
|
||||
|
||||
if [[ -n ${CONFIG_CHECK} ]]; then
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
touch "${S}/.mailmap"
|
||||
|
||||
default
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# Reinitialize submodules as this is required for gnulib's bootstrap
|
||||
git submodule init
|
||||
# git checkouts require bootstrapping to create the configure script.
|
||||
# Additionally the submodules must be cloned to the right locations
|
||||
# bug #377279
|
||||
./bootstrap || die "bootstrap failed"
|
||||
(
|
||||
git submodule status .gnulib | awk '{ print $1 }'
|
||||
git hash-object bootstrap.conf
|
||||
git ls-tree -d HEAD gnulib/local | awk '{ print $3 }'
|
||||
) >.git-module-status
|
||||
fi
|
||||
|
||||
# Tweak the init script:
|
||||
cp "${FILESDIR}/libvirtd.init-r18" "${S}/libvirtd.init" || die
|
||||
sed -e "s/USE_FLAG_FIREWALLD/$(usex firewalld 'need firewalld' '')/" \
|
||||
-i "${S}/libvirtd.init" || die "sed failed"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_with apparmor)
|
||||
$(use_with apparmor apparmor-profiles)
|
||||
$(use_with audit)
|
||||
$(use_with caps capng)
|
||||
$(use_with dbus)
|
||||
$(use_with dtrace)
|
||||
$(use_with firewalld)
|
||||
$(use_with fuse)
|
||||
$(use_with glusterfs)
|
||||
$(use_with glusterfs storage-gluster)
|
||||
$(use_with iscsi storage-iscsi)
|
||||
$(use_with iscsi-direct storage-iscsi-direct)
|
||||
$(use_with libvirtd)
|
||||
$(use_with libssh)
|
||||
$(use_with lvm storage-lvm)
|
||||
$(use_with lvm storage-mpath)
|
||||
$(use_with lxc)
|
||||
$(use_with macvtap)
|
||||
$(use_enable nls)
|
||||
$(use_with numa numactl)
|
||||
$(use_with numa numad)
|
||||
$(use_with openvz)
|
||||
$(use_with parted storage-disk)
|
||||
$(use_with pcap libpcap)
|
||||
$(use_with phyp)
|
||||
$(use_with policykit polkit)
|
||||
$(use_with qemu)
|
||||
$(use_with qemu yajl)
|
||||
$(use_with rbd storage-rbd)
|
||||
$(use_with sasl)
|
||||
$(use_with selinux)
|
||||
$(use_with udev)
|
||||
$(use_with vepa virtualport)
|
||||
$(use_with virt-network network)
|
||||
$(use_with wireshark-plugins wireshark-dissector)
|
||||
$(use_with xen libxl)
|
||||
$(use_with zfs storage-zfs)
|
||||
|
||||
--without-hal
|
||||
--without-netcf
|
||||
--without-sanlock
|
||||
|
||||
--with-esx
|
||||
--with-init-script=systemd
|
||||
--with-qemu-group=$(usex caps qemu root)
|
||||
--with-qemu-user=$(usex caps qemu root)
|
||||
--with-remote
|
||||
--with-storage-fs
|
||||
--with-vmware
|
||||
|
||||
--disable-static
|
||||
--disable-werror
|
||||
|
||||
--localstatedir=/var
|
||||
)
|
||||
|
||||
if use virtualbox && has_version app-emulation/virtualbox-ose; then
|
||||
myeconfargs+=( --with-vbox=/usr/lib/virtualbox-ose/ )
|
||||
else
|
||||
myeconfargs+=( $(use_with virtualbox vbox) )
|
||||
fi
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# Restore gnulib's config.sub and config.guess
|
||||
# bug #377279
|
||||
(cd .gnulib && git reset --hard > /dev/null)
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${BUILD_DIR}"
|
||||
|
||||
# remove problematic tests, bug #591416, bug #591418
|
||||
sed -i -e 's#commandtest$(EXEEXT) # #' \
|
||||
-e 's#virfirewalltest$(EXEEXT) # #' \
|
||||
-e 's#nwfilterebiptablestest$(EXEEXT) # #' \
|
||||
-e 's#nwfilterxml2firewalltest$(EXEEXT)$##' \
|
||||
tests/Makefile
|
||||
|
||||
export VIR_TEST_DEBUG=1
|
||||
HOME="${T}" emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" \
|
||||
SYSTEMD_UNIT_DIR="$(systemd_get_systemunitdir)" install
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
# Remove bogus, empty directories. They are either not used, or
|
||||
# libvirtd is able to create them on demand
|
||||
rm -rf "${D}"/etc/sysconfig
|
||||
rm -rf "${D}"/var
|
||||
|
||||
newbashcomp "${S}/tools/bash-completion/vsh" virsh
|
||||
bashcomp_alias virsh virt-admin
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
systemd_install_serviced \
|
||||
"${FILESDIR}"/libvirtd.service.conf libvirtd.service
|
||||
|
||||
systemd_newtmpfilesd "${FILESDIR}"/libvirtd.tmpfiles.conf libvirtd.conf
|
||||
|
||||
newinitd "${S}/libvirtd.init" libvirtd
|
||||
newinitd "${FILESDIR}/libvirt-guests.init-r4" libvirt-guests
|
||||
newinitd "${FILESDIR}/virtlockd.init-r1" virtlockd
|
||||
newinitd "${FILESDIR}/virtlogd.init-r1" virtlogd
|
||||
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r5" libvirtd
|
||||
newconfd "${FILESDIR}/libvirt-guests.confd" libvirt-guests
|
||||
|
||||
DOC_CONTENTS=$(<"${FILESDIR}/README.gentoo-r2")
|
||||
DISABLE_AUTOFORMATTING=true
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# we only ever want to generate this once
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
rm -rf "${D}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
touch "${ROOT}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
readme.gentoo_print_elog
|
||||
}
|
|
@ -1,383 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit autotools bash-completion-r1 eutils linux-info python-any-r1 readme.gentoo-r1 systemd
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://libvirt.org/git/libvirt.git"
|
||||
SRC_URI=""
|
||||
KEYWORDS="amd64 x86"
|
||||
SLOT="0"
|
||||
else
|
||||
SRC_URI="https://libvirt.org/sources/${P}.tar.xz"
|
||||
KEYWORDS="amd64 ~arm64 ~ppc64 x86"
|
||||
SLOT="0/${PV}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="C toolkit to manipulate virtual machines"
|
||||
HOMEPAGE="http://www.libvirt.org/"
|
||||
LICENSE="LGPL-2.1"
|
||||
IUSE="
|
||||
apparmor audit +caps +dbus dtrace firewalld fuse glusterfs iscsi
|
||||
iscsi-direct +libvirtd lvm libssh lxc +macvtap nfs nls numa openvz
|
||||
parted pcap phyp pm-utils policykit +qemu rbd sasl selinux +udev +vepa
|
||||
virtualbox virt-network wireshark-plugins xen zfs
|
||||
"
|
||||
|
||||
REQUIRED_USE="
|
||||
firewalld? ( virt-network )
|
||||
libvirtd? ( || ( lxc openvz qemu virtualbox xen ) )
|
||||
lxc? ( caps libvirtd )
|
||||
openvz? ( libvirtd )
|
||||
policykit? ( dbus )
|
||||
qemu? ( libvirtd )
|
||||
vepa? ( macvtap )
|
||||
virt-network? ( libvirtd )
|
||||
virtualbox? ( libvirtd )
|
||||
xen? ( libvirtd )"
|
||||
|
||||
# gettext.sh command is used by the libvirt command wrappers, and it's
|
||||
# non-optional, so put it into RDEPEND.
|
||||
# We can use both libnl:1.1 and libnl:3, but if you have both installed, the
|
||||
# package will use 3 by default. Since we don't have slot pinning in an API,
|
||||
# we must go with the most recent
|
||||
RDEPEND="
|
||||
acct-user/qemu
|
||||
policykit? ( acct-group/libvirt )
|
||||
app-misc/scrub
|
||||
dev-libs/libgcrypt:0
|
||||
dev-libs/libnl:3
|
||||
>=dev-libs/libxml2-2.7.6
|
||||
>=net-analyzer/openbsd-netcat-1.105-r1
|
||||
>=net-libs/gnutls-1.0.25:0=
|
||||
net-libs/libssh2
|
||||
net-libs/libtirpc
|
||||
net-libs/rpcsvc-proto
|
||||
>=net-misc/curl-7.18.0
|
||||
sys-apps/dmidecode
|
||||
>=sys-apps/util-linux-2.17
|
||||
sys-devel/gettext
|
||||
sys-libs/ncurses:0=
|
||||
sys-libs/readline:=
|
||||
apparmor? ( sys-libs/libapparmor )
|
||||
audit? ( sys-process/audit )
|
||||
caps? ( sys-libs/libcap-ng )
|
||||
dbus? ( sys-apps/dbus )
|
||||
dtrace? ( dev-util/systemtap )
|
||||
firewalld? ( >=net-firewall/firewalld-0.6.3 )
|
||||
fuse? ( >=sys-fs/fuse-2.8.6:= )
|
||||
glusterfs? ( >=sys-cluster/glusterfs-3.4.1 )
|
||||
iscsi? ( sys-block/open-iscsi )
|
||||
iscsi-direct? ( >=net-libs/libiscsi-1.18.0 )
|
||||
libssh? ( net-libs/libssh )
|
||||
lvm? ( >=sys-fs/lvm2-2.02.48-r2[-device-mapper-only(-)] )
|
||||
lxc? ( !sys-apps/systemd[-cgroup-hybrid(+)] )
|
||||
nfs? ( net-fs/nfs-utils )
|
||||
numa? (
|
||||
>sys-process/numactl-2.0.2
|
||||
sys-process/numad
|
||||
)
|
||||
parted? (
|
||||
>=sys-block/parted-1.8[device-mapper]
|
||||
sys-fs/lvm2[-device-mapper-only(-)]
|
||||
)
|
||||
pcap? ( >=net-libs/libpcap-1.0.0 )
|
||||
pm-utils? ( sys-power/pm-utils )
|
||||
policykit? ( >=sys-auth/polkit-0.9 )
|
||||
qemu? (
|
||||
>=app-emulation/qemu-1.5.0
|
||||
dev-libs/yajl
|
||||
)
|
||||
rbd? ( sys-cluster/ceph )
|
||||
sasl? ( dev-libs/cyrus-sasl )
|
||||
selinux? ( >=sys-libs/libselinux-2.0.85 )
|
||||
virt-network? (
|
||||
net-dns/dnsmasq[script]
|
||||
net-firewall/ebtables
|
||||
>=net-firewall/iptables-1.4.10[ipv6]
|
||||
net-misc/radvd
|
||||
sys-apps/iproute2[-minimal]
|
||||
)
|
||||
virtualbox? ( || ( app-emulation/virtualbox >=app-emulation/virtualbox-bin-2.2.0 ) )
|
||||
wireshark-plugins? ( net-analyzer/wireshark:= )
|
||||
xen? (
|
||||
>=app-emulation/xen-4.6.0
|
||||
app-emulation/xen-tools:=
|
||||
)
|
||||
udev? (
|
||||
virtual/udev
|
||||
>=x11-libs/libpciaccess-0.10.9
|
||||
)
|
||||
zfs? ( sys-fs/zfs )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
${PYTHON_DEPS}
|
||||
app-text/xhtml1
|
||||
dev-lang/perl
|
||||
dev-libs/libxslt
|
||||
dev-perl/XML-XPath
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-5.7.0-do-not-use-sysconf.patch
|
||||
"${FILESDIR}"/${PN}-1.2.16-fix_paths_in_libvirt-guests_sh.patch
|
||||
"${FILESDIR}"/${PN}-5.2.0-fix-paths-for-apparmor.patch
|
||||
)
|
||||
|
||||
pkg_setup() {
|
||||
# Check kernel configuration:
|
||||
CONFIG_CHECK=""
|
||||
use fuse && CONFIG_CHECK+="
|
||||
~FUSE_FS"
|
||||
|
||||
use lvm && CONFIG_CHECK+="
|
||||
~BLK_DEV_DM
|
||||
~DM_MULTIPATH
|
||||
~DM_SNAPSHOT"
|
||||
|
||||
use lxc && CONFIG_CHECK+="
|
||||
~BLK_CGROUP
|
||||
~CGROUP_CPUACCT
|
||||
~CGROUP_DEVICE
|
||||
~CGROUP_FREEZER
|
||||
~CGROUP_NET_PRIO
|
||||
~CGROUP_PERF
|
||||
~CGROUPS
|
||||
~CGROUP_SCHED
|
||||
~CPUSETS
|
||||
~IPC_NS
|
||||
~MACVLAN
|
||||
~NAMESPACES
|
||||
~NET_CLS_CGROUP
|
||||
~NET_NS
|
||||
~PID_NS
|
||||
~POSIX_MQUEUE
|
||||
~SECURITYFS
|
||||
~USER_NS
|
||||
~UTS_NS
|
||||
~VETH
|
||||
~!GRKERNSEC_CHROOT_MOUNT
|
||||
~!GRKERNSEC_CHROOT_DOUBLE
|
||||
~!GRKERNSEC_CHROOT_PIVOT
|
||||
~!GRKERNSEC_CHROOT_CHMOD
|
||||
~!GRKERNSEC_CHROOT_CAPS"
|
||||
|
||||
kernel_is lt 4 7 && use lxc && CONFIG_CHECK+="
|
||||
~DEVPTS_MULTIPLE_INSTANCES"
|
||||
|
||||
use macvtap && CONFIG_CHECK+="
|
||||
~MACVTAP"
|
||||
|
||||
use virt-network && CONFIG_CHECK+="
|
||||
~BRIDGE_EBT_MARK_T
|
||||
~BRIDGE_NF_EBTABLES
|
||||
~NETFILTER_ADVANCED
|
||||
~NETFILTER_XT_CONNMARK
|
||||
~NETFILTER_XT_MARK
|
||||
~NETFILTER_XT_TARGET_CHECKSUM
|
||||
~IP_NF_FILTER
|
||||
~IP_NF_MANGLE
|
||||
~IP_NF_NAT
|
||||
~IP_NF_TARGET_MASQUERADE
|
||||
~IP6_NF_FILTER
|
||||
~IP6_NF_MANGLE
|
||||
~IP6_NF_NAT"
|
||||
# Bandwidth Limiting Support
|
||||
use virt-network && CONFIG_CHECK+="
|
||||
~BRIDGE_EBT_T_NAT
|
||||
~IP_NF_TARGET_REJECT
|
||||
~NET_ACT_POLICE
|
||||
~NET_CLS_FW
|
||||
~NET_CLS_U32
|
||||
~NET_SCH_HTB
|
||||
~NET_SCH_INGRESS
|
||||
~NET_SCH_SFQ"
|
||||
|
||||
# Handle specific kernel versions for different features
|
||||
kernel_is lt 3 6 && CONFIG_CHECK+=" ~CGROUP_MEM_RES_CTLR"
|
||||
if kernel_is ge 3 6; then
|
||||
CONFIG_CHECK+=" ~MEMCG ~MEMCG_SWAP "
|
||||
kernel_is lt 4 5 && CONFIG_CHECK+=" ~MEMCG_KMEM "
|
||||
fi
|
||||
|
||||
ERROR_USER_NS="Optional depending on LXC configuration."
|
||||
|
||||
if [[ -n ${CONFIG_CHECK} ]]; then
|
||||
linux-info_pkg_setup
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
touch "${S}/.mailmap"
|
||||
|
||||
default
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# Reinitialize submodules as this is required for gnulib's bootstrap
|
||||
git submodule init
|
||||
# git checkouts require bootstrapping to create the configure script.
|
||||
# Additionally the submodules must be cloned to the right locations
|
||||
# bug #377279
|
||||
./bootstrap || die "bootstrap failed"
|
||||
(
|
||||
git submodule status .gnulib | awk '{ print $1 }'
|
||||
git hash-object bootstrap.conf
|
||||
git ls-tree -d HEAD gnulib/local | awk '{ print $3 }'
|
||||
) >.git-module-status
|
||||
fi
|
||||
|
||||
# Tweak the init script:
|
||||
cp "${FILESDIR}/libvirtd.init-r18" "${S}/libvirtd.init" || die
|
||||
sed -e "s/USE_FLAG_FIREWALLD/$(usex firewalld 'need firewalld' '')/" \
|
||||
-i "${S}/libvirtd.init" || die "sed failed"
|
||||
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myeconfargs=(
|
||||
$(use_with apparmor)
|
||||
$(use_with apparmor apparmor-profiles)
|
||||
$(use_with audit)
|
||||
$(use_with caps capng)
|
||||
$(use_with dbus)
|
||||
$(use_with dtrace)
|
||||
$(use_with firewalld)
|
||||
$(use_with fuse)
|
||||
$(use_with glusterfs)
|
||||
$(use_with glusterfs storage-gluster)
|
||||
$(use_with iscsi storage-iscsi)
|
||||
$(use_with iscsi-direct storage-iscsi-direct)
|
||||
$(use_with libvirtd)
|
||||
$(use_with libssh)
|
||||
$(use_with lvm storage-lvm)
|
||||
$(use_with lvm storage-mpath)
|
||||
$(use_with lxc)
|
||||
$(use_with macvtap)
|
||||
$(use_enable nls)
|
||||
$(use_with numa numactl)
|
||||
$(use_with numa numad)
|
||||
$(use_with openvz)
|
||||
$(use_with parted storage-disk)
|
||||
$(use_with pcap libpcap)
|
||||
$(use_with phyp)
|
||||
$(use_with pm-utils )
|
||||
$(use_with policykit polkit)
|
||||
$(use_with qemu)
|
||||
$(use_with qemu yajl)
|
||||
$(use_with rbd storage-rbd)
|
||||
$(use_with sasl)
|
||||
$(use_with selinux)
|
||||
$(use_with udev)
|
||||
$(use_with vepa virtualport)
|
||||
$(use_with virt-network network)
|
||||
$(use_with wireshark-plugins wireshark-dissector)
|
||||
$(use_with xen libxl)
|
||||
$(use_with zfs storage-zfs)
|
||||
|
||||
--without-hal
|
||||
--without-netcf
|
||||
--without-sanlock
|
||||
|
||||
--with-esx
|
||||
--with-init-script=systemd
|
||||
--with-qemu-group=$(usex caps qemu root)
|
||||
--with-qemu-user=$(usex caps qemu root)
|
||||
--with-remote
|
||||
--with-storage-fs
|
||||
--with-vmware
|
||||
|
||||
--disable-static
|
||||
--disable-werror
|
||||
|
||||
--localstatedir="$EPREFIX/var"
|
||||
--with-runstatedir="$EPREFIX/run"
|
||||
)
|
||||
|
||||
if use virtualbox && has_version app-emulation/virtualbox-ose; then
|
||||
myeconfargs+=( --with-vbox=/usr/lib/virtualbox-ose/ )
|
||||
else
|
||||
myeconfargs+=( $(use_with virtualbox vbox) )
|
||||
fi
|
||||
|
||||
econf "${myeconfargs[@]}"
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
# Restore gnulib's config.sub and config.guess
|
||||
# bug #377279
|
||||
(cd .gnulib && git reset --hard > /dev/null)
|
||||
fi
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd "${BUILD_DIR}"
|
||||
|
||||
# remove problematic tests, bug #591416, bug #591418
|
||||
sed -i -e 's#commandtest$(EXEEXT) # #' \
|
||||
-e 's#virfirewalltest$(EXEEXT) # #' \
|
||||
-e 's#nwfilterebiptablestest$(EXEEXT) # #' \
|
||||
-e 's#nwfilterxml2firewalltest$(EXEEXT)$##' \
|
||||
tests/Makefile
|
||||
|
||||
export VIR_TEST_DEBUG=1
|
||||
HOME="${T}" emake check
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" \
|
||||
SYSTEMD_UNIT_DIR="$(systemd_get_systemunitdir)" install
|
||||
|
||||
find "${D}" -name '*.la' -delete || die
|
||||
|
||||
# Remove bogus, empty directories. They are either not used, or
|
||||
# libvirtd is able to create them on demand
|
||||
rm -rf "${D}"/etc/sysconfig
|
||||
rm -rf "${D}"/var
|
||||
rm -rf "${D}"/run
|
||||
|
||||
newbashcomp "${S}/tools/bash-completion/vsh" virsh
|
||||
bashcomp_alias virsh virt-admin
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
systemd_install_serviced \
|
||||
"${FILESDIR}"/libvirtd.service.conf libvirtd.service
|
||||
|
||||
systemd_newtmpfilesd "${FILESDIR}"/libvirtd.tmpfiles.conf libvirtd.conf
|
||||
|
||||
newinitd "${S}/libvirtd.init" libvirtd
|
||||
newinitd "${FILESDIR}/libvirt-guests.init-r4" libvirt-guests
|
||||
newinitd "${FILESDIR}/virtlockd.init-r1" virtlockd
|
||||
newinitd "${FILESDIR}/virtlogd.init-r1" virtlogd
|
||||
|
||||
newconfd "${FILESDIR}/libvirtd.confd-r5" libvirtd
|
||||
newconfd "${FILESDIR}/libvirt-guests.confd" libvirt-guests
|
||||
|
||||
DOC_CONTENTS=$(<"${FILESDIR}/README.gentoo-r2")
|
||||
DISABLE_AUTOFORMATTING=true
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# we only ever want to generate this once
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
rm -rf "${D}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -e "${ROOT}"/etc/libvirt/qemu/networks/default.xml ]]; then
|
||||
touch "${ROOT}"/etc/libvirt/qemu/networks/default.xml
|
||||
fi
|
||||
|
||||
use libvirtd || return 0
|
||||
# From here, only libvirtd-related instructions, be warned!
|
||||
|
||||
readme.gentoo_print_elog
|
||||
}
|
|
@ -71,7 +71,7 @@ RDEPEND="
|
|||
dbus? ( sys-apps/dbus )
|
||||
dtrace? ( dev-util/systemtap )
|
||||
firewalld? ( >=net-firewall/firewalld-0.6.3 )
|
||||
fuse? ( >=sys-fs/fuse-2.8.6:= )
|
||||
fuse? ( sys-fs/fuse:0= )
|
||||
glusterfs? ( >=sys-cluster/glusterfs-3.4.1 )
|
||||
iscsi? ( sys-block/open-iscsi )
|
||||
iscsi-direct? ( >=net-libs/libiscsi-1.18.0 )
|
||||
|
|
|
@ -71,9 +71,6 @@
|
|||
<flag name="pcap">
|
||||
Support auto learning IP addreses for routing
|
||||
</flag>
|
||||
<flag name="pm-utils">
|
||||
Add runtime support for <pkg>sys-power/pm-utils</pkg>
|
||||
</flag>
|
||||
<flag name="macvtap">
|
||||
Support for MAC-based TAP (macvlan/macvtap). For networking instead
|
||||
of the normal TUN/TAP.
|
||||
|
|
|
@ -3,5 +3,5 @@ AUX vagrant.in 1872 BLAKE2B b30abe68fa76b9f521481ade296d5a05eed214b5c49ad22c29f8
|
|||
DIST vagrant-2.2.6.tar.gz 1285530 BLAKE2B 802537b56429366ab0dab08d5490f2a5c1ec3810e9c04573ccd11f27078fc375f092ed70b27a7846813cbde5fdce0aa90399eba07e19a9d6ae7e11cb47204efe SHA512 6d8b5b1d4e5cc482404cf4c59e1b7cf9502a9819569b5098e44874733cee706f26adb4ac7994abe7e3307ca69d3003e2604dc859ce460c53d766d78b8d9fe22a
|
||||
DIST vagrant-2.2.7.tar.gz 2173893 BLAKE2B bf905cb25a905e4fb79ce9c1fb59ad5520b5176d5681dfdc22855ca0a7520535346d2aebffe47162a1f8ca008083c94426e9de92b6d92de4373c654784605c7e SHA512 3455b74c8a867ab37ca9873187a98cdb80feb22a400c4e9f2266897da815815aaefbe0c166172b1c1dbd66aa49ccb1201dcbf904fd883ad34218d694e20d7f87
|
||||
EBUILD vagrant-2.2.6-r1.ebuild 2501 BLAKE2B 7d357e69133d9ae47fa4edb856933f56ce2f49c5c944ed2b4ef4fc325952d44e68cc37a26faa6f628964a80b84e33c40a2f07aa88657b8dde7376bf49d2087c7 SHA512 55bef8ea9b148c962e6411ebd8af6c1fe4e6dd5264f6f23d30dd112e5c13c438de2a8c735d2fe9c2fbe0f1b5663f1a45ef0216db93d331679a39886ba665832e
|
||||
EBUILD vagrant-2.2.7.ebuild 2453 BLAKE2B 9270fbbd5718618d96d3c3b13f17f143f399406aaca7758d9900d714e2ebd4710764c4ff415004a70bd2cdc3358221489e96d5c0c18dc30ca7c8f6c850822660 SHA512 456d1417c1ff305cd7bc68bd112edf10225b25f26e667a16a057fbdbc66dfe287a55772a9896b05cffe6fd2b15e8e306336660a6c292a34db65bd47ea1ea4ce3
|
||||
EBUILD vagrant-2.2.7-r1.ebuild 2559 BLAKE2B dcb267f7c75f4bd744f2a83e416aa7005c8576f8d36326efd38b6dc634034b366ddf99016f24b5ced6a8ee87d8b7247db5c16e362f171be98ecd81c46d7d133f SHA512 e4f0a36c8b36625ad0ae660ed1eb4987f1a12f0d9c96316734cdcc31975f75621ea1e3f7a18162d780dc3d33e266e66f4fdd9014be557d50fbc1894ba602d852
|
||||
MISC metadata.xml 413 BLAKE2B 1b57ae29cf2bcdf4bd7d97071e081818e114104bd5a22438e0fe47bd4bce9b2fc1b831c544579cc8b652860c9637caa9134e6f1a4abcb21216e39e62fa058862 SHA512 417deb9af12420ac037b15b526d77ea3fdad12d047c4ea9ede5465ea9ea772fe96ee1625714e74e6dbad6ee224916e9b9304c38293aec4c5e2a52555e1c9f4e8
|
||||
|
|
|
@ -59,7 +59,6 @@ all_ruby_prepare() {
|
|||
|
||||
# loosen dependencies
|
||||
sed -e '/hashicorp-checkpoint\|i18n\|listen\|net-ssh\|net-scp\|rake\|childprocess/s/~>/>=/' \
|
||||
-e '/ruby_dep/s/<=/>=/' \
|
||||
-i ${PN}.gemspec || die
|
||||
|
||||
# remove windows-specific gems
|
||||
|
@ -70,6 +69,10 @@ all_ruby_prepare() {
|
|||
sed -e '/rb-kqueue/d' \
|
||||
-i ${PN}.gemspec || die
|
||||
|
||||
# remove ruby_dep, it's unused and only listed to loosen ruby implementation deps
|
||||
sed -e '/ruby_dep/d' \
|
||||
-i ${PN}.gemspec || die
|
||||
|
||||
sed -e "s/@VAGRANT_VERSION@/${PV}/g" "${FILESDIR}/${PN}.in" > "${PN}" || die
|
||||
}
|
||||
|
|
@ -6,12 +6,9 @@ DIST lwip-1.3.0.tar.gz 398933 BLAKE2B 3567a593eec3d247213daaaab57d9456c9cae50329
|
|||
DIST newlib-1.16.0.tar.gz 12024353 BLAKE2B 26d3308148fb99baf8ad02eee4cc699cfac690100ea63aaa4be03b86d12dade238478342514bd083cbc3d27964ac42eb8dae3873fdac5ff2c593fc4fb39b2309 SHA512 40eb96bbc6736a16b6399e0cdb73e853d0d90b685c967e77899183446664d64570277a633fdafdefc351b46ce210a99115769a1d9f47ac749d7e82837d4d1ac3
|
||||
DIST pciutils-2.2.9.tar.bz2 212265 BLAKE2B 014b664e90c64e7255c9e21fc25a2cc60d57f47ce282fc0331a0481a460b237783bd3774dd0689e1596d4a0be0d2889faad904da01a6f02147464bce1d1b1bc0 SHA512 2b3d98d027e46d8c08037366dde6f0781ca03c610ef2b380984639e4ef39899ed8d8b8e4cd9c9dc54df101279b95879bd66bfd4d04ad07fef41e847ea7ae32b5
|
||||
DIST polarssl-1.1.4-gpl.tgz 611340 BLAKE2B 613da06dda9e4b86db5a4d616a0a0afee98c907c3c6b352eed3d9e500fc5739e62eb4f6fc32ff02579c6a6de9bd49fcd2c8bd8b2d158a5050cbaa82118d61ef0 SHA512 88da614e4d3f4409c4fd3bb3e44c7587ba051e3fed4e33d526069a67e8180212e1ea22da984656f50e290049f60ddca65383e5983c0f8884f648d71f698303ad
|
||||
DIST xen-4.11.3-upstream-patches-0.tar.xz 3692 BLAKE2B f1fb200020b6e8767cb4b900e3468edbebbd61c8147a13d2102e425f8c5f0016b95a1f51fb26bd3560c97b73bbd2935d117ce08f92744fd02a97658cd0168ff8 SHA512 ebb64219b62e418276056eae6c47561366c0a22afaa8750a56a252e84b84c4644189a22788cf176d7d2ca5ceb84d307afa884f373f54db693f0182d951353ab2
|
||||
DIST xen-4.11.3.tar.gz 25180826 BLAKE2B 56041bcef9adec754ee21032cf849745c6011224463f73b763ea186b37460f8456cb1f10614cb51ee4d2d77f03cba311f025e8999687888d15ac59cc122cd172 SHA512 2204e490e9fc357a05983a9bf4e7345e1d364fe00400ce473988dcb9ca7d4e2b921fe10f095cbbc64248130a92d22c6f0d154dcae250a57a7f915df32e3dc436
|
||||
DIST xen-4.12.2.tar.gz 26985135 BLAKE2B 530821011a6dd0ac0a99fb135ff5311eb8e975c3791818093b5e250eed7854d153de6d4340197f9b949c0ad2c3d7b2b7180deb42bc71748ff70ff6fad195269d SHA512 7d9e7921271830c9eadf1bb8eca1aec20d343ad7475b0dc3165ef6d681759e7cb70739f8d9f85622a23aef960988820e822267fb198b12ee3dd657ad6164069f
|
||||
DIST xen-4.13.0.tar.gz 39005191 BLAKE2B cd85bfe549e20447afb8ec6b2ab33ea1893f45392c08737730d7898706748ebb96b2e842b2ff3e4af8c5d8a705e6d25a2bfb8acf0d7cc771805d0cc97757a949 SHA512 5b2ded9a2fe3f7ddf40eed1fa9858baead06233a01eb6099cc45b3c78b6c3823acfe7b731910733e87125dfa49d08c53f74c215fb1b320a92b44b87a0a105225
|
||||
DIST zlib-1.2.3.tar.gz 496597 BLAKE2B 603020b70cd52b83e48bde420b86e2acfd29d69bf7476eecbeeb07d1b8bcab703d2cbd3eab77772990bddb8c268f13594592ce985798d49e2d6ba25104d49f22 SHA512 021b958fcd0d346c4ba761bcf0cc40f3522de6186cf5a0a6ea34a70504ce9622b1c2626fce40675bc8282cf5f5ade18473656abc38050f72f5d6480507a2106e
|
||||
EBUILD xen-pvgrub-4.11.3.ebuild 5107 BLAKE2B f5c4402f205984badd0cca4d9402b0968bd88c23e73c91abc6fad12f9bd32e1ab33c6ec13e77bc47774784da5f6d3921b72d440a9375c9fc4a4c2c89bc367cf5 SHA512 3d92a23ffd35b0078fee6b155fe11ff78365f2e3d9bb0e341d7d56666031b43d4845838bde500942dc9aab378b764b5ffa300e8b45a21c5f7c8dd84157356a31
|
||||
EBUILD xen-pvgrub-4.12.2.ebuild 4462 BLAKE2B c59b5b69a1d319637ea6ef75d2291957ff4d2c287d6b8744d55ded9c294122ee7fe0be38df368316aa5698a5f9f187364d3dbd42ff55259b48bfd2fd3e844df2 SHA512 9b6247b8762c03a02209b84b4f6303813ea4dcb9de9071cc88fe478c24708b4344f21e73fb1ba823b1484d574df078d476b10616bb03d1418b013e7fb8d03afa
|
||||
EBUILD xen-pvgrub-4.13.0.ebuild 4522 BLAKE2B 24f3ba6d69007bbd7b22930848b8f4a09cfa265610a4d1cefe91d2375a4807adf2fae1750676faaf4b3659bf595500d42f1c35540449247105823563f5fa6209 SHA512 5e20ee4dd82916d993b2220d8e7340bb86394c8412adadd71b1be79ca5002205b4c6a55f092d24223c9a43892e458ddb934014bd15a978efeeb64c4284178ce4
|
||||
MISC metadata.xml 477 BLAKE2B 663101aa83713fa70e98a41985f3ec3d4c78765b862fb9df1f35ed31d1b32640bc093a0d680252d7b0116eca7f758145bb6337618ac4fea8a0ed108df83ca57a SHA512 907e17ebf2262b71644a8b2d863f5d4cdaee775026eb1a9da736a4ef003a45e8c6eaa2439184865706e57aea0afdf5f3f363e98dc63762ea8706ffad640c9046
|
||||
|
|
|
@ -1,163 +0,0 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE='xml,threads'
|
||||
|
||||
inherit flag-o-matic 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=0
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P/-pvgrub/}-upstream-patches-${UPSTREAM_VER}.tar.xz
|
||||
https://github.com/hydrapolic/gentoo-dist/raw/master/xen/${P/-pvgrub/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
|
||||
SRC_URI="
|
||||
https://downloads.xenproject.org/release/xen/${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="https://www.xenproject.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"
|
||||
|
||||
# eapply 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 || die
|
||||
sed -e 's:^AR=ar rc:AR=ar:' \
|
||||
-e s':$(AR) $@:$(AR) rc $@:' \
|
||||
-i "${WORKDIR}"/zlib-1.2.3/{Makefile,Makefile.in} || die
|
||||
einfo "zlib Makefile edited"
|
||||
|
||||
cd "${WORKDIR}" || die
|
||||
tar czp zlib-1.2.3 -f zlib-1.2.3.tar.gz || die
|
||||
tar czp grub-0.97 -f grub-0.97.tar.gz || die
|
||||
tar czp lwip -f lwip-1.3.0.tar.gz || die
|
||||
tar czp newlib-1.16.0 -f newlib-1.16.0.tar.gz || die
|
||||
tar czp polarssl-1.1.4 -f polarssl-1.1.4-gpl.tgz || die
|
||||
mv $set "${S}"/stubdom/ || die
|
||||
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" \
|
||||
eapply "${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
|
||||
eapply "${FILESDIR}"/${PN/-pvgrub/}-4.10-externals.patch
|
||||
|
||||
# fix jobserver in Makefile
|
||||
eapply "${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"
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
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
|
||||
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" -C tools/libs
|
||||
|
||||
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 "https://wiki.xen.org/wiki/Main_Page"
|
||||
}
|
|
@ -22,16 +22,11 @@ DIST ipxe-git-1dd56dbd11082fb622c2ed21cfaced4f47d798a6.tar.gz 3810726 BLAKE2B b9
|
|||
DIST ipxe-git-d2063b7693e0e35db97b2264aa987eb6341ae779.tar.gz 3792227 BLAKE2B 720ac29ab3187d7abaec33823dda967caab7eea9631123a7619d2f83d3ad6c7bb47db01665a4c54548fe367866606936d36690a06ecf42323b9bd0ef00e41569 SHA512 2b4ae8e65cd678dbb376f24001294eb54aead8d66456e06fc270dec178d90b282c1eb19731234d8b458054e49c5b8b8c4a89345c63ed0a4dafaf205e642b00b7
|
||||
DIST seabios-1.12.0.tar.gz 613542 BLAKE2B f145c2db716996bfa9e5c014086ccfaa8ae96ebc158f34303b122b7bf209408c567665d8691364df8d8e886f63e0e72a3f3cd319dfa86ef581023201b5d94e53 SHA512 e52c5363e5bb37b5286e55545aa06bd126218f9d0e3a06ac2e189de68fe3de3256c11ca1bb13357a9c384d7e3af6284083ff3aa587688b5de04ef11b97bdfa27
|
||||
DIST seabios-1.12.1.tar.gz 613450 BLAKE2B cb926b650c41a9962db407945cb5b6558079b061bd61f32ea56aedf0d37a00d10ad4434acbe717ffbc0dd1d1c0767304af8e640a53b0fc3784969dfa1590f681 SHA512 58755ce842adcb99c0f2f3ebbf9ec6d4a5072753966ab46805a96db1570847b109a90e6e03d61f9088ef877ca8ba96a8006777dc38ec434fce6b487f6c1f91d0
|
||||
DIST seabios-rel-1.11.1.tar.gz 604125 BLAKE2B df2b7322f5169fb74e7f5dd3f680e7d8ad3e6f93e8b1376d15bbda8865458648a0d6086011a8a6549e7ad1794844878736441e70067580c0eb416e20ee038d95 SHA512 69622460475b54ba77a10509dae0ef46d9c733c6c8527ab56a4f2298534dcf1f7722eb501df873ab612222e5867e334c2831cc4c95dd23771aee10740acf0273
|
||||
DIST xen-4.11.3-upstream-patches-0.tar.xz 3692 BLAKE2B f1fb200020b6e8767cb4b900e3468edbebbd61c8147a13d2102e425f8c5f0016b95a1f51fb26bd3560c97b73bbd2935d117ce08f92744fd02a97658cd0168ff8 SHA512 ebb64219b62e418276056eae6c47561366c0a22afaa8750a56a252e84b84c4644189a22788cf176d7d2ca5ceb84d307afa884f373f54db693f0182d951353ab2
|
||||
DIST xen-4.11.3.tar.gz 25180826 BLAKE2B 56041bcef9adec754ee21032cf849745c6011224463f73b763ea186b37460f8456cb1f10614cb51ee4d2d77f03cba311f025e8999687888d15ac59cc122cd172 SHA512 2204e490e9fc357a05983a9bf4e7345e1d364fe00400ce473988dcb9ca7d4e2b921fe10f095cbbc64248130a92d22c6f0d154dcae250a57a7f915df32e3dc436
|
||||
DIST xen-4.12.2-upstream-patches-0.tar.xz 3976 BLAKE2B 4527b5699b13e1b5bed9b82b67c7a3ddfbe39dc69f63b3bb1fda81cb315c6d78a34441219b8d4ae3d95ae2bc52ef0779410b65813212fa07867061fcb2b599ac SHA512 462de147b0474ca8e051219b41b088f25eb4be3962cde399403be5fbcfd4747054f84bf8c732ba8d86c1ba1980c518b67cd8e4f342e4120dd8bf6594d185a92e
|
||||
DIST xen-4.12.2.tar.gz 26985135 BLAKE2B 530821011a6dd0ac0a99fb135ff5311eb8e975c3791818093b5e250eed7854d153de6d4340197f9b949c0ad2c3d7b2b7180deb42bc71748ff70ff6fad195269d SHA512 7d9e7921271830c9eadf1bb8eca1aec20d343ad7475b0dc3165ef6d681759e7cb70739f8d9f85622a23aef960988820e822267fb198b12ee3dd657ad6164069f
|
||||
DIST xen-4.13.0-upstream-patches-0.tar.xz 11156 BLAKE2B e704a3fc1a9213a79208cf60b9972f5480214c0f050fce15245e225b67a34f90ca46e77a74c286d7aef90718295ec6968c2671b72f1994a4372bc191681d38f8 SHA512 594194021d0786016e8e214d477892c1ea721e1964729a15ab6928c3cb14b986cbc628d1522ccbf9d53fe568f680acb056d2ff2a37e64261d183589accea4983
|
||||
DIST xen-4.13.0.tar.gz 39005191 BLAKE2B cd85bfe549e20447afb8ec6b2ab33ea1893f45392c08737730d7898706748ebb96b2e842b2ff3e4af8c5d8a705e6d25a2bfb8acf0d7cc771805d0cc97757a949 SHA512 5b2ded9a2fe3f7ddf40eed1fa9858baead06233a01eb6099cc45b3c78b6c3823acfe7b731910733e87125dfa49d08c53f74c215fb1b320a92b44b87a0a105225
|
||||
DIST xen-gentoo-patches-19.tar.xz 17460 BLAKE2B 6f25c4c9bb438ba0ceded75d04ba6c05ca74e6319d14cf744ea23ecbed2e8283c3c00275a4609b583402d352216520a10197fd4ab9e056eac1c841b0f79bc6b8 SHA512 586e88eea0f2dcc5bae0eb4691cc1d722a8b1a7ca849fd8992d72c0990b2832b3e78738c936e8e46bc9623aa1c8e8afa341a22608479629ea012474d5ff6b69a
|
||||
DIST xen-gentoo-patches-20.tar.xz 17376 BLAKE2B 909795f611a089ab1eee86db5f034cec963c831873b3088f0682cdb7ec5284e75a4d49a5a1c93ee7a7e7ba3a899648b38928a1c7b726e019c2a90b66e31fee4a SHA512 d06b846ccb8c488f7155437cdf220533fc2d23ad13b0a2bd4d69d68938c4858fdb961c9e59f57c5228368b4e60dbbdf81ec15b77ecb0639bbf475333f8bf4b97
|
||||
EBUILD xen-tools-4.11.3-r1.ebuild 13936 BLAKE2B d6a916f69d2cb3bf1c73361ddc89f8d241ee3e1411a48346b57a7a0b9d27799c01d57979d3a124e0101126c434c21ae5354af932f635a4e66c3b3dcc659fb989 SHA512 e1c04b9c7c01b5ef5c2b8c9a6967b4476930c424da101bab322bcb2188eec9c688c116e1398d422642e084dea2dea3c98cbdce051cdc9b59487f393bcaa08063
|
||||
EBUILD xen-tools-4.12.2-r1.ebuild 14966 BLAKE2B df7d4e20a1184631204f0e6f31f041c52bfd09a4c6d883a80d58f0d88cc96ec1cff25659a8995383a00f153d020b22c1e8a3a3f0e7c807dff382cae9411f2db6 SHA512 f26b572cd184cf0243d9b0c54dfb6746ecf52696e5e96858262def32530515d503a5cfbdf3f39ab8d029f4cb72a32f84f78f842f7fdfb4cf0f6e8b346a593090
|
||||
EBUILD xen-tools-4.13.0-r2.ebuild 15675 BLAKE2B 0d934e2a81df6d0a5a9b97352eff5a598fc6d43f45fab1b99e8d10330ea42e4cf83d638a2ec98561f74595bd85fec2220c7eab8ed1d5c801e51cabd8d9aa9cdc SHA512 e1301de618bd9ed0625455759418fe51bd9184ddf4d6ec0591763dc557c38bb426c6670be11dd2c506231574b2c773e09711f7ff8c7cd9ac496634c0207167e4
|
||||
MISC metadata.xml 1662 BLAKE2B 1b243436df5eb36e30f73b36db45d859aa03f7e9d3360fcdb91c35e3a1c00f1217e5e7cd1461b65d9da2883f5e8ca969b958f9b2160def4c1f15347c1887b2cd SHA512 d6cdf124c7767727f7c8d16a2dc0f85a7213db21f8d1595f7d8899c7cb81d47849fd05759ccfc460630c32917e64ea31ef6384dc050ab0eb392f571b12db68ed
|
||||
|
|
|
@ -1,464 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
PYTHON_REQ_USE='ncurses,xml,threads'
|
||||
|
||||
inherit bash-completion-r1 flag-o-matic multilib python-single-r1 toolchain-funcs
|
||||
|
||||
MY_PV=${PV/_/-}
|
||||
|
||||
if [[ $PV == *9999 ]]; then
|
||||
inherit git-r3
|
||||
REPO="xen.git"
|
||||
EGIT_REPO_URI="git://xenbits.xen.org/${REPO}"
|
||||
S="${WORKDIR}/${REPO}"
|
||||
else
|
||||
KEYWORDS="amd64 ~arm ~arm64 x86"
|
||||
UPSTREAM_VER=0
|
||||
SECURITY_VER=
|
||||
# xen-tools's gentoo patches tarball
|
||||
GENTOO_VER=19
|
||||
# xen-tools's gentoo patches version which apply to this specific ebuild
|
||||
GENTOO_GPV=0
|
||||
# xen-tools ovmf's patches
|
||||
OVMF_VER=
|
||||
|
||||
SEABIOS_VER=1.11.1
|
||||
EDK2_COMMIT=ef529e6ab7c31290a33045bb1f1837447cc0eb56
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz
|
||||
https://github.com/hydrapolic/gentoo-dist/raw/master/xen/${P/-tools/}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
[[ -n ${SECURITY_VER} ]] && \
|
||||
SECURITY_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-security-patches-${SECURITY_VER}.tar.xz"
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-gentoo-patches-${GENTOO_VER}.tar.xz
|
||||
https://github.com/hydrapolic/gentoo-dist/raw/master/xen/${PN/-tools/}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
[[ -n ${OVMF_VER} ]] && \
|
||||
OVMF_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN/-tools}-ovmf-patches-${OVMF_VER}.tar.xz"
|
||||
|
||||
SRC_URI="https://downloads.xenproject.org/release/xen/${MY_PV}/xen-${MY_PV}.tar.gz
|
||||
https://git.seabios.org/cgit/seabios.git/snapshot/seabios-rel-${SEABIOS_VER}.tar.gz
|
||||
ovmf? ( https://github.com/tianocore/edk2/archive/${EDK2_COMMIT}.tar.gz -> edk2-${EDK2_COMMIT}.tar.gz
|
||||
${OVMF_PATCHSET_URI} )
|
||||
${UPSTREAM_PATCHSET_URI}
|
||||
${SECURITY_PATCHSET_URI}
|
||||
${GENTOO_PATCHSET_URI}"
|
||||
|
||||
S="${WORKDIR}/xen-${MY_PV}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Xen tools including QEMU and xl"
|
||||
HOMEPAGE="https://www.xenproject.org"
|
||||
DOCS=( README docs/README.xen-bugtool )
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0/$(ver_cut 1-2)"
|
||||
# Inclusion of IUSE ocaml on stabalizing requires maintainer of ocaml to (get off his hands and) make
|
||||
# >=dev-lang/ocaml-4 stable
|
||||
# Masked in profiles/eapi-5-files instead
|
||||
IUSE="api debug doc flask +hvm ocaml ovmf +pam pygrub python +qemu +qemu-traditional screen sdl static-libs system-qemu system-seabios"
|
||||
|
||||
REQUIRED_USE="
|
||||
${PYTHON_REQUIRED_USE}
|
||||
ovmf? ( hvm )
|
||||
pygrub? ( python )
|
||||
?? ( qemu system-qemu )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
sys-apps/pciutils
|
||||
dev-libs/lzo:2
|
||||
dev-libs/glib:2
|
||||
dev-libs/yajl
|
||||
dev-libs/libaio
|
||||
dev-libs/libgcrypt:0
|
||||
sys-libs/zlib
|
||||
${PYTHON_DEPS}
|
||||
"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
>=sys-kernel/linux-headers-4.11
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/lxml[${PYTHON_MULTI_USEDEP}]
|
||||
pam? ( dev-python/pypam[${PYTHON_MULTI_USEDEP}] )
|
||||
')
|
||||
x86? ( sys-devel/dev86
|
||||
sys-firmware/ipxe[qemu]
|
||||
sys-power/iasl )
|
||||
api? ( dev-libs/libxml2
|
||||
net-misc/curl )
|
||||
ovmf? (
|
||||
!arm? ( !arm64? ( dev-lang/nasm ) )
|
||||
$(python_gen_impl_dep sqlite)
|
||||
)
|
||||
!amd64? ( >=sys-apps/dtc-1.4.0 )
|
||||
amd64? ( sys-devel/bin86
|
||||
sys-devel/dev86
|
||||
sys-firmware/ipxe[qemu]
|
||||
sys-power/iasl
|
||||
system-seabios? ( sys-firmware/seabios ) )
|
||||
dev-lang/perl
|
||||
app-misc/pax-utils
|
||||
doc? (
|
||||
app-text/ghostscript-gpl
|
||||
app-text/pandoc
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/markdown[${PYTHON_MULTI_USEDEP}]
|
||||
')
|
||||
dev-texlive/texlive-latexextra
|
||||
media-gfx/transfig
|
||||
)
|
||||
hvm? ( x11-base/xorg-proto )
|
||||
qemu? (
|
||||
app-arch/snappy:=
|
||||
x11-libs/pixman
|
||||
sdl? ( media-libs/libsdl[X] )
|
||||
)
|
||||
system-qemu? ( app-emulation/qemu[xen] )
|
||||
ocaml? ( dev-ml/findlib
|
||||
>=dev-lang/ocaml-4 )"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
sys-apps/iproute2[-minimal]
|
||||
net-misc/bridge-utils
|
||||
screen? (
|
||||
app-misc/screen
|
||||
app-admin/logrotate
|
||||
)"
|
||||
|
||||
# hvmloader is used to bootstrap a fully virtualized kernel
|
||||
# Approved by QA team in bug #144032
|
||||
QA_WX_LOAD="
|
||||
usr/libexec/xen/boot/hvmloader
|
||||
usr/share/qemu-xen/qemu/s390-ccw.img
|
||||
usr/share/qemu-xen/qemu/u-boot.e500
|
||||
"
|
||||
|
||||
QA_PREBUILT="
|
||||
usr/libexec/xen/bin/ivshmem-client
|
||||
usr/libexec/xen/bin/ivshmem-server
|
||||
usr/libexec/xen/bin/qemu-img
|
||||
usr/libexec/xen/bin/qemu-io
|
||||
usr/libexec/xen/bin/qemu-keymap
|
||||
usr/libexec/xen/bin/qemu-nbd
|
||||
usr/libexec/xen/bin/qemu-pr-helper
|
||||
usr/libexec/xen/bin/qemu-system-i386
|
||||
usr/libexec/xen/bin/virtfs-proxy-helper
|
||||
usr/libexec/xen/libexec/xen-bridge-helper
|
||||
usr/share/qemu-xen/qemu/s390-ccw.img
|
||||
usr/share/qemu-xen/qemu/s390-netboot.img
|
||||
usr/share/qemu-xen/qemu/u-boot.e500
|
||||
"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
python_setup
|
||||
export "CONFIG_LOMOUNT=y"
|
||||
|
||||
#bug 522642, disable compile tools/tests
|
||||
export "CONFIG_TESTS=n"
|
||||
|
||||
if [[ -z ${XEN_TARGET_ARCH} ]] ; then
|
||||
if use x86 && use amd64; then
|
||||
die "Confusion! Both x86 and amd64 are set in your use flags!"
|
||||
elif use x86; then
|
||||
export XEN_TARGET_ARCH="x86_32"
|
||||
elif use amd64 ; then
|
||||
export XEN_TARGET_ARCH="x86_64"
|
||||
elif use arm; then
|
||||
export XEN_TARGET_ARCH="arm32"
|
||||
elif use arm64; then
|
||||
export XEN_TARGET_ARCH="arm64"
|
||||
else
|
||||
die "Unsupported architecture!"
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local i
|
||||
|
||||
# Upstream's patchset
|
||||
if [[ -n ${UPSTREAM_VER} ]]; then
|
||||
einfo "Try to apply Xen Upstream patch set"
|
||||
eapply "${WORKDIR}"/patches-upstream
|
||||
fi
|
||||
|
||||
# Security patchset
|
||||
if [[ -n ${SECURITY_VER} ]]; then
|
||||
einfo "Try to apply Xen Security patch set"
|
||||
# apply main xen patches
|
||||
# Two parallel systems, both work side by side
|
||||
# Over time they may concdense into one. This will suffice for now
|
||||
EPATCH_SUFFIX="patch"
|
||||
EPATCH_FORCE="yes"
|
||||
|
||||
source "${WORKDIR}"/patches-security/${PV}.conf || die
|
||||
|
||||
for i in ${XEN_SECURITY_MAIN}; do
|
||||
eapply "${WORKDIR}"/patches-security/xen/$i
|
||||
done
|
||||
|
||||
# apply qemu-xen/upstream patches
|
||||
pushd "${S}"/tools/qemu-xen/ > /dev/null
|
||||
for i in ${XEN_SECURITY_QEMUU}; do
|
||||
eapply "${WORKDIR}"/patches-security/qemuu/$i
|
||||
done
|
||||
popd > /dev/null
|
||||
|
||||
# apply qemu-traditional patches
|
||||
pushd "${S}"/tools/qemu-xen-traditional/ > /dev/null
|
||||
for i in ${XEN_SECURITY_QEMUT}; do
|
||||
eapply "${WORKDIR}"/patches-security/qemut/$i
|
||||
done
|
||||
popd > /dev/null
|
||||
fi
|
||||
|
||||
# move before Gentoo patch, one patch should apply to seabios, to fix gcc-4.5.x build err
|
||||
mv ../seabios-rel-${SEABIOS_VER} tools/firmware/seabios-dir-remote || die
|
||||
pushd tools/firmware/ > /dev/null
|
||||
ln -s seabios-dir-remote seabios-dir || die
|
||||
popd > /dev/null
|
||||
|
||||
# Gentoo's patchset
|
||||
if [[ -n ${GENTOO_VER} && -n ${GENTOO_GPV} ]]; then
|
||||
einfo "Try to apply Gentoo specific patch set"
|
||||
source "${FILESDIR}"/gentoo-patches.conf || die
|
||||
_gpv=_gpv_${PN/-/_}_${PV//./}_${GENTOO_GPV}
|
||||
for i in ${!_gpv}; do
|
||||
eapply "${WORKDIR}"/patches-gentoo/$i
|
||||
done
|
||||
fi
|
||||
|
||||
# Ovmf's patchset
|
||||
if use ovmf; then
|
||||
if [[ -n ${OVMF_VER} ]];then
|
||||
einfo "Try to apply Ovmf patch set"
|
||||
pushd "${WORKDIR}"/edk2-*/ > /dev/null
|
||||
eapply "${WORKDIR}"/patches-ovmf
|
||||
popd > /dev/null
|
||||
fi
|
||||
mv ../edk2-${EDK2_COMMIT} tools/firmware/ovmf-dir-remote || die
|
||||
cp tools/firmware/ovmf-makefile tools/firmware/ovmf-dir-remote/Makefile || die
|
||||
fi
|
||||
|
||||
mv tools/qemu-xen/qemu-bridge-helper.c tools/qemu-xen/xen-bridge-helper.c || die
|
||||
|
||||
# Fix texi2html build error with new texi2html, qemu.doc.html
|
||||
sed -i -e "/texi2html -monolithic/s/-number//" tools/qemu-xen-traditional/Makefile || die
|
||||
|
||||
use api || sed -e "/SUBDIRS-\$(LIBXENAPI_BINDINGS) += libxen/d" -i tools/Makefile || die
|
||||
sed -e 's:$(MAKE) PYTHON=$(PYTHON) subdirs-$@:LC_ALL=C "$(MAKE)" PYTHON=$(PYTHON) subdirs-$@:' \
|
||||
-i tools/firmware/Makefile || die
|
||||
|
||||
# Drop .config, fixes to gcc-4.6
|
||||
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
|
||||
|
||||
# drop flags
|
||||
unset CFLAGS
|
||||
unset LDFLAGS
|
||||
unset ASFLAGS
|
||||
unset CPPFLAGS
|
||||
|
||||
if ! use pygrub; then
|
||||
sed -e '/^SUBDIRS-y += pygrub/d' -i tools/Makefile || die
|
||||
fi
|
||||
|
||||
if ! use python; then
|
||||
sed -e '/^SUBDIRS-y += python$/d' -i tools/Makefile || die
|
||||
fi
|
||||
|
||||
if ! use hvm; then
|
||||
sed -e '/SUBDIRS-$(CONFIG_X86) += firmware/d' -i tools/Makefile || die
|
||||
# Bug 351648
|
||||
elif ! use x86 && ! has x86 $(get_all_abis); then
|
||||
mkdir -p "${WORKDIR}"/extra-headers/gnu || die
|
||||
touch "${WORKDIR}"/extra-headers/gnu/stubs-32.h || die
|
||||
export CPATH="${WORKDIR}"/extra-headers
|
||||
fi
|
||||
|
||||
if use qemu; then
|
||||
if use sdl; then
|
||||
sed -i -e "s:\$\$source/configure:\0 --enable-sdl:" \
|
||||
tools/Makefile || die
|
||||
else
|
||||
sed -i -e "s:\${QEMU_ROOT\:\-\.}/configure:\0 --disable-sdl:" \
|
||||
tools/qemu-xen-traditional/xen-setup || die
|
||||
sed -i -e "s:\$\$source/configure:\0 --disable-sdl:" \
|
||||
tools/Makefile || die
|
||||
fi
|
||||
else
|
||||
# Don't bother with qemu, only needed for fully virtualised guests
|
||||
sed -e "s:install-tools\: tools/qemu-xen-traditional-dir:install-tools\: :g" -i Makefile || die
|
||||
fi
|
||||
|
||||
# Reset bash completion dir; Bug 472438
|
||||
sed -e "s:^BASH_COMPLETION_DIR ?= \$(CONFIG_DIR)/bash_completion.d:BASH_COMPLETION_DIR ?= $(get_bashcompdir):" \
|
||||
-i Config.mk || die
|
||||
sed -i -e "/bash-completion/s/xl\.sh/xl/g" tools/libxl/Makefile || die
|
||||
|
||||
# xencommons, Bug #492332, sed lighter weight than patching
|
||||
sed -e 's:\$QEMU_XEN -xen-domid:test -e "\$QEMU_XEN" \&\& &:' \
|
||||
-i tools/hotplug/Linux/init.d/xencommons.in || die
|
||||
|
||||
# fix bashishm
|
||||
sed -e '/Usage/s/\$//g' \
|
||||
-i tools/hotplug/Linux/init.d/xendriverdomain.in || die
|
||||
|
||||
# respect multilib, usr/lib/libcacard.so.0.0.0
|
||||
sed -e "/^libdir=/s/\/lib/\/$(get_libdir)/" \
|
||||
-i tools/qemu-xen/configure || die
|
||||
|
||||
#bug 518136, don't build 32bit exactuable for nomultilib profile
|
||||
if [[ "${ARCH}" == 'amd64' ]] && ! has_multilib_profile; then
|
||||
sed -i -e "/x86_emulator/d" tools/tests/Makefile || die
|
||||
fi
|
||||
|
||||
# uncomment lines in xl.conf
|
||||
sed -e 's:^#autoballoon=:autoballoon=:' \
|
||||
-e 's:^#lockfile=:lockfile=:' \
|
||||
-e 's:^#vif.default.script=:vif.default.script=:' \
|
||||
-i tools/examples/xl.conf || die
|
||||
|
||||
# disable capstone (Bug #673474)
|
||||
sed -e "s:\$\$source/configure:\0 --disable-capstone:" \
|
||||
-i tools/Makefile || die
|
||||
|
||||
# disable glusterfs
|
||||
sed -e "s:\$\$source/configure:\0 --disable-glusterfs:" \
|
||||
-i tools/Makefile || die
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf="--prefix=${PREFIX}/usr \
|
||||
--libdir=${PREFIX}/usr/$(get_libdir) \
|
||||
--libexecdir=${PREFIX}/usr/libexec \
|
||||
--localstatedir=${EPREFIX}/var \
|
||||
--disable-werror \
|
||||
--disable-xen \
|
||||
--enable-tools \
|
||||
--enable-docs \
|
||||
$(use_enable api xenapi) \
|
||||
$(use_enable pam) \
|
||||
$(use_enable ocaml ocamltools) \
|
||||
$(use_enable ovmf) \
|
||||
--with-xenstored=$(usex ocaml 'oxenstored' 'xenstored') \
|
||||
"
|
||||
|
||||
use system-seabios && myconf+=" --with-system-seabios=/usr/share/seabios/bios.bin"
|
||||
use system-qemu && myconf+=" --with-system-qemu=/usr/bin/qemu-system-x86_64"
|
||||
use amd64 && myconf+=" $(use_enable qemu-traditional)"
|
||||
tc-ld-disable-gold # Bug 669570
|
||||
econf ${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local myopt
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
if test-flag-CC -fno-strict-overflow; then
|
||||
append-flags -fno-strict-overflow
|
||||
fi
|
||||
|
||||
emake CC="$(tc-getCC)" LD="$(tc-getLD)" AR="$(tc-getAR)" RANLIB="$(tc-getRANLIB)" build-tools ${myopt}
|
||||
|
||||
if use doc; then
|
||||
emake -C docs build
|
||||
else
|
||||
emake -C docs man-pages
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# Override auto-detection in the build system, bug #382573
|
||||
export INITD_DIR=/tmp/init.d
|
||||
export CONFIG_LEAF_DIR=../tmp/default
|
||||
|
||||
# Let the build system compile installed Python modules.
|
||||
local PYTHONDONTWRITEBYTECODE
|
||||
export PYTHONDONTWRITEBYTECODE
|
||||
|
||||
emake DESTDIR="${ED}" DOCDIR="/usr/share/doc/${PF}" \
|
||||
XEN_PYTHON_NATIVE_INSTALL=y install-tools
|
||||
|
||||
# Created at runtime
|
||||
rm -rv "${ED}/var/run" || die
|
||||
|
||||
# Fix the remaining Python shebangs.
|
||||
python_fix_shebang "${D}"
|
||||
|
||||
# Remove RedHat-specific stuff
|
||||
rm -rf "${D}/tmp" || die
|
||||
|
||||
if use doc; then
|
||||
emake DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-docs
|
||||
dodoc -r docs/{pdf,txt}
|
||||
else
|
||||
emake -C docs DESTDIR="${D}" DOCDIR="/usr/share/doc/${PF}" install-man-pages # Bug 668032
|
||||
fi
|
||||
dodoc ${DOCS[@]}
|
||||
|
||||
newconfd "${FILESDIR}"/xendomains.confd xendomains
|
||||
newconfd "${FILESDIR}"/xenstored.confd xenstored
|
||||
newconfd "${FILESDIR}"/xenconsoled.confd xenconsoled
|
||||
newinitd "${FILESDIR}"/xendomains.initd-r2 xendomains
|
||||
newinitd "${FILESDIR}"/xenstored.initd-r1 xenstored
|
||||
newinitd "${FILESDIR}"/xenconsoled.initd xenconsoled
|
||||
newinitd "${FILESDIR}"/xencommons.initd xencommons
|
||||
newconfd "${FILESDIR}"/xencommons.confd xencommons
|
||||
newinitd "${FILESDIR}"/xenqemudev.initd xenqemudev
|
||||
newconfd "${FILESDIR}"/xenqemudev.confd xenqemudev
|
||||
newinitd "${FILESDIR}"/xen-watchdog.initd xen-watchdog
|
||||
|
||||
if use screen; then
|
||||
cat "${FILESDIR}"/xendomains-screen.confd >> "${D}"/etc/conf.d/xendomains || die
|
||||
cp "${FILESDIR}"/xen-consoles.logrotate "${D}"/etc/xen/ || die
|
||||
keepdir /var/log/xen-consoles
|
||||
fi
|
||||
|
||||
# For -static-libs wrt Bug 384355
|
||||
if ! use static-libs; then
|
||||
rm -f "${D}"/usr/$(get_libdir)/*.a "${D}"/usr/$(get_libdir)/ocaml/*/*.a
|
||||
fi
|
||||
|
||||
# for xendomains
|
||||
keepdir /etc/xen/auto
|
||||
|
||||
# Remove files failing QA AFTER emake installs them, avoiding seeking absent files
|
||||
find "${D}" \( -name openbios-sparc32 -o -name openbios-sparc64 \
|
||||
-o -name openbios-ppc -o -name palcode-clipper \) -delete || die
|
||||
|
||||
keepdir /var/lib/xen/dump
|
||||
keepdir /var/lib/xen/xenpaging
|
||||
keepdir /var/lib/xenstored
|
||||
keepdir /var/log/xen
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide and the offical wiki page:"
|
||||
elog "https://wiki.gentoo.org/wiki/Xen"
|
||||
elog "https://wiki.xen.org/wiki/Main_Page"
|
||||
elog ""
|
||||
elog "Recommended to utilise the xencommons script to config system at boot"
|
||||
elog "Add by use of rc-update on completion of the install"
|
||||
|
||||
if ! use hvm; then
|
||||
echo
|
||||
elog "HVM (VT-x and AMD-V) support has been disabled. If you need hvm"
|
||||
elog "support enable the hvm use flag."
|
||||
elog "An x86 or amd64 system is required to build HVM support."
|
||||
fi
|
||||
|
||||
if use qemu; then
|
||||
elog "The qemu-bridge-helper is renamed to the xen-bridge-helper in the in source"
|
||||
elog "build of qemu. This allows for app-emulation/qemu to be emerged concurrently"
|
||||
elog "with the qemu capable xen. It is up to the user to distinguish between and utilise"
|
||||
elog "the qemu-bridge-helper and the xen-bridge-helper. File bugs of any issues that arise"
|
||||
fi
|
||||
}
|
|
@ -1,12 +1,9 @@
|
|||
AUX xen-4.11-efi.patch 1971 BLAKE2B b24f9315cff7f2de2a945088363429b9f4dd7a4101d3f1c0d4bf9733189808f5e1c47f1d90d1784f17fa52ca1626972c81d20c5e1ee3d42d082cdefcf67eb8dc SHA512 17208dc107f4ae4c5ec226c2ac05126817134fb6084cd8923204dc1b014e645e12c34cd11296319127e595ccbf17747931e9df78218bf49814f66e3cc6a789fd
|
||||
AUX xen-4.6-efi.patch 1954 BLAKE2B c027aff764e83eef957241827980559ccfeec5525bf0ce6b6b2d38db565fd0f24b21609c1d497934ef823d42116eaf96799b45314f11f57a9238ab21f1255a00 SHA512 361af33159cf49626e92d2815fd4422ea5b1d696a32ce2695ce75205fbbfb89d96b64a8af7332fffdc4a4390000bf52d3730403dfc2334af0da0bea59d58b689
|
||||
DIST xen-4.11.3-upstream-patches-1.tar.xz 30200 BLAKE2B c63fd2d15efda1ae9aab534c13cd1826a87a5fbd2757f3d82461b1ef2dada0ee23dbb814328e3f8695e0819094d80584fc388536c927c386f02201d4d26a8287 SHA512 e48c60f724fa0f2d5e2bbea3d71590d7c3be2973c35c4b73ff0737f03207dcbfd7f9e43b43783bb739f7059778862693a50354178ae2fd53b04e5d39429e59cf
|
||||
DIST xen-4.11.3.tar.gz 25180826 BLAKE2B 56041bcef9adec754ee21032cf849745c6011224463f73b763ea186b37460f8456cb1f10614cb51ee4d2d77f03cba311f025e8999687888d15ac59cc122cd172 SHA512 2204e490e9fc357a05983a9bf4e7345e1d364fe00400ce473988dcb9ca7d4e2b921fe10f095cbbc64248130a92d22c6f0d154dcae250a57a7f915df32e3dc436
|
||||
DIST xen-4.12.2-upstream-patches-1.tar.xz 17016 BLAKE2B 5bd27f6187c13b1c4792aa81c0ca8cde0d687566e0fde322e7cb249e1c8665fca0def5a137493a04598b617c46f052cf69701257ea1b97823fd1534d94cabd8f SHA512 dab5e7a3ac1a82faff3069f07945dc0b9651f90e8e87b3c342bb98a06ac244d212dc0baf8c7f1997f285b06baca9dc57d4823bfb220ca34274bd3d6d31421b02
|
||||
DIST xen-4.12.2.tar.gz 26985135 BLAKE2B 530821011a6dd0ac0a99fb135ff5311eb8e975c3791818093b5e250eed7854d153de6d4340197f9b949c0ad2c3d7b2b7180deb42bc71748ff70ff6fad195269d SHA512 7d9e7921271830c9eadf1bb8eca1aec20d343ad7475b0dc3165ef6d681759e7cb70739f8d9f85622a23aef960988820e822267fb198b12ee3dd657ad6164069f
|
||||
DIST xen-4.13.0-upstream-patches-1.tar.xz 26000 BLAKE2B 0ab884f4b64f318c256d1959fde34da85e85a1d6974f00001125e29838f3f7d9b06ff767dff437635648eed1449976ff88250cbe141e9175d4430135e8923667 SHA512 f37514bf7ad92f8d8be798129c446fe9ec0d409e904f6b4971f07dd8b899dd20f40424a72106d7c50da83fed1f7097c575fbdeee06e18f9f4255bf6b2a71f08a
|
||||
DIST xen-4.13.0.tar.gz 39005191 BLAKE2B cd85bfe549e20447afb8ec6b2ab33ea1893f45392c08737730d7898706748ebb96b2e842b2ff3e4af8c5d8a705e6d25a2bfb8acf0d7cc771805d0cc97757a949 SHA512 5b2ded9a2fe3f7ddf40eed1fa9858baead06233a01eb6099cc45b3c78b6c3823acfe7b731910733e87125dfa49d08c53f74c215fb1b320a92b44b87a0a105225
|
||||
EBUILD xen-4.11.3-r1.ebuild 4078 BLAKE2B c2d4cecd045f3d5581fad3270903fde3113c19a035e27b0840db436d903ef6b78b125d0ba61cc6b8250d325720862089133bc2b53f345c271047a3681830fb59 SHA512 130e127d07fa13f83e3cfce7b7e6a685ed2daaeea76752259658f45b70cb27a5f13903fae783876bf55aae025aa03eb66ad792373c138b8facc60295a9908e35
|
||||
EBUILD xen-4.12.2-r1.ebuild 4438 BLAKE2B 5ce21712847014902bd61b988be35433d66d0d24f037a0898b4bb4ac8415edf1f045e4186fdd2fc728f2897ec6b7ecfd5912b37d1310c43c7a5bfcef7fe29538 SHA512 a66e3803812a90325a29b45cc0faca670bcbcd0882975f9dac5353320d8a5c327268d688af6cb1a7bad2960c02a003eef69bb2c27e580b0b5b0f671ba76e9e65
|
||||
EBUILD xen-4.13.0-r2.ebuild 4439 BLAKE2B 99ef4fced66b15fe06b80676653468934a0b32c049a239a086025c2bfa03be6225bac1bdd0ec53947b49251c4be46ad0e3034047c30b6ea59660c50e8786d049 SHA512 23d99e5d555aa72c8d87a4665390be52e07fc955c1748b91a9b0b36046006109dd141bc35a188360c272e00db9d13bb84c80911f6aa26e6d12ebe2bc242ab229
|
||||
MISC metadata.xml 645 BLAKE2B ad902c521cc93a54b16faaea212f23c7bdf83a9efe19606eca7bf00b49104386dbc095ff30c4287bb79d5fcd073b77e7c1bbf929ee7b025039a50f8238572f17 SHA512 313d501abeb906c360d7965e35a18d9851e38af73a72a95351517c60a1a39553555a0a250f0bee5bfc8f6496312d6e9c70874be267c14edab45cb4841e34c248
|
||||
|
|
|
@ -1,156 +0,0 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python2_7 )
|
||||
|
||||
inherit flag-o-matic mount-boot multilib python-any-r1 toolchain-funcs
|
||||
|
||||
MY_PV=${PV/_/-}
|
||||
MY_P=${PN}-${MY_PV}
|
||||
|
||||
if [[ $PV == *9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="git://xenbits.xen.org/xen.git"
|
||||
SRC_URI=""
|
||||
else
|
||||
KEYWORDS="amd64 ~arm -x86"
|
||||
UPSTREAM_VER=1
|
||||
SECURITY_VER=
|
||||
GENTOO_VER=
|
||||
|
||||
[[ -n ${UPSTREAM_VER} ]] && \
|
||||
UPSTREAM_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz
|
||||
https://github.com/hydrapolic/gentoo-dist/raw/master/xen/${P}-upstream-patches-${UPSTREAM_VER}.tar.xz"
|
||||
[[ -n ${SECURITY_VER} ]] && \
|
||||
SECURITY_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN}-security-patches-${SECURITY_VER}.tar.xz"
|
||||
[[ -n ${GENTOO_VER} ]] && \
|
||||
GENTOO_PATCHSET_URI="https://dev.gentoo.org/~dlan/distfiles/${PN}-gentoo-patches-${GENTOO_VER}.tar.xz"
|
||||
SRC_URI="https://downloads.xenproject.org/release/xen/${MY_PV}/${MY_P}.tar.gz
|
||||
${UPSTREAM_PATCHSET_URI}
|
||||
${SECURITY_PATCHSET_URI}
|
||||
${GENTOO_PATCHSET_URI}"
|
||||
fi
|
||||
|
||||
DESCRIPTION="The Xen virtual machine monitor"
|
||||
HOMEPAGE="https://www.xenproject.org"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE="debug efi flask"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
efi? ( >=sys-devel/binutils-2.22[multitarget] )
|
||||
!efi? ( >=sys-devel/binutils-2.22 )"
|
||||
RDEPEND=""
|
||||
PDEPEND="~app-emulation/xen-tools-${PV}"
|
||||
|
||||
# no tests are available for the hypervisor
|
||||
# prevent the silliness of /usr/lib/debug/usr/lib/debug files
|
||||
# prevent stripping of the debug info from the /usr/lib/debug/xen-syms
|
||||
RESTRICT="test splitdebug strip"
|
||||
|
||||
# Approved by QA team in bug #144032
|
||||
QA_WX_LOAD="boot/xen-syms-${PV}"
|
||||
|
||||
REQUIRED_USE="arm? ( debug )"
|
||||
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
pkg_setup() {
|
||||
python-any-r1_pkg_setup
|
||||
if [[ -z ${XEN_TARGET_ARCH} ]]; then
|
||||
if use amd64; then
|
||||
export XEN_TARGET_ARCH="x86_64"
|
||||
elif use arm; then
|
||||
export XEN_TARGET_ARCH="arm32"
|
||||
elif use arm64; then
|
||||
export XEN_TARGET_ARCH="arm64"
|
||||
else
|
||||
die "Unsupported architecture!"
|
||||
fi
|
||||
fi
|
||||
|
||||
if use flask ; then
|
||||
export "XSM_ENABLE=y"
|
||||
export "FLASK_ENABLE=y"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
# Upstream's patchset
|
||||
[[ -n ${UPSTREAM_VER} ]] && eapply "${WORKDIR}"/patches-upstream
|
||||
|
||||
# Security patchset
|
||||
if [[ -n ${SECURITY_VER} ]]; then
|
||||
einfo "Try to apply Xen Security patch set"
|
||||
# apply main xen patches
|
||||
# Two parallel systems, both work side by side
|
||||
# Over time they may concdense into one. This will suffice for now
|
||||
source "${WORKDIR}"/patches-security/${PV}.conf
|
||||
|
||||
local i
|
||||
for i in ${XEN_SECURITY_MAIN}; do
|
||||
eapply "${WORKDIR}"/patches-security/xen/$i
|
||||
done
|
||||
fi
|
||||
|
||||
# Gentoo's patchset
|
||||
[[ -n ${GENTOO_VER} ]] && eapply "${WORKDIR}"/patches-gentoo
|
||||
|
||||
eapply "${FILESDIR}"/${PN}-4.11-efi.patch
|
||||
|
||||
# Drop .config
|
||||
sed -e '/-include $(XEN_ROOT)\/.config/d' -i Config.mk || die "Couldn't drop"
|
||||
|
||||
if use efi; then
|
||||
export EFI_VENDOR="gentoo"
|
||||
export EFI_MOUNTPOINT="boot"
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
use arm && myopt="${myopt} CONFIG_EARLY_PRINTK=sun7i"
|
||||
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
# remove flags
|
||||
unset CFLAGS
|
||||
unset LDFLAGS
|
||||
unset ASFLAGS
|
||||
|
||||
tc-ld-disable-gold # Bug 700374
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
# Send raw LDFLAGS so that --as-needed works
|
||||
emake V=1 CC="$(tc-getCC)" LDFLAGS="$(raw-ldflags)" LD="$(tc-getLD)" -C xen ${myopt}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local myopt
|
||||
use debug && myopt="${myopt} debug=y"
|
||||
|
||||
# The 'make install' doesn't 'mkdir -p' the subdirs
|
||||
if use efi; then
|
||||
mkdir -p "${D}"${EFI_MOUNTPOINT}/efi/${EFI_VENDOR} || die
|
||||
fi
|
||||
|
||||
emake LDFLAGS="$(raw-ldflags)" DESTDIR="${D}" -C xen ${myopt} install
|
||||
|
||||
# make install likes to throw in some extra EFI bits if it built
|
||||
use efi || rm -rf "${D}/usr/$(get_libdir)/efi"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Official Xen Guide:"
|
||||
elog " https://wiki.gentoo.org/wiki/Xen"
|
||||
|
||||
use efi && einfo "The efi executable is installed in boot/efi/gentoo"
|
||||
|
||||
elog "You can optionally block the installation of /boot/xen-syms by an entry"
|
||||
elog "in folder /etc/portage/env using the portage's feature INSTALL_MASK"
|
||||
elog "e.g. echo ${msg} > /etc/portage/env/xen.conf"
|
||||
}
|
Binary file not shown.
|
@ -1,4 +1,4 @@
|
|||
AUX calcurse-4.2.1-tinfo.patch 644 BLAKE2B e304953d56dc8891138e909f0b7b31b85b89a16800a1e8efc64a199cb884b730c3123f902ffe2095d392c41cbf0f65b88d440fff2133816b2763ea74a5e44770 SHA512 099ead1b288717e9d9eff331c2fbb9ff8deb19b1843109549ebdab30e8e59cc9cbb01a89c87e84e9283003ce70fc595e2305936a8a0918b0996b5fab1854cb5f
|
||||
DIST calcurse-4.4.0.tar.gz 620263 BLAKE2B 8fbe875f5e757ec3c11b9c23a994260403ee990bfcb3d4c41eefbf06a6db9e76cd5157e32b11c3fdc049896d5db3a9856862724902dab1cb48e0b00ef5df6f73 SHA512 43d30ad68bb39aaa9460644a691e66cbb15b9930737581583da65d00214c70fb1148a0edeca4430abb7a5cef2821b0f4c6fdbed8188d9ea5da5fedc4f95fa07c
|
||||
EBUILD calcurse-4.4.0.ebuild 719 BLAKE2B 4e3a19a737f86bfcbdb2dc4979e6b5b0ea0e88b37cb46cf927a429dc330441b62e872c4cbdef60d091e631cb4af93a3d8a2b649b64acc8d345a7e4f4841e4331 SHA512 fb7294eeb49872818406a1c23757049f1de57853e7157022326d3c813e53c504616f5eba20f6aeb15151b2ab784e798dffec3b599802919ef3c18a17600a8048
|
||||
EBUILD calcurse-4.4.0-r1.ebuild 806 BLAKE2B 906fc28573ed4e463085c18e686e37dce2ecc4e3006d2364bdafceea4ea225ac2cf2f65cbf04c14aa44e62e5482464d1e0a9c8283d16f9a1cdbdc37c8745fd46 SHA512 2c464b7384b2791d9d41ac2b5e371a124e984634e81a6ac8cdd1e3ccf21695ed47c42447a0e3b8ee2ccc0aa0f5ae5ea771d36e1e01e18b8d455edb3581945bf8
|
||||
MISC metadata.xml 542 BLAKE2B 3b8858b3784dee744d56a735c20ca5faf165a5e9ec1ba4789206aa112b6dacfbe7ae563263eb24fd28da6be5bc02573f9ebfeadda96a9378f577d31a022f623e SHA512 6dcb0459490f73f429bb62201b0168f87c841b66d3e14671628ed6507c57704c16f26fe1ed5a7a0b896087a6847eb76c00680bb76f801d2220c64506d4ba1d2b
|
||||
|
|
|
@ -1,9 +1,10 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python3_{6..8} )
|
||||
|
||||
inherit autotools eutils multilib-minimal
|
||||
inherit autotools python-single-r1
|
||||
|
||||
DESCRIPTION="a text-based calendar and scheduling application"
|
||||
HOMEPAGE="https://calcurse.org/"
|
||||
|
@ -12,9 +13,11 @@ SRC_URI="https://calcurse.org/files/${P}.tar.gz"
|
|||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ppc ppc64 x86"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/httplib2
|
||||
${PYTHON_DEPS}
|
||||
$(python_gen_cond_dep 'dev-python/httplib2[${PYTHON_MULTI_USEDEP}]')
|
||||
sys-libs/ncurses:0="
|
||||
|
||||
DEPEND="
|
||||
|
@ -27,19 +30,17 @@ PATCHES=(
|
|||
# Most tests fail.
|
||||
RESTRICT="test"
|
||||
|
||||
pkg_setup() {
|
||||
:
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
ECONF_SOURCE="${S}" econf
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
multilib-minimal_src_compile
|
||||
}
|
||||
|
||||
src_install() {
|
||||
multilib-minimal_src_install
|
||||
default
|
||||
python_setup
|
||||
python_fix_shebang contrib/caldav/calcurse-caldav
|
||||
}
|
Binary file not shown.
|
@ -1,6 +1,8 @@
|
|||
DIST gentoolkit-0.4.6.tar.gz 3205641 BLAKE2B 7da91a313c8a9263eb7b4abd6207ece9dd602a5069a87f1e78ada13fc9f396e1f2afddaf0637c473445034cf57b5ca7631e209361a88fa3892d302b20f4cc986 SHA512 3aa3c9af7e994313400607943b9090fd813227ddd6d550b50fbcf7eeb4053da8bcdb41c9ef2579d957d2f279fdcc4e2f2ceca1091c5fd457df4204dd11792d6e
|
||||
DIST gentoolkit-0.4.7.tar.gz 3205669 BLAKE2B e5f64b85546bc10ad16e7fa42d288965539177375e8796b40df699859efa13fb98bb86aec58e60363c955b2d5e4b2e6379a7597252ee4fdbeec49559de67b328 SHA512 0fab600b4323d23e12009eeb4ade595950880a88b05bcfbfeada1a9b9af615b96d31c568285629bf6e5de7b45ed857bdf98b6261dc54974fbaf70c924e093c76
|
||||
DIST gentoolkit-0.4.8.tar.gz 3206070 BLAKE2B 7f689ae85136827b8af50401165ccd44bc824e12bec43dad786c7221ec78ee3c1f14d538d197e277a2fedc23f570440f4ec7c0cc707a146814315ff6de48c115 SHA512 689b4229c5d2b6f4440b7d3d57e4b9be5265eead53737890c17dbd0510df287f5c19f86b924735d4ad146d1a500c59a15869b718cbf805b894b0bf115b69f838
|
||||
EBUILD gentoolkit-0.4.6.ebuild 2292 BLAKE2B 12263be3d543b2e3c69edbcab38af14dd6217c0c4ede6902ce69339bf98e63020f0a2e1e617ed48183b5d2aae5ab8f8960d83864ee55cdd3b6a494d9e198cc21 SHA512 541d311ff54b41832d005fa4b1317fda10ac24a0709b84daafa4e0c962378bef9828c34ea7bfb96556e6245d3655eed17c9f0f115c6a8142008c2c4016e2cfb7
|
||||
EBUILD gentoolkit-0.4.7.ebuild 2310 BLAKE2B 343f4afd25c4b7a48cc5ce3b6018ff0d50ef548c54283b1a96f07b39dc1080363bbc8a37bc4e1c8ce5eb0e418d5ff8cbc3841a66fdb5c9d8e9c5f1f5b6405333 SHA512 2fbf333a7aa03111bb41a7b38f93fcc7aef15159a22c6ba3a8415c0d5d2ba06a40c096ca186828510c74e38219857b82606193519e1b269a88fa89da36e382ba
|
||||
EBUILD gentoolkit-0.4.8.ebuild 2310 BLAKE2B 343f4afd25c4b7a48cc5ce3b6018ff0d50ef548c54283b1a96f07b39dc1080363bbc8a37bc4e1c8ce5eb0e418d5ff8cbc3841a66fdb5c9d8e9c5f1f5b6405333 SHA512 2fbf333a7aa03111bb41a7b38f93fcc7aef15159a22c6ba3a8415c0d5d2ba06a40c096ca186828510c74e38219857b82606193519e1b269a88fa89da36e382ba
|
||||
EBUILD gentoolkit-9999.ebuild 2079 BLAKE2B d9907f6e1a70545548ad15f74c247f7d59fb03e692dac268934d966d63a3340db301b4a1d3d58e804e948bd5d18bd5b4af1956eaf5d66f31a515fcc5b6a2dcbf SHA512 c526f20479299dc0849bc3cc55b540c4713e0220a511aba0668b6e9fdb781b52fb3ba51bf9940bde1615ee98a8042b325f0158c412bc002825b44ee3a7e34009
|
||||
MISC metadata.xml 558 BLAKE2B 2ede18c080565469ba0be5ac6f2e34ab02f9367947ef1e380deed006c5ca2900468e142ee1d7c8664d62ed49caeb64069726f0426251a00d48a848af745128b4 SHA512 8e57275ae720065361529af42999f9bfe871007e45592ee6f539eec4ce61e6b141f44c65316ee10798bfaecc86a814fa18353becbb31ffc5e2c38df100ac3704
|
||||
|
|
75
app-portage/gentoolkit/gentoolkit-0.4.8.ebuild
Normal file
75
app-portage/gentoolkit/gentoolkit-0.4.8.ebuild
Normal file
|
@ -0,0 +1,75 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DISTUTILS_USE_SETUPTOOLS=no
|
||||
PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
|
||||
PYTHON_REQ_USE="xml(+),threads(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Collection of administration scripts for Gentoo"
|
||||
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Portage-Tools"
|
||||
SRC_URI="https://gitweb.gentoo.org/proj/gentoolkit.git/snapshot/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
IUSE=""
|
||||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||
|
||||
DEPEND="
|
||||
sys-apps/portage[${PYTHON_USEDEP}]"
|
||||
RDEPEND="${DEPEND}
|
||||
sys-apps/gawk
|
||||
sys-apps/gentoo-functions"
|
||||
|
||||
python_prepare_all() {
|
||||
python_setup
|
||||
echo VERSION="${PVR}" "${PYTHON}" setup.py set_version
|
||||
VERSION="${PVR}" "${PYTHON}" setup.py set_version
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
if has_version "<${CATEGORY}/${PN}-0.4.0"; then
|
||||
SHOW_GENTOOKIT_DEV_DEPRECATED_MSG=1
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Create cache directory for revdep-rebuild
|
||||
mkdir -p -m 0755 "${EROOT}"/var/cache
|
||||
mkdir -p -m 0700 "${EROOT}"/var/cache/revdep-rebuild
|
||||
|
||||
if [[ ${SHOW_GENTOOKIT_DEV_DEPRECATED_MSG} ]]; then
|
||||
elog "Starting with version 0.4.0, ebump, ekeyword and imlate are now"
|
||||
elog "part of the gentoolkit package."
|
||||
elog "The gentoolkit-dev package is now deprecated in favor of a single"
|
||||
elog "gentoolkit package. The remaining tools from gentoolkit-dev"
|
||||
elog "are now obsolete/unused with the git based tree."
|
||||
fi
|
||||
|
||||
# Only show the elog information on a new install
|
||||
if [[ ! ${REPLACING_VERSIONS} ]]; then
|
||||
elog
|
||||
elog "For further information on gentoolkit, please read the gentoolkit"
|
||||
elog "guide: https://wiki.gentoo.org/wiki/Gentoolkit"
|
||||
elog
|
||||
elog "Another alternative to equery is app-portage/portage-utils"
|
||||
elog
|
||||
elog "Additional tools that may be of interest:"
|
||||
elog
|
||||
elog " app-admin/eclean-kernel"
|
||||
elog " app-portage/diffmask"
|
||||
elog " app-portage/flaggie"
|
||||
elog " app-portage/install-mask"
|
||||
elog " app-portage/portpeek"
|
||||
elog " app-portage/smart-live-rebuild"
|
||||
fi
|
||||
}
|
|
@ -1,6 +1,3 @@
|
|||
EBUILD prefix-toolkit-4.ebuild 18535 BLAKE2B 836627d06a4740707af1e7f31f1cc6e0e280f1eb1a3e573621d471038e6470a9c599eb2d4ff37120636a395d5db7a1d20b88d204302f9a8772522ca2b551c6b9 SHA512 97efb29fee5db4f6442847eddf0ca9ec975887122861a6faeb55950019cb2c4dc128822e253adfc920f7dd96b0877f70fa35eda54dd8f1da750c5baffc72a99c
|
||||
EBUILD prefix-toolkit-5.ebuild 19268 BLAKE2B 541668fe2a2e61ce4c5e0cb58457a57a468b470fa39e55cb4232d4920e4b9c99855d15031e251737e5c24096395ce7a0f2c83057fc9f4382b35e1741e6aa281f SHA512 87b7d304843460e9f5186641a9e4dbc16ec69271cad386d33c93821d93752db2eae8a60f3c432465f0fb1d2222d8b945f96cbaf1adf99c1ea0faa48620cd82d9
|
||||
EBUILD prefix-toolkit-6.ebuild 19713 BLAKE2B d100582c77a6cae781ee193d087b872d7f5566d7efa722f81cd8d0467a3ed003bedff4a29a66215c53c45daf1f0bfad82f2481c7f91e649d32f4aa8303037a01 SHA512 ad842621bc4fd54808f5d0079bc9ac6a87a41bf62cc3f2b53d4d51a42fe108c81d090263c76e96ef505f99a833687b36228d6ae7a9616a3bd2213c4d48a70b74
|
||||
EBUILD prefix-toolkit-7.ebuild 19918 BLAKE2B a1acff8bf9b7bd961d5441f557baafb4d5e3fd5a5b4b2a32010d14472c3bcc3ff481c11a146fb81ef60e45a3e9806b16ae8c904d03503f7ffe492f5ea6f38773 SHA512 89438c6f0a2e38b97190f52915b3365ade4816bc67fa6c9970ed32b475da2c12bbc0a5ec5a7304bfb41fcd8c4eab0e4b4f8ff804c7018d0bff2c291ef32d6645
|
||||
EBUILD prefix-toolkit-8.ebuild 19947 BLAKE2B d32f9ff7edb08edf8d236c92037654fe68ba1f2b263e2d8bef3a6065fd242fadbbfab0fbe24300412c81d4915221183171520342d72e2c35643624fdec734730 SHA512 fcc6df990c48b7b7508493b7aab82bd578df5fe6d06fa8cfb100264b8fce6b268f5e2770f5dd88ef9c44bd504180ae67b8fb3c4a66b4e73a17d75da3a7f39560
|
||||
EBUILD prefix-toolkit-9.ebuild 20305 BLAKE2B 6417c15d1611ac471672a1082e1ae2427842ad5983ec2c1f3f39b0a961dc4790fab50e13f1e7ce9da28f6b9563be207489336147d016d724a241030c1b652a14 SHA512 0acdc25b3e8720ce993d6514b3bb17791404527414e4ca172aada36f94cbfddc449543c80db433858efb52445d1725b81a30ec7b627d0691a43b74258594c480
|
||||
MISC metadata.xml 243 BLAKE2B d650658b3e248940751d20c9e517a011a34f8d99df54d5203162d67c21df384f507e44ed0c848c1adc99fae8d511e204129f2709f5bdc5d1b2c8e41120bbe6db SHA512 8489be9ea6eac385511b0d193b1b61fad9c8e0d4cb86fd711e6faf04e66b2c935ae64ce6ce0a044d036e76de6787e5d440d67f831e89261a71e74b645a0999d9
|
||||
|
|
|
@ -1,650 +0,0 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Utilities for users of Gentoo Prefix"
|
||||
HOMEPAGE="https://prefix.gentoo.org/"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
[[ ${PV} == 9999 ]] ||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||
|
||||
DEPEND="
|
||||
!app-portage/prefix-chain-setup
|
||||
!sys-apps/prefix-chain-utils
|
||||
"
|
||||
BDEPEND="${DEPEND}
|
||||
>sys-apps/portage-2.3.62
|
||||
"
|
||||
# In prefix-stack, these dependencies actually are the @system set,
|
||||
# as we rely on the base prefix anyway for package management,
|
||||
# which should have a proper @system set.
|
||||
# See als: pkg_preinst
|
||||
RDEPEND="${DEPEND}
|
||||
prefix-stack? (
|
||||
>=sys-apps/baselayout-prefix-2.6
|
||||
sys-apps/gentoo-functions
|
||||
app-portage/elt-patches
|
||||
sys-devel/gnuconfig
|
||||
sys-devel/gcc-config
|
||||
)
|
||||
"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
my_unpack() {
|
||||
local infile=$1
|
||||
local outfile=${2:-${infile}}
|
||||
ebegin "extracting ${outfile}"
|
||||
sed -ne "/^: ${infile} /,/EOIN/{/EOIN/d;p}" "${EBUILD}" \
|
||||
> "${outfile}" || die "Failed to unpack ${outfile}"
|
||||
eend $?
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if use prefix-stack ; then
|
||||
my_unpack prefix-stack.bash_login
|
||||
my_unpack prefix-stack.bashrc
|
||||
my_unpack prefix-stack.envd.99stack
|
||||
my_unpack prefix-stack-ccwrap
|
||||
local editor pager
|
||||
for editor in "${EDITOR}" {"${EPREFIX}","${BROOT}"}/bin/nano
|
||||
do
|
||||
[[ -x ${editor} ]] || continue
|
||||
done
|
||||
for pager in "${PAGER}" {"${EPREFIX}","${BROOT}"}/usr/bin/less
|
||||
do
|
||||
[[ -x ${pager} ]] || continue
|
||||
done
|
||||
printf '%s\n' "EDITOR=\"${editor}\"" "PAGER=\"${pager}\"" > 000fallback
|
||||
else
|
||||
my_unpack prefix-stack-setup
|
||||
fi
|
||||
my_unpack startprefix
|
||||
}
|
||||
|
||||
my_prefixify() {
|
||||
local ebash eenv
|
||||
if use prefix-stack ; then
|
||||
ebash="${BROOT}/bin/bash"
|
||||
eenv="${BROOT}/usr/bin/env"
|
||||
else
|
||||
ebash="${EPREFIX}/bin/bash"
|
||||
eenv="${EPREFIX}/usr/bin/env"
|
||||
fi
|
||||
|
||||
# the @=@ prevents repoman from believing we set readonly vars
|
||||
sed -e "s,@GENTOO_PORTAGE_BPREFIX@,${BROOT},g" \
|
||||
-e "s,@GENTOO_PORTAGE_EPREFIX@,${EPREFIX},g" \
|
||||
-e "s,@GENTOO_PORTAGE_CHOST@,${CHOST},g" \
|
||||
-e "s,@GENTOO_PORTAGE_EBASH@,${ebash},g" \
|
||||
-e "s,@GENTOO_PORTAGE_EENV@,${eenv},g" \
|
||||
-e "s,@=@,=,g" \
|
||||
-i "$@" || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# do not eprefixify during unpack, to allow userpatches to apply
|
||||
my_prefixify *
|
||||
}
|
||||
|
||||
src_install-prefix-stack-ccwrap() {
|
||||
# install toolchain wrapper.
|
||||
local wrapperdir=/usr/${CHOST}/gcc-bin/${CHOST}-${PN}/${PV}
|
||||
local wrappercfg=${CHOST}-${P}
|
||||
|
||||
exeinto $wrapperdir
|
||||
doexe prefix-stack-ccwrap
|
||||
|
||||
local cc
|
||||
for cc in \
|
||||
gcc \
|
||||
g++ \
|
||||
cpp \
|
||||
c++ \
|
||||
windres \
|
||||
; do
|
||||
dosym prefix-stack-ccwrap $wrapperdir/${CHOST}-${cc}
|
||||
dosym ${CHOST}-${cc} $wrapperdir/${cc}
|
||||
done
|
||||
|
||||
# LDPATH is required to keep gcc-config happy :(
|
||||
cat > ./${wrappercfg} <<-EOF
|
||||
GCC_PATH="${EPREFIX}$wrapperdir"
|
||||
LDPATH="${EPREFIX}$wrapperdir"
|
||||
EOF
|
||||
|
||||
insinto /etc/env.d/gcc
|
||||
doins ./${wrappercfg}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use prefix-stack; then
|
||||
src_install-prefix-stack-ccwrap
|
||||
insinto /etc
|
||||
doins prefix-stack.bash_login
|
||||
insinto /etc/bash
|
||||
newins prefix-stack.bashrc bashrc
|
||||
newenvd prefix-stack.envd.99stack 99stack
|
||||
doenvd 000fallback
|
||||
else
|
||||
dobin prefix-stack-setup
|
||||
fi
|
||||
exeinto /
|
||||
doexe startprefix
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
use prefix-stack || return 0
|
||||
ebegin "Purging @system package set for prefix stack"
|
||||
# In prefix stack we empty out the @system set defined via make.profile,
|
||||
# as we may be using some normal profile, but that @system set applies
|
||||
# to the base prefix only.
|
||||
# Instead, we only put ourselve into the @system set, and have additional
|
||||
# @system packages in our RDEPEND.
|
||||
my_lsprofile() {
|
||||
(
|
||||
cd -P "${1:-.}" || exit 1
|
||||
[[ -r ./parent ]] &&
|
||||
for p in $(<parent)
|
||||
do
|
||||
my_lsprofile "${p}" || exit 1
|
||||
done
|
||||
pwd -P
|
||||
)
|
||||
}
|
||||
local systemset="/etc/portage/profile/packages"
|
||||
dodir "${systemset%/*}"
|
||||
[[ -s ${EROOT}${systemset} ]] &&
|
||||
grep -v "# maintained by ${PN}" \
|
||||
"${EROOT}${systemset}" \
|
||||
> "${ED}${systemset}"
|
||||
local p
|
||||
for p in $(my_lsprofile "${EPREFIX}"/etc/portage/make.profile)
|
||||
do
|
||||
[[ -s ${p}/${systemset##*/} ]] || continue
|
||||
awk '/^[ \t]*[^-#]/{print "-" $1 " # maintained by '"${PN}-${PVR}"'"}' \
|
||||
< "${p}"/packages || die
|
||||
done | sort -u >> "${ED}${systemset}"
|
||||
[[ ${PIPESTATUS[@]} == "0 0" ]] || die "failed to collect for ${systemset}"
|
||||
echo "*${CATEGORY}/${PN} # maintained by ${PN}-${PVR}" >> "${ED}${systemset}" || die
|
||||
eend $?
|
||||
}
|
||||
|
||||
return 0
|
||||
|
||||
: startprefix <<'EOIN'
|
||||
#!@GENTOO_PORTAGE_EBASH@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Fabian Groffen <grobian@gentoo.org> -- 2007-03-10
|
||||
# Enters the prefix environment by starting a login shell from the
|
||||
# prefix. The SHELL environment variable is elevated in order to make
|
||||
# applications that start login shells to work, such as `screen`.
|
||||
|
||||
# if you come from a substantially polluted environment (another
|
||||
# Prefix), a cleanup as follows resolves most oddities I've ever seen:
|
||||
# env -i HOME=$HOME TERM=$TERM USER=$USER $SHELL -l
|
||||
# hence this script starts the Prefix shell like this
|
||||
|
||||
if [[ ${SHELL#@GENTOO_PORTAGE_EPREFIX@} != ${SHELL} ]]
|
||||
then
|
||||
echo "You appear to be in prefix already (SHELL=${SHELL})" > /dev/stderr
|
||||
exit -1
|
||||
elif [[ ${SHELL#@GENTOO_PORTAGE_BPREFIX@} != ${SHELL} ]] &&
|
||||
[[ ${EPREFIX-unset} == '@GENTOO_PORTAGE_EPREFIX@' ]]
|
||||
then
|
||||
echo "You appear to be in stacked prefix already (EPREFIX=${EPREFIX})" > /dev/stderr
|
||||
exit -1
|
||||
fi
|
||||
|
||||
# What is our prefix?
|
||||
EPREFIX@=@'@GENTOO_PORTAGE_EPREFIX@'
|
||||
BPREFIX@=@'@GENTOO_PORTAGE_BPREFIX@'
|
||||
|
||||
# not all systems have the same location for shells, however what it
|
||||
# boils down to, is that we need to know what the shell is, and then we
|
||||
# can find it in the bin dir of our prefix
|
||||
for SHELL in \
|
||||
"${EPREFIX}/bin/${SHELL##*/}" \
|
||||
"${BPREFIX}/bin/${SHELL##*/}" \
|
||||
${SHELL##*/}
|
||||
do
|
||||
[[ ${SHELL} == */* && -x ${SHELL} ]] && break
|
||||
done
|
||||
|
||||
# check if the shell exists
|
||||
if [[ ${SHELL} != */* ]]
|
||||
then
|
||||
echo "Failed to find the Prefix shell, this is probably" > /dev/stderr
|
||||
echo "because you didn't emerge the shell ${SHELL}" > /dev/stderr
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# set the prefix shell in the environment
|
||||
export SHELL
|
||||
|
||||
# give a small notice
|
||||
echo "Entering Gentoo Prefix ${EPREFIX}"
|
||||
# start the login shell, clean the entire environment but what's needed
|
||||
RETAIN="HOME=$HOME TERM=$TERM USER=$USER SHELL=$SHELL"
|
||||
# PROFILEREAD is necessary on SUSE not to wipe the env on shell start
|
||||
[[ -n ${PROFILEREAD} ]] && RETAIN+=" PROFILEREAD=$PROFILEREAD"
|
||||
# ssh-agent is handy to keep, of if set, inherit it
|
||||
[[ -n ${SSH_AUTH_SOCK} ]] && RETAIN+=" SSH_AUTH_SOCK=$SSH_AUTH_SOCK"
|
||||
# if we're on some X terminal, makes sense to inherit that too
|
||||
[[ -n ${DISPLAY} ]] && RETAIN+=" DISPLAY=$DISPLAY"
|
||||
# do it!
|
||||
if [[ ${SHELL#${EPREFIX}} != ${SHELL} ]] ; then
|
||||
'@GENTOO_PORTAGE_EENV@' -i $RETAIN $SHELL -l
|
||||
elif [[ ' bash ' == *" ${SHELL##*/} "* ]] ; then
|
||||
# shell coming from different prefix would load it's own
|
||||
# etc/profile upon -l, so we have to override
|
||||
'@GENTOO_PORTAGE_EENV@' -i ${RETAIN} "${SHELL}" --rcfile "${EPREFIX}"/etc/prefix-stack.bash_login -i
|
||||
else
|
||||
echo "Only bash is supported with stacked Prefix (you have ${SHELL##*/}), sorry!" > /dev/stderr
|
||||
exit 1
|
||||
fi
|
||||
# and leave a message when we exit... the shell might return non-zero
|
||||
# without having real problems, so don't send alarming messages about
|
||||
# that
|
||||
echo "Leaving Gentoo Prefix with exit status $?"
|
||||
EOIN
|
||||
|
||||
: prefix-stack.bashrc <<'EOIN'
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
#
|
||||
# In stacked Prefix there is no bash installed, yet
|
||||
# etc/bash/bashrc from base Prefix still is useful.
|
||||
#
|
||||
|
||||
if [[ $- != *i* ]] ; then
|
||||
# Shell is non-interactive, bashrc does not apply
|
||||
return
|
||||
fi
|
||||
|
||||
if [[ -r @GENTOO_PORTAGE_BPREFIX@/etc/bash/bashrc ]] ; then
|
||||
source '@GENTOO_PORTAGE_BPREFIX@/etc/bash/bashrc'
|
||||
# only if base Prefix does have an etc/bash/bashrc, we also
|
||||
# run bashrc snippets provided by packages in stacked Prefix
|
||||
for sh in '@GENTOO_PORTAGE_EPREFIX@'/etc/bash/bashrc.d/* ; do
|
||||
[[ -r ${sh} ]] && source "${sh}"
|
||||
done
|
||||
unset sh
|
||||
else
|
||||
# etc/profile does expect etc/bash/bashrc to set PS1
|
||||
PS1='\u@\h \w \$ '
|
||||
fi
|
||||
EOIN
|
||||
|
||||
: prefix-stack.bash_login <<'EOIN'
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
#
|
||||
# In stacked Prefix there is no bash installed, so there is
|
||||
# no bash able to load this Prefix' profile as login shell.
|
||||
# Instead, you can specify this one as bash rcfile to mimic
|
||||
# a bash login shell using this stacked Prefix profile.
|
||||
#
|
||||
|
||||
if [[ -s '@GENTOO_PORTAGE_EPREFIX@/etc/profile' ]] ; then
|
||||
. '@GENTOO_PORTAGE_EPREFIX@/etc/profile'
|
||||
fi
|
||||
if [[ -s ~/.bash_profile ]] ; then
|
||||
. ~/.bash_profile
|
||||
elif [[ -s ~/.bash_login ]] ; then
|
||||
. ~/.bash_login
|
||||
elif [[ -s ~/.profile ]] ; then
|
||||
. ~/.profile
|
||||
fi
|
||||
EOIN
|
||||
|
||||
: prefix-stack.envd.99stack <<'EOIN'
|
||||
PKG_CONFIG_PATH@=@"@GENTOO_PORTAGE_EPREFIX@/usr/lib/pkgconfig:@GENTOO_PORTAGE_EPREFIX@/usr/share/pkgconfig"
|
||||
PORTAGE_CONFIGROOT@=@"@GENTOO_PORTAGE_EPREFIX@"
|
||||
EPREFIX@=@"@GENTOO_PORTAGE_EPREFIX@"
|
||||
EOIN
|
||||
|
||||
: prefix-stack-setup <<'EOIN'
|
||||
#!@GENTOO_PORTAGE_EPREFIX@/bin/bash
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
PARENT_EPREFIX="@GENTOO_PORTAGE_EPREFIX@"
|
||||
PARENT_CHOST="@GENTOO_PORTAGE_CHOST@"
|
||||
CHILD_EPREFIX=
|
||||
CHILD_PROFILE=
|
||||
CHILD_CHOST=
|
||||
|
||||
#
|
||||
# get ourselfs the functions.sh script for ebegin/eend/etc.
|
||||
#
|
||||
for f in \
|
||||
/lib/gentoo/functions.sh \
|
||||
/etc/init.d/functions.sh \
|
||||
/sbin/functions.sh \
|
||||
; do
|
||||
if [[ -r ${PARENT_EPREFIX}${f} ]] ; then
|
||||
. "${PARENT_EPREFIX}${f}"
|
||||
f=found
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ ${f} != found ]] ; then
|
||||
echo "Cannot find Gentoo functions, aborting." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
for arg in "$@"; do
|
||||
case "${arg}" in
|
||||
--eprefix=*) CHILD_EPREFIX="${arg#--eprefix=}" ;;
|
||||
--profile=*) CHILD_PROFILE="${arg#--profile=}" ;;
|
||||
--chost=*) CHILD_CHOST="${arg#--chost=}" ;;
|
||||
|
||||
--help)
|
||||
einfo "$0 usage:"
|
||||
einfo " --eprefix=[PATH] Path to new EPREFIX to create stacked to the prefix"
|
||||
einfo " where this script is installed (${PARENT_EPREFIX})"
|
||||
einfo " --profile=[PATH] The absolute path to the profile to use. This path"
|
||||
einfo " must point to a directory within ${PARENT_EPREFIX}"
|
||||
einfo " --chost=[CHOST] The CHOST to use for the new EPREFIX, required if"
|
||||
einfo " the profile does not set CHOST, or to override."
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
#
|
||||
# sanity check of given values
|
||||
#
|
||||
|
||||
test -n "${CHILD_EPREFIX}" || { eerror "no eprefix argument given"; exit 1; }
|
||||
test -d "${CHILD_EPREFIX}" && { eerror "${CHILD_EPREFIX} already exists"; exit 1; }
|
||||
test -n "${CHILD_PROFILE}" || { eerror "no profile argument given"; exit 1; }
|
||||
test -d "${CHILD_PROFILE}" || { eerror "${CHILD_PROFILE} does not exist"; exit 1; }
|
||||
|
||||
if [[ -z ${CHILD_CHOST} ]]
|
||||
then
|
||||
my_lsprofile() {
|
||||
(
|
||||
cd -P "${1:-.}" || exit 1
|
||||
[[ -r ./parent ]] &&
|
||||
for p in $(<parent)
|
||||
do
|
||||
my_lsprofile "${p}" || exit 1
|
||||
done
|
||||
pwd -P
|
||||
)
|
||||
}
|
||||
|
||||
for profile in $(my_lsprofile "${CHILD_PROFILE}") missing
|
||||
do
|
||||
if [[ ${profile} == missing ]]
|
||||
then
|
||||
eerror "profile does not set CHOST, need --chost argument"
|
||||
exit 1
|
||||
fi
|
||||
[[ -s "${profile}/make.defaults" ]] || continue
|
||||
grep -q '^[ ]*CHOST@=@' "${profile}/make.defaults" && break
|
||||
done
|
||||
fi
|
||||
|
||||
einfo "creating stacked prefix ${CHILD_EPREFIX}"
|
||||
|
||||
#
|
||||
# functions needed below.
|
||||
#
|
||||
eend_exit() {
|
||||
eend $1
|
||||
[[ $1 != 0 ]] && exit 1
|
||||
}
|
||||
|
||||
#
|
||||
# create the directories required to bootstrap the least.
|
||||
#
|
||||
ebegin "creating directory structure"
|
||||
(
|
||||
set -e
|
||||
mkdir -p "${CHILD_EPREFIX}"/etc/portage/profile/use.mask
|
||||
mkdir -p "${CHILD_EPREFIX}"/etc/portage/profile/use.force
|
||||
mkdir -p "${CHILD_EPREFIX}"/etc/portage/env
|
||||
mkdir -p "${CHILD_EPREFIX}"/etc/portage/package.env
|
||||
ln -s "${PARENT_EPREFIX}"/etc/portage/repos.conf "${CHILD_EPREFIX}"/etc/portage/repos.conf
|
||||
)
|
||||
eend_exit $?
|
||||
|
||||
#
|
||||
# create a make.conf and set PORTDIR and PORTAGE_TMPDIR
|
||||
#
|
||||
ebegin "creating make.conf"
|
||||
(
|
||||
set -e
|
||||
echo "#"
|
||||
echo "# The following values where taken from the parent prefix's"
|
||||
echo "# environment. Feel free to adopt them as you like."
|
||||
echo "#"
|
||||
echo "CFLAGS=\"$(portageq envvar CFLAGS)\""
|
||||
echo "CXXFLAGS=\"$(portageq envvar CXXFLAGS)\""
|
||||
echo "MAKEOPTS=\"$(portageq envvar MAKEOPTS)\""
|
||||
niceness=$(portageq envvar PORTAGE_NICENESS || true)
|
||||
[[ -n ${niceness} ]] &&
|
||||
echo "PORTAGE_NICENESS=\"${niceness}\""
|
||||
echo
|
||||
echo "# Mirrors from parent prefix."
|
||||
echo "GENTOO_MIRRORS=\"$(portageq envvar GENTOO_MIRRORS || true)\""
|
||||
echo
|
||||
echo "# Below comes the prefix-stack setup. Only change things"
|
||||
echo "# if you know exactly what you are doing!"
|
||||
echo "EPREFIX=\"${CHILD_EPREFIX}\""
|
||||
echo "PORTAGE_OVERRIDE_EPREFIX=\"${PARENT_EPREFIX}\""
|
||||
echo "BROOT=\"${PARENT_EPREFIX}\""
|
||||
# Since EAPI 7 there is BDEPEND, which is DEPEND in EAPI up to 6.
|
||||
# We do not want to pull DEPEND from EAPI <= 6, but RDEPEND only.
|
||||
echo "EMERGE_DEFAULT_OPTS=\"--root-deps=rdeps\""
|
||||
if [[ -n ${CHILD_CHOST} ]] ; then
|
||||
echo "CHOST=\"${CHILD_CHOST}\""
|
||||
fi
|
||||
) > "${CHILD_EPREFIX}"/etc/portage/make.conf
|
||||
eend_exit $?
|
||||
|
||||
ebegin "creating use.mask/prefix-stack"
|
||||
printf -- '-%s\n' prefix{,-guest,-stack} > "${CHILD_EPREFIX}"/etc/portage/profile/use.mask/prefix-stack
|
||||
eend_exit $?
|
||||
|
||||
ebegin "creating use.force/prefix-stack"
|
||||
printf -- '%s\n' prefix{,-guest,-stack} > "${CHILD_EPREFIX}"/etc/portage/profile/use.force/prefix-stack
|
||||
eend_exit $?
|
||||
|
||||
ebegin "creating env/host-cc.conf"
|
||||
cat > "${CHILD_EPREFIX}"/etc/portage/env/host-cc.conf <<-EOM
|
||||
CC=${PARENT_CHOST}-gcc
|
||||
CXX=${PARENT_CHOST}-g++
|
||||
EOM
|
||||
eend_exit $?
|
||||
|
||||
ebegin "creating package.env/prefix-stack"
|
||||
cat > "${CHILD_EPREFIX}"/etc/portage/package.env/prefix-stack <<-'EOM'
|
||||
# merge with the parent's chost. this forces the use of the parent
|
||||
# compiler, which generally would be illegal - this is an exception.
|
||||
# This is required for example on winnt, because the wrapper has to
|
||||
# be able to use/resolve symlinks, etc. native winnt binaries miss
|
||||
# that ability, but cygwin binaries don't.
|
||||
sys-devel/gcc-config host-cc.conf
|
||||
sys-apps/gentoo-functions host-cc.conf
|
||||
EOM
|
||||
eend_exit $?
|
||||
|
||||
#
|
||||
# create the make.profile symlinks.
|
||||
#
|
||||
ebegin "creating make.profile"
|
||||
(
|
||||
ln -s "${CHILD_PROFILE}" "${CHILD_EPREFIX}/etc/portage/make.profile"
|
||||
)
|
||||
eend_exit $?
|
||||
|
||||
#
|
||||
# adjust permissions of generated files.
|
||||
#
|
||||
ebegin "adjusting permissions"
|
||||
(
|
||||
set -e
|
||||
chmod 644 "${CHILD_EPREFIX}"/etc/portage/make.conf
|
||||
chmod 644 "${CHILD_EPREFIX}"/etc/portage/env/host-cc.conf
|
||||
chmod 644 "${CHILD_EPREFIX}"/etc/portage/package.env/prefix-stack
|
||||
)
|
||||
eend_exit $?
|
||||
|
||||
#
|
||||
# now merge some basics.
|
||||
#
|
||||
ebegin "installing required basic packages"
|
||||
(
|
||||
set -e
|
||||
export PORTAGE_CONFIGROOT@=@"${CHILD_EPREFIX}"
|
||||
export EPREFIX@=@"${CHILD_EPREFIX}"
|
||||
export PORTAGE_OVERRIDE_EPREFIX@=@"${PARENT_EPREFIX}"
|
||||
|
||||
# let baselayout create the directories
|
||||
USE@=@"${USE} build" \
|
||||
emerge --verbose --nodeps --oneshot \
|
||||
'>=baselayout-prefix-2.6'
|
||||
|
||||
# In prefix-stack, app-portage/prefix-toolkit does
|
||||
# install/update an etc/portage/profile/packages file,
|
||||
# removing all @system packages from current make.profile,
|
||||
# and adding itself to @system set instead.
|
||||
emerge --verbose --nodeps --oneshot \
|
||||
app-portage/prefix-toolkit
|
||||
|
||||
# In prefix-stack, prefix-toolkit does have an RDEPEND on them,
|
||||
# to hold them in the @system set.
|
||||
emerge --verbose --nodeps --oneshot \
|
||||
sys-apps/gentoo-functions \
|
||||
app-portage/elt-patches \
|
||||
sys-devel/gnuconfig \
|
||||
sys-devel/gcc-config
|
||||
|
||||
# select the stack wrapper profile from gcc-config
|
||||
env -i PORTAGE_CONFIGROOT="${CHILD_EPREFIX}" \
|
||||
"$(type -P bash)" "${CHILD_EPREFIX}"/usr/bin/gcc-config 1
|
||||
)
|
||||
eend_exit $?
|
||||
|
||||
#
|
||||
# wow, all ok :)
|
||||
#
|
||||
ewarn
|
||||
ewarn "all done. don't forget to tune ${CHILD_EPREFIX}/etc/portage/make.conf."
|
||||
ewarn "to enter the new prefix, run \"${CHILD_EPREFIX}/startprefix\"."
|
||||
ewarn
|
||||
EOIN
|
||||
|
||||
: prefix-stack-ccwrap <<'EOIN'
|
||||
#!@GENTOO_PORTAGE_BPREFIX@/bin/bash
|
||||
|
||||
if [ -r /cygdrive/. ]; then
|
||||
winpath2unix() { cygpath -u "$1"; }
|
||||
unixpath2win() { cygpath -w "$1"; }
|
||||
fi
|
||||
|
||||
myself=${0##*/} # basename $0
|
||||
link_dirs=()
|
||||
opts=()
|
||||
chost="@GENTOO_PORTAGE_CHOST@"
|
||||
prefix="@GENTOO_PORTAGE_EPREFIX@"
|
||||
absprefix=${prefix}
|
||||
if [[ ${chost} == *"-winnt"* ]]; then
|
||||
# we may get called from windows binary, like pkgdata in dev-libs/icu
|
||||
# in this case, PATH elements get the "/dev/fs/C/WINDOWS/SUA" prefix
|
||||
absprefix=$(winpath2unix "$(unixpath2win "${absprefix}")")
|
||||
fi
|
||||
[[ ${myself} == *windres* ]] && mode=compile || mode=link
|
||||
orig_args=("$@")
|
||||
|
||||
for opt in "$@"
|
||||
do
|
||||
case "$opt" in
|
||||
-L)
|
||||
link_dirs=("${link_dirs[@]}" "-L$1")
|
||||
shift
|
||||
;;
|
||||
-L*)
|
||||
link_dirs=("${link_dirs[@]}" "${opt}")
|
||||
;;
|
||||
*)
|
||||
case "${opt}" in
|
||||
-v)
|
||||
# -v done right: only use mode version if -v is the _only_
|
||||
# argument on the command line.
|
||||
[[ ${#orig_args[@]} -gt 1 ]] || mode=version
|
||||
;;
|
||||
--version) mode=version ;;
|
||||
-c|-E|-S) mode=compile ;;
|
||||
-print-search-dirs) mode=dirs ;;
|
||||
esac
|
||||
opts=("${opts[@]}" "${opt}")
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
# remove any path to current prefix, need base prefix only
|
||||
new_path=
|
||||
save_ifs=$IFS
|
||||
IFS=':'
|
||||
for p in $PATH
|
||||
do
|
||||
IFS=$save_ifs
|
||||
[[ ${p#${absprefix}} != "${p}" ]] && continue
|
||||
if [[ -z "${new_path}" ]]; then
|
||||
new_path="${p}"
|
||||
else
|
||||
new_path="${new_path}:${p}"
|
||||
fi
|
||||
done
|
||||
IFS=$save_ifs
|
||||
|
||||
PATH=${new_path}
|
||||
|
||||
pfx_comp=("-I${prefix}/include" "-I${prefix}/usr/include")
|
||||
pfx_link=("-L${prefix}/usr/lib" "-L${prefix}/lib")
|
||||
# binutils-config's ldwrapper understands '-R' for aix and hpux too.
|
||||
pfx_link_r=("-Wl,-R,${prefix}/lib" "-Wl,-R,${prefix}/usr/lib")
|
||||
case "${chost}" in
|
||||
*-winnt*)
|
||||
# parity (winnt) understands -rpath only ...
|
||||
pfx_link_r=("-Wl,-rpath,${prefix}/lib" "-Wl,-rpath,${prefix}/usr/lib")
|
||||
;;
|
||||
*-linux*)
|
||||
# With gcc, -isystem would avoid warning messages in installed headers,
|
||||
# but that breaks with AIX host headers.
|
||||
pfx_comp=("-isystem" "${prefix}/include" "-isystem" "${prefix}/usr/include")
|
||||
;;
|
||||
esac
|
||||
|
||||
# ensure we run the right chost program in base prefix
|
||||
[[ ${myself} == *-*-*-* ]] || myself=${chost}-${myself#${chost}-}
|
||||
|
||||
case "$mode" in
|
||||
link) exec "${myself}" "${link_dirs[@]}" "${pfx_link[@]}" "${opts[@]}" "${pfx_comp[@]}" "${pfx_link_r[@]}" ;;
|
||||
compile) exec "${myself}" "${link_dirs[@]}" "${opts[@]}" "${pfx_comp[@]}" ;;
|
||||
version) exec "${myself}" "${orig_args[@]}" ;;
|
||||
dirs)
|
||||
"${myself}" "${orig_args[@]}" | while read line; do
|
||||
if [[ "${line}" == "libraries: ="* ]]; then
|
||||
echo "libraries: =${prefix}/usr/lib:${prefix}/lib:${line#"libraries: ="}"
|
||||
else
|
||||
echo "${line}"
|
||||
fi
|
||||
done
|
||||
;;
|
||||
*) echo "cannot infer ${myself}'s mode from comamnd line arguments"; exit 1 ;;
|
||||
esac
|
||||
EOIN
|
|
@ -1,665 +0,0 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Utilities for users of Gentoo Prefix"
|
||||
HOMEPAGE="https://prefix.gentoo.org/"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
[[ ${PV} == 9999 ]] ||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||
|
||||
DEPEND="
|
||||
!app-portage/prefix-chain-setup
|
||||
!sys-apps/prefix-chain-utils
|
||||
"
|
||||
BDEPEND="${DEPEND}
|
||||
>sys-apps/portage-2.3.62
|
||||
"
|
||||
# In prefix-stack, these dependencies actually are the @system set,
|
||||
# as we rely on the base prefix anyway for package management,
|
||||
# which should have a proper @system set.
|
||||
# See als: pkg_preinst
|
||||
RDEPEND="${DEPEND}
|
||||
prefix-stack? (
|
||||
>=sys-apps/baselayout-prefix-2.6
|
||||
sys-apps/gentoo-functions
|
||||
app-portage/elt-patches
|
||||
sys-devel/gnuconfig
|
||||
sys-devel/gcc-config
|
||||
)
|
||||
"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
my_unpack() {
|
||||
local infile=$1
|
||||
local outfile=${2:-${infile}}
|
||||
ebegin "extracting ${outfile}"
|
||||
sed -ne "/^: ${infile} /,/EOIN/{/EOIN/d;p}" "${EBUILD}" \
|
||||
> "${outfile}" || die "Failed to unpack ${outfile}"
|
||||
eend $?
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if use prefix-stack ; then
|
||||
my_unpack prefix-stack.bash_login
|
||||
my_unpack prefix-stack.bashrc
|
||||
my_unpack prefix-stack.envd.99stack
|
||||
my_unpack prefix-stack-ccwrap
|
||||
local editor pager
|
||||
for editor in "${EDITOR}" {"${EPREFIX}","${BROOT}"}/bin/nano
|
||||
do
|
||||
[[ -x ${editor} ]] || continue
|
||||
done
|
||||
for pager in "${PAGER}" {"${EPREFIX}","${BROOT}"}/usr/bin/less
|
||||
do
|
||||
[[ -x ${pager} ]] || continue
|
||||
done
|
||||
printf '%s\n' "EDITOR=\"${editor}\"" "PAGER=\"${pager}\"" > 000fallback
|
||||
else
|
||||
my_unpack prefix-stack-setup
|
||||
fi
|
||||
my_unpack startprefix
|
||||
}
|
||||
|
||||
my_prefixify() {
|
||||
local ebash eenv
|
||||
if use prefix-stack ; then
|
||||
ebash="${BROOT}/bin/bash"
|
||||
eenv="${BROOT}/usr/bin/env"
|
||||
else
|
||||
ebash="${EPREFIX}/bin/bash"
|
||||
eenv="${EPREFIX}/usr/bin/env"
|
||||
fi
|
||||
|
||||
# the @=@ prevents repoman from believing we set readonly vars
|
||||
sed -e "s,@GENTOO_PORTAGE_BPREFIX@,${BROOT},g" \
|
||||
-e "s,@GENTOO_PORTAGE_EPREFIX@,${EPREFIX},g" \
|
||||
-e "s,@GENTOO_PORTAGE_CHOST@,${CHOST},g" \
|
||||
-e "s,@GENTOO_PORTAGE_EBASH@,${ebash},g" \
|
||||
-e "s,@GENTOO_PORTAGE_EENV@,${eenv},g" \
|
||||
-e "s,@=@,=,g" \
|
||||
-i "$@" || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# do not eprefixify during unpack, to allow userpatches to apply
|
||||
my_prefixify *
|
||||
}
|
||||
|
||||
src_install-prefix-stack-ccwrap() {
|
||||
# install toolchain wrapper.
|
||||
local wrapperdir=/usr/${CHOST}/gcc-bin/${CHOST}-${PN}/${PV}
|
||||
local wrappercfg=${CHOST}-${P}
|
||||
|
||||
exeinto $wrapperdir
|
||||
doexe prefix-stack-ccwrap
|
||||
|
||||
local cc
|
||||
for cc in \
|
||||
gcc \
|
||||
g++ \
|
||||
cpp \
|
||||
c++ \
|
||||
windres \
|
||||
; do
|
||||
dosym prefix-stack-ccwrap $wrapperdir/${CHOST}-${cc}
|
||||
dosym ${CHOST}-${cc} $wrapperdir/${cc}
|
||||
done
|
||||
|
||||
# LDPATH is required to keep gcc-config happy :(
|
||||
cat > ./${wrappercfg} <<-EOF
|
||||
GCC_PATH="${EPREFIX}$wrapperdir"
|
||||
LDPATH="${EPREFIX}$wrapperdir"
|
||||
EOF
|
||||
|
||||
insinto /etc/env.d/gcc
|
||||
doins ./${wrappercfg}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use prefix-stack; then
|
||||
src_install-prefix-stack-ccwrap
|
||||
insinto /etc
|
||||
doins prefix-stack.bash_login
|
||||
insinto /etc/bash
|
||||
newins prefix-stack.bashrc bashrc
|
||||
newenvd prefix-stack.envd.99stack 99stack
|
||||
doenvd 000fallback
|
||||
else
|
||||
dobin prefix-stack-setup
|
||||
fi
|
||||
exeinto /
|
||||
doexe startprefix
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
use prefix-stack || return 0
|
||||
ebegin "Purging @system package set for prefix stack"
|
||||
# In prefix stack we empty out the @system set defined via make.profile,
|
||||
# as we may be using some normal profile, but that @system set applies
|
||||
# to the base prefix only.
|
||||
# Instead, we only put ourselve into the @system set, and have additional
|
||||
# @system packages in our RDEPEND.
|
||||
my_lsprofile() {
|
||||
(
|
||||
cd -P "${1:-.}" || exit 1
|
||||
[[ -r ./parent ]] &&
|
||||
for p in $(<parent)
|
||||
do
|
||||
my_lsprofile "${p}" || exit 1
|
||||
done
|
||||
pwd -P
|
||||
)
|
||||
}
|
||||
local systemset="/etc/portage/profile/packages"
|
||||
dodir "${systemset%/*}"
|
||||
[[ -s ${EROOT}${systemset} ]] &&
|
||||
grep -v "# maintained by ${PN}" \
|
||||
"${EROOT}${systemset}" \
|
||||
> "${ED}${systemset}"
|
||||
local p
|
||||
for p in $(my_lsprofile "${EPREFIX}"/etc/portage/make.profile)
|
||||
do
|
||||
[[ -s ${p}/${systemset##*/} ]] || continue
|
||||
awk '/^[ \t]*[^-#]/{print "-" $1 " # maintained by '"${PN}-${PVR}"'"}' \
|
||||
< "${p}"/packages || die
|
||||
done | sort -u >> "${ED}${systemset}"
|
||||
[[ ${PIPESTATUS[@]} == "0 0" ]] || die "failed to collect for ${systemset}"
|
||||
echo "*${CATEGORY}/${PN} # maintained by ${PN}-${PVR}" >> "${ED}${systemset}" || die
|
||||
eend $?
|
||||
}
|
||||
|
||||
return 0
|
||||
|
||||
: startprefix <<'EOIN'
|
||||
#!@GENTOO_PORTAGE_EBASH@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Fabian Groffen <grobian@gentoo.org> -- 2007-03-10
|
||||
# Enters the prefix environment by starting a login shell from the
|
||||
# prefix. The SHELL environment variable is elevated in order to make
|
||||
# applications that start login shells to work, such as `screen`.
|
||||
|
||||
# if you come from a substantially polluted environment (another
|
||||
# Prefix), a cleanup as follows resolves most oddities I've ever seen:
|
||||
# env -i HOME=$HOME TERM=$TERM USER=$USER $SHELL -l
|
||||
# hence this script starts the Prefix shell like this
|
||||
|
||||
if [[ ${SHELL#@GENTOO_PORTAGE_EPREFIX@} != ${SHELL} ]]
|
||||
then
|
||||
echo "You appear to be in prefix already (SHELL=${SHELL})" > /dev/stderr
|
||||
exit -1
|
||||
elif [[ ${SHELL#@GENTOO_PORTAGE_BPREFIX@} != ${SHELL} ]] &&
|
||||
[[ ${EPREFIX-unset} == '@GENTOO_PORTAGE_EPREFIX@' ]]
|
||||
then
|
||||
echo "You appear to be in stacked prefix already (EPREFIX=${EPREFIX})" > /dev/stderr
|
||||
exit -1
|
||||
fi
|
||||
|
||||
# What is our prefix?
|
||||
EPREFIX@=@'@GENTOO_PORTAGE_EPREFIX@'
|
||||
BPREFIX@=@'@GENTOO_PORTAGE_BPREFIX@'
|
||||
|
||||
# not all systems have the same location for shells, however what it
|
||||
# boils down to, is that we need to know what the shell is, and then we
|
||||
# can find it in the bin dir of our prefix
|
||||
for SHELL in \
|
||||
"${EPREFIX}/bin/${SHELL##*/}" \
|
||||
"${BPREFIX}/bin/${SHELL##*/}" \
|
||||
${SHELL##*/}
|
||||
do
|
||||
[[ ${SHELL} == */* && -x ${SHELL} ]] && break
|
||||
done
|
||||
|
||||
# check if the shell exists
|
||||
if [[ ${SHELL} != */* ]]
|
||||
then
|
||||
echo "Failed to find the Prefix shell, this is probably" > /dev/stderr
|
||||
echo "because you didn't emerge the shell ${SHELL}" > /dev/stderr
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# set the prefix shell in the environment
|
||||
export SHELL
|
||||
|
||||
# give a small notice
|
||||
echo "Entering Gentoo Prefix ${EPREFIX}"
|
||||
# start the login shell, clean the entire environment but what's needed
|
||||
RETAIN="HOME=$HOME TERM=$TERM USER=$USER SHELL=$SHELL"
|
||||
# PROFILEREAD is necessary on SUSE not to wipe the env on shell start
|
||||
[[ -n ${PROFILEREAD} ]] && RETAIN+=" PROFILEREAD=$PROFILEREAD"
|
||||
# ssh-agent is handy to keep, of if set, inherit it
|
||||
[[ -n ${SSH_AUTH_SOCK} ]] && RETAIN+=" SSH_AUTH_SOCK=$SSH_AUTH_SOCK"
|
||||
# if we're on some X terminal, makes sense to inherit that too
|
||||
[[ -n ${DISPLAY} ]] && RETAIN+=" DISPLAY=$DISPLAY"
|
||||
if [[ -d /proc/registry ]]; then # we're on Cygwin
|
||||
# crucial to Windows but cannot be restored, see
|
||||
# https://cygwin.com/ml/cygwin/2019-08/msg00072.html
|
||||
[[ -n ${SYSTEMDRIVE} ]] && RETAIN+=" SYSTEMDRIVE=$SYSTEMDRIVE"
|
||||
# COMSPEC is to native Windows what SHELL is to *nix
|
||||
[[ -n ${COMSPEC} ]] && RETAIN+=" COMSPEC=$COMSPEC"
|
||||
# some Windows programs (e.g. devenv.exe) need TMP or TEMP
|
||||
[[ -n ${TEMP} ]] && RETAIN+=" TEMP=$TEMP"
|
||||
fi
|
||||
# do it!
|
||||
if [[ ${SHELL#${EPREFIX}} != ${SHELL} ]] ; then
|
||||
'@GENTOO_PORTAGE_EENV@' -i $RETAIN $SHELL -l
|
||||
elif [[ ' bash ' == *" ${SHELL##*/} "* ]] ; then
|
||||
# shell coming from different prefix would load it's own
|
||||
# etc/profile upon -l, so we have to override
|
||||
'@GENTOO_PORTAGE_EENV@' -i ${RETAIN} "${SHELL}" --rcfile "${EPREFIX}"/etc/prefix-stack.bash_login -i
|
||||
else
|
||||
echo "Only bash is supported with stacked Prefix (you have ${SHELL##*/}), sorry!" > /dev/stderr
|
||||
exit 1
|
||||
fi
|
||||
# and leave a message when we exit... the shell might return non-zero
|
||||
# without having real problems, so don't send alarming messages about
|
||||
# that
|
||||
echo "Leaving Gentoo Prefix with exit status $?"
|
||||
EOIN
|
||||
|
||||
: prefix-stack.bashrc <<'EOIN'
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
#
|
||||
# In stacked Prefix there is no bash installed, yet
|
||||
# etc/bash/bashrc from base Prefix still is useful.
|
||||
#
|
||||
|
||||
if [[ $- != *i* ]] ; then
|
||||
# Shell is non-interactive, bashrc does not apply
|
||||
return
|
||||
fi
|
||||
|
||||
if [[ -r @GENTOO_PORTAGE_BPREFIX@/etc/bash/bashrc ]] ; then
|
||||
source '@GENTOO_PORTAGE_BPREFIX@/etc/bash/bashrc'
|
||||
# only if base Prefix does have an etc/bash/bashrc, we also
|
||||
# run bashrc snippets provided by packages in stacked Prefix
|
||||
for sh in '@GENTOO_PORTAGE_EPREFIX@'/etc/bash/bashrc.d/* ; do
|
||||
[[ -r ${sh} ]] && source "${sh}"
|
||||
done
|
||||
unset sh
|
||||
else
|
||||
# etc/profile does expect etc/bash/bashrc to set PS1
|
||||
PS1='\u@\h \w \$ '
|
||||
fi
|
||||
EOIN
|
||||
|
||||
: prefix-stack.bash_login <<'EOIN'
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
#
|
||||
# In stacked Prefix there is no bash installed, so there is
|
||||
# no bash able to load this Prefix' profile as login shell.
|
||||
# Instead, you can specify this one as bash rcfile to mimic
|
||||
# a bash login shell using this stacked Prefix profile.
|
||||
#
|
||||
|
||||
if [[ -s '@GENTOO_PORTAGE_EPREFIX@/etc/profile' ]] ; then
|
||||
. '@GENTOO_PORTAGE_EPREFIX@/etc/profile'
|
||||
fi
|
||||
if [[ -s ~/.bash_profile ]] ; then
|
||||
. ~/.bash_profile
|
||||
elif [[ -s ~/.bash_login ]] ; then
|
||||
. ~/.bash_login
|
||||
elif [[ -s ~/.profile ]] ; then
|
||||
. ~/.profile
|
||||
fi
|
||||
EOIN
|
||||
|
||||
: prefix-stack.envd.99stack <<'EOIN'
|
||||
PKG_CONFIG_PATH@=@"@GENTOO_PORTAGE_EPREFIX@/usr/lib/pkgconfig:@GENTOO_PORTAGE_EPREFIX@/usr/share/pkgconfig"
|
||||
PORTAGE_CONFIGROOT@=@"@GENTOO_PORTAGE_EPREFIX@"
|
||||
EPREFIX@=@"@GENTOO_PORTAGE_EPREFIX@"
|
||||
EOIN
|
||||
|
||||
: prefix-stack-setup <<'EOIN'
|
||||
#!@GENTOO_PORTAGE_EPREFIX@/bin/bash
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
PARENT_EPREFIX="@GENTOO_PORTAGE_EPREFIX@"
|
||||
PARENT_CHOST="@GENTOO_PORTAGE_CHOST@"
|
||||
CHILD_EPREFIX=
|
||||
CHILD_PROFILE=
|
||||
CHILD_CHOST=
|
||||
|
||||
#
|
||||
# get ourselfs the functions.sh script for ebegin/eend/etc.
|
||||
#
|
||||
for f in \
|
||||
/lib/gentoo/functions.sh \
|
||||
/etc/init.d/functions.sh \
|
||||
/sbin/functions.sh \
|
||||
; do
|
||||
if [[ -r ${PARENT_EPREFIX}${f} ]] ; then
|
||||
. "${PARENT_EPREFIX}${f}"
|
||||
f=found
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ ${f} != found ]] ; then
|
||||
echo "Cannot find Gentoo functions, aborting." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
for arg in "$@"; do
|
||||
case "${arg}" in
|
||||
--eprefix=*) CHILD_EPREFIX="${arg#--eprefix=}" ;;
|
||||
--profile=*) CHILD_PROFILE="${arg#--profile=}" ;;
|
||||
--chost=*) CHILD_CHOST="${arg#--chost=}" ;;
|
||||
|
||||
--help)
|
||||
einfo "$0 usage:"
|
||||
einfo " --eprefix=[PATH] Path to new EPREFIX to create stacked to the prefix"
|
||||
einfo " where this script is installed (${PARENT_EPREFIX})"
|
||||
einfo " --profile=[PATH] The absolute path to the profile to use. This path"
|
||||
einfo " must point to a directory within ${PARENT_EPREFIX}"
|
||||
einfo " --chost=[CHOST] The CHOST to use for the new EPREFIX, required if"
|
||||
einfo " the profile does not set CHOST, or to override."
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
#
|
||||
# sanity check of given values
|
||||
#
|
||||
|
||||
test -n "${CHILD_EPREFIX}" || { eerror "no eprefix argument given"; exit 1; }
|
||||
test -d "${CHILD_EPREFIX}" && { eerror "${CHILD_EPREFIX} already exists"; exit 1; }
|
||||
test -n "${CHILD_PROFILE}" || { eerror "no profile argument given"; exit 1; }
|
||||
test -d "${CHILD_PROFILE}" || { eerror "${CHILD_PROFILE} does not exist"; exit 1; }
|
||||
|
||||
if [[ -z ${CHILD_CHOST} ]]
|
||||
then
|
||||
my_lsprofile() {
|
||||
(
|
||||
cd -P "${1:-.}" || exit 1
|
||||
[[ -r ./parent ]] &&
|
||||
for p in $(<parent)
|
||||
do
|
||||
my_lsprofile "${p}" || exit 1
|
||||
done
|
||||
pwd -P
|
||||
)
|
||||
}
|
||||
|
||||
for profile in $(my_lsprofile "${CHILD_PROFILE}") missing
|
||||
do
|
||||
if [[ ${profile} == missing ]]
|
||||
then
|
||||
eerror "profile does not set CHOST, need --chost argument"
|
||||
exit 1
|
||||
fi
|
||||
[[ -s "${profile}/make.defaults" ]] || continue
|
||||
grep -q '^[ ]*CHOST@=@' "${profile}/make.defaults" && break
|
||||
done
|
||||
fi
|
||||
|
||||
einfo "creating stacked prefix ${CHILD_EPREFIX}"
|
||||
|
||||
#
|
||||
# functions needed below.
|
||||
#
|
||||
eend_exit() {
|
||||
eend $1
|
||||
[[ $1 != 0 ]] && exit 1
|
||||
}
|
||||
|
||||
#
|
||||
# create the directories required to bootstrap the least.
|
||||
#
|
||||
ebegin "creating directory structure"
|
||||
(
|
||||
set -e
|
||||
mkdir -p "${CHILD_EPREFIX}"/var/tmp/portage
|
||||
mkdir -p "${CHILD_EPREFIX}"/etc/portage/profile/use.mask
|
||||
mkdir -p "${CHILD_EPREFIX}"/etc/portage/profile/use.force
|
||||
mkdir -p "${CHILD_EPREFIX}"/etc/portage/env
|
||||
mkdir -p "${CHILD_EPREFIX}"/etc/portage/package.env
|
||||
ln -s "${PARENT_EPREFIX}"/etc/portage/repos.conf "${CHILD_EPREFIX}"/etc/portage/repos.conf
|
||||
)
|
||||
eend_exit $?
|
||||
|
||||
#
|
||||
# create a make.conf and set PORTDIR and PORTAGE_TMPDIR
|
||||
#
|
||||
ebegin "creating make.conf"
|
||||
(
|
||||
set -e
|
||||
echo "#"
|
||||
echo "# These are sane default compiler flags, feel free to adopt them as you like."
|
||||
echo "# Extending the flags is done to respect flags probably set by some profile."
|
||||
echo "#"
|
||||
echo "CFLAGS=\"\${CFLAGS} -O2 -pipe\""
|
||||
echo "CXXFLAGS=\"${CXXFLAGS} -O2 -pipe\""
|
||||
echo "MAKEOPTS=\"$(portageq envvar MAKEOPTS)\""
|
||||
niceness=$(portageq envvar PORTAGE_NICENESS || true)
|
||||
[[ -n ${niceness} ]] &&
|
||||
echo "PORTAGE_NICENESS=\"${niceness}\""
|
||||
echo
|
||||
echo "# Mirrors from parent prefix."
|
||||
echo "GENTOO_MIRRORS=\"$(portageq envvar GENTOO_MIRRORS || true)\""
|
||||
echo
|
||||
echo "# Below comes the prefix-stack setup. Only change things"
|
||||
echo "# if you know exactly what you are doing!"
|
||||
echo "EPREFIX=\"${CHILD_EPREFIX}\""
|
||||
echo "PORTAGE_OVERRIDE_EPREFIX=\"${PARENT_EPREFIX}\""
|
||||
echo "BROOT=\"${PARENT_EPREFIX}\""
|
||||
echo "PORTAGE_TMPDIR=\"\${EPREFIX}/var/tmp\""
|
||||
# Since EAPI 7 there is BDEPEND, which is DEPEND in EAPI up to 6.
|
||||
# We do not want to pull DEPEND from EAPI <= 6, but RDEPEND only.
|
||||
echo "EMERGE_DEFAULT_OPTS=\"--root-deps=rdeps\""
|
||||
if [[ -n ${CHILD_CHOST} ]] ; then
|
||||
echo "CHOST=\"${CHILD_CHOST}\""
|
||||
fi
|
||||
) > "${CHILD_EPREFIX}"/etc/portage/make.conf
|
||||
eend_exit $?
|
||||
|
||||
ebegin "creating use.mask/prefix-stack"
|
||||
printf -- '-%s\n' prefix{,-guest,-stack} > "${CHILD_EPREFIX}"/etc/portage/profile/use.mask/prefix-stack
|
||||
eend_exit $?
|
||||
|
||||
ebegin "creating use.force/prefix-stack"
|
||||
printf -- '%s\n' prefix{,-guest,-stack} > "${CHILD_EPREFIX}"/etc/portage/profile/use.force/prefix-stack
|
||||
eend_exit $?
|
||||
|
||||
ebegin "creating env/host-cc.conf"
|
||||
cat > "${CHILD_EPREFIX}"/etc/portage/env/host-cc.conf <<-EOM
|
||||
CC=${PARENT_CHOST}-gcc
|
||||
CXX=${PARENT_CHOST}-g++
|
||||
# Inherited compiler flags from parent prefix,
|
||||
# as the child prefix may have a different compiler.
|
||||
CFLAGS="$(portageq envvar CFLAGS)"
|
||||
CXXFLAGS="$(portageq envvar CXXFLAGS)"
|
||||
EOM
|
||||
eend_exit $?
|
||||
|
||||
ebegin "creating package.env/prefix-stack"
|
||||
cat > "${CHILD_EPREFIX}"/etc/portage/package.env/prefix-stack <<-'EOM'
|
||||
# merge with the parent's chost. this forces the use of the parent
|
||||
# compiler, which generally would be illegal - this is an exception.
|
||||
# This is required for example on winnt, because the wrapper has to
|
||||
# be able to use/resolve symlinks, etc. native winnt binaries miss
|
||||
# that ability, but cygwin binaries don't.
|
||||
sys-devel/gcc-config host-cc.conf
|
||||
sys-apps/gentoo-functions host-cc.conf
|
||||
EOM
|
||||
eend_exit $?
|
||||
|
||||
#
|
||||
# create the make.profile symlinks.
|
||||
#
|
||||
ebegin "creating make.profile"
|
||||
(
|
||||
ln -s "${CHILD_PROFILE}" "${CHILD_EPREFIX}/etc/portage/make.profile"
|
||||
)
|
||||
eend_exit $?
|
||||
|
||||
#
|
||||
# adjust permissions of generated files.
|
||||
#
|
||||
ebegin "adjusting permissions"
|
||||
(
|
||||
set -e
|
||||
chmod 644 "${CHILD_EPREFIX}"/etc/portage/make.conf
|
||||
chmod 644 "${CHILD_EPREFIX}"/etc/portage/env/host-cc.conf
|
||||
chmod 644 "${CHILD_EPREFIX}"/etc/portage/package.env/prefix-stack
|
||||
)
|
||||
eend_exit $?
|
||||
|
||||
#
|
||||
# now merge some basics.
|
||||
#
|
||||
ebegin "installing required basic packages"
|
||||
(
|
||||
set -e
|
||||
export PORTAGE_CONFIGROOT@=@"${CHILD_EPREFIX}"
|
||||
export EPREFIX@=@"${CHILD_EPREFIX}"
|
||||
export PORTAGE_OVERRIDE_EPREFIX@=@"${PARENT_EPREFIX}"
|
||||
|
||||
# let baselayout create the directories
|
||||
USE@=@"${USE} build" \
|
||||
emerge --verbose --nodeps --oneshot \
|
||||
'>=baselayout-prefix-2.6'
|
||||
|
||||
# In prefix-stack, app-portage/prefix-toolkit does
|
||||
# install/update an etc/portage/profile/packages file,
|
||||
# removing all @system packages from current make.profile,
|
||||
# and adding itself to @system set instead.
|
||||
emerge --verbose --nodeps --oneshot \
|
||||
app-portage/prefix-toolkit
|
||||
|
||||
# In prefix-stack, prefix-toolkit does have an RDEPEND on them,
|
||||
# to hold them in the @system set.
|
||||
emerge --verbose --nodeps --oneshot \
|
||||
sys-apps/gentoo-functions \
|
||||
app-portage/elt-patches \
|
||||
sys-devel/gnuconfig \
|
||||
sys-devel/gcc-config
|
||||
|
||||
# select the stack wrapper profile from gcc-config
|
||||
env -i PORTAGE_CONFIGROOT="${CHILD_EPREFIX}" \
|
||||
"$(type -P bash)" "${CHILD_EPREFIX}"/usr/bin/gcc-config 1
|
||||
)
|
||||
eend_exit $?
|
||||
|
||||
#
|
||||
# wow, all ok :)
|
||||
#
|
||||
ewarn
|
||||
ewarn "all done. don't forget to tune ${CHILD_EPREFIX}/etc/portage/make.conf."
|
||||
ewarn "to enter the new prefix, run \"${CHILD_EPREFIX}/startprefix\"."
|
||||
ewarn
|
||||
EOIN
|
||||
|
||||
: prefix-stack-ccwrap <<'EOIN'
|
||||
#!@GENTOO_PORTAGE_BPREFIX@/bin/bash
|
||||
|
||||
if [ -r /cygdrive/. ]; then
|
||||
winpath2unix() { cygpath -u "$1"; }
|
||||
unixpath2win() { cygpath -w "$1"; }
|
||||
fi
|
||||
|
||||
myself=${0##*/} # basename $0
|
||||
link_dirs=()
|
||||
opts=()
|
||||
chost="@GENTOO_PORTAGE_CHOST@"
|
||||
prefix="@GENTOO_PORTAGE_EPREFIX@"
|
||||
absprefix=${prefix}
|
||||
if [[ ${chost} == *"-winnt"* ]]; then
|
||||
# we may get called from windows binary, like pkgdata in dev-libs/icu
|
||||
# in this case, PATH elements get the "/dev/fs/C/WINDOWS/SUA" prefix
|
||||
absprefix=$(winpath2unix "$(unixpath2win "${absprefix}")")
|
||||
fi
|
||||
[[ ${myself} == *windres* ]] && mode=compile || mode=link
|
||||
orig_args=("$@")
|
||||
|
||||
for opt in "$@"
|
||||
do
|
||||
case "$opt" in
|
||||
-L)
|
||||
link_dirs=("${link_dirs[@]}" "-L$1")
|
||||
shift
|
||||
;;
|
||||
-L*)
|
||||
link_dirs=("${link_dirs[@]}" "${opt}")
|
||||
;;
|
||||
*)
|
||||
case "${opt}" in
|
||||
-v)
|
||||
# -v done right: only use mode version if -v is the _only_
|
||||
# argument on the command line.
|
||||
[[ ${#orig_args[@]} -gt 1 ]] || mode=version
|
||||
;;
|
||||
--version) mode=version ;;
|
||||
-c|-E|-S) mode=compile ;;
|
||||
-print-search-dirs) mode=dirs ;;
|
||||
esac
|
||||
opts=("${opts[@]}" "${opt}")
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
# remove any path to current prefix, need base prefix only
|
||||
new_path=
|
||||
save_ifs=$IFS
|
||||
IFS=':'
|
||||
for p in $PATH
|
||||
do
|
||||
IFS=$save_ifs
|
||||
[[ ${p#${absprefix}} != "${p}" ]] && continue
|
||||
if [[ -z "${new_path}" ]]; then
|
||||
new_path="${p}"
|
||||
else
|
||||
new_path="${new_path}:${p}"
|
||||
fi
|
||||
done
|
||||
IFS=$save_ifs
|
||||
|
||||
PATH=${new_path}
|
||||
|
||||
pfx_comp=("-I${prefix}/include" "-I${prefix}/usr/include")
|
||||
pfx_link=("-L${prefix}/usr/lib" "-L${prefix}/lib")
|
||||
# binutils-config's ldwrapper understands '-R' for aix and hpux too.
|
||||
pfx_link_r=("-Wl,-R,${prefix}/lib" "-Wl,-R,${prefix}/usr/lib")
|
||||
case "${chost}" in
|
||||
*-winnt*)
|
||||
# parity (winnt) understands -rpath only ...
|
||||
pfx_link_r=("-Wl,-rpath,${prefix}/lib" "-Wl,-rpath,${prefix}/usr/lib")
|
||||
;;
|
||||
*-linux*)
|
||||
# With gcc, -isystem would avoid warning messages in installed headers,
|
||||
# but that breaks with AIX host headers.
|
||||
pfx_comp=("-isystem" "${prefix}/include" "-isystem" "${prefix}/usr/include")
|
||||
;;
|
||||
esac
|
||||
|
||||
# ensure we run the right chost program in base prefix
|
||||
[[ ${myself} == *-*-*-* ]] || myself=${chost}-${myself#${chost}-}
|
||||
|
||||
case "$mode" in
|
||||
link) exec "${myself}" "${link_dirs[@]}" "${pfx_link[@]}" "${opts[@]}" "${pfx_comp[@]}" "${pfx_link_r[@]}" ;;
|
||||
compile) exec "${myself}" "${link_dirs[@]}" "${opts[@]}" "${pfx_comp[@]}" ;;
|
||||
version) exec "${myself}" "${orig_args[@]}" ;;
|
||||
dirs)
|
||||
"${myself}" "${orig_args[@]}" | while read line; do
|
||||
if [[ "${line}" == "libraries: ="* ]]; then
|
||||
echo "libraries: =${prefix}/usr/lib:${prefix}/lib:${line#"libraries: ="}"
|
||||
else
|
||||
echo "${line}"
|
||||
fi
|
||||
done
|
||||
;;
|
||||
*) echo "cannot infer ${myself}'s mode from comamnd line arguments"; exit 1 ;;
|
||||
esac
|
||||
EOIN
|
|
@ -1,685 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Utilities for users of Gentoo Prefix"
|
||||
HOMEPAGE="https://prefix.gentoo.org/"
|
||||
SRC_URI=""
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
[[ ${PV} == 9999 ]] ||
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris ~x86-winnt"
|
||||
|
||||
DEPEND="
|
||||
!app-portage/prefix-chain-setup
|
||||
!sys-apps/prefix-chain-utils
|
||||
"
|
||||
BDEPEND="${DEPEND}
|
||||
>sys-apps/portage-2.3.62
|
||||
"
|
||||
# In prefix-stack, these dependencies actually are the @system set,
|
||||
# as we rely on the base prefix anyway for package management,
|
||||
# which should have a proper @system set.
|
||||
# See als: pkg_preinst
|
||||
RDEPEND="${DEPEND}
|
||||
prefix-stack? (
|
||||
>=sys-apps/baselayout-prefix-2.6
|
||||
sys-apps/gentoo-functions
|
||||
app-portage/elt-patches
|
||||
sys-devel/gnuconfig
|
||||
sys-devel/gcc-config
|
||||
elibc_Winnt? (
|
||||
dev-libs/pthreads4w
|
||||
)
|
||||
)
|
||||
"
|
||||
|
||||
S="${WORKDIR}"
|
||||
|
||||
my_unpack() {
|
||||
local infile=$1
|
||||
local outfile=${2:-${infile}}
|
||||
ebegin "extracting ${outfile}"
|
||||
sed -ne "/^: ${infile} /,/EOIN/{/EOIN/d;p}" "${EBUILD}" \
|
||||
> "${outfile}" || die "Failed to unpack ${outfile}"
|
||||
eend $?
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if use prefix-stack ; then
|
||||
my_unpack prefix-stack.bash_login
|
||||
my_unpack prefix-stack.bashrc
|
||||
my_unpack prefix-stack.envd.99stack
|
||||
my_unpack prefix-stack-ccwrap
|
||||
local editor pager
|
||||
for editor in "${EDITOR}" {"${EPREFIX}","${BROOT}"}/bin/nano
|
||||
do
|
||||
[[ -x ${editor} ]] || continue
|
||||
done
|
||||
for pager in "${PAGER}" {"${EPREFIX}","${BROOT}"}/usr/bin/less
|
||||
do
|
||||
[[ -x ${pager} ]] || continue
|
||||
done
|
||||
printf '%s\n' "EDITOR=\"${editor}\"" "PAGER=\"${pager}\"" > 000fallback
|
||||
else
|
||||
my_unpack prefix-stack-setup
|
||||
fi
|
||||
my_unpack startprefix
|
||||
}
|
||||
|
||||
my_prefixify() {
|
||||
local ebash eenv
|
||||
if use prefix-stack ; then
|
||||
ebash="${BROOT}/bin/bash"
|
||||
eenv="${BROOT}/usr/bin/env"
|
||||
else
|
||||
ebash="${EPREFIX}/bin/bash"
|
||||
eenv="${EPREFIX}/usr/bin/env"
|
||||
fi
|
||||
|
||||
# the @=@ prevents repoman from believing we set readonly vars
|
||||
sed -e "s,@GENTOO_PORTAGE_BPREFIX@,${BROOT},g" \
|
||||
-e "s,@GENTOO_PORTAGE_EPREFIX@,${EPREFIX},g" \
|
||||
-e "s,@GENTOO_PORTAGE_CHOST@,${CHOST},g" \
|
||||
-e "s,@GENTOO_PORTAGE_EBASH@,${ebash},g" \
|
||||
-e "s,@GENTOO_PORTAGE_EENV@,${eenv},g" \
|
||||
-e "s,@=@,=,g" \
|
||||
-i "$@" || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# do not eprefixify during unpack, to allow userpatches to apply
|
||||
my_prefixify *
|
||||
}
|
||||
|
||||
src_install-prefix-stack-ccwrap() {
|
||||
# install toolchain wrapper.
|
||||
local wrapperdir=/usr/${CHOST}/gcc-bin/${CHOST}-${PN}/${PV}
|
||||
local wrappercfg=${CHOST}-${P}
|
||||
|
||||
exeinto $wrapperdir
|
||||
doexe prefix-stack-ccwrap
|
||||
|
||||
local cc
|
||||
for cc in \
|
||||
gcc \
|
||||
g++ \
|
||||
cpp \
|
||||
c++ \
|
||||
windres \
|
||||
; do
|
||||
dosym prefix-stack-ccwrap $wrapperdir/${CHOST}-${cc}
|
||||
dosym ${CHOST}-${cc} $wrapperdir/${cc}
|
||||
done
|
||||
|
||||
# LDPATH is required to keep gcc-config happy :(
|
||||
cat > ./${wrappercfg} <<-EOF
|
||||
GCC_PATH="${EPREFIX}$wrapperdir"
|
||||
LDPATH="${EPREFIX}$wrapperdir"
|
||||
EOF
|
||||
|
||||
insinto /etc/env.d/gcc
|
||||
doins ./${wrappercfg}
|
||||
}
|
||||
|
||||
src_install() {
|
||||
if use prefix-stack; then
|
||||
src_install-prefix-stack-ccwrap
|
||||
insinto /etc
|
||||
doins prefix-stack.bash_login
|
||||
insinto /etc/bash
|
||||
newins prefix-stack.bashrc bashrc
|
||||
newenvd prefix-stack.envd.99stack 99stack
|
||||
doenvd 000fallback
|
||||
else
|
||||
dobin prefix-stack-setup
|
||||
fi
|
||||
exeinto /
|
||||
doexe startprefix
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
use prefix-stack || return 0
|
||||
ebegin "Purging @system package set for prefix stack"
|
||||
# In prefix stack we empty out the @system set defined via make.profile,
|
||||
# as we may be using some normal profile, but that @system set applies
|
||||
# to the base prefix only.
|
||||
# Instead, we only put ourselve into the @system set, and have additional
|
||||
# @system packages in our RDEPEND.
|
||||
my_lsprofile() {
|
||||
(
|
||||
cd -P "${1:-.}" || exit 1
|
||||
[[ -r ./parent ]] &&
|
||||
for p in $(<parent)
|
||||
do
|
||||
my_lsprofile "${p}" || exit 1
|
||||
done
|
||||
pwd -P
|
||||
)
|
||||
}
|
||||
local systemset="/etc/portage/profile/packages"
|
||||
dodir "${systemset%/*}"
|
||||
[[ -s ${EROOT}${systemset} ]] &&
|
||||
grep -v "# maintained by ${PN}" \
|
||||
"${EROOT}${systemset}" \
|
||||
> "${ED}${systemset}"
|
||||
local p
|
||||
for p in $(my_lsprofile "${EPREFIX}"/etc/portage/make.profile)
|
||||
do
|
||||
[[ -s ${p}/${systemset##*/} ]] || continue
|
||||
awk '/^[ \t]*[^-#]/{print "-" $1 " # maintained by '"${PN}-${PVR}"'"}' \
|
||||
< "${p}"/packages || die
|
||||
done | sort -u >> "${ED}${systemset}"
|
||||
[[ ${PIPESTATUS[@]} == "0 0" ]] || die "failed to collect for ${systemset}"
|
||||
echo "*${CATEGORY}/${PN} # maintained by ${PN}-${PVR}" >> "${ED}${systemset}" || die
|
||||
eend $?
|
||||
}
|
||||
|
||||
return 0
|
||||
|
||||
: startprefix <<'EOIN'
|
||||
#!@GENTOO_PORTAGE_EBASH@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Fabian Groffen <grobian@gentoo.org> -- 2007-03-10
|
||||
# Enters the prefix environment by starting a login shell from the
|
||||
# prefix. The SHELL environment variable is elevated in order to make
|
||||
# applications that start login shells to work, such as `screen`.
|
||||
|
||||
# if you come from a substantially polluted environment (another
|
||||
# Prefix), a cleanup as follows resolves most oddities I've ever seen:
|
||||
# env -i HOME=$HOME TERM=$TERM USER=$USER $SHELL -l
|
||||
# hence this script starts the Prefix shell like this
|
||||
|
||||
if [[ ${SHELL#@GENTOO_PORTAGE_EPREFIX@} != ${SHELL} ]]
|
||||
then
|
||||
echo "You appear to be in prefix already (SHELL=${SHELL})" > /dev/stderr
|
||||
exit -1
|
||||
elif [[ ${SHELL#@GENTOO_PORTAGE_BPREFIX@} != ${SHELL} ]] &&
|
||||
[[ ${EPREFIX-unset} == '@GENTOO_PORTAGE_EPREFIX@' ]]
|
||||
then
|
||||
echo "You appear to be in stacked prefix already (EPREFIX=${EPREFIX})" > /dev/stderr
|
||||
exit -1
|
||||
fi
|
||||
|
||||
# What is our prefix?
|
||||
EPREFIX@=@'@GENTOO_PORTAGE_EPREFIX@'
|
||||
BPREFIX@=@'@GENTOO_PORTAGE_BPREFIX@'
|
||||
|
||||
# not all systems have the same location for shells, however what it
|
||||
# boils down to, is that we need to know what the shell is, and then we
|
||||
# can find it in the bin dir of our prefix
|
||||
for SHELL in \
|
||||
"${EPREFIX}/bin/${SHELL##*/}" \
|
||||
"${BPREFIX}/bin/${SHELL##*/}" \
|
||||
${SHELL##*/}
|
||||
do
|
||||
[[ ${SHELL} == */* && -x ${SHELL} ]] && break
|
||||
done
|
||||
|
||||
# check if the shell exists
|
||||
if [[ ${SHELL} != */* ]]
|
||||
then
|
||||
echo "Failed to find the Prefix shell, this is probably" > /dev/stderr
|
||||
echo "because you didn't emerge the shell ${SHELL}" > /dev/stderr
|
||||
exit 1
|
||||
fi
|
||||
|
||||
# set the prefix shell in the environment
|
||||
export SHELL
|
||||
|
||||
# give a small notice
|
||||
echo "Entering Gentoo Prefix ${EPREFIX}"
|
||||
# start the login shell, clean the entire environment but what's needed
|
||||
RETAIN="HOME=$HOME TERM=$TERM USER=$USER SHELL=$SHELL"
|
||||
# PROFILEREAD is necessary on SUSE not to wipe the env on shell start
|
||||
[[ -n ${PROFILEREAD} ]] && RETAIN+=" PROFILEREAD=$PROFILEREAD"
|
||||
# ssh-agent is handy to keep, of if set, inherit it
|
||||
[[ -n ${SSH_AUTH_SOCK} ]] && RETAIN+=" SSH_AUTH_SOCK=$SSH_AUTH_SOCK"
|
||||
# if we're on some X terminal, makes sense to inherit that too
|
||||
[[ -n ${DISPLAY} ]] && RETAIN+=" DISPLAY=$DISPLAY"
|
||||
if [[ -d /proc/registry ]]; then # we're on Cygwin
|
||||
# crucial to Windows but cannot be restored, see
|
||||
# https://cygwin.com/ml/cygwin/2019-08/msg00072.html
|
||||
[[ -n ${SYSTEMDRIVE} ]] && RETAIN+=" SYSTEMDRIVE=$SYSTEMDRIVE"
|
||||
# COMSPEC is to native Windows what SHELL is to *nix
|
||||
[[ -n ${COMSPEC} ]] && RETAIN+=" COMSPEC=$COMSPEC"
|
||||
# some Windows programs (e.g. devenv.exe) need TMP or TEMP
|
||||
[[ -n ${TEMP} ]] && RETAIN+=" TEMP=$TEMP"
|
||||
fi
|
||||
# do it!
|
||||
if [[ ${SHELL#${EPREFIX}} != ${SHELL} ]] ; then
|
||||
'@GENTOO_PORTAGE_EENV@' -i $RETAIN $SHELL -l
|
||||
elif [[ ' bash ' == *" ${SHELL##*/} "* ]] ; then
|
||||
# shell coming from different prefix would load it's own
|
||||
# etc/profile upon -l, so we have to override
|
||||
'@GENTOO_PORTAGE_EENV@' -i ${RETAIN} "${SHELL}" --rcfile "${EPREFIX}"/etc/prefix-stack.bash_login -i
|
||||
else
|
||||
echo "Only bash is supported with stacked Prefix (you have ${SHELL##*/}), sorry!" > /dev/stderr
|
||||
exit 1
|
||||
fi
|
||||
# and leave a message when we exit... the shell might return non-zero
|
||||
# without having real problems, so don't send alarming messages about
|
||||
# that
|
||||
echo "Leaving Gentoo Prefix with exit status $?"
|
||||
EOIN
|
||||
|
||||
: prefix-stack.bashrc <<'EOIN'
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
#
|
||||
# In stacked Prefix there is no bash installed, yet
|
||||
# etc/bash/bashrc from base Prefix still is useful.
|
||||
#
|
||||
|
||||
if [[ $- != *i* ]] ; then
|
||||
# Shell is non-interactive, bashrc does not apply
|
||||
return
|
||||
fi
|
||||
|
||||
if [[ -r @GENTOO_PORTAGE_BPREFIX@/etc/bash/bashrc ]] ; then
|
||||
source '@GENTOO_PORTAGE_BPREFIX@/etc/bash/bashrc'
|
||||
# only if base Prefix does have an etc/bash/bashrc, we also
|
||||
# run bashrc snippets provided by packages in stacked Prefix
|
||||
for sh in '@GENTOO_PORTAGE_EPREFIX@'/etc/bash/bashrc.d/* ; do
|
||||
[[ -r ${sh} ]] && source "${sh}"
|
||||
done
|
||||
unset sh
|
||||
else
|
||||
# etc/profile does expect etc/bash/bashrc to set PS1
|
||||
PS1='\u@\h \w \$ '
|
||||
fi
|
||||
EOIN
|
||||
|
||||
: prefix-stack.bash_login <<'EOIN'
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
#
|
||||
# In stacked Prefix there is no bash installed, so there is
|
||||
# no bash able to load this Prefix' profile as login shell.
|
||||
# Instead, you can specify this one as bash rcfile to mimic
|
||||
# a bash login shell using this stacked Prefix profile.
|
||||
#
|
||||
|
||||
if [[ -s '@GENTOO_PORTAGE_EPREFIX@/etc/profile' ]] ; then
|
||||
. '@GENTOO_PORTAGE_EPREFIX@/etc/profile'
|
||||
fi
|
||||
if [[ -s ~/.bash_profile ]] ; then
|
||||
. ~/.bash_profile
|
||||
elif [[ -s ~/.bash_login ]] ; then
|
||||
. ~/.bash_login
|
||||
elif [[ -s ~/.profile ]] ; then
|
||||
. ~/.profile
|
||||
fi
|
||||
EOIN
|
||||
|
||||
: prefix-stack.envd.99stack <<'EOIN'
|
||||
PKG_CONFIG_PATH@=@"@GENTOO_PORTAGE_EPREFIX@/usr/lib/pkgconfig:@GENTOO_PORTAGE_EPREFIX@/usr/share/pkgconfig"
|
||||
PORTAGE_CONFIGROOT@=@"@GENTOO_PORTAGE_EPREFIX@"
|
||||
EPREFIX@=@"@GENTOO_PORTAGE_EPREFIX@"
|
||||
EOIN
|
||||
|
||||
: prefix-stack-setup <<'EOIN'
|
||||
#!@GENTOO_PORTAGE_EPREFIX@/bin/bash
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
PARENT_EPREFIX="@GENTOO_PORTAGE_EPREFIX@"
|
||||
PARENT_CHOST="@GENTOO_PORTAGE_CHOST@"
|
||||
CHILD_EPREFIX=
|
||||
CHILD_PROFILE=
|
||||
CHILD_CHOST=
|
||||
|
||||
#
|
||||
# get ourselfs the functions.sh script for ebegin/eend/etc.
|
||||
#
|
||||
for f in \
|
||||
/lib/gentoo/functions.sh \
|
||||
/etc/init.d/functions.sh \
|
||||
/sbin/functions.sh \
|
||||
; do
|
||||
if [[ -r ${PARENT_EPREFIX}${f} ]] ; then
|
||||
. "${PARENT_EPREFIX}${f}"
|
||||
f=found
|
||||
break
|
||||
fi
|
||||
done
|
||||
|
||||
if [[ ${f} != found ]] ; then
|
||||
echo "Cannot find Gentoo functions, aborting." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
for arg in "$@"; do
|
||||
case "${arg}" in
|
||||
--eprefix=*) CHILD_EPREFIX="${arg#--eprefix=}" ;;
|
||||
--profile=*) CHILD_PROFILE="${arg#--profile=}" ;;
|
||||
--chost=*) CHILD_CHOST="${arg#--chost=}" ;;
|
||||
|
||||
--help)
|
||||
einfo "$0 usage:"
|
||||
einfo " --eprefix=[PATH] Path to new EPREFIX to create stacked to the prefix"
|
||||
einfo " where this script is installed (${PARENT_EPREFIX})"
|
||||
einfo " --profile=[PATH] The absolute path to the profile to use. This path"
|
||||
einfo " must point to a directory within ${PARENT_EPREFIX}"
|
||||
einfo " --chost=[CHOST] The CHOST to use for the new EPREFIX, required if"
|
||||
einfo " the profile does not set CHOST, or to override."
|
||||
exit 0
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
#
|
||||
# sanity check of given values
|
||||
#
|
||||
|
||||
test -n "${CHILD_EPREFIX}" || { eerror "no eprefix argument given"; exit 1; }
|
||||
test -d "${CHILD_EPREFIX}" && { eerror "${CHILD_EPREFIX} already exists"; exit 1; }
|
||||
test -n "${CHILD_PROFILE}" || { eerror "no profile argument given"; exit 1; }
|
||||
test -d "${CHILD_PROFILE}" || { eerror "${CHILD_PROFILE} does not exist"; exit 1; }
|
||||
|
||||
if [[ -z ${CHILD_CHOST} ]]
|
||||
then
|
||||
my_lsprofile() {
|
||||
(
|
||||
cd -P "${1:-.}" || exit 1
|
||||
[[ -r ./parent ]] &&
|
||||
for p in $(<parent)
|
||||
do
|
||||
my_lsprofile "${p}" || exit 1
|
||||
done
|
||||
pwd -P
|
||||
)
|
||||
}
|
||||
|
||||
for profile in $(my_lsprofile "${CHILD_PROFILE}") missing
|
||||
do
|
||||
if [[ ${profile} == missing ]]
|
||||
then
|
||||
eerror "profile does not set CHOST, need --chost argument"
|
||||
exit 1
|
||||
fi
|
||||
[[ -s "${profile}/make.defaults" ]] || continue
|
||||
grep -q '^[ ]*CHOST@=@' "${profile}/make.defaults" && break
|
||||
done
|
||||
fi
|
||||
|
||||
einfo "creating stacked prefix ${CHILD_EPREFIX}"
|
||||
|
||||
#
|
||||
# functions needed below.
|
||||
#
|
||||
eend_exit() {
|
||||
eend $1
|
||||
[[ $1 != 0 ]] && exit 1
|
||||
}
|
||||
|
||||
#
|
||||
# create the directories required to bootstrap the least.
|
||||
#
|
||||
ebegin "creating directory structure"
|
||||
(
|
||||
set -e
|
||||
mkdir -p "${CHILD_EPREFIX}"/var/tmp/portage
|
||||
mkdir -p "${CHILD_EPREFIX}"/etc/portage/profile/use.mask
|
||||
mkdir -p "${CHILD_EPREFIX}"/etc/portage/profile/use.force
|
||||
mkdir -p "${CHILD_EPREFIX}"/etc/portage/env
|
||||
mkdir -p "${CHILD_EPREFIX}"/etc/portage/package.env
|
||||
ln -s "${PARENT_EPREFIX}"/etc/portage/repos.conf "${CHILD_EPREFIX}"/etc/portage/repos.conf
|
||||
)
|
||||
eend_exit $?
|
||||
|
||||
#
|
||||
# create a make.conf and set PORTDIR and PORTAGE_TMPDIR
|
||||
#
|
||||
ebegin "creating make.conf"
|
||||
(
|
||||
set -e
|
||||
echo "#"
|
||||
echo "# These are sane default compiler flags, feel free to adopt them as you like."
|
||||
echo "# Extending the flags is done to respect flags probably set by some profile."
|
||||
echo "#"
|
||||
echo "CFLAGS=\"\${CFLAGS} -O2 -pipe\""
|
||||
echo "CXXFLAGS=\"${CXXFLAGS} -O2 -pipe\""
|
||||
echo "MAKEOPTS=\"$(portageq envvar MAKEOPTS)\""
|
||||
niceness=$(portageq envvar PORTAGE_NICENESS || true)
|
||||
[[ -n ${niceness} ]] &&
|
||||
echo "PORTAGE_NICENESS=\"${niceness}\""
|
||||
echo
|
||||
echo "# Mirrors from parent prefix."
|
||||
echo "GENTOO_MIRRORS=\"$(portageq envvar GENTOO_MIRRORS || true)\""
|
||||
echo
|
||||
echo "# Below comes the prefix-stack setup. Only change things"
|
||||
echo "# if you know exactly what you are doing!"
|
||||
echo "EPREFIX=\"${CHILD_EPREFIX}\""
|
||||
echo "PORTAGE_OVERRIDE_EPREFIX=\"${PARENT_EPREFIX}\""
|
||||
echo "BROOT=\"${PARENT_EPREFIX}\""
|
||||
echo "PORTAGE_TMPDIR=\"\${EPREFIX}/var/tmp\""
|
||||
# Since EAPI 7 there is BDEPEND, which is DEPEND in EAPI up to 6.
|
||||
# We do not want to pull DEPEND from EAPI <= 6, but RDEPEND only.
|
||||
echo "EMERGE_DEFAULT_OPTS=\"--root-deps=rdeps\""
|
||||
if [[ -n ${CHILD_CHOST} ]] ; then
|
||||
echo "CHOST=\"${CHILD_CHOST}\""
|
||||
fi
|
||||
) > "${CHILD_EPREFIX}"/etc/portage/make.conf
|
||||
eend_exit $?
|
||||
|
||||
ebegin "creating use.mask/prefix-stack"
|
||||
printf -- '-%s\n' prefix{,-guest,-stack} > "${CHILD_EPREFIX}"/etc/portage/profile/use.mask/prefix-stack
|
||||
eend_exit $?
|
||||
|
||||
ebegin "creating use.force/prefix-stack"
|
||||
printf -- '%s\n' prefix{,-guest,-stack} > "${CHILD_EPREFIX}"/etc/portage/profile/use.force/prefix-stack
|
||||
eend_exit $?
|
||||
|
||||
ebegin "creating env/host-cc.conf"
|
||||
cat > "${CHILD_EPREFIX}"/etc/portage/env/host-cc.conf <<-EOM
|
||||
CC=${PARENT_CHOST}-gcc
|
||||
CXX=${PARENT_CHOST}-g++
|
||||
# Inherited compiler flags from parent prefix,
|
||||
# as the child prefix may have a different compiler.
|
||||
CFLAGS="$(portageq envvar CFLAGS)"
|
||||
CXXFLAGS="$(portageq envvar CXXFLAGS)"
|
||||
EOM
|
||||
eend_exit $?
|
||||
|
||||
ebegin "creating package.env/prefix-stack"
|
||||
cat > "${CHILD_EPREFIX}"/etc/portage/package.env/prefix-stack <<-'EOM'
|
||||
# merge with the parent's chost. this forces the use of the parent
|
||||
# compiler, which generally would be illegal - this is an exception.
|
||||
# This is required for example on winnt, because the wrapper has to
|
||||
# be able to use/resolve symlinks, etc. native winnt binaries miss
|
||||
# that ability, but cygwin binaries don't.
|
||||
sys-devel/gcc-config host-cc.conf
|
||||
sys-apps/gentoo-functions host-cc.conf
|
||||
EOM
|
||||
eend_exit $?
|
||||
|
||||
#
|
||||
# create the make.profile symlinks.
|
||||
#
|
||||
ebegin "creating make.profile"
|
||||
(
|
||||
ln -s "${CHILD_PROFILE}" "${CHILD_EPREFIX}/etc/portage/make.profile"
|
||||
)
|
||||
eend_exit $?
|
||||
|
||||
#
|
||||
# adjust permissions of generated files.
|
||||
#
|
||||
ebegin "adjusting permissions"
|
||||
(
|
||||
set -e
|
||||
chmod 644 "${CHILD_EPREFIX}"/etc/portage/make.conf
|
||||
chmod 644 "${CHILD_EPREFIX}"/etc/portage/env/host-cc.conf
|
||||
chmod 644 "${CHILD_EPREFIX}"/etc/portage/package.env/prefix-stack
|
||||
)
|
||||
eend_exit $?
|
||||
|
||||
#
|
||||
# now merge some basics.
|
||||
#
|
||||
ebegin "installing required basic packages"
|
||||
(
|
||||
set -e
|
||||
export PORTAGE_CONFIGROOT@=@"${CHILD_EPREFIX}"
|
||||
export EPREFIX@=@"${CHILD_EPREFIX}"
|
||||
export PORTAGE_OVERRIDE_EPREFIX@=@"${PARENT_EPREFIX}"
|
||||
|
||||
# let baselayout create the directories
|
||||
USE@=@"${USE} build" \
|
||||
emerge --verbose --nodeps --oneshot \
|
||||
'>=baselayout-prefix-2.6'
|
||||
|
||||
# In prefix-stack, app-portage/prefix-toolkit does
|
||||
# install/update an etc/portage/profile/packages file,
|
||||
# removing all @system packages from current make.profile,
|
||||
# and adding itself to @system set instead.
|
||||
emerge --verbose --nodeps --oneshot \
|
||||
app-portage/prefix-toolkit
|
||||
|
||||
# In prefix-stack, prefix-toolkit does have an RDEPEND on them,
|
||||
# to hold them in the @system set.
|
||||
emerge --verbose --nodeps --oneshot \
|
||||
sys-apps/gentoo-functions \
|
||||
app-portage/elt-patches \
|
||||
sys-devel/gnuconfig \
|
||||
sys-devel/gcc-config
|
||||
|
||||
# get eventual dependencies, add to world
|
||||
emerge --verbose --update --deep \
|
||||
app-portage/prefix-toolkit
|
||||
|
||||
# select the stack wrapper profile from gcc-config
|
||||
env -i PORTAGE_CONFIGROOT="${CHILD_EPREFIX}" \
|
||||
"$(type -P bash)" "${CHILD_EPREFIX}"/usr/bin/gcc-config 1
|
||||
)
|
||||
eend_exit $?
|
||||
|
||||
#
|
||||
# wow, all ok :)
|
||||
#
|
||||
ewarn
|
||||
ewarn "all done. don't forget to tune ${CHILD_EPREFIX}/etc/portage/make.conf."
|
||||
ewarn "to enter the new prefix, run \"${CHILD_EPREFIX}/startprefix\"."
|
||||
ewarn
|
||||
EOIN
|
||||
|
||||
: prefix-stack-ccwrap <<'EOIN'
|
||||
#!@GENTOO_PORTAGE_BPREFIX@/bin/bash
|
||||
|
||||
if [ -r /cygdrive/. ]; then
|
||||
winpath2unix() { cygpath -u "$1"; }
|
||||
unixpath2win() { cygpath -w "$1"; }
|
||||
fi
|
||||
|
||||
myself=${0##*/} # basename $0
|
||||
link_dirs=()
|
||||
linkopts=()
|
||||
opts=()
|
||||
chost="@GENTOO_PORTAGE_CHOST@"
|
||||
prefix="@GENTOO_PORTAGE_EPREFIX@"
|
||||
absprefix=${prefix}
|
||||
if [[ ${chost} == *"-winnt"* ]]; then
|
||||
# we may get called from windows binary, like pkgdata in dev-libs/icu
|
||||
# in this case, PATH elements get the "/dev/fs/C/WINDOWS/SUA" prefix
|
||||
absprefix=$(winpath2unix "$(unixpath2win "${absprefix}")")
|
||||
fi
|
||||
[[ ${myself} == *windres* ]] && mode=compile || mode=link
|
||||
orig_args=("$@")
|
||||
|
||||
for opt in "$@"
|
||||
do
|
||||
if [[ ${chost} == *"-winnt"* ]]; then
|
||||
# We depend on dev-libs/pthreads4w, no?
|
||||
case ${opt} in
|
||||
-pthread | -lpthread)
|
||||
case " ${linkopts[*]} " in
|
||||
*" -lpthread "*) ;;
|
||||
*) linkopts=( "${linkopts[@]}" "-lpthread" ) ;;
|
||||
esac
|
||||
continue
|
||||
;;
|
||||
esac
|
||||
fi
|
||||
case "$opt" in
|
||||
-L)
|
||||
link_dirs=("${link_dirs[@]}" "-L$1")
|
||||
shift
|
||||
;;
|
||||
-L*)
|
||||
link_dirs=("${link_dirs[@]}" "${opt}")
|
||||
;;
|
||||
*)
|
||||
case "${opt}" in
|
||||
-v)
|
||||
# -v done right: only use mode version if -v is the _only_
|
||||
# argument on the command line.
|
||||
[[ ${#orig_args[@]} -gt 1 ]] || mode=version
|
||||
;;
|
||||
--version) mode=version ;;
|
||||
-c|-E|-S) mode=compile ;;
|
||||
-print-search-dirs) mode=dirs ;;
|
||||
esac
|
||||
opts=("${opts[@]}" "${opt}")
|
||||
;;
|
||||
esac
|
||||
done
|
||||
|
||||
# remove any path to current prefix, need base prefix only
|
||||
new_path=
|
||||
save_ifs=$IFS
|
||||
IFS=':'
|
||||
for p in $PATH
|
||||
do
|
||||
IFS=$save_ifs
|
||||
[[ ${p#${absprefix}} != "${p}" ]] && continue
|
||||
if [[ -z "${new_path}" ]]; then
|
||||
new_path="${p}"
|
||||
else
|
||||
new_path="${new_path}:${p}"
|
||||
fi
|
||||
done
|
||||
IFS=$save_ifs
|
||||
|
||||
PATH=${new_path}
|
||||
|
||||
pfx_comp=("-I${prefix}/include" "-I${prefix}/usr/include")
|
||||
pfx_link=("-L${prefix}/usr/lib" "-L${prefix}/lib")
|
||||
# binutils-config's ldwrapper understands '-R' for aix and hpux too.
|
||||
pfx_link_r=("-Wl,-R,${prefix}/lib" "-Wl,-R,${prefix}/usr/lib")
|
||||
case "${chost}" in
|
||||
*-winnt*)
|
||||
# parity (winnt) understands -rpath only ...
|
||||
pfx_link_r=("-Wl,-rpath,${prefix}/lib" "-Wl,-rpath,${prefix}/usr/lib")
|
||||
;;
|
||||
*-linux*)
|
||||
# With gcc, -isystem would avoid warning messages in installed headers,
|
||||
# but that breaks with AIX host headers.
|
||||
pfx_comp=("-isystem" "${prefix}/include" "-isystem" "${prefix}/usr/include")
|
||||
;;
|
||||
esac
|
||||
|
||||
# ensure we run the right chost program in base prefix
|
||||
[[ ${myself} == *-*-*-* ]] || myself=${chost}-${myself#${chost}-}
|
||||
|
||||
case "$mode" in
|
||||
link) exec "${myself}" "${link_dirs[@]}" "${pfx_link[@]}" "${opts[@]}" "${pfx_comp[@]}" "${pfx_link_r[@]}" "${linkopts[@]}" ;;
|
||||
compile) exec "${myself}" "${link_dirs[@]}" "${opts[@]}" "${pfx_comp[@]}" ;;
|
||||
version) exec "${myself}" "${orig_args[@]}" ;;
|
||||
dirs)
|
||||
"${myself}" "${orig_args[@]}" | while read line; do
|
||||
if [[ "${line}" == "libraries: ="* ]]; then
|
||||
echo "libraries: =${prefix}/usr/lib:${prefix}/lib:${line#"libraries: ="}"
|
||||
else
|
||||
echo "${line}"
|
||||
fi
|
||||
done
|
||||
;;
|
||||
*) echo "cannot infer ${myself}'s mode from comamnd line arguments"; exit 1 ;;
|
||||
esac
|
||||
EOIN
|
|
@ -23,17 +23,21 @@ BDEPEND="${DEPEND}
|
|||
# In prefix-stack, these dependencies actually are the @system set,
|
||||
# as we rely on the base prefix anyway for package management,
|
||||
# which should have a proper @system set.
|
||||
# Strictly speaking, only baselayout and gcc-config are necessary
|
||||
# (and pthreads4w for Winnt), but it is easier for now to install
|
||||
# elt-patches, gentoo-functions and gnuconfig as well, instead of
|
||||
# fixing all uses that expect them in EPREFIX rather than BROOT.
|
||||
# See als: pkg_preinst
|
||||
RDEPEND="${DEPEND}
|
||||
prefix-stack? (
|
||||
>=sys-apps/baselayout-prefix-2.6
|
||||
sys-apps/gentoo-functions
|
||||
app-portage/elt-patches
|
||||
sys-devel/gnuconfig
|
||||
sys-devel/gcc-config
|
||||
elibc_Winnt? (
|
||||
dev-libs/pthreads4w
|
||||
)
|
||||
app-portage/elt-patches
|
||||
sys-apps/gentoo-functions
|
||||
sys-devel/gnuconfig
|
||||
)
|
||||
"
|
||||
|
||||
|
@ -67,7 +71,10 @@ src_unpack() {
|
|||
else
|
||||
my_unpack prefix-stack-setup
|
||||
fi
|
||||
my_unpack startprefix
|
||||
if use prefix; then
|
||||
# does not make sense on vanilla Gentoo
|
||||
my_unpack startprefix
|
||||
fi
|
||||
}
|
||||
|
||||
my_prefixify() {
|
||||
|
@ -134,11 +141,14 @@ src_install() {
|
|||
newins prefix-stack.bashrc bashrc
|
||||
newenvd prefix-stack.envd.99stack 99stack
|
||||
doenvd 000fallback
|
||||
keepdir /usr/share/aclocal
|
||||
else
|
||||
dobin prefix-stack-setup
|
||||
fi
|
||||
exeinto /
|
||||
doexe startprefix
|
||||
if use prefix; then
|
||||
exeinto /
|
||||
doexe startprefix
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
Binary file not shown.
|
@ -8,5 +8,5 @@ DIST aspell-0.60.7.tar.gz 2071890 BLAKE2B d0c8780179cca304361b9d58be667f3dd99d93
|
|||
DIST aspell-0.60.8.tar.gz 3486448 BLAKE2B a72e70af65749059a576740377f93b20ab283f73fa7919894f6af189b5aa73581fa0410800851c9396e7d13f4cbc2f7edc23c53d46874d0389ffdb2432ff08c2 SHA512 8ef4952c553b6234dfe777240d2d97beb13ef9201e18d56bee3b5068d13525db3625b7130d9f5122f7c529da0ccb0c70eb852a81472a7d15fb7c4ee5ba21cd29
|
||||
EBUILD aspell-0.60.7.ebuild 2760 BLAKE2B 60bdbc0c7b9bae9d1581b56739f787757e4f997df5555ea281d911a6a499c6f8e2f868585ff56d91f0fd623fb02dd621dba4cb5443737451404ca58cf587e4aa SHA512 e1b48dfcba09975fd4648483b5923ce598eca3f61a0caf9256b2ac6986c12f56ac3911a74e70312b2d84e0c7d4494ffc190b57ec17683f60846fdbaf538c88ad
|
||||
EBUILD aspell-0.60.7_rc1.ebuild 2694 BLAKE2B 60919f9c3ca7f22c76739cc4417f3797ed37d190f33b63f6963149f5aa889584603e7bd37e8c283ec04d6e73db556d2ecad87c73b7ac144cc463638993bf0170 SHA512 9f7c7476a0e3cbabab1c6f2e0eea5e8e19274bac66d054bd19af2a15525a2c9477b49176634d168ffc3d314775e579ebd03194b6541381599e0f01309dad88d7
|
||||
EBUILD aspell-0.60.8.ebuild 2751 BLAKE2B b05d23f571260f39b1e2e66a577325f09f28f51904c7a182c6e10bd0f766ab91b88264a7862711cd697f9c2142da0f5577fed6fa312a0fbef95c9771ce24c499 SHA512 3d6274cf4485fea8221cf237094b54461aed16cabc7c57fc7cff77d31e8fd9ec5897b342ca6ce4b9d21af8ea1749288cd82d3e05c8c37ce562a09b95496e4381
|
||||
EBUILD aspell-0.60.8.ebuild 2750 BLAKE2B 8eb858cd86477e7164a6e69e9d01662a82bf3bc9ef9c44e555c48ab2f9673cf1d20b8133a9ae370c0a13724a0ef6af972d9c8f493d8f2a367e4faf3562ce95d9 SHA512 0ee4873386f97642cefbeb8b546e19eb534f942d1ef0a64461b55c3f7c8ba18c3854d1f556b2f361b9f6572e8445f3203b9c7d7cbf597be8db8dcf2bf1add304
|
||||
MISC metadata.xml 167 BLAKE2B e4dadf27fd344484f2bccb5b904909c89aac568c32e5b3c44bdf139eacefd4b4fae74419f503d2b7da0dccc1b68ba05d777d11292c0f89270d1ac5c9c703e8ca SHA512 7c8decb24ee3a850e38186cf3c7f8933a28017426806870ad6ef9ceb2533be147a2681fc789b535a81cb528af8c29d90d3006e4f250aee23bd7dea4561294e33
|
||||
|
|
|
@ -17,7 +17,7 @@ fi
|
|||
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
|
||||
IUSE="nls unicode"
|
||||
|
||||
PDEPEND="app-dicts/aspell-en"
|
||||
|
|
Binary file not shown.
|
@ -1,6 +1,20 @@
|
|||
DIST github.com-golang-tools-a911d9008d1f732040244007778232b02ebb2b84.tar.gz 2298164 BLAKE2B 1c47d5f354174578ee376cc0907235b70df8a81b403da26083dd4138e8bbd1064bb62a5481a5079c43af31e71f76d77eb2be23b85571dbe3a2f48ffd7ed161cf SHA512 acce459c8fa32ca7e48163f92fb6e343b0ea8ec6994b98eb7f7326cf09bf194191c00a01c9eb5d055210cc144d5b986a9e554102a31eca4bba9cbedc500ccdf1
|
||||
DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20190308221718-c2843e01d9a2.mod 88 BLAKE2B aec7d0eea1278eb3d1568d5bfb4041267501ad14457ebfcbdbc5fe21473170b8616ca4028f52af2edbfd85922cbe04540b4b0df7f69f63197698143cc5557a7a SHA512 2df49895053b36fed7ea905aa73f86568fbafd79ff0a7976679d8c77cf15025129435d9dbfd89367b611b1aadbea4f4bd1835eb4efa9ea702466e443638d379e
|
||||
DIST golang.org%2Fx%2Fcrypto%2F@v%2Fv0.0.0-20191011191535-87dc89f01550.mod 146 BLAKE2B 6fe18cbe4eb6c3f6c26a4d2f9f309c48eb9ea59017125179cbfd61bb1e62395515c8cb286e1139fbcf54d37dcb2baa1a2f98dcfbcb6178b7f7df3b51929ff5c5 SHA512 f40c7b620b28b5bdc6ce92d43768af71b5869e7f0eb7872dd0f2751eed2bd15a17f7af26bf2dc5c6f7e6b816a174d010bfd22b3f8f5dd72f22dc4e4357dea842
|
||||
DIST golang.org%2Fx%2Fmod%2F@v%2Fv0.1.1-0.20191105210325-c90efee705ee.mod 159 BLAKE2B 7124b4e21f0b1ff142fe4cd5c57a22de7bc5b1c578e16e8661085d475d67573279c1ce3165e05a28c77a41eac43fe29b1d98854abdcc7b0b66167f82db652dd8 SHA512 5e225da646ef87b8bf435b745313187cecd1bd3e88660f8a90cd2a6fdcadbe8fc51f53edae4b3aa2357ad273a8e58034920bb61a1cd5898b95d3fe39f30ec648
|
||||
DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20190404232315-eb5bcb51f2a3.mod 119 BLAKE2B e042b2716739483252c3340451b2c3c7b421fdf8d6b3e0333e979802fca66159596982ea63a24b6a64457b2757a0ad24cbb9ea032bab4c5377edf84a3ea18b97 SHA512 26b6c92eecd2208967336d4d23f8a71f77f9a73643ad1e5cd84dee36b2f626fffc806e4dd33acc284831a0961e2b363d898a747903235945fbfb665c5b4d5ef2
|
||||
DIST golang.org%2Fx%2Fnet%2F@v%2Fv0.0.0-20190620200207-3b0461eec859.mod 181 BLAKE2B 95ef87cbad118eb6bfc963893e37a555067b7fcf70e52cf4261de029eb46b739b12f50530a46fb91ec9119febcf5033176324a55064f589c17b240a23a15bb4a SHA512 2794c616072f01ca3324107aad2ed97e05f6e6c1e9811a1749073376a89c9ce57a910cfdc8dd6bdc2583d133bb53605c7a68917eaa221ec5c1c8319e5dfbb236
|
||||
DIST golang.org%2Fx%2Fsync%2F@v%2Fv0.0.0-20190423024810-112230192c58.mod 25 BLAKE2B 01f7f78a0324ca728efd4d662ea130d7e200ab25805125e472720ca01feaaf2625b15bf53f51837a6913e35e060a19018928a38851d7445f39e6e42e237dfda2 SHA512 a9dd073f69c5be1153aaab6e84dd3bb1610a0df8b9882ca4c486c6625d4b5201e5032f86e5014421358dff564d93c4e67f20e5fd1d21ed5e259ddfbc90af43c0
|
||||
DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20190215142949-d0b11bdaac8a.mod 24 BLAKE2B 64a70c4594f5d3c37d962c1ed07630fba8abeaf534242f8f1509af271684499252af9a2320d5bac8e44064dba344b807535e4e9dd085fc0fb47bd9304120601a SHA512 ffe50fccf7f1d200f2ebc805b190e3f10c5a3184458a38f4590e520d7ce115e1520fbabe56651bbdc2e08da4a8db5ac86d0e88728efde3ab26c64ab4e0cd604c
|
||||
DIST golang.org%2Fx%2Fsys%2F@v%2Fv0.0.0-20190412213103-97732733099d.mod 33 BLAKE2B 8be160de26713fd50f15adfb6fd7fff2643ee587aa17de9385b1e315869d0ecf102fc567294666bf232aa677d1ab04ba8341157f3d9b66a0f53543a7a47cf148 SHA512 0c7b940d567c7685dcb55c76c69aedeaab2170f4f3bde458994c879bf344169f34fb3f3ca899b0f138a8b0b8be5031217b57a6edf5980e6066ff5cb92d1ff9ab
|
||||
DIST golang.org%2Fx%2Ftext%2F@v%2Fv0.3.0.mod 25 BLAKE2B 31009af0fdcd0f8730c9985287e6e364ec4e5183e57e92560dbc80a2010eced51b8a90f01a82b49384268c8a0adbf69d179c205d3f68e0eb459169d2ea9528f0 SHA512 ca081ef7cccd7bbedc6843fbe0c452352661a07e1298cd02ff338ed79d807c6401d613a3cf20011189d2f98a794ffa410547b3e352eb58a6f0a84822285d391d
|
||||
DIST golang.org%2Fx%2Ftools%2F@v%2Fv0.0.0-20200130002326-2f3ba24bd6e7.mod 267 BLAKE2B d21181b3e1491ef78b09fc3546ed8ffbfeb7a4578039aaa24e2f5cc2352885c1a4d7dbfaf2853c421daa2a06691ac47513b5f186d31893fb1ef476cf9d4bb9bc SHA512 91b0380c7073eac4442bfd1924d311fc7b50b098ec4c72ea72fcc831273012326a44245add9b05a90895be46d11052ddcc942ea6bb909bda51d782f95acddff8
|
||||
DIST golang.org%2Fx%2Ftools%2F@v%2Fv0.0.0-20200130002326-2f3ba24bd6e7.zip 2931354 BLAKE2B eaa01c066a3be354b161262a5e83f67b8edafec70735dff4727dfdfa59fc867b73f7246758b219c23055e05303d4ae663d656d12dd32ea5cbe368610ae33df41 SHA512 2201bbed9215537b9eacb06b9ae232511626138e508a5739c405ba8e5d498237a45919a55bb2b2a476a2fdf69bdad6144ec7673610423c0bf76099f7ea75eb4c
|
||||
DIST golang.org%2Fx%2Fxerrors%2F@v%2Fv0.0.0-20191011141410-1b5146add898.mod 37 BLAKE2B 7449be81e1998a6439070de1a0ddf5bfd1e4971c90c2e358590a9c1c41128bfc1daa42a9bbc3709506df2442ec8420e6354343a095c837be46335c180083f28a SHA512 659d18a7a3a1be45ff6dc9e7475276b82ee7f11c47d39b0c237d7f872836a1dbdfff0902f21d6cd8093663997865da92e3e5a4acf1ad6129f972dc5e667b4f05
|
||||
DIST golint-0_pre20180702.tar.gz 31957 BLAKE2B fb3129918bf352ab75f617d933902055877473ca9269b0e5bf91a727e88b579b7b6ced6255d845364405a749ef0aae1f8f67bab0cf97916b39fd7e8f4be54f74 SHA512 bbf550927f547950e0a8270eaf4981cf51b799998e2154058aad3345579ea3a70581cdc13cc36345ca82cf3513a88092f0f5d453895768d05b25a4c47f030fb0
|
||||
DIST golint-0_pre20191125.tar.gz 31595 BLAKE2B ca35aea7e2977c31e2be964e6322a4c5eda200876ef634ade8654e0e9f4a32545bd4890160ae7ffad68295f08d6ccbfaeaccd8ebd7f45e837419724c78ec5261 SHA512 4689a1d3e12a917339eb43de5a125c6eebfdb225b6ec815891a07d7feca5f57c7c874b415a902b32056d8caea551680b8eb7102064a990deb913450a39dfd7cb
|
||||
DIST golint-0_pre20200301.tar.gz 31870 BLAKE2B 54fd5d0c8c490c95f397ce7889a696726a57e83b350e2133724d80d8500a7d3b2427e3fa24bc28d82c8b4ca32fb9c4e45ec8021fe6f499e320c8194bb113f229 SHA512 d62a20f02006d6e69391f5758ed1f3fe2c81a44e782d6a5530c6feacd9b1547168ae9401f84c92ff4adfcbda32d97049cd7afe47b00ee91ec50bc850c8ca9462
|
||||
EBUILD golint-0_pre20180702.ebuild 772 BLAKE2B 8c84b05996c8e57f2587ae484a715543e4307fdb7985aa910fd517022b27b4871a461dd60edf61f1b9394f154b6fa562f8372eb8544280c601caf3733b1d55c5 SHA512 1b80ccf869d423187aca953913dacc8e66447888bdfb3c74d08540f7aeeb66c087f199042ffc4b89de45fc8e2fecb2bf4bc0923ced7204f23bdb05d2047343a0
|
||||
EBUILD golint-0_pre20191125.ebuild 744 BLAKE2B 3f2f85dd1d445da3fe7629c7da4c47f2971964330607142326caa0fce9961f513a02b25ccb72a6e01d369d8cd745848562e79180f79b97de61d8b85449f8112b SHA512 6f2c33fca8032028fa05509a26f2dc781041bcaf8b44ea7df8aa0462eb359d8231ff2d66c3f98621c60ff6157faf6827341b1ed31de0dc8db8fab4ad2fa7909d
|
||||
EBUILD golint-0_pre20200301.ebuild 1375 BLAKE2B 849434b407dd0210f1e499074c05cb6ad0b6eb46703a19589f28e1c0d5e0da363c1778f75d784a97b98c4c1480410e7aa3d14fcf0bcc3cfac2bc4049ff309923 SHA512 1612d44a977b57c0a797b6087920bdb03c93b85fd219940351ae21df54e12d031988709c225bf1ee2a96adf60808c79907f1b6b78344932bcb111ca24997c18e
|
||||
MISC metadata.xml 324 BLAKE2B 66f4944a9c30a65ccf8a89b90f5d5150165a936daa0f39f74fa5e5de9348288df31bcff94cd61bcc67fbdccbc0ceffa4c2a8cec00d2a1a2ca3621a0bf9b09e24 SHA512 69b45d514c5f5f336495087dc1e1343594596155307671e9c05c6a95f063362b21a5392a59d038bcbbfc6e4e071f015475fbc573d63824381f22425a1c0579f3
|
||||
|
|
49
dev-go/golint/golint-0_pre20200301.ebuild
Normal file
49
dev-go/golint/golint-0_pre20200301.ebuild
Normal file
|
@ -0,0 +1,49 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit go-module
|
||||
EGIT_COMMIT=738671d3881b9731cc63024d5d88cf28db875626
|
||||
|
||||
DESCRIPTION="a linter for Go"
|
||||
HOMEPAGE="https://github.com/golang/lint"
|
||||
|
||||
EGO_SUM=(
|
||||
"golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod"
|
||||
"golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod"
|
||||
"golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod"
|
||||
"golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod"
|
||||
"golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod"
|
||||
"golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod"
|
||||
"golang.org/x/text v0.3.0/go.mod"
|
||||
"golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7"
|
||||
"golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod"
|
||||
"golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod"
|
||||
)
|
||||
go-module_set_globals
|
||||
SRC_URI="https://github.com/golang/lint/archive/${EGIT_COMMIT}.tar.gz -> ${P}.tar.gz
|
||||
${EGO_SUM_SRC_URI}"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
S=${WORKDIR}/lint-${EGIT_COMMIT}
|
||||
|
||||
DOCS=(
|
||||
CONTRIBUTING.md
|
||||
README.md
|
||||
misc
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
env GOBIN="${S}/bin" go install ./... ||
|
||||
die "compile failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin bin/*
|
||||
einstalldocs
|
||||
}
|
Binary file not shown.
|
@ -1,6 +1,7 @@
|
|||
AUX mmix-20110420-makefile.patch 1636 BLAKE2B f4acfc952dea9671ec5507f4d86a1462131dae835318362b17f341e9575fe1dccda5cd44d257127a27232a197e05f79de5d7a8200d7a2b943161fa38de83937f SHA512 e5cd4944847c00ad7c6b3a87fa6f9a242f7f0b13c31f82e80c49b3b9ec07d7c0106669dce2868705dca073774826c5acc6f8ea1464c1a5c739145f1c2b28eb10
|
||||
AUX mmix-20131017-format-security.patch 2256 BLAKE2B 2481c33c024d84af03b289ec9f22c9b98cb27537c32ea9ef020943aa424efac5267d81326241b2d764eb292f373ed51cc30c3ddbdb55f8fa444154cf6cc5fe0d SHA512 e77cdf3d196356cc0cb09f322cc979e4c603592c8f9421764d6830df27fe627958badbd6726021f97bc42a0d9551e4d3b39ca7b1d677b44a543ffcc04028eaea
|
||||
AUX mmix-20160804-gcc-10.patch 822 BLAKE2B 182ff974d458e06ac5c90aa44f0255f20a97c7702a49f3b36ba541c6414f63f8d2c1d3f56e6abe624e06be198b963d018ba3403baac0773b114946d96fa9272c SHA512 65fb04add6fa1441f9cc699af09cc84b67701113db1406d7ec582ac2023221f02dd1972393c3114fa0801a9f686b24d8e5daededa469e155da33aaafee72a22c
|
||||
DIST mmix-20160804.tgz 308410 BLAKE2B 8bbde51921fe23f016e35bd51346e6445d530815e5e87bff44cf17e081c6b8e55dd6bd24f1ce1621851d2eac309fa44d71aa33d93d3ddfce5213c6643181d38c SHA512 35c518227a4ee40d0aa3be02eda2ab8b2a27696fa789f5007a978419d07b3deebb7f391895e63e3556aeb38dc1ded3bddf2b860125ebf8f7848375e90dc7af75
|
||||
EBUILD mmix-20160804-r1.ebuild 939 BLAKE2B 7dd6c3fa1fad518615f7be6b47d8b546d934310f65a70c9ca581b9f5ab5869d3338812acd52a097bc6a2098bacc7692c980d9d5b47fa4042654dfb62eb45e3af SHA512 5a7a5721d7346a1caed862aba73bfcab6cc8c78af31e129bb707eb49021cd0a54c27e01687f35cbf032509b797b51f2e50e1074f3d78e0aa8faf25784505771a
|
||||
EBUILD mmix-20160804-r1.ebuild 982 BLAKE2B 5f24dcb5085469727e7f4263ef508921b2783c3b26d206ebf4ec846c7243ea4ee3b083d9c5544b3e92ca32920d07ebedefdc58eb90d83a45e5e6c3d5a6d1e6a6 SHA512 c3a61fea330889a586160691ea5be3e235b6b536a6f811712d4333abf3bea24ab02646438db9353cc146fe57d101eabf79efe5b3f95b08cfd786b333ec0159b5
|
||||
EBUILD mmix-20160804.ebuild 849 BLAKE2B daece24ae69bacf4b32692af7fdce7f1c19f676534aecfb10b770e83c34a2055ad6cd5b2a3d7f6d1fa5a902b7c396694160784b02d0645f93865c4f94891ccdf SHA512 3c213ff93e7ebfc1daf96d1313423248e88367f5eb466d1f4dde89109b94a1a222ef65b84f7740a2328182764290b966d91b2dd5121bb7348ae791c46d27e66e
|
||||
MISC metadata.xml 359 BLAKE2B 8e1746961e93d5df12f25907921a6186e3ae082de593f976cc4a253a0fbe9f33e78b6538b4a33e958f73bab2d20179eca1b54301240d83d16471c4acee95426c SHA512 70c8cf6e10f42baf6d223ef0f622465a8f196b2935276c793d5961e6304478c0f03231ade7c3e776e9bffb70bf53c550aa23c8a65ddfac1562c71314d85fb622
|
||||
|
|
24
dev-lang/mmix/files/mmix-20160804-gcc-10.patch
Normal file
24
dev-lang/mmix/files/mmix-20160804-gcc-10.patch
Normal file
|
@ -0,0 +1,24 @@
|
|||
gcc-10 defaults to -fno-common. Causes linker errors for
|
||||
duplicate 'buffer' definition.
|
||||
--- a/mmix-config.w
|
||||
+++ b/mmix-config.w
|
||||
@@ -357,7 +357,7 @@ print error messages.
|
||||
|
||||
@<Global variables@>=
|
||||
FILE *config_file; /* input comes from here */
|
||||
-char buffer[BUF_SIZE]; /* input lines go here */
|
||||
+static char buffer[BUF_SIZE]; /* input lines go here */
|
||||
char token[BUF_SIZE]; /* and tokens are copied to here */
|
||||
char *buf_pointer=buffer; /* this is our current position */
|
||||
bool token_prescanned; /* does |token| contain the next token already? */
|
||||
--- a/mmmix.w
|
||||
+++ b/mmmix.w
|
||||
@@ -115,7 +115,7 @@ and \Hex{fedcba9876543210} into location \Hex{0123456789b0}.
|
||||
octa cur_loc;
|
||||
octa cur_dat;
|
||||
bool new_chunk;
|
||||
-char buffer[BUF_SIZE];
|
||||
+static char buffer[BUF_SIZE];
|
||||
FILE *prog_file;
|
||||
|
||||
@ @<Input a rudimentary hexadecimal file@>=
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
@ -24,6 +24,7 @@ S="${WORKDIR}"
|
|||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-20110420-makefile.patch
|
||||
"${FILESDIR}"/${PN}-20131017-format-security.patch
|
||||
"${FILESDIR}"/${PN}-20160804-gcc-10.patch
|
||||
)
|
||||
|
||||
src_compile() {
|
||||
|
|
|
@ -54,20 +54,6 @@ DIST rust-1.40.0-powerpc64le-unknown-linux-gnu.tar.xz 87972788 BLAKE2B ad1e460db
|
|||
DIST rust-1.40.0-s390x-unknown-linux-gnu.tar.xz 95398844 BLAKE2B e897ac3e1f46a63c7ad14e0e5229b7028ac325256e084439bcad0ced631eb26d50ca72710c46e59accb0e3d0574d08a9c15455be59a8d78173387d35ddd3bed7 SHA512 e71d3a1d85975653b6d972a4854c9e53be7f2d093a601145261c97f7917f869399fbc6322a04f63b782a5a28b91c3be40041a8c77367d19dec8d0e857cbbef14
|
||||
DIST rust-1.40.0-x86_64-unknown-linux-gnu.tar.xz 110186516 BLAKE2B ad89d8cecbd565b23c98ec095bad218de971cb4bb89924bbcb012df6c9ecf0db2b50d624abdf6b050fe1f5067aea9311dc01852950a5ca5e993e99f913fc5dbc SHA512 11a2ad1d8b9e91cbe9ee6a1954d46ac75eeaa83f0c2425a8ad70d191727b02e86ead33d6464222effca6f5134c31a165801a854aa57bdb5f12944d605de3c1d1
|
||||
DIST rust-1.40.0-x86_64-unknown-linux-musl.tar.xz 96869284 BLAKE2B 61cdf2eab51455e377e079e7013959ee51358c9846f8442f81a3240062af573f452a0f5f007e63cbbcdd0db98ac22ab0d4f3006f6ef30327b609d303410cba8c SHA512 3e6d7cf7b24c09d13266e06f20ab317c5ffb68de3242719c71e95c3d778269c4076e06badfb488e8fc223b822246ebbeb888d4168ddf6e2401793e23e77810bb
|
||||
DIST rust-1.41.0-aarch64-unknown-linux-gnu.tar.xz 96574096 BLAKE2B 1cd5e5c2cc9a53344e46f2bc88894346669f7395959e5beea921be1765d0c71fe2bd8f6cbf31bca91fef391e2e35dd8d477432d0a9e4c23b147ab9982b74870e SHA512 e96e17045fee7056c5cad764d77c79a995c0f969a12d7c0b8eb8e55235bd72d97fd6836c8ee283f09ab1447bf0ae931766db5db0703fb8d5ac647556c417c254
|
||||
DIST rust-1.41.0-arm-unknown-linux-gnueabi.tar.xz 99328148 BLAKE2B cf8426b77db7bcb310a0cf95322371b79df22f5f1c048675f460bd8eaac4d2a2e84ce0fc478287fc140fdfee54bcd7eb903be9aa37d59e9a6b562b3997533fcf SHA512 6a0a96967094ac9502c880158b163f2e33134bc849ffb01ef88dfed22d96483d82166e695ca21d9e9e96e56e5c83ede5dba9573f3225a3418c71e625f8e98470
|
||||
DIST rust-1.41.0-arm-unknown-linux-gnueabihf.tar.xz 99310972 BLAKE2B dfdb003e95034fe72287a0c2527e9a7b5c02cf3682263c225037e86a0d5a71250f067f757e0b099c4b8a639993ba9e9353562d64b750ceb31d67f98c9a8835d9 SHA512 3da429f804dd5c61375bedd06f1e6262b44dbed487644aeebadc0ea3438584855d48c67c75021e551e5527465213a9699ce4a8595f93c8ef3df2ed4bbd9b8c76
|
||||
DIST rust-1.41.0-armv7-unknown-linux-gnueabihf.tar.xz 103804972 BLAKE2B 7ecb1800f144f8ee0fa020b28cd5087cf20cb6583fcd334f0d07ab722a5cd078a4a94649e464c6778222ba197aec95154ed6ebdbff76aa83067695439bd4a255 SHA512 b699eb497145e36fbda283abd2881b0e879bc6713b170be04be3919fb2064153779e4535c6a513c667a79b6aa21c775dbd479af131db1a55c7caa4504e808fbd
|
||||
DIST rust-1.41.0-i686-unknown-linux-gnu.tar.xz 120547488 BLAKE2B cf5b240c6f116f4d54092c9d466e2eb8408584f3fb4b0759601ad0bcba59ff3d639debca1cc45ce490964a09b02a071fea0d2cbcac0f3a5ac0bbb5aedef6d6af SHA512 b9541e07bd92b9135c538e0d8d3b47577fd4a7019a7ba4ce99a85c568a724b9a31f76d8b547e944818f215af8f8347a7674f14b4e61b2f5fc09b83595415583b
|
||||
DIST rust-1.41.0-mips-unknown-linux-gnu.tar.xz 90976844 BLAKE2B eef629a270e53299df4a3e2beef6962c028e1c1380c86264ac72d80b3837e7ef44100ab6484b9f9bdc5e4415ce9897bdb14d9643d164ec3c2eb12825a8833bc3 SHA512 823d2f8ccd70b9f1506134d027972ae021aa2867ac53d2e8d77deaac2ab55310c5c6978ad17f259d82adfe79ed4973029052407e3412f30988d890e20745b812
|
||||
DIST rust-1.41.0-mips64-unknown-linux-gnuabi64.tar.xz 98858296 BLAKE2B 57c73264a8a82d32854fba3d3283b53068c4200b54b0cf90d7e185cec6392fef26a1128079f5c056ae5cf77d86a3cd25c2d96d089de60e5a43fc3f312f099f32 SHA512 4c67f719b4d6573d5a48b31922c76bf475ee025fcc66b23fcda1a5713da1fd02aac9d407af703af017b2ff9d76822d3ab3f452fb2081a52a6610cdc61bfd6b39
|
||||
DIST rust-1.41.0-mipsel-unknown-linux-gnu.tar.xz 92840348 BLAKE2B 6a94aa8999eaffcff1788d60b196a432840850383bb2b3530cc2097b1533ff139ae4ce47aff15e85352682e869c24f8680dd5126f37ba31f6b49562ccf74ce94 SHA512 e3ff18a44a79f7d1625ecd20963e9831d30d5eccb0b41f09cdceb1306671e53b9519c399a25b9d71890c1d2cd490b4bcdc59fc92b38db8f4f25e28cada5ce45c
|
||||
DIST rust-1.41.0-powerpc-unknown-linux-gnu.tar.xz 98469628 BLAKE2B f7b7cad2b7f702b5a67309bdae3ac94b3118c05e9a429ebeec22312ac8bd37d268f6e9f23acc59f35e89664d01fecc9216739346fa395d688e3266d994aaa961 SHA512 4af61af924dc103ee582b273cb7e4d66f45b8ea3955b90f3c59a11b2d057eba5ac915a33579761053b4f22216dc56de1ae4984ce3ddb789189a787888ec45306
|
||||
DIST rust-1.41.0-powerpc64-unknown-linux-gnu.tar.xz 104761152 BLAKE2B ff05e6ba0fd4a2bf74d01c459ad73c17503cf6fa877989130b0949e67300dfaa8f5a16be7e56c594d38aa1df680775fadc556686f7dd89630528a0db38e36339 SHA512 0c40a966ab9d8b485cc8e542b74fc7fec74e00f409744be79d38bddeff74b12e6a130fead8f13531210d123fd95be1fc476434cf26cedf25f74774de8fff42ee
|
||||
DIST rust-1.41.0-powerpc64le-unknown-linux-gnu.tar.xz 110799904 BLAKE2B c89548ec66be561fccca42922e418ba8bb952bd5848f69ad4606bf388076b1b0bb9d04bc7181792f1df3e9cf8d9014abe08fdc0a65eb8a73c0ccb79f6e3324b0 SHA512 5b9faee91ae2f4c472ba3155149ac9e3a300a149209e62393502a2d69730cba0361e4ddcbb0d5f1d3c26a93b7ebe1fc497d8573bad049e492156ca743603ef06
|
||||
DIST rust-1.41.0-s390x-unknown-linux-gnu.tar.xz 115153476 BLAKE2B 1646b42f5a2001f63b653c59d5e30d1b6c9f3a8c2d2d07a779cc530242fee1f5e92ae8dc1af2a81c57f93d615ad519d40ec6f5ceea79e56048ccae7a37d4a5ba SHA512 458b9877bf2569e6e3a0a6692228d4dda68506336587880f6a51254bab5cbb60c5f82673b0d44842137a426411f25146c08447f22e1a5b883dee99f52e30aeb0
|
||||
DIST rust-1.41.0-x86_64-unknown-linux-gnu.tar.xz 111122952 BLAKE2B e1380cf72c8db8279c7b0d4349f09efb040117b1ca70ed599cd5197c6c8a257a846213db372e5b2df93ee266124a8a410e348dc8d5502a537a9b86159afe7bbb SHA512 1f08ba8b82ee17e4ae8130a092913767bd448a580efa4eb06ca2c926234efc72d9b73e2b846102296b80e324697c0ac6f5d3768fbd159d49d248f307efc244ff
|
||||
DIST rust-1.41.0-x86_64-unknown-linux-musl.tar.xz 96497736 BLAKE2B 3a193cc6d607891c2c7800498dc499d13bc50ce1249cb553271ab3eef69ea8e309f5048bfca9470c61056469a933824527002d5cc3f10f2ef1aea5519226710a SHA512 bcffacbb48b1d76cbf2951e7233951d6d58c4696f13b3ae616ca661bd8c20ebefd9420c494327d91999b76a34a6afe957281187e8fb5ce9cb968a3cfa8c23ea8
|
||||
DIST rust-1.41.1-aarch64-unknown-linux-gnu.tar.xz 96755608 BLAKE2B f8635737089bb028cfac6d6478c4226a78c2c8a8aa12f28cba267744e2e915e062f49edb505f26b6deaeca0d2fdb4ec4b83e791f87bf1eab6c0536dc41e2c641 SHA512 54eac5c380b418c1714931ead7d6284b225bb427fcc501e147240000b71d31b667e308aea7f38f3299b1311ab04f19011b914d37a4581c7a64028965569cd58e
|
||||
DIST rust-1.41.1-arm-unknown-linux-gnueabi.tar.xz 98856136 BLAKE2B dbb3996a9ae302290886bf1cd4642d99a9b3f883f9d39817bb15f105565147e416e23d19e0d08314b08ed441f1ac528c20d8bee27ccef68cb585d8ef64a19e45 SHA512 1b01acd430af3cf99d838aa367dec4f6e4bfcec91388d4a2323cd781d53246edae0f14687b087b73b87c349f243e3acabe193538ce31303f07d59c6a03c31565
|
||||
DIST rust-1.41.1-arm-unknown-linux-gnueabihf.tar.xz 99107336 BLAKE2B 0dd84e7ad6081b8fdcfcb2691496ed3a493e08db4757e6d3bb2aa9a36fc6f020772a84bc21d0c60efeecf635512f25737b8d6b49a53020c4045c89c5b89881d7 SHA512 462e6d354a4b3b848781bb059decc5eb1ebb4d8a31651623d076a2654e2c8fd02f0f87ddafb124efa40cb134c9438eb252035c2b5bfdf936881b14a23bfbfe9f
|
||||
|
@ -86,6 +72,5 @@ EBUILD rust-bin-1.37.0.ebuild 5453 BLAKE2B d27536dd8663161825330f129cff24acd359a
|
|||
EBUILD rust-bin-1.38.0.ebuild 5462 BLAKE2B 3bb307a5aa670c27ed62ef0465447fd1e9e11d510f1a6a66de6ac773dc507ec6a859d3a596262b48b8b1fc71112e430fb77324d3651194a5b4124f8fe8332251 SHA512 a59650753f0d3658eca4311f1b34fda8fb89935e8421cd2079af274bc165db113efae98c02021403b45b1e96c547d2f2d5ad602b265e8e19e616a070d7a5a189
|
||||
EBUILD rust-bin-1.39.0.ebuild 5457 BLAKE2B b2c1cf4bc8fbd50c80c0848a37e41fc17e010f700a2eff222c898d34682adcb13e85be851cfc093f2e4c147f881ca7e910c4bff40f122261c57a8f3684ffd282 SHA512 043357eda5f22565f0c3eee9088fab703b7a2c8d165928f98996f409bd32334a2a4eef0f12b50068dbb7356168c22968fb9c598a137145f64fc55e855754d47c
|
||||
EBUILD rust-bin-1.40.0.ebuild 5462 BLAKE2B 3bb307a5aa670c27ed62ef0465447fd1e9e11d510f1a6a66de6ac773dc507ec6a859d3a596262b48b8b1fc71112e430fb77324d3651194a5b4124f8fe8332251 SHA512 a59650753f0d3658eca4311f1b34fda8fb89935e8421cd2079af274bc165db113efae98c02021403b45b1e96c547d2f2d5ad602b265e8e19e616a070d7a5a189
|
||||
EBUILD rust-bin-1.41.0.ebuild 5459 BLAKE2B 0ee457779c991d5e10efe9a1705879bcb727842a259b8fa3ffab80caa11cdf22c7eff5c52740e9c9d59372d40637ea5380eb45cb528bd55b4b39d93c47cfe32d SHA512 6517514d2d7701e86594a81c218db1f5ae5d738b8366e53de21bbc2911a2e81556e2019c479f966affb1b290e0db5bee6326ea0ccfd8756251c8fa7920afe66a
|
||||
EBUILD rust-bin-1.41.1.ebuild 5383 BLAKE2B 866e2af12cc6c37e6df7393bd53f84f269bb9b73400d1669a06cfc64c2d98dd60c0889f58e0463876cabf44db012598957eed6a2fa4d65eb8c6a080d5df8eb17 SHA512 c8da3bfcb3b7358428df06eadb7f60aabe6344c8803d1bfb2923a6b02d20f4ad600288b33658a51a91a957cedc95ecbd9b102bf3e41a8bd026acf2b4bf5767fd
|
||||
MISC metadata.xml 381 BLAKE2B 2a378d099ea6bb4ebe56493d1e7196c3207c54212e3c9ef8c0d020a360240cd3a5867b30e1fd3ac0a4da10de11ea6010677cbe63632e97a03ba480496a968cfe SHA512 573b793a11a2f3b7fee167fadc0c4135d16b9452642655fe3e217d6196b4f046afac281542ae361749d1d84c67a4cdd6b4944e364045d9e46e39d69b81fbc92c
|
||||
|
|
|
@ -1,167 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit bash-completion-r1 rust-toolchain toolchain-funcs
|
||||
|
||||
MY_P="rust-${PV}"
|
||||
|
||||
DESCRIPTION="Systems programming language from Mozilla"
|
||||
HOMEPAGE="https://www.rust-lang.org/"
|
||||
SRC_URI="$(rust_all_arch_uris ${MY_P})"
|
||||
|
||||
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
|
||||
SLOT="stable"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ppc64 x86"
|
||||
IUSE="clippy cpu_flags_x86_sse2 doc libressl rustfmt"
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=">=app-eselect/eselect-rust-20190311
|
||||
sys-libs/zlib
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
net-libs/libssh2
|
||||
net-misc/curl[ssl]
|
||||
!dev-lang/rust:0
|
||||
!dev-util/cargo
|
||||
rustfmt? ( !dev-util/rustfmt )"
|
||||
REQUIRED_USE="x86? ( cpu_flags_x86_sse2 )"
|
||||
|
||||
QA_PREBUILT="
|
||||
opt/${P}/bin/*-${PV}
|
||||
opt/${P}/lib/*.so
|
||||
opt/${P}/lib/rustlib/*/bin/*
|
||||
opt/${P}/lib/rustlib/*/lib/*.so
|
||||
opt/${P}/lib/rustlib/*/lib/*.rlib*
|
||||
"
|
||||
|
||||
pkg_pretend() {
|
||||
if [[ "$(tc-is-softfloat)" != "no" ]] && [[ ${CHOST} == armv7* ]]; then
|
||||
die "${CHOST} is not supported by upstream Rust. You must use a hard float version."
|
||||
fi
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
mv "${WORKDIR}/${MY_P}-$(rust_abi)" "${S}" || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local std=$(grep 'std' ./components)
|
||||
local components="rustc,cargo,${std}"
|
||||
use doc && components="${components},rust-docs"
|
||||
use clippy && components="${components},clippy-preview"
|
||||
use rustfmt && components="${components},rustfmt-preview"
|
||||
./install.sh \
|
||||
--components="${components}" \
|
||||
--disable-verify \
|
||||
--prefix="${ED}/opt/${P}" \
|
||||
--mandir="${ED}/usr/share/${P}/man" \
|
||||
--disable-ldconfig \
|
||||
|| die
|
||||
|
||||
local rustc=rustc-bin-${PV}
|
||||
local rustdoc=rustdoc-bin-${PV}
|
||||
local rustgdb=rust-gdb-bin-${PV}
|
||||
local rustgdbgui=rust-gdbgui-bin-${PV}
|
||||
local rustlldb=rust-lldb-bin-${PV}
|
||||
|
||||
mv "${ED}/opt/${P}/bin/rustc" "${ED}/opt/${P}/bin/${rustc}" || die
|
||||
mv "${ED}/opt/${P}/bin/rustdoc" "${ED}/opt/${P}/bin/${rustdoc}" || die
|
||||
mv "${ED}/opt/${P}/bin/rust-gdb" "${ED}/opt/${P}/bin/${rustgdb}" || die
|
||||
mv "${ED}/opt/${P}/bin/rust-gdbgui" "${ED}/opt/${P}/bin/${rustgdbgui}" || die
|
||||
mv "${ED}/opt/${P}/bin/rust-lldb" "${ED}/opt/${P}/bin/${rustlldb}" || die
|
||||
|
||||
dosym "${rustc}" "/opt/${P}/bin/rustc"
|
||||
dosym "${rustdoc}" "/opt/${P}/bin/rustdoc"
|
||||
dosym "${rustgdb}" "/opt/${P}/bin/rust-gdb"
|
||||
dosym "${rustgdbgui}" "/opt/${P}/bin/rust-gdbgui"
|
||||
dosym "${rustlldb}" "/opt/${P}/bin/rust-lldb"
|
||||
|
||||
dosym "../../opt/${P}/bin/${rustc}" "/usr/bin/${rustc}"
|
||||
dosym "../../opt/${P}/bin/${rustdoc}" "/usr/bin/${rustdoc}"
|
||||
dosym "../../opt/${P}/bin/${rustgdb}" "/usr/bin/${rustgdb}"
|
||||
dosym "../../opt/${P}/bin/${rustgdbgui}" "/usr/bin/${rustgdbgui}"
|
||||
dosym "../../opt/${P}/bin/${rustlldb}" "/usr/bin/${rustlldb}"
|
||||
|
||||
local cargo=cargo-bin-${PV}
|
||||
mv "${ED}/opt/${P}/bin/cargo" "${ED}/opt/${P}/bin/${cargo}" || die
|
||||
dosym "${cargo}" "/opt/${P}/bin/cargo"
|
||||
dosym "../../opt/${P}/bin/${cargo}" "/usr/bin/${cargo}"
|
||||
|
||||
if use clippy; then
|
||||
local clippy_driver=clippy-driver-bin-${PV}
|
||||
local cargo_clippy=cargo-clippy-bin-${PV}
|
||||
mv "${ED}/opt/${P}/bin/clippy-driver" "${ED}/opt/${P}/bin/${clippy_driver}" || die
|
||||
mv "${ED}/opt/${P}/bin/cargo-clippy" "${ED}/opt/${P}/bin/${cargo_clippy}" || die
|
||||
dosym "${clippy_driver}" "/opt/${P}/bin/clippy-driver"
|
||||
dosym "${cargo_clippy}" "/opt/${P}/bin/cargo-clippy"
|
||||
dosym "../../opt/${P}/bin/${clippy_driver}" "/usr/bin/${clippy_driver}"
|
||||
dosym "../../opt/${P}/bin/${cargo_clippy}" "/usr/bin/${cargo_clippy}"
|
||||
fi
|
||||
if use rustfmt; then
|
||||
local rustfmt=rustfmt-bin-${PV}
|
||||
local cargo_fmt=cargo-fmt-bin-${PV}
|
||||
mv "${ED}/opt/${P}/bin/rustfmt" "${ED}/opt/${P}/bin/${rustfmt}" || die
|
||||
mv "${ED}/opt/${P}/bin/cargo-fmt" "${ED}/opt/${P}/bin/${cargo_fmt}" || die
|
||||
dosym "${rustfmt}" "/opt/${P}/bin/rustfmt"
|
||||
dosym "${cargo_fmt}" "/opt/${P}/bin/cargo-fmt"
|
||||
dosym "../../opt/${P}/bin/${rustfmt}" "/usr/bin/${rustfmt}"
|
||||
dosym "../../opt/${P}/bin/${cargo_fmt}" "/usr/bin/${cargo_fmt}"
|
||||
fi
|
||||
|
||||
cat <<-EOF > "${T}"/50${P}
|
||||
LDPATH="/opt/${P}/lib"
|
||||
MANPATH="/usr/share/${P}/man"
|
||||
EOF
|
||||
doenvd "${T}"/50${P}
|
||||
|
||||
# note: eselect-rust adds EROOT to all paths below
|
||||
cat <<-EOF > "${T}/provider-${P}"
|
||||
/usr/bin/rustdoc
|
||||
/usr/bin/rust-gdb
|
||||
/usr/bin/rust-gdbgui
|
||||
/usr/bin/rust-lldb
|
||||
EOF
|
||||
echo /usr/bin/cargo >> "${T}/provider-${P}"
|
||||
if use clippy; then
|
||||
echo /usr/bin/clippy-driver >> "${T}/provider-${P}"
|
||||
echo /usr/bin/cargo-clippy >> "${T}/provider-${P}"
|
||||
fi
|
||||
if use rustfmt; then
|
||||
echo /usr/bin/rustfmt >> "${T}/provider-${P}"
|
||||
echo /usr/bin/cargo-fmt >> "${T}/provider-${P}"
|
||||
fi
|
||||
|
||||
insinto /etc/env.d/rust
|
||||
doins "${T}/provider-${P}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect rust update --if-unset
|
||||
|
||||
elog "Rust installs a helper script for calling GDB now,"
|
||||
elog "for your convenience it is installed under /usr/bin/rust-gdb-bin-${PV},"
|
||||
|
||||
if has_version app-editors/emacs; then
|
||||
elog "install app-emacs/rust-mode to get emacs support for rust."
|
||||
fi
|
||||
|
||||
if has_version app-editors/gvim || has_version app-editors/vim; then
|
||||
elog "install app-vim/rust-vim to get vim support for rust."
|
||||
fi
|
||||
|
||||
if use elibc_musl; then
|
||||
ewarn "${PN} on *-musl targets is configured with crt-static"
|
||||
ewarn ""
|
||||
ewarn "you will need to set RUSTFLAGS=\"-C target-feature=-crt-static\" in make.conf"
|
||||
ewarn "to use it with portage, otherwise you may see failures like"
|
||||
ewarn "error: cannot produce proc-macro for serde_derive v1.0.98 as the target "
|
||||
ewarn "x86_64-unknown-linux-musl does not support these crate types"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect rust cleanup
|
||||
}
|
|
@ -80,12 +80,10 @@ DIST rustc-1.37.0-src.tar.xz 98654252 BLAKE2B ddee92c7959a0e1ee11ffe5ded6017703c
|
|||
DIST rustc-1.38.0-src.tar.xz 96163304 BLAKE2B 1e900b44db64727477ccf8e58e0ebb9ec209bbeb349816b5f7937e58c165db8befae33c5667732e5aaaa677c5a6c1e0229d9969ab8967fda9b8d7a593e6c5eb6 SHA512 b756d29a7a222bc7b5c7f42ff397346ab840f78e559f93e6e36b65e76eea525cf429899fe4de9fb8966623a2225b552feef9fa831bee50f9e25c976fa2af8c0a
|
||||
DIST rustc-1.39.0-src.tar.xz 96495140 BLAKE2B 6df6bf0c3b38c28753713acdc477ea6929740c32893171dd9b8620992439e45730ef6f9489a6fc411ff5884c661ac4c07b7b93f5a4174207ed53351d2dea09bf SHA512 8610b2ec77722087c572bd84ac562a5b7c5f1a644aea58c5d5daa07a9aed242703b7816e73e2eaa049f773d5907859e259744a0de700622df005584fd798dab0
|
||||
DIST rustc-1.40.0-src.tar.xz 92306352 BLAKE2B 762b9592414e5c816540f6fd37d07b3b0ffe97a151968cc8ae77be2fda03a6d66905192985edc65055cc7811dbd90faa2b2c056481f72161c6f7ccbcce13671a SHA512 b5ac3079acefb62d3c985b77f624d7fb68de23a59396fed9ccb292db61641c064f3146ee54d3cf59067b17ebfaadd14a6b2b466def60316bb5b13ba3aef01e1f
|
||||
DIST rustc-1.41.0-src.tar.xz 93763052 BLAKE2B a68524fb6e3abb43d52ae6676a1e9de1c5d33606eaea6e93bb518f10b196d620f2f370c631c32e39a624af71a3bf6911662a9df7eecb8dde78a20c8054a349fc SHA512 0e30fe53b77860085bea0f1f60315eb835b00dd796c5d1b98ed44fe6fc27336dfb064908c86e1669a9cbe81c9ca1495e1c259a8a268bef23b23805a719cef0dd
|
||||
DIST rustc-1.41.1-src.tar.xz 93754192 BLAKE2B 235ece650d0c75e1c8700ce73d3811997cd0d827b850a6dd435a269f3f86d85849d54755ea346c5ddcbe0d1224836fd78213f6abeab4a9a8c4c3e2d8a05ff7b4 SHA512 ef33565c9cf4e27ca279072bfed3301e0276c09407d49727640746ba78d289de285278d64b1cce8708461fd6c97c7ab2ea8d56e7a4c4a23b2e66e2d164c35fc9
|
||||
EBUILD rust-1.37.0.ebuild 9481 BLAKE2B a5348fff749d7ec0e36fdb49aac73af9ab0b838bd72c57e76c475705afedebf515f553dcf7fd36680266a8a8601abdc04ccd93b1881c4d39a2bf86b8e7077f1b SHA512 38ac15f899841ef3e59293bf8a26242825c0a73cbba255a86f3d83ecd609497538ad86ed1fa8533975db183a9d6e38408f7c960a7c9c20882ddec60a42668d1c
|
||||
EBUILD rust-1.38.0.ebuild 9439 BLAKE2B 6e9f86c2dbd9a31df3f8203b239da85ab2dcf702609c4c189ed9ac1a319dc8630691e21e64873cb99ac1bd8521cf20b4731938492dbbce5121f613e8b7f64cd9 SHA512 d7f3d0bc258d0acb66cc6552c1da21a441399ff3249a380d6e835e1423763daa3e6c7e29c886f3f51d9017b44c9abf4c96912d8472ced46c748d57be4a6afbf8
|
||||
EBUILD rust-1.39.0.ebuild 9587 BLAKE2B 14aaadef0d43324ce8f530a93ac651a7e98e3e5014ac62bda1a860ae2f71f65a8a6f3cdb0ccc7662f7f63d9bb7f5afd5a8d388a16022b8114ab7ccce15ba119a SHA512 d83a106687255aaa099d352e389f6dc788f0aaec424b7558058222bd608949e890c6e6885968e01f65376b3633f4e48e7327369ebbbfb49f71bcd46afce585be
|
||||
EBUILD rust-1.40.0-r1.ebuild 9862 BLAKE2B 9db4fcdee5d3d87b6ab651575d7c5039c41eda95c32cc12623ff70cb02b16c228a727767048252ff9daed49ee611101044fba00ec3df5e99a26643397bfc9f3b SHA512 8ad7759e2786169836bb4f96416ea7bf1faf0fa24feae0772823ef75198b7463396b30460a47025200d91d5ebb1562c550965cff0a06410ac8a8aaf17ba9384a
|
||||
EBUILD rust-1.41.0.ebuild 10120 BLAKE2B 031a4873d919ed317de00ada96f833356e327adbd000e30d11460f08b6abc6069aa48f309420746f6938d9e4a42c839a03569f69d2ba8f11fe57852d9afd6a0f SHA512 7ae78ec9e05138cdd71cdeaedf388a7b8bb2958dcad743e59d08f20f3422699bd953fc8ef64a709ced20061b56281b7584224e855d147e51db726ce76923e492
|
||||
EBUILD rust-1.41.1.ebuild 10129 BLAKE2B 827f8cfe28c4cb98b7b51146b0a51a1dfa44f4f0c7fa7f635f4b3a87838ef66cada5fbe4224ea4d43fe7562df9cfd1268586af216b5f549cd2bce8523a8b2c5d SHA512 ae8f3c3a8131c4a880962bfd155fc22827846b3691f6b84c8120902f8e92703185a2cbdf8aaf6319489c740a7731bd47ff055888787447673406524201dd34ee
|
||||
EBUILD rust-1.40.0-r1.ebuild 9863 BLAKE2B 5b7b39fcd66c551ee4a918686861c39cc87682a56d8dcdd7ca8d5a804459e504934ceccd2d1cf3956028eabeded564ac198e13483c314f6eece8323d57da0813 SHA512 6709a19a336b1fb5b4127b51c0187ca2e8cd5e4fc33156929ca095c9834eb6ed37b3b2cc9753c1d862e2aacb008d194762334988181631591137f15a978a826e
|
||||
EBUILD rust-1.41.1.ebuild 10130 BLAKE2B 4d88f7524ad270f28513e73b2a34dfbf631304edc696db2ed05a15f3d5d25f24bec20ccae66b30353946aba88422dd93e83245efa0b3908e5c67f94170ae986d SHA512 683e71f2ff38602c22d896a459df9649a8f5d5e0bce9cbab713bed129c80f09b8868e89bba3e6ccd8dbdcebedd520f184d4a1f25d7459ad468bfe6afe1bd5f8a
|
||||
MISC metadata.xml 885 BLAKE2B 0c22dd218172717e47fba5c3294746470a9adcba729a3585937748ef8e4b8ea118e036753c332eace3dbc6ce82406c15f35948d1857485abe7761c7e4f299c1b SHA512 56f1535f91d2d0126ee70d42ef0ac3ac0e491ce1c539a159db6c429104881227676f6e29412f090631e728093b0902d330c00a8d4d8027c1a07e3632c8e36435
|
||||
|
|
|
@ -82,7 +82,7 @@ DEPEND="${COMMON_DEPEND}
|
|||
>=sys-devel/clang-3.5
|
||||
)
|
||||
system-bootstrap? ( ${BOOTSTRAP_DEPEND} )
|
||||
system-llvm? (
|
||||
!system-llvm? (
|
||||
dev-util/cmake
|
||||
dev-util/ninja
|
||||
)
|
||||
|
|
|
@ -1,369 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
|
||||
inherit bash-completion-r1 check-reqs estack flag-o-matic llvm multiprocessing multilib-build python-any-r1 rust-toolchain toolchain-funcs
|
||||
|
||||
if [[ ${PV} = *beta* ]]; then
|
||||
betaver=${PV//*beta}
|
||||
BETA_SNAPSHOT="${betaver:0:4}-${betaver:4:2}-${betaver:6:2}"
|
||||
MY_P="rustc-beta"
|
||||
SLOT="beta/${PV}"
|
||||
SRC="${BETA_SNAPSHOT}/rustc-beta-src.tar.xz"
|
||||
else
|
||||
ABI_VER="$(ver_cut 1-2)"
|
||||
SLOT="stable/${ABI_VER}"
|
||||
MY_P="rustc-${PV}"
|
||||
SRC="${MY_P}-src.tar.xz"
|
||||
KEYWORDS="amd64 ~arm ~arm64 ppc64 x86"
|
||||
fi
|
||||
|
||||
RUST_STAGE0_VERSION="1.$(($(ver_cut 2) - 1)).0"
|
||||
|
||||
DESCRIPTION="Systems programming language from Mozilla"
|
||||
HOMEPAGE="https://www.rust-lang.org/"
|
||||
|
||||
SRC_URI="
|
||||
https://static.rust-lang.org/dist/${SRC} -> rustc-${PV}-src.tar.xz
|
||||
!system-bootstrap? ( $(rust_all_arch_uris rust-${RUST_STAGE0_VERSION}) )
|
||||
"
|
||||
|
||||
ALL_LLVM_TARGETS=( AArch64 AMDGPU ARM BPF Hexagon Lanai Mips MSP430
|
||||
NVPTX PowerPC RISCV Sparc SystemZ WebAssembly X86 XCore )
|
||||
ALL_LLVM_TARGETS=( "${ALL_LLVM_TARGETS[@]/#/llvm_targets_}" )
|
||||
LLVM_TARGET_USEDEPS=${ALL_LLVM_TARGETS[@]/%/?}
|
||||
|
||||
LICENSE="|| ( MIT Apache-2.0 ) BSD-1 BSD-2 BSD-4 UoI-NCSA"
|
||||
|
||||
IUSE="clippy cpu_flags_x86_sse2 debug doc libressl nightly parallel-compiler rls rustfmt system-bootstrap system-llvm wasm ${ALL_LLVM_TARGETS[*]}"
|
||||
|
||||
# Please keep the LLVM dependency block separate. Since LLVM is slotted,
|
||||
# we need to *really* make sure we're not pulling more than one slot
|
||||
# simultaneously.
|
||||
|
||||
# How to use it:
|
||||
# 1. List all the working slots (with min versions) in ||, newest first.
|
||||
# 2. Update the := to specify *max* version, e.g. < 10.
|
||||
# 3. Specify LLVM_MAX_SLOT, e.g. 9.
|
||||
LLVM_DEPEND="
|
||||
|| (
|
||||
sys-devel/llvm:9[llvm_targets_WebAssembly?]
|
||||
wasm? ( =sys-devel/lld-9* )
|
||||
)
|
||||
<sys-devel/llvm-10:=
|
||||
"
|
||||
LLVM_MAX_SLOT=9
|
||||
|
||||
BOOTSTRAP_DEPEND="|| ( >=dev-lang/rust-1.$(($(ver_cut 2) - 1)).0-r1 >=dev-lang/rust-bin-1.$(($(ver_cut 2) - 1)) )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
net-libs/libssh2:=
|
||||
net-libs/http-parser:=
|
||||
net-misc/curl:=[ssl]
|
||||
sys-libs/zlib:=
|
||||
!libressl? ( dev-libs/openssl:0= )
|
||||
libressl? ( dev-libs/libressl:0= )
|
||||
elibc_musl? ( sys-libs/libunwind )
|
||||
system-llvm? (
|
||||
${LLVM_DEPEND}
|
||||
)
|
||||
"
|
||||
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
${PYTHON_DEPS}
|
||||
|| (
|
||||
>=sys-devel/gcc-4.7
|
||||
>=sys-devel/clang-3.5
|
||||
)
|
||||
system-bootstrap? ( ${BOOTSTRAP_DEPEND} )
|
||||
system-llvm? (
|
||||
dev-util/cmake
|
||||
dev-util/ninja
|
||||
)
|
||||
"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
>=app-eselect/eselect-rust-20190311
|
||||
"
|
||||
|
||||
REQUIRED_USE="|| ( ${ALL_LLVM_TARGETS[*]} )
|
||||
parallel-compiler? ( nightly )
|
||||
wasm? ( llvm_targets_WebAssembly )
|
||||
x86? ( cpu_flags_x86_sse2 )
|
||||
"
|
||||
|
||||
QA_FLAGS_IGNORED="
|
||||
usr/bin/*-${PV}
|
||||
usr/lib*/lib*.so
|
||||
usr/lib/rustlib/*/codegen-backends/librustc_codegen_llvm-llvm.so
|
||||
usr/lib/rustlib/*/lib/lib*.so
|
||||
"
|
||||
|
||||
QA_SONAME="usr/lib.*/librustc_macros.*.so"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/1.40.0-add-soname.patch
|
||||
"${FILESDIR}"/llvm-gcc10.patch
|
||||
)
|
||||
|
||||
S="${WORKDIR}/${MY_P}-src"
|
||||
|
||||
toml_usex() {
|
||||
usex "$1" true false
|
||||
}
|
||||
|
||||
pre_build_checks() {
|
||||
CHECKREQS_DISK_BUILD="10G"
|
||||
eshopts_push -s extglob
|
||||
if is-flagq '-g?(gdb)?([1-9])'; then
|
||||
CHECKREQS_DISK_BUILD="15G"
|
||||
fi
|
||||
eshopts_pop
|
||||
check-reqs_pkg_setup
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
pre_build_checks
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
pre_build_checks
|
||||
python-any-r1_pkg_setup
|
||||
|
||||
# use bundled for now, #707746
|
||||
# will need dev-libs/libgit2 slotted dep if re-enabled
|
||||
#export LIBGIT2_SYS_USE_PKG_CONFIG=1
|
||||
export LIBSSH2_SYS_USE_PKG_CONFIG=1
|
||||
export PKG_CONFIG_ALLOW_CROSS=1
|
||||
|
||||
if use system-llvm; then
|
||||
llvm_pkg_setup
|
||||
|
||||
local llvm_config="$(get_llvm_prefix "$LLVM_MAX_SLOT")/bin/llvm-config"
|
||||
|
||||
export LLVM_LINK_SHARED=1
|
||||
export RUSTFLAGS="${RUSTFLAGS} -Lnative=$("${llvm_config}" --libdir)"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
if ! use system-bootstrap; then
|
||||
local rust_stage0_root="${WORKDIR}"/rust-stage0
|
||||
local rust_stage0="rust-${RUST_STAGE0_VERSION}-$(rust_abi)"
|
||||
|
||||
"${WORKDIR}/${rust_stage0}"/install.sh --disable-ldconfig \
|
||||
--destdir="${rust_stage0_root}" --prefix=/ || die
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local rust_target="" rust_targets="" arch_cflags
|
||||
|
||||
# Collect rust target names to compile standard libs for all ABIs.
|
||||
for v in $(multilib_get_enabled_abi_pairs); do
|
||||
rust_targets="${rust_targets},\"$(rust_abi $(get_abi_CHOST ${v##*.}))\""
|
||||
done
|
||||
if use wasm; then
|
||||
rust_targets="${rust_targets},\"wasm32-unknown-unknown\""
|
||||
fi
|
||||
rust_targets="${rust_targets#,}"
|
||||
|
||||
local extended="true" tools="\"cargo\","
|
||||
if use clippy; then
|
||||
tools="\"clippy\",$tools"
|
||||
fi
|
||||
if use rls; then
|
||||
tools="\"rls\",\"analysis\",\"src\",$tools"
|
||||
fi
|
||||
if use rustfmt; then
|
||||
tools="\"rustfmt\",$tools"
|
||||
fi
|
||||
|
||||
local rust_stage0_root
|
||||
if use system-bootstrap; then
|
||||
rust_stage0_root="$(rustc --print sysroot)"
|
||||
else
|
||||
rust_stage0_root="${WORKDIR}"/rust-stage0
|
||||
fi
|
||||
|
||||
rust_target="$(rust_abi)"
|
||||
|
||||
cat <<- EOF > "${S}"/config.toml
|
||||
[llvm]
|
||||
optimize = $(toml_usex !debug)
|
||||
release-debuginfo = $(toml_usex debug)
|
||||
assertions = $(toml_usex debug)
|
||||
targets = "${LLVM_TARGETS// /;}"
|
||||
experimental-targets = ""
|
||||
link-shared = $(toml_usex system-llvm)
|
||||
[build]
|
||||
build = "${rust_target}"
|
||||
host = ["${rust_target}"]
|
||||
target = [${rust_targets}]
|
||||
cargo = "${rust_stage0_root}/bin/cargo"
|
||||
rustc = "${rust_stage0_root}/bin/rustc"
|
||||
docs = $(toml_usex doc)
|
||||
compiler-docs = $(toml_usex doc)
|
||||
submodules = false
|
||||
python = "${EPYTHON}"
|
||||
locked-deps = true
|
||||
vendor = true
|
||||
extended = ${extended}
|
||||
tools = [${tools}]
|
||||
verbose = 2
|
||||
[install]
|
||||
prefix = "${EPREFIX}/usr"
|
||||
libdir = "lib"
|
||||
docdir = "share/doc/${PF}"
|
||||
mandir = "share/man"
|
||||
[rust]
|
||||
optimize = $(toml_usex !debug)
|
||||
debug = $(toml_usex debug)
|
||||
debug-assertions = $(toml_usex debug)
|
||||
default-linker = "$(tc-getCC)"
|
||||
parallel-compiler = $(toml_usex parallel-compiler)
|
||||
channel = "$(usex nightly nightly stable)"
|
||||
rpath = false
|
||||
lld = $(usex system-llvm false $(toml_usex wasm))
|
||||
[dist]
|
||||
src-tarball = false
|
||||
EOF
|
||||
|
||||
for v in $(multilib_get_enabled_abi_pairs); do
|
||||
rust_target=$(rust_abi $(get_abi_CHOST ${v##*.}))
|
||||
arch_cflags="$(get_abi_CFLAGS ${v##*.})"
|
||||
|
||||
cat <<- EOF >> "${S}"/config.env
|
||||
CFLAGS_${rust_target}=${arch_cflags}
|
||||
EOF
|
||||
|
||||
cat <<- EOF >> "${S}"/config.toml
|
||||
[target.${rust_target}]
|
||||
cc = "$(tc-getBUILD_CC)"
|
||||
cxx = "$(tc-getBUILD_CXX)"
|
||||
linker = "$(tc-getCC)"
|
||||
ar = "$(tc-getAR)"
|
||||
EOF
|
||||
# librustc_target/spec/linux_musl_base.rs sets base.crt_static_default = true;
|
||||
if use elibc_musl; then
|
||||
cat <<- EOF >> "${S}"/config.toml
|
||||
crt-static = false
|
||||
EOF
|
||||
fi
|
||||
if use system-llvm; then
|
||||
cat <<- EOF >> "${S}"/config.toml
|
||||
llvm-config = "$(get_llvm_prefix "${LLVM_MAX_SLOT}")/bin/llvm-config"
|
||||
EOF
|
||||
fi
|
||||
done
|
||||
|
||||
if use wasm; then
|
||||
cat <<- EOF >> "${S}"/config.toml
|
||||
[target.wasm32-unknown-unknown]
|
||||
linker = "$(usex system-llvm lld rust-lld)"
|
||||
EOF
|
||||
fi
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
env $(cat "${S}"/config.env)\
|
||||
"${EPYTHON}" ./x.py build -vv --config="${S}"/config.toml -j$(makeopts_jobs) \
|
||||
--exclude src/tools/miri || die # https://github.com/rust-lang/rust/issues/52305
|
||||
}
|
||||
|
||||
src_install() {
|
||||
env DESTDIR="${D}" "${EPYTHON}" ./x.py install -vv --config="${S}"/config.toml \
|
||||
--exclude src/tools/miri || die
|
||||
|
||||
# bug #689562, #689160
|
||||
rm "${D}/etc/bash_completion.d/cargo" || die
|
||||
rmdir "${D}"/etc{/bash_completion.d,} || die
|
||||
dobashcomp build/tmp/dist/cargo-image/etc/bash_completion.d/cargo
|
||||
|
||||
mv "${ED}/usr/bin/rustc" "${ED}/usr/bin/rustc-${PV}" || die
|
||||
mv "${ED}/usr/bin/rustdoc" "${ED}/usr/bin/rustdoc-${PV}" || die
|
||||
mv "${ED}/usr/bin/rust-gdb" "${ED}/usr/bin/rust-gdb-${PV}" || die
|
||||
mv "${ED}/usr/bin/rust-gdbgui" "${ED}/usr/bin/rust-gdbgui-${PV}" || die
|
||||
mv "${ED}/usr/bin/rust-lldb" "${ED}/usr/bin/rust-lldb-${PV}" || die
|
||||
mv "${ED}/usr/bin/cargo" "${ED}/usr/bin/cargo-${PV}" || die
|
||||
if use clippy; then
|
||||
mv "${ED}/usr/bin/clippy-driver" "${ED}/usr/bin/clippy-driver-${PV}" || die
|
||||
mv "${ED}/usr/bin/cargo-clippy" "${ED}/usr/bin/cargo-clippy-${PV}" || die
|
||||
fi
|
||||
if use rls; then
|
||||
mv "${ED}/usr/bin/rls" "${ED}/usr/bin/rls-${PV}" || die
|
||||
fi
|
||||
if use rustfmt; then
|
||||
mv "${ED}/usr/bin/rustfmt" "${ED}/usr/bin/rustfmt-${PV}" || die
|
||||
mv "${ED}/usr/bin/cargo-fmt" "${ED}/usr/bin/cargo-fmt-${PV}" || die
|
||||
fi
|
||||
|
||||
# Move public shared libs to abi specific libdir
|
||||
# Private and target specific libs MUST stay in /usr/lib/rustlib/${rust_target}/lib
|
||||
if [[ $(get_libdir) != lib ]]; then
|
||||
dodir /usr/$(get_libdir)
|
||||
mv "${ED}/usr/lib"/*.so "${ED}/usr/$(get_libdir)/" || die
|
||||
fi
|
||||
|
||||
dodoc COPYRIGHT
|
||||
|
||||
# note: eselect-rust adds EROOT to all paths below
|
||||
cat <<-EOF > "${T}/provider-${P}"
|
||||
/usr/bin/rustdoc
|
||||
/usr/bin/rust-gdb
|
||||
/usr/bin/rust-gdbgui
|
||||
/usr/bin/rust-lldb
|
||||
EOF
|
||||
echo /usr/bin/cargo >> "${T}/provider-${P}"
|
||||
if use clippy; then
|
||||
echo /usr/bin/clippy-driver >> "${T}/provider-${P}"
|
||||
echo /usr/bin/cargo-clippy >> "${T}/provider-${P}"
|
||||
fi
|
||||
if use rls; then
|
||||
echo /usr/bin/rls >> "${T}/provider-${P}"
|
||||
fi
|
||||
if use rustfmt; then
|
||||
echo /usr/bin/rustfmt >> "${T}/provider-${P}"
|
||||
echo /usr/bin/cargo-fmt >> "${T}/provider-${P}"
|
||||
fi
|
||||
|
||||
insinto /etc/env.d/rust
|
||||
doins "${T}/provider-${P}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect rust update --if-unset
|
||||
|
||||
elog "Rust installs a helper script for calling GDB and LLDB,"
|
||||
elog "for your convenience it is installed under /usr/bin/rust-{gdb,lldb}-${PV}."
|
||||
|
||||
ewarn "cargo is now installed from dev-lang/rust{,-bin} instead of dev-util/cargo."
|
||||
ewarn "This might have resulted in a dangling symlink for /usr/bin/cargo on some"
|
||||
ewarn "systems. This can be resolved by calling 'sudo eselect rust set ${P}'."
|
||||
|
||||
if has_version app-editors/emacs; then
|
||||
elog "install app-emacs/rust-mode to get emacs support for rust."
|
||||
fi
|
||||
|
||||
if has_version app-editors/gvim || has_version app-editors/vim; then
|
||||
elog "install app-vim/rust-vim to get vim support for rust."
|
||||
fi
|
||||
|
||||
if use elibc_musl; then
|
||||
ewarn "${PN} on *-musl targets is configured with crt-static"
|
||||
ewarn ""
|
||||
ewarn "you will need to set RUSTFLAGS=\"-C target-feature=-crt-static\" in make.conf"
|
||||
ewarn "to use it with portage, otherwise you may see failures like"
|
||||
ewarn "error: cannot produce proc-macro for serde_derive v1.0.98 as the target "
|
||||
ewarn "x86_64-unknown-linux-musl does not support these crate types"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
eselect rust cleanup
|
||||
}
|
|
@ -79,7 +79,7 @@ DEPEND="${COMMON_DEPEND}
|
|||
>=sys-devel/clang-3.5
|
||||
)
|
||||
system-bootstrap? ( ${BOOTSTRAP_DEPEND} )
|
||||
system-llvm? (
|
||||
!system-llvm? (
|
||||
dev-util/cmake
|
||||
dev-util/ninja
|
||||
)
|
||||
|
|
|
@ -8,7 +8,7 @@ DIST vala-0.40.19.tar.xz 3435688 BLAKE2B caacacd0ed33a5a1fd465c7494d326941225f4c
|
|||
DIST vala-0.44.11.tar.xz 3370248 BLAKE2B c111b6175e6339148e30bedc77f62a9ef3ec912ad0621c9303fc5dba31694173b49ccc433d3681303d64a1e442ed9b7b064f27931369cb13fa028bfc25ffa3c9 SHA512 6111699039ed37084426d7603b82dfa9bd497c66ba7353ee22e8541bf15a2cbb634d315593c093f18c20bac877ae34884e5b570cd25237ce12aa73e941c4c540
|
||||
DIST vala-0.44.9.tar.xz 3363004 BLAKE2B b87f8f7d9cda5a77486720b8c542c42ed448cfbb6a1bae899591a799dcf25882a0539c3acef282d0ba42a7ea78d68e7a5d99aa4daa306a70afe6938732d03c25 SHA512 9af559a6cb1680013886a4d425e619503d60394f2c7b1ab897cc7830ee566f8122dcd4380b78b551fbf556cead623c245adc1f7f3357b8315be8c120412a3e9f
|
||||
DIST vala-0.46.6.tar.xz 3383032 BLAKE2B c7f38cf617f3a0d5a5915ebedd320ef6a5c3714e21618e95756529e1fb09abc12417f31aeefc0111e828da5c2dabd6195b07bb1cc69c6e74f73d72fe7403637a SHA512 ab24c3ad37af62e38289fd085a33f72e178e0b58c1f24c27c58c1010270a4b0e5cb4cc510b6147c51e5796a7ae63aed3a4ac219b24ff985f2546e25c9ad48992
|
||||
DIST vala-0.48.0.tar.xz 3423156 BLAKE2B 4577e468d186afb4ff237068c29204f220d64cb244953cfc10b74a1792841f6d3db8d69b2d3119a4ab35aed1ca7743e0d84a3a786efdea9ed58fdfced0472d09 SHA512 77c85ee60bee92f2488fc1f7d21d1ab6886698ff5c303dff539c7aa3a178ed9ea402498e97b79b5a306ad4a25b19ae13e8ce78e389f8310315545422a11dd7d9
|
||||
DIST vala-0.48.1.tar.xz 3426388 BLAKE2B b5ba777ef76c01875e89322097ea2da9ac3e7641f13453c9d0d5b2c0309af5a89069f3d16b1e78b69fe7b93d12e22712511277925c5b3eaaaec3e76a1d81e7e2 SHA512 f399f81b77eb6acb7f7dcd8eb88c9f4597c7c47a4c6311a0d70db24080f0faa34d1077bf4e644ee2f3b3a8d4993c6561e17583a2010ca5f6850d53e2af532e51
|
||||
EBUILD vala-0.36.20.ebuild 804 BLAKE2B 0ce34c37bd7084eff03657ac161df037ff0ece012a11e6df78590fae31b86554a4aeb69637f6b4fb0df9d99c2824cbed3d12d26278058cca5fddd04f341aa001 SHA512 a92306c458421798c3a653ada2248e373af922a506072cbffa187cf62d53a10e2b3ab8487cc810d4cecc073ef359bee7a77d23e5a556399439f45d21dc1de79d
|
||||
EBUILD vala-0.40.16.ebuild 1191 BLAKE2B 3898cbdcbbcfd204a86d0d53f50b2cf164b546ba6fcd253674201ea6e92ff2fd247ee041bda6ebb2ae6d315389f58a2fea1c10ebb1302f98cf3b561a18e23a4e SHA512 8747ff255b4abd158930c93e3affab1ce0403654c76d6ddfb96b006bf8c46913a1369448859c7b3aea72ffd6ec5908201172c61936d158ca4737cab37e6241dc
|
||||
EBUILD vala-0.40.18.ebuild 1192 BLAKE2B ac8b017825026bef4105b39361210c759be3b2b36bfac471ad3e937c67ee59e63726b7d0beea853587018e77d1cb45b5b44d6899619a4d8a355b8b9e19748b43 SHA512 d864dce3a8f3f60d53fc5e4ded0a727979f1711f3f40a20f94fbce32ede8902c8146fb86a3eec364495c351793b16cf817d42c7b555542cadf9d7fddf3d42f5f
|
||||
|
@ -16,5 +16,5 @@ EBUILD vala-0.40.19.ebuild 1200 BLAKE2B 3accfd2cae135836b2476dfb04da7c627f479f7a
|
|||
EBUILD vala-0.44.11.ebuild 1115 BLAKE2B 273fb6e1868c95e86f2b17940a8cec199cd315dc80284520bf8440812c9c861c2bd33ab649721a2d212e8d3c48f4c3970996b6656fec679393090d9f654231c3 SHA512 c3206e0fb2ee05696f11147eb67982fabf81004d118ecf45b30636ca64d48920ac025c42236cb05057e5277fa008843bb1239f2036d2f6509deb1c6e3e4f1566
|
||||
EBUILD vala-0.44.9.ebuild 1113 BLAKE2B 558a67f26468e68c4227dede7d85c16fb74b624968531e142a3984fe6c6f8c0ee3f4d07e0d9cf126d87c81fac2c2243cdc703b97222f7c0287ec66740cc2dac5 SHA512 ad644009ce8c00c2d578fee62e1d31c70958be349061fca62c3ee25249c3f04e233c9492e3182f65234487a940dff35fdd8db011b6afa78c41424fe9cc539a0b
|
||||
EBUILD vala-0.46.6.ebuild 1316 BLAKE2B 6783c205ed3da8df3452fccd5b4405dc26f46993e5af226af9e8387e6fc7ddbcf5fdac9f465ac0b5a82aaa6e5d6697c90b65f64b1f7ee7eecdadbb2992de88bb SHA512 235dbcf07c859136f569fae00159497d9693e649e4c234f44239ca73347eb95e69839fe44472ac7d889420a7ba3eb5245d491fb97a4e2c4b80b05e7c8fb70429
|
||||
EBUILD vala-0.48.0.ebuild 1316 BLAKE2B 047c254ee4a067bffd15a11b322cb36dfb797d93f4213fafe5c7f4da8599c4f6913fae1ed17f0e2624bb156b56a0a203b89031a573861cc606b3f7d4a6139692 SHA512 ad7a400cc8b18b346193fb451e76948bfa08fb0980e7994b0d364b02817331ab1a923eba88ff4e29dba218ad2bc04563ee624c998a908a6c8c2ce3107ca6048b
|
||||
EBUILD vala-0.48.1.ebuild 1316 BLAKE2B 047c254ee4a067bffd15a11b322cb36dfb797d93f4213fafe5c7f4da8599c4f6913fae1ed17f0e2624bb156b56a0a203b89031a573861cc606b3f7d4a6139692 SHA512 ad7a400cc8b18b346193fb451e76948bfa08fb0980e7994b0d364b02817331ab1a923eba88ff4e29dba218ad2bc04563ee624c998a908a6c8c2ce3107ca6048b
|
||||
MISC metadata.xml 345 BLAKE2B de3110ae281a87f8cb8f6c10d93705f56f0cfed972cd893a063e66c2629150d491498a29b35b4efe19fa5b6baa740f1d989bad440924befc60ef56423096f108 SHA512 163aa55430a075974d504a5bbb71ad9a249cb215de12a82b3141de18bb05f1e0c2078c02c617cf7d98a97c7f8dd407077183754d8c82c77e80dd0d7b2ec38283
|
||||
|
|
Binary file not shown.
|
@ -1,5 +1,5 @@
|
|||
DIST intel-neo-19.48.14977.tar.gz 2633172 BLAKE2B 296c85c89833e49f66c428b62fda9753de260bfc819ee24846bc100021f103d2dcc432a9a8a60d310737470c7a4afece4fef557f72da40470ea950f8198bda0e SHA512 24a5f5306b90c763e803c34d3f20227ae0f22e6ff4192a0550e9e3050173b50f2b2e391250f1733676eca45002a061e2c753e7546db7dd21af7c1ed0857f329f
|
||||
DIST intel-neo-20.03.15346.tar.gz 2671869 BLAKE2B cf1e242563a377d533b1e5adc89257e3fdd879a0f275f069e9c1c3c8436e269a1ec57e951394d2a487148bfc5393fed0ce1f3feb6954c7ece9de59cccffd628c SHA512 4d2cc8fdcba714832306e6353e8688e12c44eb0f848aad981951ee092274ba8ae032db462b49e874b7ac72e1b8b2b9ba71a84b6715ca241c06a1c70e753e5ed3
|
||||
EBUILD intel-neo-19.48.14977.ebuild 1267 BLAKE2B ba1c0f82596ae418fdf8c38a61039fed601b28f81430b16b610eb2c3f45d8e6a0d2bed49fcffd7b87444b71d0d57e6b710b78d807d63600e165ec740d1386bfa SHA512 ba43a79823c69965de75dddac8e886399e60bcf5fcf282e032ebffff277702b918a8796d781abc3c5ff82c491b098a910074495b23bbed527493b4c727f198a4
|
||||
DIST intel-neo-20.10.16087.tar.gz 2942516 BLAKE2B ed77e5dfe950794e9e34cc6a0d8c053292b5673b9fa244ef7b861da93bb6aa58161ad890719013c838b0bbd80f3c22aaafc60dcb72a1e1e565cab51e5467c810 SHA512 8a728a3cffb5960dba8e8ecc160a6f0dd9c2cbadead3db3af2df71af492fdb346628a20c55112e64debb32eb25cf549e42dc78a606ef4bb8f746913781dbb446
|
||||
EBUILD intel-neo-20.03.15346.ebuild 1247 BLAKE2B 90cb6ad2d7f1086a0f35fdd64199a467183945f8e7101b77c66102ce547bf5ac2d10fdca2755e3917df7dbb8d7111bc41717c7fe1603c48f55e9679636f64e1c SHA512 1c4f838410125a06f929ed4f0c0b9d23b59f5b85e4318723cc28db89862b5e1af2dd0c316676b50e83f4528764fde17124f19232b381df9d2a29a659c90097b2
|
||||
EBUILD intel-neo-20.10.16087.ebuild 1203 BLAKE2B 71030814c3d73c6421648652a7cf42fb1f5feda808ce131ef329087d494068460b4d53f3db2eb6efb792f99bebb2a5aae5451bbd02d22819ffbe3d1e427734a8 SHA512 bc70b5237ae3f7c8e44ec211780fcd156935f972d78398435640dd0496df5587cb68d0efa8151ae3e5d5f511704bca89b488a47b2a7260ff4482faacc0fd248e
|
||||
MISC metadata.xml 735 BLAKE2B 7b75773dfa61833dc93d975c59f9486ea53c1727eb2639f905c9aa858d30fe21a9378f52d97bdcf5ce15f80825d48fadae8ca3abfff8d219e6e6cb431906bc84 SHA512 66c14c5dc86bbfe47c8fd3a95001013fa9dfd5093687e3b602f2b2fd3d81f6f2c2242621a8dcde2930901ab3853a677e646b136eb16c3d19f29647efede3d030
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake-utils
|
||||
inherit cmake
|
||||
|
||||
MY_PN="compute-runtime"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
@ -19,11 +19,11 @@ IUSE="vaapi"
|
|||
|
||||
BDEPEND="virtual/pkgconfig"
|
||||
COMMON="dev-libs/ocl-icd
|
||||
>=dev-util/intel-graphics-compiler-1.0.2990
|
||||
>=media-libs/gmmlib-19.3.4
|
||||
>=dev-util/intel-graphics-compiler-1.0.3445
|
||||
>=media-libs/gmmlib-19.4.1
|
||||
vaapi? (
|
||||
x11-libs/libdrm[video_cards_intel]
|
||||
>=x11-libs/libva-2.0.0
|
||||
x11-libs/libva
|
||||
)"
|
||||
DEPEND="${COMMON}
|
||||
media-libs/mesa" # for Khronos OpenGL headers
|
||||
|
@ -31,8 +31,7 @@ RDEPEND="${COMMON}"
|
|||
|
||||
DOCS=(
|
||||
README.md
|
||||
documentation/FAQ.md
|
||||
documentation/LIMITATIONS.md
|
||||
FAQ.md
|
||||
)
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
@ -46,7 +45,7 @@ src_configure() {
|
|||
# the hardware.
|
||||
-DSKIP_UNIT_TESTS=ON
|
||||
)
|
||||
cmake-utils_src_configure
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
|
@ -1,3 +1,3 @@
|
|||
DIST nss-pem-1.0.5.tar.xz 36320 BLAKE2B c2294595d95a2de2bf6d9e68dc10955297fb6ef27c9e85dbabc7854b900942070f70a8e4c1abef618e7265daa75f5bd2a2fca3fe923973345f9c1b64a3da8ff5 SHA512 8dabebf114ac94441caf6d279f810de4124a3ffc05ae66777496b3e66f8b8148d535cb438a165d84f53111c468d595f3b16651cd7a990eeedca9d413aad65b2b
|
||||
EBUILD nss-pem-1.0.5.ebuild 511 BLAKE2B ad3d65a65724ba359f1344a7546b13c0e4165a43a752fcbffb212529591d1054a64dcfec51f23fe810476c55f61ff7db37d2cc54e535babce37b7480ab287f3b SHA512 073f1379b07fe1a33f241032ddc3f0cab9e451cbf79c1ae272645d4638546e0c17f73c8290f29e45b070c731ed02e790fc9dd7bc373a55a7e89909e6d6648b0b
|
||||
EBUILD nss-pem-1.0.5.ebuild 644 BLAKE2B 6c953bf5e89b2f2fe668af5204a463f9aba5103e20bab64378d3b41eb1fbc66e53ec16b284ea3593ea05674f897d7659b8b8c25f8a3d3320c2209274eb495aa0 SHA512 7e6c8698937df6330d566736391717e4030fa026216a7d5f3f015e27708ac60402f551987c729ce536c0203202b4377673062f7ad4f7e5d6f3e05b213fc5f452
|
||||
MISC metadata.xml 332 BLAKE2B d0c820a1adbfacc8057f9110c542b17a456425ff7db013dbcef98a325a2f2c04950b15589cad36eb9bc9fb113a9fad35dd913821b41865282160878136783749 SHA512 20a26118c4e465049f6ee61e855ccd9b19a2c52caca91c0c73dd8e30a381c653f97603e7f2a6d8d64bd7aa6eff32f40044096a3257c5587ddbe6570d258e94bb
|
||||
|
|
|
@ -3,6 +3,8 @@
|
|||
|
||||
EAPI=7
|
||||
|
||||
CMAKE_ECLASS="cmake"
|
||||
|
||||
inherit cmake-multilib
|
||||
|
||||
DESCRIPTION="PEM file reader for Network Security Services (NSS)"
|
||||
|
@ -21,3 +23,10 @@ DEPEND="!<=dev-libs/nss-3.50
|
|||
${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/${P}/src"
|
||||
|
||||
multilib_src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DLIB_INSTALL_DIR="$(get_libdir)"
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
DIST vala-0.44.11.tar.xz 3370248 BLAKE2B c111b6175e6339148e30bedc77f62a9ef3ec912ad0621c9303fc5dba31694173b49ccc433d3681303d64a1e442ed9b7b064f27931369cb13fa028bfc25ffa3c9 SHA512 6111699039ed37084426d7603b82dfa9bd497c66ba7353ee22e8541bf15a2cbb634d315593c093f18c20bac877ae34884e5b570cd25237ce12aa73e941c4c540
|
||||
DIST vala-0.44.9.tar.xz 3363004 BLAKE2B b87f8f7d9cda5a77486720b8c542c42ed448cfbb6a1bae899591a799dcf25882a0539c3acef282d0ba42a7ea78d68e7a5d99aa4daa306a70afe6938732d03c25 SHA512 9af559a6cb1680013886a4d425e619503d60394f2c7b1ab897cc7830ee566f8122dcd4380b78b551fbf556cead623c245adc1f7f3357b8315be8c120412a3e9f
|
||||
DIST vala-0.46.6.tar.xz 3383032 BLAKE2B c7f38cf617f3a0d5a5915ebedd320ef6a5c3714e21618e95756529e1fb09abc12417f31aeefc0111e828da5c2dabd6195b07bb1cc69c6e74f73d72fe7403637a SHA512 ab24c3ad37af62e38289fd085a33f72e178e0b58c1f24c27c58c1010270a4b0e5cb4cc510b6147c51e5796a7ae63aed3a4ac219b24ff985f2546e25c9ad48992
|
||||
DIST vala-0.48.0.tar.xz 3423156 BLAKE2B 4577e468d186afb4ff237068c29204f220d64cb244953cfc10b74a1792841f6d3db8d69b2d3119a4ab35aed1ca7743e0d84a3a786efdea9ed58fdfced0472d09 SHA512 77c85ee60bee92f2488fc1f7d21d1ab6886698ff5c303dff539c7aa3a178ed9ea402498e97b79b5a306ad4a25b19ae13e8ce78e389f8310315545422a11dd7d9
|
||||
DIST vala-0.48.1.tar.xz 3426388 BLAKE2B b5ba777ef76c01875e89322097ea2da9ac3e7641f13453c9d0d5b2c0309af5a89069f3d16b1e78b69fe7b93d12e22712511277925c5b3eaaaec3e76a1d81e7e2 SHA512 f399f81b77eb6acb7f7dcd8eb88c9f4597c7c47a4c6311a0d70db24080f0faa34d1077bf4e644ee2f3b3a8d4993c6561e17583a2010ca5f6850d53e2af532e51
|
||||
EBUILD vala-common-0.44.11.ebuild 650 BLAKE2B 604da5d2688c5dbf4dc78514e69763c54078b68ff55106a5da1759ecbfa4200af0d2580a634fe14bb2f24b5c610d30e19e9105bcab948cde1182b96e483cde66 SHA512 31fd462880ff542d9b27b02495fd66372ec9b7e13f761cba32831bbab8f27e33fd4e844ac75c7fb6f8abe94f37a330f4b2baa1cdee74585e1473f2e0a12a53ce
|
||||
EBUILD vala-common-0.44.9.ebuild 648 BLAKE2B 686c55e0db5a97ab597fa96b60f53c7edb20d2ea4afbbfb834d28f7cfb86e5f3504dbb602a59edbd040c9afe9af2ad340f87fe912c48e226e31f017d1a848eb5 SHA512 db9f290ec792189cc5f5b720316ac67181324e00f06066edd85121e156aa01d467a3492681176ce4f71a8783c4f6fbeddc1e17dce6e2d045179388ad7bab4e93
|
||||
EBUILD vala-common-0.46.6.ebuild 658 BLAKE2B 8e5902b4382cf5bcd2b87508e21eca0bdd3aa0c2c5478dd7bc1a626d7763cbb2d31086cedf6a07eb34a9dbbbabd625b0735c7add3e7a47205c54bbe40b15c0da SHA512 e9f4486436e88db15ee82af8fb8aa704f320b65bfc512c7aa9f35930c9f95eeac3512ae2eff10006617e1748db066425013053a4e22d426a864127a22509fba2
|
||||
EBUILD vala-common-0.48.0.ebuild 658 BLAKE2B 8e5902b4382cf5bcd2b87508e21eca0bdd3aa0c2c5478dd7bc1a626d7763cbb2d31086cedf6a07eb34a9dbbbabd625b0735c7add3e7a47205c54bbe40b15c0da SHA512 e9f4486436e88db15ee82af8fb8aa704f320b65bfc512c7aa9f35930c9f95eeac3512ae2eff10006617e1748db066425013053a4e22d426a864127a22509fba2
|
||||
EBUILD vala-common-0.48.1.ebuild 658 BLAKE2B 8e5902b4382cf5bcd2b87508e21eca0bdd3aa0c2c5478dd7bc1a626d7763cbb2d31086cedf6a07eb34a9dbbbabd625b0735c7add3e7a47205c54bbe40b15c0da SHA512 e9f4486436e88db15ee82af8fb8aa704f320b65bfc512c7aa9f35930c9f95eeac3512ae2eff10006617e1748db066425013053a4e22d426a864127a22509fba2
|
||||
MISC metadata.xml 325 BLAKE2B f1a8eb879889fa0b33809e44ee815a95f07c1d65d1e4fcb3af8797e27f258f76e7774b4a8eba9677a9e6c8a1051fbbe70a0f3675a12f9d52531d361f70826087 SHA512 3be77f30dff008c941c9513d9b8a4c689aba5f2f1005ecdb98f6cf9bc1000f562bad638cddd373f223a5570b40ea83e44656dbf848544a96ce0d166cc46805e2
|
||||
|
|
|
@ -8,26 +8,21 @@ PYTHON_REQ_USE="threads(+)"
|
|||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN=GitPython
|
||||
MY_P=${MY_PN}-${PV}
|
||||
GITDB_P=gitdb-4.0.2
|
||||
SMMAP_P=smmap-3.0.1
|
||||
|
||||
DESCRIPTION="Library used to interact with Git repositories"
|
||||
HOMEPAGE="https://github.com/gitpython-developers/GitPython https://pypi.org/project/GitPython/"
|
||||
SRC_URI="mirror://pypi/${MY_PN::1}/${MY_PN}/${MY_P}.tar.gz
|
||||
SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz
|
||||
test? (
|
||||
https://dev.gentoo.org/~mgorny/dist/${MY_P}.gitbundle
|
||||
https://dev.gentoo.org/~mgorny/dist/${P}.gitbundle
|
||||
https://dev.gentoo.org/~mgorny/dist/${GITDB_P}.gitbundle
|
||||
https://dev.gentoo.org/~mgorny/dist/${SMMAP_P}.gitbundle
|
||||
)"
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
# Tests only work when inside the GitPython repo
|
||||
#RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-vcs/git
|
||||
|
@ -43,7 +38,7 @@ src_test() {
|
|||
git config --global user.email "you@example.com" || die
|
||||
git config --global user.name "Your Name" || die
|
||||
|
||||
git clone "${DISTDIR}/${MY_P}.gitbundle" "${T}"/test || die
|
||||
git clone "${DISTDIR}/${P}.gitbundle" "${T}"/test || die
|
||||
git clone "${DISTDIR}/${GITDB_P}.gitbundle" \
|
||||
"${T}"/test/git/ext/gitdb || die
|
||||
git clone "${DISTDIR}/${SMMAP_P}.gitbundle" \
|
|
@ -3,6 +3,6 @@ DIST GitPython-3.1.0.gitbundle 8618276 BLAKE2B a1ecf49c47804b399453c6931fb549033
|
|||
DIST GitPython-3.1.0.tar.gz 430079 BLAKE2B eaf4d4bb2f589a96bcdcf28e7ac6c0b8eab691a1dee5fbbec6d4a93bab9f123b07073af8a1b85aa5547057e46e6c8c004215167790b559f3848bf20c3ec1697f SHA512 6dab8449cc1736d7f58f9788b56bf63cc2bf0f420104d6e010a9624d21f53f5b5d33135bad4d91b40d9543b454be839f8003828ffe512c35a6513c27a2dd4b53
|
||||
DIST gitdb-4.0.2.gitbundle 1474197 BLAKE2B 93dc8aeb3a43f0950bec1e8dc0c0156543a0a1ce1f20a7f0b2cd05c110338af05b6c6300c3f4b2c05e0f895496248e5fdca74eb599a4ea9aa983ed399d91f7c6 SHA512 8d4ebc93d6869a60b7717fc090000067e86a7e0373c281d0fb9939a6e2e283864256f827919eeb13be977254c0c71a4864d8e7c9b4b6dcc0af6275aa59681960
|
||||
DIST smmap-3.0.1.gitbundle 263781 BLAKE2B 6e06586010814ce0f59367c7f9289dad4891ee1debbc020b192af3945207da05b1e34907f1871f5b6b9638706b9e2fdacf390fcfff6bd06af84b9fd80f7e63a8 SHA512 c2b6c0b295c2997ed53727d3d1458ae7ec5ddbde9c83349286904726865fc026a70161955498b1a06371fb8d937e7386b80b4ea0c2e5d1c647718e6dbea93104
|
||||
EBUILD git-python-2.1.11.ebuild 873 BLAKE2B d9ae7f3f9cada4731bb07ac4d2cf0770dafeed0645264975250f388304b240c487ff7d627726e263b54fcddfafdbbb768d863f7dbb459d8c637bb4393b6e730a SHA512 203cea364596aeb9492b58b576d33edfe460b03f91fa394acdf9532458ae28ace2492432075157b0f26be5bd03fcaedda05f839dde52c47098bc7b7ae4e2e88f
|
||||
EBUILD git-python-3.1.0.ebuild 1673 BLAKE2B 0339e0fb020ec046cb9b43400b0780b1fd73683f0e0d23d6e7405c471f6ca35d39870155bfcde8c4a55974efc6a7e855eebe68e2027bb100aeba7a2def69720a SHA512 c3db45d08b145c5c3bd81f43c6f90698fc661cb1da6fc4e457656f460c1f3d4c8ab6968c2f02cd34c55b4a7bec11afc071c7fa0e45e8cd3d0ebfeba7b085cb33
|
||||
EBUILD GitPython-2.1.11.ebuild 873 BLAKE2B d9ae7f3f9cada4731bb07ac4d2cf0770dafeed0645264975250f388304b240c487ff7d627726e263b54fcddfafdbbb768d863f7dbb459d8c637bb4393b6e730a SHA512 203cea364596aeb9492b58b576d33edfe460b03f91fa394acdf9532458ae28ace2492432075157b0f26be5bd03fcaedda05f839dde52c47098bc7b7ae4e2e88f
|
||||
EBUILD GitPython-3.1.0.ebuild 1535 BLAKE2B 28d5074ed17d3e54c6df663ef73d57a7fb700fc6e7cfac481ef0281333e6341c9c6de7501b91330bb26b1c6e13a6f5cb9ce4461f6c96e3bd8327a5c0ca79d1df SHA512 e4ea4cdb8811b0f4235edeb38916fc4df085e1489555b164c3f8daaa97a1c34f252ff66b3f4e7f7eb175a17184e4b1c258242dd7f96dd81eae729b1f56c6caeb
|
||||
MISC metadata.xml 382 BLAKE2B 9853412552202bb0134ea88f7eae6b36c5c17920cd2834bec4a487cd6e1e6a5421db13a5b5ca7de1bc366ca057c17e2d89f3ea0973023de76a0a0783065d6dc6 SHA512 3f31be6d8a7fc5622f56141778f1779ff092a7e50f6ee162edc7854eb84b896206382edacf678e3f53f513727ca67e3cce0b6b6f50be7cbc93533201533ebe85
|
Binary file not shown.
|
@ -1,5 +1,5 @@
|
|||
DIST bandit-1.5.1.tar.gz 480856 BLAKE2B f8a1a7dc1d93a1b6c8d3eb5bcbecda895b29dfebe055ac358b9437bd0c9ab5562e6d25a658bc2092cff6bddfd0245e71bf39ee88b2718e3a0c7376fa50293ae1 SHA512 e6f596e73af45ca2ff4d200fad63d37adf44efd5de52f8061f5a349b66457a39eb442ad442d5fb57b2e0e98c8bae0eb0879b958ff619b4e26c0183bc8b928e36
|
||||
DIST bandit-1.6.2.tar.gz 498567 BLAKE2B ab7885df634ff8258fc7620523b56995cb2f262f4290193a9063e216f66ba8ecb31ec17f09d0b72a0472923266953c46e47e74fcdfb39784873738c033e00c6c SHA512 9facce98411ceb9e33e5a978ca4aad2dab541ffe215e480806ac921b7f7067572445d8e32e8d473ef30bb57155b72b2ffd4e06d458a3da82e2a9fb1b1d8a4b9f
|
||||
EBUILD bandit-1.5.1-r1.ebuild 1307 BLAKE2B f2b7b0b9a0de146487bd4358d52d627af24cc58edcdb196dd4c9f40b185b999dce54241fae007d41a08415323ff3244ba38f0e54d184998c94466d2467c69808 SHA512 7e7c563cdf27c80b370c2bbfdadb96a25b3bfb3c2928ddc5318e9870edb0f3c987f72cd6ef6b4520ea67e8000d1e87c1ae4c36fddaebc176f33bc8299de35db6
|
||||
EBUILD bandit-1.6.2.ebuild 1319 BLAKE2B 4f56cab706377bed33276d7dc1248091293d412c5c027a6ae46c6d83be3562d68a2aefa5cef4263d77525ed3a975ae88b16a4ce4b870bc26b693e54a6f4a2b07 SHA512 0edba14561d46779f4f252fcad29e2078a7e0978210585cecfa6f15c835c9e037a2381948eece197bcb306df41c9faa53a9a76b9239e3004f638061a6306dba4
|
||||
EBUILD bandit-1.5.1-r1.ebuild 1306 BLAKE2B 785ae6a88bf9debafd723db27c7d8fa528b2894f8d3ce3274530a1f054b490a8d23bffaf5199100515ea0061e3ffded7ce937d23605a0babdf6a13d4747142f1 SHA512 96800f1e97ce5cb38c445bc928192c61eed6e448c4f588508723c2b0fdf59c88151d9988d9603133a71424c862334206d2ef652c150dab949b6d91bd0f94d6d5
|
||||
EBUILD bandit-1.6.2.ebuild 1318 BLAKE2B bd8ec00937aa08a8d3d5bc529704434a5944662302146fe79675fa477ea63ea87397b8ee9eee31d1c393c73ac613b46e5ea864d77c3ee49df509c37445f725a2 SHA512 a8ccd57bf1f38cadb91255ac24efa14c407ab199276bb54d67fcaa5740b21434039d16e044baa1360dbf20ba95ec17258326af14070533f9bee4462689afd641
|
||||
MISC metadata.xml 632 BLAKE2B d36f7c8fa4f8bb896f1eb1ddcdafa2705aeec74ae61c75f2bcebee5b8060442721448afa709099cf2f5d0c6f4dcd9d622c44f94258eb846be36f7d9b82c0ccd6 SHA512 cd90a77633abd61030fe7412b929c129b2e8bb8fe3b265277e8fdbe7b6a9ada8503c5bc97dc6754ba6f4137cfc96bd508b1750bc7b9baa58d823892febb5e955
|
||||
|
|
|
@ -36,7 +36,7 @@ DEPEND="
|
|||
)"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=dev-python/git-python-1.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/GitPython-1.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.12.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]"
|
||||
|
|
|
@ -36,7 +36,7 @@ DEPEND="
|
|||
)"
|
||||
RDEPEND="
|
||||
${CDEPEND}
|
||||
>=dev-python/git-python-1.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/GitPython-1.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-3.13.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/six-1.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]"
|
||||
|
|
|
@ -1,14 +1,6 @@
|
|||
DIST libvirt-python-5.10.0.tar.gz 203187 BLAKE2B 25f16381fe127579494ec54af38b6da8cf2e38cc3ccc32b8a2e17b77ed33b829fffd74d4631531f87513811abd510205b6678fd0cc50ddc4b7b51ab80bee96ac SHA512 19bf1608fa83572b9b557371efc44bffe298a654db0fca90e49fae8e69a7b2228d9e5a1ae0ab5d34fda3256498e5d53e09b5ea889d600c9d56254730d50faf79
|
||||
DIST libvirt-python-5.2.0.tar.gz 193270 BLAKE2B fecd1a07091746779a91e0cfeb9c3068048ee7e51d2f79064b4ee529a19b78d04ba53a5abab68182a1fa9c4a82f459fa9e971c33fcd10b42fe7011be17f7c6e2 SHA512 afee2dcaf08d530e6298fdf2db674af217b9e4115941258b5815aba00087d96db6eb421c9854d7dca0f9dfe24069df72aadd969c924545e72be216f01bc173cc
|
||||
DIST libvirt-python-5.5.0.tar.gz 200364 BLAKE2B 198c9858573c383ab818deae6bd42c6ad7efd58b9a661a80f06f4f0fc0d72e9da98546b07443397609d4c9454ece4e02759b53016f078bdae84580474e2bb49d SHA512 3098c5a0315488aa515a9b00e69add8de3dc372d2f82a8b1cbc6d01287a133855095f7c34510ad900adbd1c56e6a53bdfe3d251c48411acd243c2300d659332b
|
||||
DIST libvirt-python-5.6.0.tar.gz 201352 BLAKE2B 16f88b9c15214af0ec97ee39912139d6ab07473a9f65a735303f5241d10d75e46db68378b33c9c139f6a9e43f7143a4c30fdbe187e50e004cfb5205dda03d0a3 SHA512 a6bf7c661127ae0ed5962ed7bc9cefe09907e82969525ee0ea8f8f70b5fee8f200b6ba9d35aefcb7b132f59e34162ba40e75e93aff297808bc1dd23f548da428
|
||||
DIST libvirt-python-5.8.0.tar.gz 202807 BLAKE2B 82111cdaa5f22ff2a8e5aa16c789535a0e8665c5076137c24bda0698ce0dd1eca2f39db1eba0f3288b208f809d3d44b6b4f05c82b60438222ec7fa66bb2fdabe SHA512 89e02e04c26738180c244a46c1d5ff4c6e839df70ec1cc045997cba25f5182ff616f36821ae180f92901c381e6471f629b4ffd9a69e45843e9412e4e715ba91d
|
||||
DIST libvirt-python-6.0.0.tar.gz 196791 BLAKE2B 8fa524d76277fc0278158205f25da8a4331c732a7cbdbe7d9ef9c697b8d5758d8f4182ac749212f4b7c147cde5648fa8cd245cbe0ae809e9079ef654def3c4a1 SHA512 1d64bdb430d099c6e72259e49d99aa985b9ba745c543d3a12ad614c48e1334a3607e093d93612c34e8ec3990e880f3d66fd33199605f2ec9a419193bbb839d58
|
||||
EBUILD libvirt-python-5.10.0.ebuild 1005 BLAKE2B e638382d8a136e2c08f8167e6279d2819a50c9eaa197d599b69c509d4c3fde954b980cb7045148a0b3f33790c545d56978ab8087bc4e913d13c770059f12d605 SHA512 c4aa2b78c642fe1e51b110a066ad4f35c2de67f04b3d2b336faa5d424e6d8613421621d504c005155af60ba44fd67717743095b4f39db02f2c5f281a72170653
|
||||
EBUILD libvirt-python-5.2.0.ebuild 998 BLAKE2B 6d3f17a98dd075f7621ec2db61550bb7b0cdb5ea6d7cb515287b50a77a420de5bb3fae4ba5f65b9952da7da6ab7e5fc6ded343eddf171b0090c31c81cad7eaad SHA512 f7cad0aac9eccef80d4c1e220c4b35e0d961ec6262a70a367e77f6ee468d84bcf57c61129a0a7d7b667ca28c8b4e747cb24c3ff9c9a46788f0f95d525c9d9c51
|
||||
EBUILD libvirt-python-5.5.0.ebuild 998 BLAKE2B 6d3f17a98dd075f7621ec2db61550bb7b0cdb5ea6d7cb515287b50a77a420de5bb3fae4ba5f65b9952da7da6ab7e5fc6ded343eddf171b0090c31c81cad7eaad SHA512 f7cad0aac9eccef80d4c1e220c4b35e0d961ec6262a70a367e77f6ee468d84bcf57c61129a0a7d7b667ca28c8b4e747cb24c3ff9c9a46788f0f95d525c9d9c51
|
||||
EBUILD libvirt-python-5.6.0.ebuild 991 BLAKE2B 12724e82cfc8af448a53afdd400fa6c4a9476d883489d88221453ddb0eee878a9265aae98bae2ddaa6b1098b3ac8186b066785f065af16a5b3edcdcf0f371897 SHA512 47b420c710beef7a8434c8e6fe8d3b060d3d4d5fdbafc0677bf244ed7f4e9835b6253aa773c8e6f49cbc5ff28defe823a28b9b07522d14b7c85bde84a21e1879
|
||||
EBUILD libvirt-python-5.8.0.ebuild 1005 BLAKE2B e638382d8a136e2c08f8167e6279d2819a50c9eaa197d599b69c509d4c3fde954b980cb7045148a0b3f33790c545d56978ab8087bc4e913d13c770059f12d605 SHA512 c4aa2b78c642fe1e51b110a066ad4f35c2de67f04b3d2b336faa5d424e6d8613421621d504c005155af60ba44fd67717743095b4f39db02f2c5f281a72170653
|
||||
EBUILD libvirt-python-6.0.0.ebuild 998 BLAKE2B cfdedda08bb649c3f7ea1dcc9f44a7aa587bb86f1587bfd2e68c4aebd31879f2c18ab77c8daad3593f99b879a3c2055833ce6ef52719a81840c0177f1b612077 SHA512 6813619365bd317465db18a218493559e0c59778ad58666336644b38de353642761692021d21cfca1e465a4f3fb3cfbb83dad2c428eb3da5c9da09ec6eeb158d
|
||||
EBUILD libvirt-python-9999.ebuild 998 BLAKE2B cfdedda08bb649c3f7ea1dcc9f44a7aa587bb86f1587bfd2e68c4aebd31879f2c18ab77c8daad3593f99b879a3c2055833ce6ef52719a81840c0177f1b612077 SHA512 6813619365bd317465db18a218493559e0c59778ad58666336644b38de353642761692021d21cfca1e465a4f3fb3cfbb83dad2c428eb3da5c9da09ec6eeb158d
|
||||
MISC metadata.xml 518 BLAKE2B ac9993d622790a5cec52f737de0494b7ac6a5a6e17e66ccad8e4862257ba8926d688fa4b6e68cd96ea5a4f2d35825204219fd79bc5917d05a6f39787f80bc1df SHA512 243b815c70c65046d672bc2b4a05d67f61c6e70dc6677ef7e8b76783979d801793f8d864a33ed9c64072c4fa30786d4455c82c82fa37933dac0b0efac2264083
|
||||
|
|
|
@ -1,47 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python{3_6,3_7} )
|
||||
|
||||
MY_P="${P/_rc/-rc}"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://libvirt.org/git/libvirt-python.git"
|
||||
SRC_URI=""
|
||||
KEYWORDS="amd64 x86"
|
||||
RDEPEND="app-emulation/libvirt:=[-python(-)]"
|
||||
else
|
||||
SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
RDEPEND="app-emulation/libvirt:0/${PV}"
|
||||
fi
|
||||
S="${WORKDIR}/${P%_rc*}"
|
||||
|
||||
DESCRIPTION="libvirt Python bindings"
|
||||
HOMEPAGE="https://www.libvirt.org"
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
IUSE="examples test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? ( dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use examples; then
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
distutils-r1_python_install_all
|
||||
}
|
|
@ -1,47 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python{3_6,3_7} )
|
||||
|
||||
MY_P="${P/_rc/-rc}"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://libvirt.org/git/libvirt-python.git"
|
||||
SRC_URI=""
|
||||
KEYWORDS="amd64 x86"
|
||||
RDEPEND="app-emulation/libvirt:=[-python(-)]"
|
||||
else
|
||||
SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
RDEPEND="app-emulation/libvirt:0/${PV}"
|
||||
fi
|
||||
S="${WORKDIR}/${P%_rc*}"
|
||||
|
||||
DESCRIPTION="libvirt Python bindings"
|
||||
HOMEPAGE="https://www.libvirt.org"
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
IUSE="examples test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? ( dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use examples; then
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
distutils-r1_python_install_all
|
||||
}
|
|
@ -1,47 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python{3_6,3_7} )
|
||||
|
||||
MY_P="${P/_rc/-rc}"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://libvirt.org/git/libvirt-python.git"
|
||||
SRC_URI=""
|
||||
KEYWORDS=""
|
||||
RDEPEND="app-emulation/libvirt:=[-python(-)]"
|
||||
else
|
||||
SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
RDEPEND="app-emulation/libvirt:0/${PV}"
|
||||
fi
|
||||
S="${WORKDIR}/${P%_rc*}"
|
||||
|
||||
DESCRIPTION="libvirt Python bindings"
|
||||
HOMEPAGE="https://www.libvirt.org"
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
IUSE="examples test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? ( dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use examples; then
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
distutils-r1_python_install_all
|
||||
}
|
|
@ -1,47 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python{3_6,3_7} )
|
||||
|
||||
MY_P="${P/_rc/-rc}"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
if [[ ${PV} = *9999* ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://libvirt.org/git/libvirt-python.git"
|
||||
SRC_URI=""
|
||||
KEYWORDS="amd64 x86"
|
||||
RDEPEND="app-emulation/libvirt:=[-python(-)]"
|
||||
else
|
||||
SRC_URI="https://libvirt.org/sources/python/${MY_P}.tar.gz"
|
||||
KEYWORDS="amd64 ~arm64 ~ppc64 x86"
|
||||
RDEPEND="app-emulation/libvirt:0/${PV}"
|
||||
fi
|
||||
S="${WORKDIR}/${P%_rc*}"
|
||||
|
||||
DESCRIPTION="libvirt Python bindings"
|
||||
HOMEPAGE="https://www.libvirt.org"
|
||||
LICENSE="LGPL-2"
|
||||
SLOT="0"
|
||||
IUSE="examples test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig
|
||||
test? ( dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/nose[${PYTHON_USEDEP}] )"
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use examples; then
|
||||
dodoc -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
distutils-r1_python_install_all
|
||||
}
|
109
dev-python/nltk-data/Manifest
Normal file
109
dev-python/nltk-data/Manifest
Normal file
|
@ -0,0 +1,109 @@
|
|||
DIST nltk-abc-20200312.zip 1487851 BLAKE2B ba28be6f7d5fcd1840af11bae1e669233a151f9d6a5ae1a958ab5b5b8bf33eaac03a5172f87bd0dd481b1cd069fa107d0fadd6f5cf037eee4350652a58e21bcc SHA512 e2ee1fc1738c1ebfac50271e9c8d8396a603ceef2b1a6471fb38ba78a1a74e639f5c51bf93ada93f70832462bd7bc42621d1c5ccfeba0315abe8408f28788db0
|
||||
DIST nltk-alpino-20200312.zip 2797255 BLAKE2B 54cff649a36e0eefd74b217ee5c4fa1be464edebb5b4bbf004960487fe172e6e623b5fb9b104da34e109eac3dbed02397119b7998ed8db8b32dfd62ab436f4bd SHA512 0f0b40ca8c36068dabde193299fc00754b42f0ef42f562b96ec413b8f6400db9fe874fa750b198ac92fa7eb3cb8e4bf1ecd463aa95005dd4fb23825e47c4a772
|
||||
DIST nltk-averaged_perceptron_tagger-20200312.zip 2526731 BLAKE2B bc6bfc544c78df029727c4f809749902539310b1894803f83b07add698455bbd9ca0f5fbd358ef91978414714b2041c757a1bfbd1db985ba92e81fbf7ae937a8 SHA512 bda565462823373905ed73073aaa78fc390077f370fdd942e7681e7e9b6f78d41bc4b71e7aa9b4d601de5a5a886d4bbb14b062e1e7761629980a508054f7facc
|
||||
DIST nltk-averaged_perceptron_tagger_ru-20200312.zip 8628828 BLAKE2B 026ca0e6a511098029b45efa46dd336d37123575bd77682f8a6084c39327097c85052818921a5b0ce2f202924ddf2a24418025f8c979bef034aa0086cb583a17 SHA512 fd56c7f8188c2ddd6b6239189ffa701c56f2e47376a210bb0c92881969304874f720f27a6965e853db2bf43aff202f09dfea7bb30420590e1a75940493797db6
|
||||
DIST nltk-basque_grammars-20200312.zip 4704 BLAKE2B 024c6d86844bb3ea368b6dd71d065b4bd38b551576b3919f26e6c32139ebb3b5338c17453d766cef4dc7f5c358220b2738d16baf58c8cf794954e10a460100fa SHA512 52d07166551dadbf99830052595982b93c0f8c611c4051efc00dc2054a4a219b8a3ee57072f8bac51b34e5eb8e1e5631fc2668bf319d252fca201d798a58455a
|
||||
DIST nltk-biocreative_ppi-20200312.zip 223566 BLAKE2B ca749a1713992045363a7e4af7c912a750f6a17cc729f60fe1ccbe62cbb565a2c349c09764e91946753e630409382b4b1a1578a17b29e10d7bdba9818c6ef098 SHA512 b6dd5eee7849c1161afca851d22106671ba27cef63d4bf7f500b6c92625b31cbf4aa7593ae65c7eac25f532ce93f06faeb78e7131e35b5cc0c2d74a2c06d43d7
|
||||
DIST nltk-bllip_wsj_no_aux-20200312.zip 24516205 BLAKE2B cb52ef99d7505b956b31ecf0c02ae5538946ef6b9b639eaf7b2808795a3bb6e05188da20b8495d80a4a3077a6e8f1d53b2ebbadf5d14382e245841ae1919a839 SHA512 03bb1c3b6c27e0049e7b5fc7721e2903c1dea80b55fe35208a4acd67116618a646d98fc5184d3a43ac9ce3dc693fb8ca768a18f20d9d6eb69d91fd2a101cc9e5
|
||||
DIST nltk-book_grammars-20200312.zip 9103 BLAKE2B 4087df6322534a8b012df25587151afe6121ad857ed99cdac1cfa5c8f9aca4d2c623876fb65fa21b9f391c0e96401ef18a0f403bce343755fff38c7d85292012 SHA512 8cfa085e8203f9c415d18c0afb3e3cf9963214929f4de71cf5933234e3623e432cfca3a167cd7c2d9cdd4d22496cf959249790789782675cec392d0e0ef5549d
|
||||
DIST nltk-brown-20200312.zip 3314357 BLAKE2B f9c54f01d08ce2da90238a94e74c693ca60ad63b0cfdc141897942b4c01235f505d9b60f4ab0eb0aa63fc4b414922f5d71eed404486d4b31788f167e068c300c SHA512 f425e022f8f3eb459cf9ad7c90c326920430f7f0ad3e15d5961dfb5146ac355f7e13ba7681a78a26d3c5b146979eb778012aac4ce3dc5d59421a60798dede85d
|
||||
DIST nltk-brown_tei-20200312.zip 8737738 BLAKE2B 5386fc3c818e8f772760f8c8288fab1fb6f67d5f27e8aa47bc9366716b66c1b4c5fb52e0c9d52f1d2884ab426fe45afcb5d07dc497cf1a2e86dc4c06dd498cac SHA512 f3dcc36bcab63d481e4d833c8946f10163f732166114c8fdd63932fff9fba3c236593a082ebcdf96f74aea6d33e424b7be4c645fd0f5ee5090f0335544c02c47
|
||||
DIST nltk-cess_cat-20200312.zip 5396688 BLAKE2B b2c79b6d938b98118ed0f541ed75509bd47d2309123c97aff2aa1f03fe6da298c5270a9cd6fe3da91e57402b6bbf3953c88eab7e25c47b9a12720ff0367499e1 SHA512 6f14beaa98a5f0731fe126c7e10110045c7cac8f7893bea0a6895bc64e6953622f989e93c2e77f6d66d5a3024acc11422584d6563fc3efa84766757e2c5d4127
|
||||
DIST nltk-cess_esp-20200312.zip 2220392 BLAKE2B 16695534a2267c20d204e6ce19a19fbf053d3f4e06d8b52bf480f9c775b05381a902f56b0793aabb20ad07ed6334c3f24217dcfffb33bf32bfb3aaa6736dcbf0 SHA512 daca83bbe8d725fad5775f5c71946ae534764a758ccf428b3f48674eaa4a5a8342cb35f38ae9715ffa75030771b91f1303bb2b98a55922337e6b39dfa2e7a94a
|
||||
DIST nltk-chat80-20200312.zip 19209 BLAKE2B a9dc4eb6d0a6d081cff840a8cd6b3249ca2e26a6aa783f33fba770f3c56917537cfb00706464767b70d4b10339b443615272b909fc43efe5ce1e8d8dbcb8df2e SHA512 2d590ac4a785132be92764dda5577f2d7e7209cc1d58302296707d9ba8dd312dc01cdb104183922de88ba72f7cc3cd4b8fd95b2b18fd41321a27f4b964e4a500
|
||||
DIST nltk-city_database-20200312.zip 1708 BLAKE2B 070a7d51fa2d39b891a52178a535c11ad7122b34fb1f847b87b86e84db85d140d8b2ca8b029375bb517d38a1c92afdd86f358068f6ea097873713037978a5df2 SHA512 ca87a07da6b1fa1ad786d43d2d7083797a4b81f033248d6951fe2162a3b4b35d20eb46d74dc9cb7c9eda202a8b6cfe8899a3b02cb768be9d1f0b4be1a290ec2e
|
||||
DIST nltk-cmudict-20200312.zip 896069 BLAKE2B bcef4718794c180f8641dedf2d85bd338d440c470715bd34eb843b2487cd2b2e746808f9420adebe0757987d09def5c5547e797f4cfd49b91ff3274538836211 SHA512 d3b5d3f9675e242487953ffea9b93e8a8f66462fb09321303064c618e2483e13456d7bbb307b2791926a1e843fdc1df0cb29cf185e2adb6fd08f6286295f42c8
|
||||
DIST nltk-comparative_sentences-20200312.zip 279121 BLAKE2B b7b12e9922a2688586aedde8a50e01c29387793955b45c87eee2ad43e41353cba7a449e5746f41eb1b239263274fb91b4a69bda2359b6abd90e46b38acc061eb SHA512 38b383a8cde09c1e8269f047b89c364177507c57a330c361792e92116743adec6ee25202ddf672af041798cc558b63e1e35478283cfb365ef33f8657a462e978
|
||||
DIST nltk-comtrans-20200312.zip 11904518 BLAKE2B ae26bec3290d83673d0d894d62c22fac36d0fa4fa03e3989c0b924de65fac12f496bd730fa7512737dbebd59bd48e6b621e4234b0e26ab840c672fab555fbcb8 SHA512 c631d2d21f5a997548ad979e116e9ac642808bea0faa07fa93c57e0d455abb151b9c7d6badbc0b4ff4390994cb7736e722217a9c3da1c8d51da94d6e85629664
|
||||
DIST nltk-conll2000-20200312.zip 756607 BLAKE2B 31b4254f9eeb6a3c728193cb89a6e5eff59100c108ac7b19707e86d04f314bb2362e4e6a4770632308a535121ff2e847d8cdbea52835097429fe2111b1e580ac SHA512 421eb51171614175c27bc82fe69e1a6d22b426777c5e62f850ecc288f348feee3cfdf29e8fae9f59c53d47684ba031e108d8a29c5b9c27fc0d2f0225ab83f4c6
|
||||
DIST nltk-conll2002-20200312.zip 1867449 BLAKE2B 127a22ebf3fc2ac99e0b24641f2da1d122c67cbfd25eb59bb81ea430f1a08ed74c64b54b87b6457a903a164d2fcd08d4cec6ff7b98943024bc10a4cf54fc729a SHA512 0b9e575ed09771ca4ae5b6f5acf66466def823d9daae20eba4ac291fd501f2b651e018874b3f91dfb42b998abe8c9e0fb1ff9f2ef883f462b29c01547ba0d4d4
|
||||
DIST nltk-conll2007-20200312.zip 1242958 BLAKE2B dc01ab90a2d82f2fbe0b4276dc8c139626193f696197629b9bdcb75ae5da14739b319a4455dca870ae968c3fb00473836c56fce6e02f9ef5cc86fc7e44261d72 SHA512 3be03a672c9a4b823ed8c7cd3b571a7c0120415ef293f0e3044bf967f69b6efd413ee57cfe27a1407ec6fa2aad8e625019ddfcf0eec7a48ef8d745064adefba2
|
||||
DIST nltk-crubadan-20200312.zip 5288655 BLAKE2B 2f5103c9801b965ce5d893b690dedc5f8524b1266e32a01251834c80cf291963657b3c1366ef6ed21f9f89c9ab4a696de72a752ce53b651d596ade99edaace2e SHA512 cbb6a8c53a89bb68238853da2409b3bf04e832ede977bee673ad966a74f4c732ee6ba844b8171de26a641fc24f2e9f6d4755adeef3524583f8765d3237057726
|
||||
DIST nltk-dependency_treebank-20200312.zip 457429 BLAKE2B a60a95f9bcbb72b4ee19a91c380eb620261687f23bd867ae4cf2d7937b60b8dacafb52c09d7bcbcb9fbbbda4e57954ee55a900d70e69e7e290e53c668dd0775f SHA512 b225ace2e2413f0b9ae0e142d81052e64a1bcacb71caf7b07a577c18dec45dc429116abfd12edd3bb1442a111f4fa6e3e33e2b5f113e26dfc4e917268d821736
|
||||
DIST nltk-dolch-20200312.zip 2116 BLAKE2B a79b5d5de2ab03be43e5fdb1b34c70a458af6efce0e35f42f3c4d748c84cd950c98981f969fea2b0507ee405438f84b50e526aa94a93f99de7567ccb5c462215 SHA512 29254c95d11fd2001f486a5c682f7ab7f23fa13472ac4142db3702e2fa994f74ffabc2f571f1feb94a2e65fcb8da97c57a519f24504379b0e369fd27f9f867f0
|
||||
DIST nltk-europarl_raw-20200312.zip 12594977 BLAKE2B 295e274880ae34c9618a70cabc1b1075e35c442158aabe437972caebbf36d09c4f5f5b66d8ae7ac953f4312f9dac8f5e0c6d3346a444afe98ac700fb3e622539 SHA512 47dcd5420df6ab294f75204355cf346257a821d491f65b856c41a77237df1d7aeb352ed1353da55bfb68fa9f0d8782b9aac9c33bd49af3b395cc780dc421e26d
|
||||
DIST nltk-floresta-20200312.zip 1882021 BLAKE2B 092886cb15c6215b4fe979ce62a1a137de97c4749c372426211d36117d367697d19ebe6a9337f702ee9dfc133318b1e7de51393c5a41afc31a960e10ebe7c498 SHA512 1a71453b9629d622c3468b1e00501683e0415996a62a30c498486354b82f0b3be76080dddc60117c8c9f29de3b34a2166a5de87376a0daeaf8b92bfe5dac668a
|
||||
DIST nltk-framenet_v15-20200312.zip 69337891 BLAKE2B 046087cb20013f3a597034458dd09b4cb7378b19f91f5ebf7196a92a02741a67b671f094262ac5d8e0e376743048c56dd1d65e6c37efb3b254bb3f8f6434addf SHA512 4b55a435f17afbb9cf5fb59691a03776784830cfa6f1f7b9c9c64770fa6dbb640bb3256a099328e44a0a6692ed52703b9f253e5229ef71ee300ace34027ba462
|
||||
DIST nltk-framenet_v17-20200312.zip 99207152 BLAKE2B b1a32c535d37fddba5c77922f3a6097859d8bf59a4bcf37dca4ff394fcf027fc68d781b3b6c0a8d5cd9a423a944687994ec6a2023dd45808dc697b4c90f28286 SHA512 3696c5bb0fdd59058a8723ba3ca962a0d6422b36d8dcfad0427caa21dae9579b85f2f9af431aa1fc1cb76e823676a996c5a26aca99782017270d03ef3bd77f0d
|
||||
DIST nltk-gazetteers-20200312.zip 8265 BLAKE2B aa4f8db99a7ae8c26911d33abb67713bc80ffe3d87b2b21f21360682327b51229c16e7bf2330ae44d998e4d9c9bdc0879000a07197891a70ef9788bf8f7aca80 SHA512 dee3a050b56bec85a97e85d867e404bbb4f5041bf4886f5a00eb3e4149db1ff6f8a5bfa67f0210c48539cbf0140aa2082e2d3e65b4919dc5d7a258dc9616257c
|
||||
DIST nltk-genesis-20200312.zip 473239 BLAKE2B 5234c2bcc31ae738bbd6cdfe1ee231a75ceacc74334e3b03fcefb409427406aee1700e0d8ca8fad1444736005b53fdb0fbdb9068085837f4bf7292cf61351b8b SHA512 e74f6a8f304bca292bf8e138a739a97633075cf9374c95f43ec75473cd7bbeb0921fe24f7864659e640e694d227e61debd67bc41150bd898b7241a274e28196f
|
||||
DIST nltk-gutenberg-20200312.zip 4251829 BLAKE2B 54448e919010f12faa92c0ffd4adb31a7d1d76c262d5ac99c10129d188830107621f90e4ba611ffc1541c25037fc916b451169a8ae1df276747890fea2b5e06f SHA512 7b4442d18b89f9bb8261f23ad2f4d513b470461255633cbebe2b0c310f003effe819f7a86b39a62a6cde1b3fdbf099dabbdaaed520268c99fd1bb933baa97ead
|
||||
DIST nltk-ieer-20200312.zip 166156 BLAKE2B 4c63be6f0f16e59584b7f97c21da0cf60a1efd3678ce662d683d8a6a9d05d333690b26ebb037d3047b26e3b51163ffa666f048ad8a89ee6c851ddd3edd2faf58 SHA512 b55545f0ac03282fb85c4a86bb69fd9988db8cc504114bff7b763007e20f559efa61b8ae5b7955c251c1c2dd9d23246e23515b1cd5d8d28225c20ec236c05cd8
|
||||
DIST nltk-inaugural-20200312.zip 329806 BLAKE2B 222e22742d93156b852ddd72ffccdd5be5c907f43973b0ceee8d8d383bc5387575d1f974b29fd6d59499ec86483f56270251e6a5e48d7840c577207849baed59 SHA512 096591769373019883b9a2f85d32bc86021aefb74deb26dc9005233ae7f317d587c247edc53f1a956b8e29911656419d9677c271fb59ded4ca4edf2a80ff86b7
|
||||
DIST nltk-indian-20200312.zip 199187 BLAKE2B 9f70f1f28bcb96d828ca2ed96d6f89cd8eca8391b64842c742e940aaf59f31e142a4919ab5a21bce954bbe2ed85add162ac67c9549758f9aa44b3e90d45d44a7 SHA512 08e9342567bcc607e9007aea8415af2cad1f8a289104b47a61bf569f1391629ebbe25f19aacf53e2b14725edfdf18076331f044e1c2e42d07c96d5c875ff8f9e
|
||||
DIST nltk-jeita-20200312.zip 16531215 BLAKE2B 7cf98b389d5c4b41d9d613c14c5116b83c520cfe7418ef982a6acc1294d8ecdb8a5d6d396409c9f13ca83df999793619d5eb5483612e87874766afe565c68362 SHA512 491e6dc27d70ebfd139be4dcd179b02c383f38edbe4290aed85638ecd7c987259b025e4f6f3f1d5bfe2b7aa3eff7188109205417d0acb64759988150f2753129
|
||||
DIST nltk-kimmo-20200312.zip 186958 BLAKE2B ca288f48c09a33b86449c780e5c8612c3521e22bfe70918629bf3144b75b5566a942c3cc1440a13c2d81e3a69c77928c336850cc9fac4c232deb77293bfbe4e6 SHA512 fe38d5298ffb6dd62223c2002278d9ddf2695f341a29477f44434644bc6766cfe2c73091067f9eb8aea201735eef5012f96ba267f2e6ea3aec41ac206a43cac2
|
||||
DIST nltk-knbc-20200312.zip 8760788 BLAKE2B edef7da714f81de69ca7f2d40d3c15dbe9e8ba30a044d72deb96572504ac1f539a3f51e75eceeabb196e3cc3ce4ec2756abd4e22833bc7cf9547b0805ae20784 SHA512 76f2be8b8841fad1a4ffe9b31711614d19090d1571f9d076686f6276908b8b2fa3c7258dc037f1ae7e4eee63aefc041203982bd9d2ea155c944bb713cb1f37e8
|
||||
DIST nltk-large_grammars-20200312.zip 283747 BLAKE2B dca821271941708d4ad44a2b0694a9471787ee4fac8ca3f98761404df3ee676f6e9bd529359a42292d00584ddd63658cd5ea4b455205c73f119cc4b15829c716 SHA512 86ac15613a918a924b6ffcfa4eca1491f76b4d3f92d9c3fed25257dbb0ebcf20fc69800f4bac07acb2915e3d75d41d309afb61d5354d71eef396ec3866e57f8a
|
||||
DIST nltk-lin_thesaurus-20200312.zip 89154019 BLAKE2B 7c039636911fbd96caaae6453f009fdb721efa7ae7b697c61279130f17cae5b6d96a8c8c12506212335925bd1ec7e58e609b72236cc0585bd26a8d144e4382ab SHA512 7972391164c7fcc90be80f4b673551cfbbaaf78653331023119a4296d6434c5a123dbdd4e631efc732531d1a5d0eb7ed1c9b46a2680d6493f3cb2bcf5c6f6d45
|
||||
DIST nltk-mac_morpho-20200312.zip 3013904 BLAKE2B a4a7e59cadf913179dd62a31c7e666e9dc134812405c3cdd78de2e772e457ff31d42b98e4f224756d921c584fd13c3708482007d575386bd21201c38492ab4a5 SHA512 cb892e0f414d12848d62012409cc1f19ce4c42490dd9ebb233110f75029670b1d413d82602a3b6cfbcc17fce448d7d5c2d1a811059280e154406eaa0e1b5c4a5
|
||||
DIST nltk-machado-20200312.zip 6151774 BLAKE2B 14642a214ec7e10b6451d1077e814dcfb2a5eb5f728ab368e5777d047c445b8d3e9f8808bfe9230107497a42fb87ad5c30295893352688923ee7efd456539fb3 SHA512 8ef0b5e768edd4a8b6c6831a6a4a1913ce82a57fc63f08cc29ad8442c49bd4eee27930c674f2ac141fb1f58eebde5486d12e6aa41681cb601ae9ef9562843a69
|
||||
DIST nltk-masc_tagged-20200312.zip 1602143 BLAKE2B 502d648d3af1689d81fa9e8f05f6c0dac51781f378e7cca0199a203eb98fbd61b038b075114e69f612b699c18a8353c5ab8314816422d402f84f9fd700004763 SHA512 558ee5fc652ca736f0f0238854e75d5d6e7f85e03bd19274b09bca616aaa8edd513db972f89c13232e616945cc3463fb4bfda96c2b3d897448d3b5d9ce370f20
|
||||
DIST nltk-maxent_ne_chunker-20200312.zip 13404747 BLAKE2B ef15eac5306f04adf23cce1810e80a5566b07b96616a27faf30ef6cde055eedecd82cb2b7d3f0ab8227e1e0d31fe998f0f4a93ed3ea80ba7d7f9d802fbee130c SHA512 2ac628c6a1d68a262031cb9dd0b3544da182cfe239a21996c7b7ccb540ce92b9fecb7a7f038ffdaa5c5e3a4d8b7194c7d699fb268004ab3bdb6cd671409c15d7
|
||||
DIST nltk-maxent_treebank_pos_tagger-20200312.zip 10156853 BLAKE2B ca58a0ca3e280d4acf77fc15102ab52d5fbbf2d83a6dfb91228eb7ca3585f8b1e567847c037221b3cf1650d086c1de2fcef3098a3859603f58a2cf24a6b77719 SHA512 ebcda9d7f843e47fb560530b9b75b44ae97e92102d341453202bdc42aa2e996c76833285134ca5c213d7af5b420065b28170cade92a67ba9a667b1b987b8331d
|
||||
DIST nltk-moses_sample-20200312.zip 10961490 BLAKE2B 29d4a055788f7fd87b2969a1396eb655dec29ff206e705c31bbfbecd88ab18e4dbfd7409f5c21cd5a53e3461c183628fe689634ccdbb8f24cdeef56bba230730 SHA512 54abd8add66ab286f3e016aa3fb7e74be0d4062117f382b13dc34b0091e823144f203e6c9b2c8ccaed6ffdd23e9667fee4aef57c7c95d7a3f4703eff7ee082a6
|
||||
DIST nltk-movie_reviews-20200312.zip 4004848 BLAKE2B fcdc45d77db5c89ec96ee327487e3ee17b89110c8b83f188bac868f476425e732a734e667ae3fab84cd0a2e7fdd49baf33304ffb443d17a3ebf3505a54c8e9d4 SHA512 d1271c8bc2585220418eae6f5b12137bee874ad6097875615bc254fad6a4f33e3a11878c41666fef4d16254d8489784fd3e296378ea1967acf73ba494140a1ab
|
||||
DIST nltk-mte_teip5-20200312.zip 14800561 BLAKE2B 32de06f0cc6111a4ccc1cbc99070e17018eafa45ebde6f99f8027beaacffbde1db7db9d6d2ad1044f431c52297d1809ed76a3b78543506c620bbddce88c8ea41 SHA512 10ffd9801bc665c4a3af47c0591a04144ead556cbc80604218d97f334139513c7a23ce90c76b2bfe873b16f94bdee5cae00bd99ae9da8c7d0e1e21aabfe99d74
|
||||
DIST nltk-mwa_ppdb-20200312.zip 1594711 BLAKE2B 2d9c4820da713072269a096c6c3414195888cfc4341a2d7a30e6be89efe0d9793e1cf830bf6fb396aac3da9236667c1246fad7c6d474810291e5addd250cbcd8 SHA512 4fbc2ea7c211298847c5fdfb187ea3d08fe385611fbc51d1a21efbf77c45ca886e4765007204ed03b03ee6431804d8cb4239416e95b7eea20f2f612549a60727
|
||||
DIST nltk-names-20200312.zip 21326 BLAKE2B 37389f44337724fac26eaad5a4c310ea244b471877dabcacbb05e927e486f28b696bb7898809c8f4e739566ad09bc2f5d5103e0f5c77fcf280127328e2709fa2 SHA512 72513955d69d57787ff6d74b563c53bef7e350acd7dbe1eeef0a00253a9862663d59588551d5deeb02b88fb691d72b630a65315f513b11dd6d683af5f2e4a6ea
|
||||
DIST nltk-nombank.1.0-20200312.zip 6728397 BLAKE2B 4dfb61fb651817086ad20957d02a39c99dff83ec45dc1a01e1dac055e0d7d9ef8108ef8df5218ce57b2b0866b748f5f76663a58e08f5e1731272173888e714e9 SHA512 81bcf29898ba1205ccbc8486d14518e95b0189b97b172a54580d4cb4584f4ef32a5284fe0abed0b954e67a318de8f10de5df1a20e6c08976df09cd2c9c66cb32
|
||||
DIST nltk-nonbreaking_prefixes-20200312.zip 25437 BLAKE2B 9f26efbcc429f2d36a5584014604d2ca9d4de3864aa6192a114e9e2cd55ff1df50d4321a8c40dbe96225fad6be51f7be66f8a4d58146e370a1d33a9305f7f95f SHA512 4cddfdacf1c7fe4e93a31333413a83ebea2ea7907f4e6fe99e1c6ff4aed8efc951f4399478cdb88e5d5dc01cfb734b6672f4007b2a17c4784896fecaf4a93cdf
|
||||
DIST nltk-nps_chat-20200312.zip 301366 BLAKE2B eadf0d0ee54c982765a124321fe6de161bfbfbfb0385d5d7e171666945ef313b960ba7b820e4fed02885ffc213173e2a7c97822513ae6e81e68858af21d9f424 SHA512 a716f3aaba3aedbbdaeaff1c6f1ef607476aa989eaef1c2971b827215f3167952477b203f1543d0fd27e5594c3efa01349c6a0efc1ac423048808f18eae94643
|
||||
DIST nltk-omw-20200312.zip 12110409 BLAKE2B 5ae634fdd89fcd2be2dea1511b2c434755e16b92804ea6bb5e2139113c644885d142e6290ab1d00c418f9df5241ebf6b7e227da120dc95d1e907d8f62a3d0cb8 SHA512 05b1b014e55738c49b34ea0371b95bd1d1aadfb0cc57325ec110ffbbb1250690e3a4aab45e877eb5433de08c7afe3ffa161e29976a0e28db9803fb637b24c843
|
||||
DIST nltk-opinion_lexicon-20200312.zip 24947 BLAKE2B 47f5a381647075f4bea0230939098a6e83b47860165595e72f076a5436e2aad78148606d86ec331b1cc323963cb2a7500669c6fc2aff2e889bbaec8fd8571722 SHA512 75b98afa24c4e0284b2858770d7655c5c399066f56c1b9aa03dd51d80f211a694856695f8192570f67f02f0827ab02c3f3b65feb5a56c04bebfae3b58ca56ba1
|
||||
DIST nltk-panlex_swadesh-20200312.zip 2861668 BLAKE2B e9ee3b2296c8738319a86dfb39d34fc5bcd346e725e0ad0df74571106ef05b71126aff70914e914cff436674c0d70c71ca36121331ab0327932505a2bdb26be1 SHA512 d096be1c6ea54814e448f61048f05df9107c0ca5f75eb3051a009efd4643c94188dde03505b0a4ae29d301268ffc5153eeee7012aae18310f9288fd4ccdb2287
|
||||
DIST nltk-paradigms-20200312.zip 24902 BLAKE2B 73b0e811f80b0dc64ae62f8a0ccb3906b723badd9b1ffd358194f7ea54373ecff4b75dcd4f06e3382793ea7bd31af98c6d31ebac5c793dd1446153e6d4371b13 SHA512 56ee67f12d2e794e3498183ee8cd90e7d691ab06f576ec413580fe1fa7ff49cbec01fc44c5b323fcd764600946a1866338c0babd6eb4cd658e006e4420205fba
|
||||
DIST nltk-pe08-20200312.zip 80735 BLAKE2B eff34d07cd6717e1e661ffb8b187f96f84b88fc53fec2d3c15c1591d3117c461a996cb1b9c4890c41f2d82e1a8253c3583149ef34c8c42858855ebac5659923a SHA512 c0d5fd7df03b0d3e69a45e4f3463cd3a9de76a4d66c39c0b0641ede9ddab34bae1df14d85c85c78b4d375b478b4a4cbefdbc5100aff6c4e59e550903537d3416
|
||||
DIST nltk-perluniprops-20200312.zip 100266 BLAKE2B 36459b87d3cffed0e1331c322b0eece674d2cf7a9ec9a8bf5ebebd6bb11dd417fdb0ce471bd7078a24e02b5477d162885a327fcb0b89ec5e845f81c58e74544a SHA512 3e18cb45063d3e2ea0dd5160d85efd672a1a4f94436f732470ef63c8dcb2b3faf92db38d2d4e9363759140a9380d212809cbcca0f4459fc35bbe9a77fa107b42
|
||||
DIST nltk-pil-20200312.zip 1510205 BLAKE2B 389a0df127ac521de7de262d7400252a7353b8842e5b27f948cfdddb7bf565702e08ad9341f0be6e0c7725882cda5a3db960c258d0ee42eb8023729291bf0640 SHA512 1964ed66f604e6c39c9cdc8a5a4d9603f00893d02129349d84cf4cce68034c04889e9346df7719d6f468c03ddbec4a892035f3330cb408a7f6aab0bfcb3b865d
|
||||
DIST nltk-pl196x-20200312.zip 7051453 BLAKE2B 2f5cb39fcea51d27992f5dd410dee8706c0c8146d216e4353f4e235a2df1833915ddc87cd20d78b9d7a503c10a6444842bf7d64fa6dbbb5bb1f28077b524f345 SHA512 2fbb2eec61562422ddbb7fad804c450a9b513dc10597c3341b811a3aa64a28ccaa836d736ac79319edba73c8c8eb85d4103573cfae51d649cfcbdd3a758e018d
|
||||
DIST nltk-porter_test-20200312.zip 200510 BLAKE2B dee1fda2cc678a4cdefbf2cf3084b1c8df08bdb195d2aa42fd3314870d5dd96f8d8219987b3285f9b040f3e493a97f0f306b0ee8309fb73a44ee25aa24fa97b2 SHA512 8be4d1faad2b64bb3b9bfb2831c5b870d4213929fd087a9c62e217b85df9f1c1946c9cbdefcc51c110b4980f44bccc45a61c683cfc951b0913270fc11517bee6
|
||||
DIST nltk-ppattach-20200312.zip 781714 BLAKE2B 26613312b15d391883679d26e528949cd8b50ed88b45776f87c40180f12a4a79dcd721a7d9849b97d6b86d5ddff871d29db674ae750b0dec94f042a78ab67458 SHA512 9afa462379522276c8cbb8e8dc14a57cd221272da40056a1ea82daaee44a8464283927a9fcd94b426257bc3a04374db058cfc4fa31435cf8993942d05444befd
|
||||
DIST nltk-problem_reports-20200312.zip 1032942 BLAKE2B 45b4536712c6eaa0c4b385792a22608737b3790c0e3b644695ac18b3327c216407d56c4b3a89c0d9123eaad4957104421b0c218822ab9f96000e9c0f422f332a SHA512 766c45a016171c7440ed2604db11f1ab1cf39d287bf9d10c87bc29fa76b0661a048fcc484328427c39d59556efec928a5fc687ba2d36e555c75826a28df2372a
|
||||
DIST nltk-product_reviews_1-20200312.zip 141287 BLAKE2B 18e83e267d3edadd7eb99dd87f9094b0fb426006e21497d373c190d17859dc50adc6dcac7101e2e0621df06c812287a7f969ea9c4149521b649ee7683c8c92b2 SHA512 511a719b2694bee35a39057a770005f0234beebc289e01aceddd432adabc5e580e99cc8a06c960855764709432b24b62508daa5414cd4b1e491379c3f07649de
|
||||
DIST nltk-product_reviews_2-20200312.zip 170698 BLAKE2B 395d5ac71b759a546a3e25fb6ef584eef5f6076fde9e3952f12a3b094360e493cf306fd07a3d266f46ceb37d94f000faf387b99ed7b4b9dec5cfa661b74d8318 SHA512 24ddd6e62a62ef81ec88fa5991507f3e7e479caf778d3738bb30ddc74898e03a8629a532147a0e0b899b3b2e0933fbefdd0ec0b0e774fc726c4145d66bf5cd29
|
||||
DIST nltk-propbank-20200312.zip 5323498 BLAKE2B 7abde7caca8fa267bdcfdacc507ecef133d80989909563380f9ac296213ddd94680c25b0e9eb339d2ed7f851eda185966f6be63ed86fae5d9d397d8758ec75bf SHA512 6bb6f88648c1f6044d30dbc56ce1924240ddc1420c7abe8ebecf3684d69bc2dc20f1c575a6ae368a39fff40c5ef09f80d94bf317a37301639321085f102b54bf
|
||||
DIST nltk-pros_cons-20200312.zip 746276 BLAKE2B 7a1aec593396f25c75949bde9627b0568e4d406fb2d42ccb6e7be6ff7d3b118bdfbf34b574e40cdb27d8e65e5a370f820c839bfbc0140b2b177c9dbdd89e3516 SHA512 9eea1070b67e648d5e6e84d5a336d95c9eb3192cd0fa4a66f298076ac5907783ecda5cfe1b6e66209a99ec4e326666b14e1cc89ffb4cc8b2b91fed7db77db75f
|
||||
DIST nltk-ptb-20200312.zip 6289 BLAKE2B cc4c91569a5a9bad0f3cfce8e0d98179a53b3caddfb66ece085b293b882e46328a108c3be86261dfd869ea2fcc33d3687bc41adac3ada88ea748cd3480c88836 SHA512 dd59d84f20ec52c38063f0961954c063f614b94696307a63fae21839c51c81435d0205fa276f6811d9da7fd083e93f51f0603b5c35dcddc539a9bf59b9dffb6e
|
||||
DIST nltk-punkt-20200312.zip 13707633 BLAKE2B 22a0b3aec8a72735fb39aeeb596601452a70cd69e91206e94c5204153da8dedea3b7ec00c460fe19962e223adfd9cffc05a00daa4df48e3f2da500da51e99d2f SHA512 d477823c0cab57a374822cf58dd8bad35b86a504a51dda10de33b27cfd2ca4c89bba946c09f1ed3b28ab4d1cc1e5f3d3781c5f78ebe87458e1df9d48c8841782
|
||||
DIST nltk-qc-20200312.zip 125456 BLAKE2B ae02a2cd727e1832ede5fa5b3ef561059c9c714ced80bca311a360dacec6e176c034d802838335437cb8fa25ea877c3774fbac6790cdf6b9b75a3908e76e2dcd SHA512 8cca288f51164f7a18e1c99f2b6a35a3d890bcc5471b5be26883dd87d9b5e06214d15cc1133598fee330f0daf74ceaaa862410f6d95dfd56842a2cb84dd67390
|
||||
DIST nltk-reuters-20200312.zip 6378691 BLAKE2B adcb783246f4fd6e73b32fa9419570d9c7e9ecff1c9e2ae39a587f9036ab5eaf9a6ed87b7794dfe2f0ba965cffca68e51c243e3396c179a0282555601caee55f SHA512 21b5a4e114137cd8a52b6e3567c2d72dbe7eac8a3234952896126d9d598fbfa72a7c1e6b7c424b8b016ed345d7350cc562c6d039e2fd6ec0d73c68e13e58605e
|
||||
DIST nltk-rslp-20200312.zip 3805 BLAKE2B bf4500dd0e28cb4f018b8d13c5b920294163e7a9735dda12935f6b25ce5c71f2181e3bcb33444d490ba7bb1a029ef50dcdb2df4bddb09bfaf9d91b91531b8461 SHA512 83994b9cf2c925e559c68a03abb1499e3cd308fdb5ac6e698c3b5e2458393d9eae2420b02b4c46fd04527913133a1f19b3a2e5312f07e222e8cf072886f94973
|
||||
DIST nltk-rte-20200312.zip 386303 BLAKE2B 384e22acb3ab9e37aeed26e85253a19bf14a4c0fff1030db5c530faa12380d7c8334278514e2e3a25ed6169f7310f960a116b10e1d021f5521f1271f2c039a05 SHA512 a091b04f9c63e4ee193f40cff7a60905a9f5bfbc687a27c7d66cc6f6896e5abd489dbb820f98baaa2a4d855e09b92203c3756d6eec31ed4f4c9dab9e689438d2
|
||||
DIST nltk-sample_grammars-20200312.zip 20293 BLAKE2B e59884ec6ed4e7699a7d066f332d09ca26e3abf53a801b37e8592c79f2a812a0fdb17d4f730ef5d820def8b78578c4ef8e60519e74a352f731884f91eccae75a SHA512 c4a99d38f6a85c6639d50b6fe9d0ce14bc87eb9dcb4a1a2dbc6756d756f903d6541d352401a42b20eb4a0df0ad1f41d75d33915b080345a9f88f4ad15f146b34
|
||||
DIST nltk-semcor-20200312.zip 4397021 BLAKE2B ef1a1915309bc4b829a6eae9cea0ce4a0a9e5caef731dfc107e634a6e6c2fc68173715d66b10d71931e4e46ef9eb09c13baf91fb909868a5d920d5a371e37a0f SHA512 a6d45b8c1043d94493fea3abebfb6fd1d690192243739d98f0df8a3e89de3a07da17078bce9797373c2312a249cdfbee41c952f1acce4e17c5cfd12e02d7267f
|
||||
DIST nltk-senseval-20200312.zip 2151350 BLAKE2B ec21463f7ffe27e3dda47e38e356346491ce64412f6d4f537fb73e72a0d6dad2667d75895add461dfebc729d44b091365020f7e9c93c7e7bcddb00c74f90ee30 SHA512 4c69145668cbc9d25d4d6893caea417258fc34c23527538f5799d96da19f45aeb271d08f48ea434ee21b7cb499579631556aa517c294743bc64e0f840854ba9b
|
||||
DIST nltk-sentence_polarity-20200312.zip 490256 BLAKE2B 56a1b4668875d5c73b220710e8af84410a273f394d68d7e9decb47c5370f0f7c1982d37710ab903d78dac0108ec2e1a26e8f1cdd3fee172487397c8b2ae01ee7 SHA512 d3772edc13d46fb835f40a9c6714b95885d3ba2eded37a24c8aad6d3e63ca49a9c79387218e2f67bda2e52d52449daf1dd1e603a4819ae46da78f4e0a38ba599
|
||||
DIST nltk-sentiwordnet-20200312.zip 4686546 BLAKE2B 98a45d9a5be971bd9e76ad5c154359c1800aa96ab1e8e301215e435cae6d659cc0fb38604435da4e9a391741a72ef7fcb842a1cf119348a7039f717843035f12 SHA512 cd0ff31abec3b85e3114546918c9152360e3da45fbbaf7b4c76a13a6d288f1d9ea7a4633638080cd0205cc293b4123445106e9b5daddb2ae379d6a08d1c992a5
|
||||
DIST nltk-shakespeare-20200312.zip 475458 BLAKE2B c60acbf2d90f5fffdae43bdf85191dbd694ec5ae19e37b145ad04af6d8481988f0c2ce644baff2e31707e86d95a9b3b03c1da4faaa46be92da2291cce565955e SHA512 72cbbdb237b78df1f6bf27b5504606f805433746b9862dd1ce544ab712783a41fb165f3a4f282a7f1bd58c7dfe6036c14ecb07a82c109f6d326eb95e470002fb
|
||||
DIST nltk-sinica_treebank-20200312.zip 899237 BLAKE2B e074dbdc7f1fe5958109f8ea019bead946bd2e3cd1c0849cf3ad49eaa34a1989baee7935a70e9103c121e5d375954d1dc53e4a1599e394ce6c2fda4e98769645 SHA512 724fb0905cbd0f903c3a75d70aee8a3e6f29e62971c1501efd8bfb3f4c6619e5fd8a285648e7792ea8e86bbda0a2afc6eecae45ad9f361983bf83b756ab52960
|
||||
DIST nltk-smultron-20200312.zip 166207 BLAKE2B d0c3e75dd108965e260d913e0c02137da8707a751a4f53a1f59ff6a26af9997e2f0193980b5087277b87b74d9aab3e3c8d066d7264311cec2a94f0f9d21caf44 SHA512 8872717994269caff4ccf3f52cef273b2ef007efeb8ab89392cb4db3b8e3ba4b8859ab2fd70762b8941bee4558aebba3021869772be17a64e1056968aa605e19
|
||||
DIST nltk-snowball_data-20200312.zip 6785405 BLAKE2B 44c10439b142540ac7eece967efa1431fd8f45342f0a90875dacf29ad374fe4c7d30af11d42ba45e0f1ec1836d56b2ff684ee352c5e8536cfb5db5eb7632285b SHA512 6c8a9259d88f6f7f499867d83b731de99d7fa4e8827ecedf836f653fc1a810efa9f6c5c6e2720a9e6610bc00978956b6a119bd08b70e3e241c4e9faccddd81d8
|
||||
DIST nltk-spanish_grammars-20200312.zip 4047 BLAKE2B d8a8dbb558850a6a60f1fe5ab0f617f3a0f3c64bc7d49980cf793d374c6679d1bd42afb7e61776737b5eec162f2520abf2ee3acc92ea9ee0f397c3089b3b5b28 SHA512 4513347156e9351c259c0e2448198d68354bbc95e0a54561c31a88f13f333ebcba3e294c820cb62036665f2904eb6a7137546cd580e361c0423c30a8aed950b2
|
||||
DIST nltk-state_union-20200312.zip 808757 BLAKE2B 2d352af0ced736d3c11a821eaba0b035b3b5b6b0f20db3bd5d4ac2451f99daf68bffd3ad984bd404ecc4a1e67ca9281c529af2cc9e295a3a7330f36ee9640bc8 SHA512 a6fc83e6230e57ba66a7af62f0d2a5d44a14530ed1e0e914590b3f8b5bf939967c126a5e6f6899ba9134843893f65212e836d311109393c1200191a5c3163485
|
||||
DIST nltk-stopwords-20200312.zip 23047 BLAKE2B a0677cc0d4a3d54ee6e27eab8fb7635d6cd29265204896870e57457a54459f1d6cabc0c4e76e749397f5eee299eed0b524fcbc2033ea17d81cdb6cd98c5ed968 SHA512 31774fd3db2e0fba0209db71c08f9b2d971311ea4a59739cfdc0a9ae34f6c6c593f2a991a14ee20b0de8b380215e609f8398ed50c546775322ab8c4c3f8d06dd
|
||||
DIST nltk-subjectivity-20200312.zip 521628 BLAKE2B 0a8777a5b91b1b825fbde41cc927d496480129f0a810349bddde2036ed16f37611f2bc3b007e74fe36523612529a92433d32d094be72d247f5faef8220c3c491 SHA512 a3cc4d2d20f26c5eabd86fbced2c013e69d46e607013278eb35831a62e57523a17aec1b580ba62c7a867e61a561e1b222d8430f0c1e2d429a9479e12b008c5b7
|
||||
DIST nltk-swadesh-20200312.zip 22828 BLAKE2B 1cd9d5355c6b53694ec545ca001b0807b4912a7878ba075b0f81ce8b9b22a5c7a18cf52cf2449483a1c89cd20d8d86986dc3d827fa93a7ef5824fddbc0922025 SHA512 90cb32532a5378d05ce34b84b5f8363dbb32f24afac58b0dcc5cdccba98fd7d37def7f4fbe76b11c8c64059bd19df745562bfbf5f4c721d65ce9f4be1348ab76
|
||||
DIST nltk-switchboard-20200312.zip 791161 BLAKE2B 211116a751ae246fa31b6aca96b396d3642d89ad112588a09f8d91a5b76dc41c7fb4d36c16c6358cd8e0da8056bc83598ed0dc635cf7b1fd8469a0e80b5f1761 SHA512 690e5392dc082c4ac550bde2848aa65117e7a25cbc4bce0887581c531d03be64e21f044ac0a3286648255f0edd7766b1161f5575ad5fd680c7303b34c3226b8f
|
||||
DIST nltk-tagsets-20200312.zip 34531 BLAKE2B 7966055f926f33cba5929f16623afdb232c6168049e07728fc6629641eb5e8bbeb47fa4c2e3ebb89b7f5f49855565ebdef17c9a9ac7e7cad58fd42ab53d5c333 SHA512 03a5a9643c3f242ae699f4d2f5269aacd167e1ddfdb826759dc5a51271e37efb89ac7d3d316e7573b00bb92ed2138c8c72cb0b67b7f28ca8ac93ed0a6d48c798
|
||||
DIST nltk-timit-20200312.zip 22251869 BLAKE2B a4ab4f5c1973bd748893f15ac47eedf7e1bc6de1ea40caa9e5687535a5e2e4f159ad98aed5b2ca78133146b76fc593e279502d3cd238fa3a96c5825d8b31d773 SHA512 0f7f853dec95431f2c3f404ec275a06ae43c3d4a506e787f94689521b381bc9cb4b76fc93b9829bcdc3265f8465e11e0ddc2e0d8a36c88b544dec21d679b9b7f
|
||||
DIST nltk-toolbox-20200312.zip 250616 BLAKE2B 34b0bda4cd229ab8beada332e43a1040a4cde652129b70b06e8409bf467423af6f15c8001ee9b162cd2714c9ac556e6d0c484572b36c85126851d1299e676e66 SHA512 33f50ff645bc359894de098000e117d7a077e9422a3318524b06bb895c10c33a583faa134d79f620ec95ef5b3ba9d502d15e68b531e6429845181da9b163307e
|
||||
DIST nltk-treebank-20200312.zip 1740034 BLAKE2B cd40ad3df05dae4d5e4f7a3a4154eb4ac239b0f41b1798da72e023c7878afb549d29ddba73111dba1e2f34554538f1f949d2622363deb1db9a8f5ac1b4dd455a SHA512 f2b3793329259c16b2544cfb544270e9c4b4d25eccbd997c086d3d5915981ceb038f719c097d4c71429aa9e7c4f0e19918db06b249166a2f6153d6b618c96a77
|
||||
DIST nltk-twitter_samples-20200312.zip 16007673 BLAKE2B dc100181ff129c2e9774c643cd0841220496443902ba57818c327929782b4d6e0434ac083c47cd362401d4aa804635fd2e008342755f1cd7962f23e0bb57e3f6 SHA512 1c950e0135e8da58540ca618a1d52f0359afde44b429bede4005182924736d3edbc0fe52638a2101664490fe7e2eb25d7ab704909b241b9349b8c5aa7a185892
|
||||
DIST nltk-udhr-20200312.zip 1170177 BLAKE2B cab5f8b4ffa9c0c303620a499f61bbe654545a5689aaa710df743054836a7843e826d97ee91f7b84ba2dcd32ffce432f1932c53797e791de2776eaf183870988 SHA512 730f83cb663974edc099427fad0a3c1cd16769f5ef82446a78aa0e12f01b68a4c52037bdb5e3717dd6b08c42655b03d9d0f2f5869c01b117ae2ab8a428df0dcc
|
||||
DIST nltk-udhr2-20200312.zip 1653975 BLAKE2B 43ee8c9c490a6a8ee5f0d9273bab83f77ba3d977da7eaeded3239b8c16f3432ef36478d0d290b1df9fe9af4e0c5de1902b8fe699788b7681003e5c8c426574e3 SHA512 eda644aedba1d0b9d2605dc6b1c8c77943692b4404c4a9c904c82956432c9ba7e27bb0f496e63d3eef7f29b4b34eb929f8d9228b4fd56613d5d4f743fa1d87e0
|
||||
DIST nltk-unicode_samples-20200312.zip 1212 BLAKE2B 715c6030baf56d766dce7b920500c29dc98ce4edc9b41fb4c858960a4630469fe5a269be6d0b2d33b54ee0208014b1e43f5d9ec49b878442963ea21e4e3acda6 SHA512 88cac1ef0f43fc491285c0638807f88f52d1baba8964cb2cf37c4ee3e8cd8c080071f108fb553fdc14ed17cb0e80343097c08ac7c1613b0abbd84f559e38fba8
|
||||
DIST nltk-universal_tagset-20200312.zip 19095 BLAKE2B 179297dac3a6a30a4a55e8affb480cc95a7a1dd1ee0ac6a0d4381c655c5dbf065e16f750ebd28846299f114d3355a9edf6cbed72242ebf5fd257f339fcd8f40d SHA512 ca8915e8c3bcb8515ffe0da21fb7066d213683ff702bf247d9fa9f7c966c66d06facafef1d600b7223d7aa1e4dfba1a2a75e1bb05b2c5d78beb312b8551d3fed
|
||||
DIST nltk-universal_treebanks_v20-20200312.zip 25908853 BLAKE2B 20f8a6c0e759ab15560e71f48527e26a0dac554b8996dcebcacd2c5d5e3cea8947481734a03680843176025fde6d5e484e9414dd239043dca380c79053d71d8f SHA512 3dcabe02ff8bb1044f7d9e1c5af294af05291ff33a6c8dc16d3a3c855ccbf3a8261d92ea926e15e0d7f9228ae81e7863a283b156812ad30575c9ea947ecbcc55
|
||||
DIST nltk-vader_lexicon-20200312.zip 90486 BLAKE2B aaa4a07a600d6ef53373250afd62a1a5e76cbeb28b56c06879d07a6cea593d7041300e6eaf2ce39b87dc0c04a536fae111df80604e7f517878e680fb9db16019 SHA512 55d41757736806a2a0dbcaedef28000b4461eb44dce308c9e06315feb55f843914f743c37b6cf220fc9e61c04f8f7f41dd338438059e2e803fc2b4e91f739923
|
||||
DIST nltk-verbnet-20200312.zip 323661 BLAKE2B af5b26a63853d1bc3fc99c9cba3c50a82bc148cb6d95a26045c9aa29ba83408db76b098354e99f07696d5e2373ed9d8a35ed8504ac9b20e1b4d16252a238bc85 SHA512 00368fb2d5cf1bf818f1d72762d2c40a98067937d71a65ece2ca0f4bfab6f8957b32ba66741901af34258cf3309d00dae433b1092d0b7adb145a791dc3bf859b
|
||||
DIST nltk-verbnet3-20200312.zip 482025 BLAKE2B 256b922160c6c8288d1a80d2eaab686988e1bdac2c7cd04b99f1662815e77881d97d4655a22480f3c3ba5fa5117d1098f416e5c460ca725e299e94a5e9bbd12b SHA512 aa8f0eab8d132d30039ae93d077970183ea87e26b3918b9760cd9c86cfe2a8b09e49569f8c4e12af9c3b964d9d341dfe10772377843ae9b6d888a439acf63268
|
||||
DIST nltk-webtext-20200312.zip 646297 BLAKE2B ca072fc38c144b659c76c36c9161641c91f814fd84e5cb8bebe5dfe9382e5813bfaafafba2cb8b2e23d014f071c5b5a9589b78a2028418ad61147b0de35b95bc SHA512 7c88ff4920d2b61bf7e7cf8265100d8781c061c0742852a8b49142eb9a4d48e34ecc0c6257cbb7d7c2e7ea7ee87e942305b03451522776fe09a91ca86c2fbe4b
|
||||
DIST nltk-wmt15_eval-20200312.zip 383096 BLAKE2B 119943db4240171077569b3302c678644c2c9547ba67bfd055751059e0a3ad3ab6a19e4eedf9108d313d46dcd36cf19e11d973981da8c70a01c4cb790a7bd739 SHA512 362395d4c77ebe92f4c19fa8c2000082dc7a2343acc19cccb596ca00db6c40c231b904d807f46e2691cc4c4a0c79d14873b2a1983a494f2ca1485d540d787ceb
|
||||
DIST nltk-word2vec_sample-20200312.zip 49396025 BLAKE2B 0512b9bb7121a528190079f578e82b4e8f8021bfc0062cfa5613d260f3eee17460aecfeaacb65d950e79d27a653c78633a88c3638ec16377e2dbc3006387ebaa SHA512 09c30a4ab8f9fb6a5b36974b5953260d01cb4f285827fb90a374d054ad775ac978602ab56c452f46f4f8601312e232fd739d2f54dafa44ab8b7b01831cf0d9d1
|
||||
DIST nltk-wordnet-20200312.zip 10775600 BLAKE2B dac56a8fb1fa6882b1871c394ad2acb2d3be739c424570e27c89fb6983df5f896a8f359092ba82752ddfc0531d83563a219e85f80124202f29bda93181efe4dc SHA512 1923a8bcd56fa0b9a9de91f53070dce28c3a7efbab11d2ef55c87134b1bf30de0f40abab59c39eb15dce54aec9491d8a5a259de212ff4cb25cde0ad09317009a
|
||||
DIST nltk-wordnet_ic-20200312.zip 12056682 BLAKE2B c2dc2a646015b23699a72f636b588ec5718c70e6941d9d56863257e1e0396c8cf59ac1dc6ed74e5d7f0c2ee9129d63221a03967bf66a3d335e99160f295ed44d SHA512 1c94451a13af6c76bff60a0cab2e70402a3d9abd2e8fc62a5473f24ab4229feb0afe4faa8d389734697a6cf86d2c8b1dc700bb3afa3cbc279b75d7e0ec19fc6d
|
||||
DIST nltk-words-20200312.zip 757777 BLAKE2B eaaaaab6c26e206e9b6ce45daf779e3cc6706a06132afeabf013026d0009caee2d678f3c4ea9125b9654f7143bef29ec7a5706b79e5650ea556c6821b7754e6f SHA512 2810f05d3fc7ee6b6f8636fa1ff7b4e8c8cdac12b415cc54d15c69102290122ea138ec4fa36cb483f790c1ac10b0f83ae4c2c3e0e8df7e67e90e962ee5dbb0be
|
||||
DIST nltk-ycoe-20200312.zip 477 BLAKE2B 574835aa011a06a06363e26facd6a6f583a1dc1cac2de39adff59d8ab48eefac030b43d935a2f79af855259f2a9a571193dae2811589483af97406ff05c76c9e SHA512 e39ce165074d10ff63cb84ea52905d7ecb937797c8123ed113c5609afe1f63ac44d04d48a681002c4eac21dc9076ac74164b886c6f9ce42f3a102c38d1e8e756
|
||||
EBUILD nltk-data-20200312.ebuild 3849 BLAKE2B a2c28c659c7f6451c20641adb5c2d9dfbfc54612ce7edf2a865170fd31bf1f823b7aa7fef272e2207e722ca60670f732c764b7475c2ce1ca530b9da1642a7405 SHA512 59a1e5bf2276d913f2800db5f1f8a71d45cc0d63ca701b39cdd5f3b5b9ce72b460a01d5db57ad346917fa11b180617449ce7cff3804222406859855106e4b6a3
|
||||
MISC metadata.xml 389 BLAKE2B e9ecfd76b7c3cf4c8482ecbd809fa2dc94862b8315a3893afa7a57097000f4a048e990121e271d89655c77ad5a800669ce2b1a6fd5d01ad27ca6c3941c342e65 SHA512 1c9392dc21cf4cf203d368be88d5d7f3302570668a04caa2383038668542fb8c4e25c907aa8b86edd5e9e1f969c96aa1637f98e3538113c13e4e7c1084f4be5b
|
14
dev-python/nltk-data/metadata.xml
Normal file
14
dev-python/nltk-data/metadata.xml
Normal file
|
@ -0,0 +1,14 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>python@gentoo.org</email>
|
||||
<name>Python</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="extra">
|
||||
Install the complete set of data files. Otherwise, only
|
||||
files required by tests are installed.
|
||||
</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
184
dev-python/nltk-data/nltk-data-20200312.ebuild
Normal file
184
dev-python/nltk-data/nltk-data-20200312.ebuild
Normal file
|
@ -0,0 +1,184 @@
|
|||
# Copyright 2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit check-reqs
|
||||
|
||||
DESCRIPTION="Data files for NLTK"
|
||||
HOMEPAGE="https://www.nltk.org/nltk_data/"
|
||||
|
||||
# at least some of the files have poorly documented licenses
|
||||
# TODO: create a USE flag for free-ish subset
|
||||
LICENSE="all-rights-reserved"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="extra"
|
||||
RESTRICT="bindist mirror"
|
||||
|
||||
BDEPEND="app-arch/unzip"
|
||||
|
||||
PACKAGES_ZIP=(
|
||||
# wget -O - https://www.nltk.org/nltk_data/ | xml sel -t -m '//package[@unzip=0]' -v @subdir -o "/" -v @id -n - | sort
|
||||
corpora/comtrans
|
||||
corpora/conll2007
|
||||
corpora/jeita
|
||||
corpora/knbc
|
||||
corpora/machado
|
||||
corpora/masc_tagged
|
||||
corpora/nombank.1.0
|
||||
corpora/panlex_swadesh
|
||||
corpora/propbank
|
||||
corpora/reuters
|
||||
corpora/semcor
|
||||
corpora/universal_treebanks_v20
|
||||
sentiment/vader_lexicon
|
||||
stemmers/snowball_data
|
||||
)
|
||||
|
||||
PACKAGES_UNPACK=(
|
||||
# wget -O - https://www.nltk.org/nltk_data/ | xml sel -t -m '//package[@unzip=1]' -v @subdir -o "/" -v @id -n - | sort
|
||||
corpora/abc
|
||||
corpora/alpino
|
||||
corpora/brown
|
||||
corpora/cess_cat
|
||||
corpora/cess_esp
|
||||
corpora/chat80
|
||||
corpora/city_database
|
||||
corpora/cmudict
|
||||
corpora/comparative_sentences
|
||||
corpora/conll2000
|
||||
corpora/conll2002
|
||||
corpora/crubadan
|
||||
corpora/dependency_treebank
|
||||
corpora/dolch
|
||||
corpora/europarl_raw
|
||||
corpora/floresta
|
||||
corpora/framenet_v15
|
||||
corpora/framenet_v17
|
||||
corpora/gazetteers
|
||||
corpora/genesis
|
||||
corpora/gutenberg
|
||||
corpora/ieer
|
||||
corpora/inaugural
|
||||
corpora/indian
|
||||
corpora/lin_thesaurus
|
||||
corpora/mac_morpho
|
||||
corpora/movie_reviews
|
||||
corpora/mte_teip5
|
||||
corpora/names
|
||||
corpora/nonbreaking_prefixes
|
||||
corpora/nps_chat
|
||||
corpora/omw
|
||||
corpora/opinion_lexicon
|
||||
corpora/ppattach
|
||||
corpora/product_reviews_1
|
||||
corpora/product_reviews_2
|
||||
corpora/pros_cons
|
||||
corpora/ptb
|
||||
corpora/qc
|
||||
corpora/rte
|
||||
corpora/senseval
|
||||
corpora/sentence_polarity
|
||||
corpora/sentiwordnet
|
||||
corpora/shakespeare
|
||||
corpora/sinica_treebank
|
||||
corpora/state_union
|
||||
corpora/stopwords
|
||||
corpora/subjectivity
|
||||
corpora/swadesh
|
||||
corpora/switchboard
|
||||
corpora/timit
|
||||
corpora/toolbox
|
||||
corpora/treebank
|
||||
corpora/twitter_samples
|
||||
corpora/udhr
|
||||
corpora/udhr2
|
||||
corpora/verbnet
|
||||
corpora/webtext
|
||||
corpora/wordnet
|
||||
corpora/wordnet_ic
|
||||
corpora/words
|
||||
grammars/book_grammars
|
||||
grammars/large_grammars
|
||||
grammars/sample_grammars
|
||||
misc/perluniprops
|
||||
models/bllip_wsj_no_aux
|
||||
models/moses_sample
|
||||
models/wmt15_eval
|
||||
models/word2vec_sample
|
||||
stemmers/porter_test
|
||||
stemmers/rslp
|
||||
taggers/averaged_perceptron_tagger
|
||||
taggers/averaged_perceptron_tagger_ru
|
||||
taggers/universal_tagset
|
||||
tokenizers/punkt
|
||||
)
|
||||
|
||||
PACKAGES_UNPACK_EXTRA=(
|
||||
chunkers/maxent_ne_chunker
|
||||
corpora/biocreative_ppi
|
||||
corpora/brown_tei
|
||||
corpora/kimmo
|
||||
corpora/paradigms
|
||||
corpora/pe08
|
||||
corpora/pil
|
||||
corpora/pl196x
|
||||
corpora/problem_reports
|
||||
corpora/smultron
|
||||
corpora/unicode_samples
|
||||
corpora/verbnet3
|
||||
corpora/ycoe
|
||||
grammars/basque_grammars
|
||||
grammars/spanish_grammars
|
||||
help/tagsets
|
||||
misc/mwa_ppdb
|
||||
taggers/maxent_treebank_pos_tagger
|
||||
)
|
||||
|
||||
add_data() {
|
||||
local x
|
||||
for x; do
|
||||
SRC_URI+="
|
||||
https://raw.githubusercontent.com/nltk/nltk_data/gh-pages/packages/${x}.zip
|
||||
-> nltk-${x#*/}-${PV}.zip"
|
||||
done
|
||||
}
|
||||
|
||||
add_data "${PACKAGES_ZIP[@]}" "${PACKAGES_UNPACK[@]}"
|
||||
SRC_URI+="
|
||||
extra? ("
|
||||
add_data "${PACKAGES_UNPACK_EXTRA[@]}"
|
||||
SRC_URI+="
|
||||
)"
|
||||
|
||||
CHECKREQS_DISK_USR=3G
|
||||
CHECKREQS_DISK_BUILD=${CHECKREQS_DISK_USR}
|
||||
|
||||
src_unpack() {
|
||||
local x
|
||||
local to_unpack=( "${PACKAGES_UNPACK[@]}" )
|
||||
use extra && to_unpack+=( "${PACKAGES_UNPACK_EXTRA[@]}" )
|
||||
for x in "${to_unpack[@]}"; do
|
||||
local cat=${x%/*}
|
||||
local pkg=${x#*/}
|
||||
|
||||
mkdir -p "${S}/${cat}" || die
|
||||
cd "${S}/${cat}" || die
|
||||
unpack "nltk-${pkg}-${PV}.zip"
|
||||
done
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dodir /usr/share/nltk_data
|
||||
mv * "${ED}/usr/share/nltk_data/" || die
|
||||
|
||||
local x
|
||||
for x in "${PACKAGES_ZIP[@]}"; do
|
||||
local cat=${x%/*}
|
||||
local pkg=${x#*/}
|
||||
|
||||
insinto "/usr/share/nltk_data/${cat}"
|
||||
newins "${DISTDIR}/nltk-${pkg}-${PV}.zip" "${pkg}.zip"
|
||||
done
|
||||
}
|
|
@ -1,5 +1,8 @@
|
|||
AUX nltk-3.4.5-corpus-tests.patch 1625 BLAKE2B d070e7295ccdda93eae813de2ddd1c6ab3832722ddb815287cc1aa05ee5a3e6619be796d0dbc63a1c389a6f3a8b4eb9630564c2139bc636302d07c2212c446f1 SHA512 495179ae7ce022d1733508013d7a74c01f258a918047337b9d454bdc6f4a2b49a9fa2b77891a0af317ef6b1706802ab90e7c9bd2936fe5dc6f67371dd705c1f2
|
||||
DIST nltk-3.2.3.tar.gz 1166282 BLAKE2B 803dc1a8ec80a17538c2164d5ee0eca201be2307bbf3e08093a55cee93e9a539d8b48ea42c8ad84b540922355bf0b151ae04338d8505378a89173159d7464b76 SHA512 2e5c0899c29f61166b2e161e62e81fd35e045bda979fbfa662bf9ad1349be4aae6aabe4b9de34905e2abbc05b06a096480829fd66638efa35cd5c866f76c62e8
|
||||
DIST nltk-3.2.5.tar.gz 1188856 BLAKE2B 316e5955d2f90c351673ee9d3f0cc159babbcae08104518db62e796b422dcbf51668001b06b5d5dc399613d4db0ed39ff7dd15ad15d6f6c64e10c73a4d53bc06 SHA512 967b209ce3dde5296dafac16b91bff3894ff1a3f073c76974fd9193912597c82d2d1c50d4419052da77ab66f798f230f725b83f31368a95cacf94d46e45055de
|
||||
DIST nltk-3.4.5.tar.gz 2821481 BLAKE2B 9d3d6df9a951b4dfbfec335386ba0fb13c484c74a066141ebdfdb541fbec421dd72163d4028e239abd58f95a73e0eef5861574fa9955e4ee11f2c4598c895f59 SHA512 0ca24cd2154e47a8c50fe8e2426fa01c80904ece4100b07cdb4e5835e423e31968e96f0e750e1936f1e758a608596c560aaaee05b844b334f6179249db05f969
|
||||
EBUILD nltk-3.2.3.ebuild 816 BLAKE2B a52f29769758d3c96bd8a5c00b0264d945c18f7332c056efe8c0fcef2c6abdeea5f10b6502f5e47516b712f95f51d6f51a3395b3d2863479bc509b27cb26930b SHA512 7b7028ca38290e275a6436c3d1b69f884df1252f55c5d5af0b6f1c241371d2c214c46d08d0680b10fd57b63840dbd683bf32c1c6417b3ab569362b0d0b65d140
|
||||
EBUILD nltk-3.2.5.ebuild 818 BLAKE2B 747a9cd7006e4c68c20a85653dcc3a122f57abaa7032c544a6995cb859a94b6948c5759cd28f47453df3d60e692ac2515fec46b66326047212944e41daefd603 SHA512 2dec92ee147901346b874a8191905f3e20a9451cc11c42003add86c61f41986e2a29f8f84c05b5d743e4c42dc29f78fe8c2113ecd4238508808f331066da525b
|
||||
EBUILD nltk-3.4.5.ebuild 1526 BLAKE2B 7fedd11039a977dc5262aa852272de106b2b4ae74d677a279d6c2406b782b1adc5ca137b6c0606e2eef5fecdf040d89421ec731a82d4a78fedb1164ff0a7e8d2 SHA512 a37f89e8f2c77c4f2dbb444fc7e8265e02f32e3d76a82d51b428629e57689b91ed7ec8e5310b8ec89a0aaa1b06c2431acdb398e3dfd9a29848f06cbc9667d99a
|
||||
MISC metadata.xml 455 BLAKE2B f7f64dd6f4755438db233c712dbde5cc3aae6f2cd154c207bbef0196569b458a8d26c35b92601e8e79af4cfee7f4f57029d9a892677c477a86bbd8c78fa1da16 SHA512 315f7c1822be51c6fc541323f0b977dc0bb60e129a6bd907cd47ac1247c88e906b3452f2ded4d2071c142fd1d710c674039c95036124177744ad68ecc5ca4bd8
|
||||
|
|
37
dev-python/nltk/files/nltk-3.4.5-corpus-tests.patch
Normal file
37
dev-python/nltk/files/nltk-3.4.5-corpus-tests.patch
Normal file
|
@ -0,0 +1,37 @@
|
|||
diff --git a/nltk/test/corpus.doctest b/nltk/test/corpus.doctest
|
||||
index 5509fe2fd..0a34c9522 100644
|
||||
--- a/nltk/test/corpus.doctest
|
||||
+++ b/nltk/test/corpus.doctest
|
||||
@@ -94,7 +94,7 @@ If the reader methods are called without any arguments, they will
|
||||
typically load all documents in the corpus.
|
||||
|
||||
>>> len(inaugural.words())
|
||||
- 145735
|
||||
+ 149797
|
||||
|
||||
If a corpus contains a README file, it can be accessed with a ``readme()`` method:
|
||||
|
||||
@@ -387,8 +387,8 @@ examples illustrate the use of the wordlist corpora:
|
||||
|
||||
>>> stopwords.fileids() # doctest: +ELLIPSIS
|
||||
['arabic', 'azerbaijani', 'danish', 'dutch', 'english', 'finnish', 'french', ...]
|
||||
- >>> stopwords.words('portuguese') # doctest: +ELLIPSIS
|
||||
- ['de', 'a', 'o', 'que', 'e', 'do', 'da', 'em', 'um', 'para', ...]
|
||||
+ >>> sorted(stopwords.words('portuguese')) # doctest: +ELLIPSIS
|
||||
+ ['a', 'ao', 'aos', 'aquela', 'aquelas', 'aquele', 'aqueles', ...]
|
||||
>>> names.fileids()
|
||||
['female.txt', 'male.txt']
|
||||
>>> names.words('male.txt') # doctest: +ELLIPSIS
|
||||
diff --git a/nltk/test/unit/test_wordnet.py b/nltk/test/unit/test_wordnet.py
|
||||
index a7b26ac91..a1df3d396 100644
|
||||
--- a/nltk/test/unit/test_wordnet.py
|
||||
+++ b/nltk/test/unit/test_wordnet.py
|
||||
@@ -204,7 +204,7 @@ class WordnNetDemo(unittest.TestCase):
|
||||
u'preobrat',
|
||||
u'preobrat_v_mišljenju'
|
||||
]
|
||||
- self.assertEqual(S('about-face.n.02').lemma_names(lang='slv'), expected)
|
||||
+ self.assertEqual(sorted(S('about-face.n.02').lemma_names(lang='slv')), sorted(expected))
|
||||
|
||||
def test_iterable_type_for_all_lemma_names(self):
|
||||
# Duck-test for iterables.
|
58
dev-python/nltk/nltk-3.4.5.ebuild
Normal file
58
dev-python/nltk/nltk-3.4.5.ebuild
Normal file
|
@ -0,0 +1,58 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
PYTHON_REQ_USE="sqlite,tk?,xml(+)"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Natural Language Toolkit"
|
||||
HOMEPAGE="https://www.nltk.org/ https://github.com/nltk/nltk/"
|
||||
SRC_URI="https://github.com/nltk/nltk/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x86-solaris"
|
||||
IUSE="tk"
|
||||
|
||||
RDEPEND="dev-python/six[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/nltk-data
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/pyparsing[${PYTHON_USEDEP}]
|
||||
dev-python/twython[${PYTHON_USEDEP}]
|
||||
sci-libs/scikits_learn[${PYTHON_USEDEP}]
|
||||
sci-libs/scipy[${PYTHON_USEDEP}]
|
||||
)"
|
||||
PDEPEND="dev-python/nltk-data"
|
||||
|
||||
distutils_enable_tests nose
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/nltk-3.4.5-corpus-tests.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# requires unpackaged pycrfsuite
|
||||
sed -i -e '/>>>/s@$@ # doctest: +SKIP@' nltk/tag/crf.py || die
|
||||
# replace fetching from network with duplicate file URL
|
||||
sed -e 's@https://raw.githubusercontent.com/nltk/nltk/develop/nltk/test/toy.cfg@nltk:grammars/sample_grammars/toy.cfg@' \
|
||||
-i nltk/test/data.doctest || die
|
||||
# requires X and hangs in Xvfb
|
||||
sed -e 's:test_plot:_&:' \
|
||||
-i nltk/test/unit/test_cfd_mutation.py || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
src_test() {
|
||||
cd nltk/test || die
|
||||
distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
"${EPYTHON}" runtests.py -v || die "Tests failed with ${EPYTHON}"
|
||||
}
|
|
@ -3,9 +3,11 @@ DIST oauthlib-2.0.2.tar.gz 125631 BLAKE2B d9d6efd396dd320573a4c95ce94f5465ca67e7
|
|||
DIST oauthlib-2.0.3.tar.gz 127155 BLAKE2B c3c69fe8e1f2a1672ad78755b35ef285be9e6d61ff5ba1792493d475eea1d47d38acfbc29ab150eddee83b3d41f60b14ba91074c213e5e92186842c25bdbc7ce SHA512 40eed9aacd6c239745523bf056afce8d76615ef9dcda8ee8a46e2900f940674f4178daf70c18c2bdef9f607db3fba84cc10b2306c608116ef2eb08414268125d
|
||||
DIST oauthlib-2.0.6.tar.gz 127675 BLAKE2B fb9db14e06007d575fc099381b9aea8f337666716ff8a6f7331febe9f41f38e5c5abceccbbac41da993a389ce2f171dcfb6fa7d75b09eb70d08e09d56b5e8a80 SHA512 3d966a540e3aeb2c4e72ecf60c28a596de1e11b986b68f2a2aa8b56efef12fd1a0181d64e083850843f38e329d9a6a401c244c02ae61f06af428d8188ea0864c
|
||||
DIST oauthlib-3.0.1.tar.gz 149303 BLAKE2B daf826a3959f56f70b7f52ac1fc98d8ec73161316235cf7f0dce17469999383faa1b11c50c9645748b39938ae1d24dc3dea3908b68daf8c838f99df763bc361d SHA512 88ee266f764488090b849c036d2475c31dab0d8b18bd6afd0450da6aa0982ba17cdada7d0c25791d5efcf89601f69ae40cd21c584540448c209f90d36e0e98f8
|
||||
DIST oauthlib-3.1.0.tar.gz 155362 BLAKE2B 83e9331589305c85acc755f9c4dab8558a19aa247aff5be0fe6c51d047fb9e96b64f17d07a3e33378f6ebc73a283e0162bab56e110aca581f73b628544042600 SHA512 c295de232e0215532c501d8f0803bd501a15fe89a746179ba4facca878e4927c8c05f07825f483c4a846922fb49d6d89f559a8b49bb72b19903f902d772b790e
|
||||
EBUILD oauthlib-1.0.3.ebuild 1047 BLAKE2B 51084d4e89202cd1bcca5938daff5beb27c90b8c851a0f164469bace1990397efd90ff6df6afa7e82504af99f23aee7c0d050353f46098a17968f7f1bfc99e35 SHA512 b6fe16cbd1b550e4023f0e0c4dccd240e74bbfc97a3459aa48569b965f008749d5e8bade5ae430cf9533f0cd16ada69c34cbc27697fed3dd65c02daa37c10ac7
|
||||
EBUILD oauthlib-2.0.2.ebuild 1006 BLAKE2B 2268ef548aba6fc035bf0e96970f3fd3fb2f1436f1b247cfdaae3f7608f91f4ff97eb653e44b2bba603bb68afad5f20828cb17ffede6860a43075f71c508ef65 SHA512 3e568f512bb7b1c1e2f09b23069c8a21cbb823642be978224252c590f43c2c858955ee59099e0ffebe16c580c2047f4e961d05e9aa3f3af73c8f21ebad002f5a
|
||||
EBUILD oauthlib-2.0.3.ebuild 1011 BLAKE2B f4bfdf1c4cc8d28190847632380725bdc4e9a2717da7776ca9905c2a9ca9a96a6e5ce3bb1cb2350b91006ab69e00d717b3f08ad1f2b899c16f8e8b46b231b3d3 SHA512 e5c3f731c9ce17897ceaa6fc412fc7eabbb1a905edd3fbcdd091b7d9a37fec35b60cadf1350f355d0b7f0fad545fa099e44e75169717c18bb26106d030222017
|
||||
EBUILD oauthlib-2.0.6.ebuild 1009 BLAKE2B c0e952806b4f87b2ea41d92c3641869c97f9a5a568704f9103652a1f1a6cdb4e9d7c070c7c24f5af9de006b8d1aaa0224b029798b590a228350fcaae96069673 SHA512 9b1b5d09f2b3abc7b0241b40cccfc406f4b0e42eb105fe210d29ae8ef77a4a489921f8f280e5260c359d3b2d2d7cd0905da3365bdba4730e4b5012cd93276fc8
|
||||
EBUILD oauthlib-3.0.1.ebuild 1013 BLAKE2B a500e415b464f4b60d7f95680d61f5d861cf447697690848fd8d8db82b4dd91622829f51eca6cbe1702e3f05cf8d74fa631d669b211c7e464c5c8a8ae78ba8ad SHA512 4f9767f0ca1b7c90dfb57b81ccd6fda01a6130ca480461ee18a797b40806322ab500acc5055452bbcc34c2a79ef45fa04e6d01b756e14e446195b04ba66c59e1
|
||||
EBUILD oauthlib-3.1.0.ebuild 732 BLAKE2B b5cda2824afab40eddefb3645bda59c4a3a753b8145b44136f2d873366f0c78746d17f762a0343dbb36cb7164d73f751f2bbf29cb855a4358ed6e0fe4adef04a SHA512 cc292cd80bce2d41c763eb0e4421fc4f903fae27769e47a2aaa9e6b1b03c6e0c99b0a94f6563669b5e6ca030ec5e901b6139c24e53199bebd15abd368ae03fa1
|
||||
MISC metadata.xml 376 BLAKE2B cc62cffdc76d014f0c43c3cd9495942d08f592f6a3d241d8147dc907e233d7b3ed394c52e8b7767570768a50bc4b76fcfd64fb90f2860b4f7ed65f016eb69a68 SHA512 ec1f35a21ea68091f6fe901d7c05c711f891f7edcf48496dbf57312cf331e7df9465309ca90789b795efa024e3ba3ede3d0416c7d9362823cffab8fbb23fd3fe
|
||||
|
|
29
dev-python/oauthlib/oauthlib-3.1.0.ebuild
Normal file
29
dev-python/oauthlib/oauthlib-3.1.0.ebuild
Normal file
|
@ -0,0 +1,29 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Spec-compliant and thorough implementation of the OAuth request-signing logic"
|
||||
HOMEPAGE="https://github.com/idan/oauthlib https://pypi.org/project/oauthlib/"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
|
||||
# optional extras hard set as RDEPs. See setup.py
|
||||
RDEPEND="
|
||||
>=dev-python/pyjwt-1.0.0[${PYTHON_USEDEP}]
|
||||
dev-python/blinker[${PYTHON_USEDEP}]
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests unittest
|
|
@ -1,3 +1,4 @@
|
|||
AUX pydot-1.4.1-unittest.patch 3496 BLAKE2B d5aa063d1700836c2aa967c0856c4b693f0820f1c3ecf41de444781a29f4ff4fde6d8d2cbb30458364efe47154fb6ad50c545fc45fff6fd27864483ab4bef2e6 SHA512 0204de6a767d062e4074344ce093da6789145407c7aab3706abc72d15e655489b7e43f1038b8d5951ac9a107aa0ca8a399e119826100d05433d13b537ae48cdb
|
||||
DIST pydot-1.4.1.tar.gz 264987 BLAKE2B 61db2b6dbeab582981bf96054686c927d8d4548ac19a6c197ab1725f92c87e973c2dcd84d4c6c04cb2ca76b8f40814cfee1d5a53e4952065a538fc271e75d2a0 SHA512 b5f16b59908586df61cd415cb1a3e242fb69c39674a82b171862beff1f3727f47cba39bdd806901cb56bc8a6888783a53d112b1b70044e124ea992789d77f938
|
||||
EBUILD pydot-1.4.1.ebuild 920 BLAKE2B 562239f017f696452c78c34577789927c8699727d54aa00ae5fbad91f364c6bf3ec512a4e86d23d5e2f0d5247f0d789560b0b6c8ad14adc9a219c05e25269098 SHA512 e4968469e606b094a3d36cff0bd23f82116a5a084c2ae125cd7fd4663d1b3212e570174e6101293009ce688e3736b4f9fbe96e0513e8662c39528ff46267eb52
|
||||
EBUILD pydot-1.4.1.ebuild 970 BLAKE2B 1c6f5086244b383c9c4c829134ee07b2db956f2c158fa36926561897e667bdfde3e6514e27dc9baa458aeef8a6ab943bcc66866fea1d791d160ec072cce635de SHA512 b506aa1d73ef83759f39f66425c08a97a33ea9d471987863d6e7db9a260cb6819a1a112730fa134b92007f3ea51d8b3e1f32946bf61b13bdf0967a9b3cfdbf9e
|
||||
MISC metadata.xml 376 BLAKE2B 2118896ad9769d359f3d1573285cc61affc3989d2ea81d0914e01b5e8882ff94fd70a06324ce3cdc38146edc8513aa67457dc65b81af93474568e9a1b3b23c47 SHA512 0f67a0286f6ff6c6b35e67ff08abb0b86f9ac60e57d321ac7ca0508383b5ce8b0c091a3b023e87d20f3705887db40a5edde2055fa96ec7bca21a5b8aacac31ce
|
||||
|
|
74
dev-python/pydot/files/pydot-1.4.1-unittest.patch
Normal file
74
dev-python/pydot/files/pydot-1.4.1-unittest.patch
Normal file
|
@ -0,0 +1,74 @@
|
|||
From a10ced4d132361027a545a471af4541dea8c5cf5 Mon Sep 17 00:00:00 2001
|
||||
From: Peter Nowee <peter@peternowee.com>
|
||||
Date: Wed, 26 Jun 2019 15:43:38 +0800
|
||||
Subject: [PATCH] Fix multi.dot Graphviz regression test
|
||||
|
||||
Commit d6602ad of 2018-12-01 fixed the regression test broken by commit
|
||||
2d55978 of 2016-07-01. This revealed that `test/graphs/multi.dot` was
|
||||
failing.
|
||||
|
||||
`multi.dot` was introduced in commit 2b3f088 of 2010-11-07 together
|
||||
with many of the other tests still here today. It has not been touched
|
||||
since. It is a DOT-file containing two digraphs. The regression test
|
||||
compares the JPEG images rendered from the DOT-file by pydot with those
|
||||
rendered by Graphviz's dot directly.
|
||||
|
||||
Commit 66734d2 of 2016-07-01 is the actual cause of the failure. It
|
||||
changed one of the render methods of the regression test,
|
||||
`_render_with_pydot`, from calculating a single hash for all the JPEG
|
||||
images to calculating separate hashes for each JPEG image and then
|
||||
concatenating those hashes in one long string. The other render method,
|
||||
`_render_with_graphviz`, still calculates a single hash over all data.
|
||||
For DOT-files that generate only one image the end result is the same,
|
||||
but because `multi.dot` has two graphs, it produces two images and this
|
||||
leads to comparing a string of two hashes with one single hash.
|
||||
|
||||
I do not think the change in generating the hash was intentional, for
|
||||
the following reasons:
|
||||
- Commit 66734d2 states that its purpose was to adapt the test to an
|
||||
API change in pydot. It does not mention a deliberate choice to
|
||||
change the testing method.
|
||||
- There was no effort to change `_render_with_graphviz` to also produce
|
||||
multiple hashes.
|
||||
- Except for easier debugging in case of a failing test with multiple
|
||||
images (AFAICT, only `multi.dot`), I do not see much added benefit in
|
||||
checking a concatenation of the hashes of all images vs. checking one
|
||||
hash of all images together: In both cases the test will fail if one
|
||||
or more images is rendered differently.
|
||||
- Given that there were many commits authored that same hour, including
|
||||
commit 2d55978 which broke the regression tests, I suspect the author
|
||||
did not run the tests for each individual commit, but only at the end
|
||||
of that batch, and was therefore also not alerted of this change by
|
||||
the test suite.
|
||||
|
||||
Assuming that the change was not intended, this commit will now revert
|
||||
`_render_with_pydot` to the old behavior of calculating a single hash
|
||||
from all JPEG image data.
|
||||
|
||||
Tested with Debian 9.9, Graphviz 2.38.0-17, Python 2.7.13-2 and 3.5.3-1.
|
||||
|
||||
Fixes https://github.com/pydot/pydot/issues/204.
|
||||
---
|
||||
test/pydot_unittest.py | 8 ++++----
|
||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/test/pydot_unittest.py b/test/pydot_unittest.py
|
||||
index 881ee16..64aa856 100644
|
||||
--- a/test/pydot_unittest.py
|
||||
+++ b/test/pydot_unittest.py
|
||||
@@ -194,11 +194,11 @@ def _render_with_graphviz(self, filename, encoding):
|
||||
|
||||
def _render_with_pydot(self, filename, encoding):
|
||||
c = pydot.graph_from_dot_file(filename, encoding=encoding)
|
||||
- sha = ''
|
||||
+ jpe_data = bytearray()
|
||||
for g in c:
|
||||
- jpe_data = g.create(prog=TEST_PROGRAM, format='jpe', encoding=encoding)
|
||||
- sha += sha256(jpe_data).hexdigest()
|
||||
- return sha
|
||||
+ jpe_data.extend(g.create(prog=TEST_PROGRAM, format='jpe',
|
||||
+ encoding=encoding))
|
||||
+ return sha256(jpe_data).hexdigest()
|
||||
|
||||
def test_my_regression_tests(self):
|
||||
path = os.path.join(test_dir, TESTS_DIR_1)
|
|
@ -2,7 +2,7 @@
|
|||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
@ -24,6 +24,10 @@ DEPEND="${RDEPEND}
|
|||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( dev-python/chardet[${PYTHON_USEDEP}] )"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${P}-unittest.patch
|
||||
)
|
||||
|
||||
python_test() {
|
||||
cd test || die
|
||||
"${PYTHON}" pydot_unittest.py || die "Test failed with ${EPYTHON}"
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
DIST requests-oauthlib-0.7.0.tar.gz 40641 BLAKE2B 3c8e498652df706223dc74404185c14c8f131e0578b1bd2671986507e9f09f7328af7193b0779615499240f67cf6a0c395c103afa63bd6d7c674f2672f64a471 SHA512 9de7f3e2f67507acbd6a711d7c3bc4d598214ab658e7e331f2c56d7a6d084e11df8bfc2449c3ec5e985016404a5e7920e26081bcc3af52d6c91b28d1a69f6ed2
|
||||
DIST requests-oauthlib-1.3.0.tar.gz 45449 BLAKE2B b7d0df59eefe801e09329bde8604d09fe0f45eac146172c5ae5f1a77df59229a89c70d78a97fca0f7b546a015e66d6d9dd4ac3efdd4de0100f77f2427106e197 SHA512 0eebd209dad892567de7d37f1482b5c7523eced3a73a68054674b29447d090c885b2388fd6f2db26436f14098833051c8888ace8b137889a4012e010efb0e86b
|
||||
EBUILD requests-oauthlib-0.7.0.ebuild 808 BLAKE2B ab109e3c34bd639abdbb52466ffe5825297004bc40654ead9727a0c44996c313feb4187de2e7c45d464661a35b4548269120582603de2110fe09f194588c1253 SHA512 36ce9993ba55c6bc9fcd3370b560a3eb3a7cbecac1707819196e79b6692d5e33bdb83669ca011372e5cc4a7f655cdbf8c53f6d394a30512516656735ad5189c9
|
||||
EBUILD requests-oauthlib-1.3.0.ebuild 854 BLAKE2B 2ac502a1b03c6b2a8b4fedbcf3b758309e81809a0f0eaef0ac2d2ed64ea50a058cacb063ba71d3537c248920b53b41ba4f9dbcc7e75da4c7013b1b2703c74e1e SHA512 b53044dbc38fd3acc30f68725ba2ac1bba7af809000457afc0cd0bd387536a0339ca3a84b2aec05189d6be7338db54dcf4f70d3f3dc0171a56497be18bf013a0
|
||||
EBUILD requests-oauthlib-1.3.0.ebuild 869 BLAKE2B bf7d96d16014533e04b90faffc3df8ecda4892f8f2b4965f1cf5762625255a7283c8628e79dacba329ecdb1c3c36a8b915d001920e557463e63aa381473c7d7e SHA512 045045ce40d692646f953af69d201af7a56bab5ebbfdd83fb87219b7efdf1188f4006da35e62a564d7896f8790f944b399ac258df690c1460ef7f7d66f859e90
|
||||
MISC metadata.xml 331 BLAKE2B 7b904925adb6f8e39c1d1000e87c287ce5dbfa7a6e70544ab599b5ca8d254e70976d444149ee2727b4186d97326e662bcdacabc674f7bcc0e0193b2807e4c053 SHA512 871f44e56ecb16ea43e5702c30a43d24f911ae1b83fb2a5ba3ca4ab45b3676ee7d4841fc343f336c0249b0165777659bd393160728cb20e3484eee4854919d1f
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7} )
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
@ -14,24 +14,23 @@ SRC_URI="https://github.com/requests/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
|||
SLOT="0"
|
||||
LICENSE="ISC"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
# tests fail with network-sandbox
|
||||
RESTRICT="!test? ( test )
|
||||
test"
|
||||
|
||||
DEPEND="test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/requests-mock[${PYTHON_USEDEP}]
|
||||
)"
|
||||
RDEPEND="
|
||||
>=dev-python/requests-2.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/oauthlib-0.6.2[${PYTHON_USEDEP}]"
|
||||
>=dev-python/oauthlib-3.0.0[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/requests-mock[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
#Refrain from a doc build for now
|
||||
#python_compile_all() {
|
||||
# use doc && emake -C docs html
|
||||
#}
|
||||
distutils_enable_tests unittest
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
src_prepare() {
|
||||
# require Internet access
|
||||
sed -e 's:testCanPostBinaryData:_&:' \
|
||||
-e 's:test_content_type_override:_&:' \
|
||||
-e 's:test_url_is_native_str:_&:' \
|
||||
-i tests/test_core.py || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
|
|
@ -1,5 +1,4 @@
|
|||
DIST schedule-0.4.2.tar.gz 10104 BLAKE2B 84089e7dde29587f4044097b85ddf4b9e3639c59c63da2268d6e2c94e94192271a6d0d65c385c9492cefac49d7abee681ebb0f56ff78965b67402306124ede40 SHA512 f088f82a0449350658028b2035c5fbc71bda4d019856fe6ab3363798e9d8d940cce603be544401ecf5f844606e5891ab560c390f5c334a825bf611e6ebfb00ac
|
||||
DIST schedule-0.5.0.tar.gz 10850 BLAKE2B b79ceb77d0149cccad4bd12c6fe8f3524a33898039319c411bf202928316d74586626d84e6921595d0c0a79f87115cbc27beb03919c4252b8468dcddf469c95a SHA512 0d89afa3c9d986c53a8c61a92bfda08e23290c6556100d63f2c647003806398b8913c4bfa75a57617aeeda73f8f2eb26490c224ab70d621873453ca5dec35b0b
|
||||
EBUILD schedule-0.4.2.ebuild 554 BLAKE2B 83deac8f446712b4e3041384a62a6835523cec4c1a5e712104b6231b6e08a2c2ff0c90a620180c8272fa28f6574605fd7f6af97bdf104ee9f08b164202cbbb62 SHA512 52d2b0b072c25aa963cfbd7995d3f8dfba1508cf8bc3958f63bc885edbe319170007a3bf627bf6e7f60eb48198fc2c590e9ff30d8bde113f987544a2d612e96c
|
||||
EBUILD schedule-0.5.0.ebuild 556 BLAKE2B ee612ee404d94da4037e171b1696f2316e7af59af0bb51a09d7d66b744896465dee0cf58aa3b34cbc1368ff8b91fac9f2b286a6a177525052196bd511d47f9b8 SHA512 8be5dfce0a5e604a83d4e61cbffc4017f4363d2d83289fb167aa41b577f35bc4d705f642e8067b6c074a5db61c42f2c22c4b4a3739078cbf3e99c01f434f0ecc
|
||||
DIST schedule-0.6.0.tar.gz 21671 BLAKE2B 6076aff0c906782e554175b7e90cfca1417a31170e99009caccb5cbe318b5eb1295b24dfe1835109aec78fee53b615e170f03a7ec4470f596a9a2775c1072d5f SHA512 48424707b57cbc7ce9440e1658784347b691a013552b9969fd95dd260efa2d8ba56b41920628540fc4ebebbc3dc78e8e919b83cfddfe9a3cc3d60ece6ef0998f
|
||||
EBUILD schedule-0.6.0.ebuild 883 BLAKE2B 747662099ac1eea5dd3a806be240c0339e33f9b5f4878d708a99f7275d2fe789f8e70c8fcdfbdedfa2a685950691977f9577a461493457b2198bf4b7f215925d SHA512 125baffb4f3fcf7fba0a51ee59553dac7768e7f41a2cbf84232b1f8a7dc817f1c6c1ba5ec91804423ad874070bddbe3515b4a9a0a4c8c47b1aa7abc15faad851
|
||||
EBUILD schedule-9999.ebuild 883 BLAKE2B 747662099ac1eea5dd3a806be240c0339e33f9b5f4878d708a99f7275d2fe789f8e70c8fcdfbdedfa2a685950691977f9577a461493457b2198bf4b7f215925d SHA512 125baffb4f3fcf7fba0a51ee59553dac7768e7f41a2cbf84232b1f8a7dc817f1c6c1ba5ec91804423ad874070bddbe3515b4a9a0a4c8c47b1aa7abc15faad851
|
||||
MISC metadata.xml 366 BLAKE2B 37e7e51799b9632dd1dce72d1bb9decfb8ba87f310292ae9244fdf243c07222fef4769f9caedaa2a28589d4380d19f194e8d75b14a4403278c212924f64aa48c SHA512 79904ea302d7997cab092bbba036ccece5871ae66cb8623d0a828dc71e00c86d4db1e8e0233aa1ddd2d0bc21129d3afc8be13e0f7c4868472bb4a9fbb734fe52
|
||||
|
|
|
@ -1,25 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python job scheduling for humans"
|
||||
HOMEPAGE="https://github.com/dbader/schedule"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( >=dev-python/mock-2.0.0
|
||||
>=dev-python/pytest-3.0.3 )"
|
||||
|
||||
python_test() {
|
||||
py.test test_schedule.py || die
|
||||
}
|
|
@ -1,26 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python3_6 )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python job scheduling for humans"
|
||||
HOMEPAGE="https://github.com/dbader/schedule"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( >=dev-python/mock-2.0.0
|
||||
>=dev-python/pytest-3.0.3 )"
|
||||
|
||||
python_test() {
|
||||
py.test test_schedule.py || die
|
||||
}
|
38
dev-python/schedule/schedule-0.6.0.ebuild
Normal file
38
dev-python/schedule/schedule-0.6.0.ebuild
Normal file
|
@ -0,0 +1,38 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{3_6,3_7,3_8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python job scheduling for humans"
|
||||
HOMEPAGE="https://github.com/dbader/schedule"
|
||||
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/dbader/schedule"
|
||||
EGIT_BRANCH="master"
|
||||
inherit git-r3
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://github.com/dbader/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-3.0.3[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
python_test() {
|
||||
python_export PYTHON_SITEDIR PYTHON_SCRIPTDIR
|
||||
py.test test_schedule.py || die "Testing failed with ${EPYTHON}"
|
||||
}
|
38
dev-python/schedule/schedule-9999.ebuild
Normal file
38
dev-python/schedule/schedule-9999.ebuild
Normal file
|
@ -0,0 +1,38 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python{3_6,3_7,3_8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python job scheduling for humans"
|
||||
HOMEPAGE="https://github.com/dbader/schedule"
|
||||
|
||||
if [[ ${PV} = 9999* ]]; then
|
||||
EGIT_REPO_URI="https://github.com/dbader/schedule"
|
||||
EGIT_BRANCH="master"
|
||||
inherit git-r3
|
||||
KEYWORDS=""
|
||||
else
|
||||
SRC_URI="https://github.com/dbader/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
fi
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="${PYTHON_DEPS}"
|
||||
|
||||
DEPEND="${PYTHON_DEPS}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
test? ( >=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-3.0.3[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
python_test() {
|
||||
python_export PYTHON_SITEDIR PYTHON_SCRIPTDIR
|
||||
py.test test_schedule.py || die "Testing failed with ${EPYTHON}"
|
||||
}
|
|
@ -3,6 +3,6 @@ DIST sphinx_rtd_theme-0.2.4.tar.gz 1392456 BLAKE2B daf2365d74823465a73ea37352f0a
|
|||
DIST sphinx_rtd_theme-0.4.3.tar.gz 5391190 BLAKE2B 6e08e079378c023f160fc3b858544bec6a295b256564d91c49b9ed8b5d2ee87bb2f21a30239f99fd2463840d194fde820c84ccd8e0b908f96fb7e5ca0fd9e6da SHA512 44b9309ddd041181542747c70b6e180c07aaf8cd7ee9e4c7eb9e3948685b8bd578e815c022bd991cc7f4bc7d02bb3c7a6d213e5d0c2e8214aa85d50b73e53853
|
||||
EBUILD sphinx_rtd_theme-0.1.9.ebuild 524 BLAKE2B 67c008a5ba00bbee28670d8d756d8be2d3cbd4618fb8ef4cc7abb9a01af8ef6b991b57a7818caa9ed088357a65c06ec76958ca5850116dbad9a3ccb4f3f451a0 SHA512 08013c1d70b1cc224a4d96f678af321121f91dced1fd82863e9779c33f80e9f4309be7061d570966d1c392dac70e245f2f15ae5235ab6b5a5bc71b9f3340f130
|
||||
EBUILD sphinx_rtd_theme-0.2.4.ebuild 544 BLAKE2B 2a6d86a232ffe105e778bad9d9d518b9ab602597da45453121ba30eb090cfc20c6c57c0d2bd924b9f067d5b688019efe584fd933340552b2cb75b9f5baf168f6 SHA512 6ff663ce5d21f963c94b708b05b4812d8f65a5a725a7da2dce7ad06e6c70622e08f1d155f7eae7efcddfca21d413e5b99c2c67ecf134ff61e78ddbbcd1b50c44
|
||||
EBUILD sphinx_rtd_theme-0.4.3-r1.ebuild 597 BLAKE2B c2903a9ee75deb54c24ad88c9f94c39eac0e9a51b12f8ade91f1bce9779be33623503012fb5bfba20c0da1eb71604e48eec77797cab45c00c8816508d4e812a0 SHA512 84e6f25150e8cf42013034953d46abe96c94bfc41b04de04b391cd3c3e57b406fc28e54452b37a1986ab30b8d6986dd1c7bc309cb478b85e4b0f03444b73504e
|
||||
EBUILD sphinx_rtd_theme-0.4.3-r1.ebuild 604 BLAKE2B b8edf9cf56916001a97fa2e936dab9b07df138bfd19ad9cedb16c5f8e78310e21674d3e78dc34bd156a7db3e28b523aae05628acb456adbed0e7078530a98e84 SHA512 a425fb56cae2818f0f13a36d084516d8f92843de297166f70d93abfb9d659f9fa762eda2b03ab51a3d5155c8a4f104fd1f50811104f9c87e73f97ee194dcf051
|
||||
EBUILD sphinx_rtd_theme-0.4.3.ebuild 614 BLAKE2B b57526b9100bbc99dc53d557d5bc701a56d9ff43a5bc9f0e9d4b4764817b41ae35f70570c9fa4ad8d5b0afab08ecfb49edfad895fc0ad46a74095788d7db20f1 SHA512 aaa7a573dfc558ca0e664e28d82b787e16ad4631018d2ed928eaaa0ae455436646b21264303eb73b7fb15a9ba8176bd8c19903a38bf1e137ff8b361763832715
|
||||
MISC metadata.xml 393 BLAKE2B 0964b64f29bebc684900cd181b7947897d10f617c091d6936ccbfb27f91356d83de2ad0172a95245b363cf6005fe2defe8e80aab2bbcec5f292bc79fdad7b7d8 SHA512 f3ccf901c6d0a891880bf06e1708a1e19225cf1ba60c3cad1e8bf5dfb665274fac7de87b4363734f8f299a9af589e3de64b9e38ca14a405fe33e4c63321e4572
|
||||
|
|
|
@ -14,7 +14,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
KEYWORDS="~amd64 ~arm64 ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
PDEPEND="dev-python/sphinx[${PYTHON_USEDEP}]"
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
DIST twython-3.3.0.tar.gz 34164 BLAKE2B 82320b4fc787c97a3b1f773fdd3d5c0c636e6062eb630cc7d78625f45fb8478789e4acc3c9a7ebf600d7abb591bb6113e167a11eaa7b6afebb419652f1d9833f SHA512 888f37c37f39c603b08605d2e209afc329e079c405adbe3a03fde4dab2b76b07d2badf1956d255d4b7ff0bf2a4c308b20f2a3333a7ccd0e7b9c046e9172b1d5f
|
||||
DIST twython-3.6.0.tar.gz 36268 BLAKE2B 24305d2221cf7856f5e51bc3ec0fb4c342a8ce19c248ccc680bb1847e20a262f15399b4fe904852a159fc83a85d5617bd57c3ea9de064a5a25069175ae02178d SHA512 b99ecb244598a489578e63cec8a470daca7efe019f6a5277a0fda70b3c61ba25b56688b0a383337ed1c46576e551c244da82cd808710c4b9bb8ba91c6bc29be1
|
||||
DIST twython-3.7.0.gh.tar.gz 373183 BLAKE2B a84e10c1d61736af3e93f265d92104dac15d5f7a43d7fbdce4e8c58b641f671a1c4c10f44c5b6d6ce9f0646860d35c14414b17e84daeb74f6e2c8871207b6fd4 SHA512 33eb35ea811ec1964fcd51fad54ba53d60e6caf3b5b7d11ae138f7228be9fb1eca7a02b1c6699a62cc2f6c39e035cb5a28f53ef67a98d019cdf91c9874867871
|
||||
EBUILD twython-3.3.0.ebuild 512 BLAKE2B 6dedd390a8a29ca97ced319b4791baf000e40cf447c773d651cea04009799238c63af060a257c5347538506286b75e8056a4ef74500920ee7b579c816c136610 SHA512 361f04048d38f73c01daaa5031e2f0431b7f9a69e0d202bc8536324d199d56f7c8cfca210e8c2ca539003bc4f815669f6dce20425b4c9bdc5d6de343263f3c08
|
||||
EBUILD twython-3.6.0.ebuild 514 BLAKE2B d7f27d452cfd2730b67f897dbb1b9716fdb2392f40eb5cc2f8c7d5c35dea5c9de8135df4653c1e88843a7e68415fea7eeea8793e93c4e35f6cfd39ebf0942197 SHA512 7acefb1a01c1d71a701cdec24fe12addbdff2a3f1d66e8375f7950145a897349308333aca3803b09f0c908bb17ffd063788cda385b393f49af10a148b25d11a1
|
||||
EBUILD twython-3.7.0.ebuild 904 BLAKE2B 247d5b23714143dbc53473459c5e9f04536835a39806411b97dde013d21692ade7681f5549fd77a5cbaf40a110ce4c6680df0ddef4d72b31cf04ee305cb38e69 SHA512 61aedd567e7438cd7411ff0784829ee75733909f74e9e81fe86dd043c51f0091545b66f0fcb71413f7c9254aab46f5a5a13b39afe144c36ba52fd4e6a31b12c1
|
||||
MISC metadata.xml 381 BLAKE2B 8c4300189076c3f5cb8498a4aae6ce79751ccc3b51295ac6c75b8b290f71cc9f0aea946a7d7c4e75434372459aedcf7d0286c31039221c06e48b945904e35814 SHA512 6ba06a2be42b96f85609cc2a10637ff911228a8f0a5b5fa1debc3d4c6ba6d9e57462f09cdcb96e12f75544fd3a161d5e3ecb5a89e8f50fa152dc7ccc795048f6
|
||||
|
|
34
dev-python/twython/twython-3.7.0.ebuild
Normal file
34
dev-python/twython/twython-3.7.0.ebuild
Normal file
|
@ -0,0 +1,34 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{6,7,8} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="An easy way to access Twitter data with Python"
|
||||
HOMEPAGE="https://github.com/ryanmcgrath/twython"
|
||||
SRC_URI="https://github.com/ryanmcgrath/twython/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/requests-2.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-oauthlib-0.4.0[${PYTHON_USEDEP}]"
|
||||
BDEPEND="
|
||||
test? ( dev-python/responses[${PYTHON_USEDEP}] )"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
src_prepare() {
|
||||
# tests are largely broken/outdated
|
||||
sed -e 's:test_get_lastfunction_header_should_return_header:_&:' \
|
||||
-e 's:test_request_should_handle_4:_&:' \
|
||||
-e 's:test_request_should_handle_rate_limit:_&:' \
|
||||
-i tests/test_core.py || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show more
Loading…
Add table
Reference in a new issue