parent
b1d48376ba
commit
a4411d8240
@ -0,0 +1,31 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
DESCRIPTION="cronolog wrapper for use with dumb daemons like squid, varnish and so on"
|
||||
HOMEPAGE="https://cgit.gentoo.org/proj/fifo-cronolog.git"
|
||||
SRC_URI="mirror://gentoo/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD-2 GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND="app-admin/cronolog"
|
||||
|
||||
src_install() {
|
||||
dosbin fifo-cronolog
|
||||
|
||||
newinitd fifo-cronolog.initd fifo-cronolog
|
||||
newconfd fifo-cronolog.confd fifo-cronolog
|
||||
|
||||
dosym fifo-cronolog /usr/sbin/squid-cronolog
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elog "Warning: app-admin/squid-cronolog has been renamed to app-admin/fifo-cronolog."
|
||||
elog "This also applies to the binary 'squid-cronolog' but there is a symlink for now"
|
||||
elog "Please fix your scripts/configs."
|
||||
}
|
@ -1 +1 @@
|
||||
DIST mei-amt-check-0_p20170514.tar.gz 10676 SHA256 e45ac72f59fc1c99a86c57cd45acecd8b9194a913d12c1eaa922f8eab241b57d SHA512 9c7ff98fd22b3304f7e1f0ff47c77698a4b003414db475b4945bb432d16a7ad6937a04bb96f64f4f260c0c2a3aac8249548e6aedf8d4cb85182c5018cd38e713 WHIRLPOOL b1321861981e1262505ed1db5d778910fab5767f10be5cce8cb569860c83622bafe7c9c3c17a390fd97c535f0860dea3e3e5982ccc1a6e874c2e99f37bf2929f
|
||||
DIST mei-amt-check-0_p20170514.tar.gz 10795 SHA256 c51e633b0e174578afead03ae7fa2aaae32e20400655bc744ce1597bfc640567 SHA512 31f4e28bf21f366890ca1d2d64b70b44eca04d7271543188254884d59c65201d0bb85bc70aeba7885b065c8af929f1529fe04280aeb3a93f55edf439ee1a84d5 WHIRLPOOL 3d1008fd32a809f547866086acda4ee001426111bb9cb4f8a3468ea6ea7aeced1266f5c494cf7df537b95b6ff137d1deb5cfe5bc70685223bd8d17655da7c968
|
||||
|
@ -1,3 +1,4 @@
|
||||
DIST sysstat-11.4.0.tar.xz 343968 SHA256 b8518ca88acfcbc474a406022ee9c0c3210ccef4f0ec80e5b3e8c41dda8c16f2 SHA512 4a5c81d75fdbc8dcaf80685f302688c39bd7143554e5a06cb324532ddb5180caac19b261182d5320f40b317bdb1e81664887acc7cedfeb5a95dc6ad37a898604 WHIRLPOOL 39f48929040405f83a0d3c49dcf2aac471deeadd10d31181ee03809a30573868a7da43df160688ad553d305221bd21c2e253f56913f8f8a53020fb66f62c05ba
|
||||
DIST sysstat-11.4.3.tar.xz 344572 SHA256 02e9cafa5557fbae435d33e592373655df929d817ae711d31142dd2f7d4dcee7 SHA512 20862a6fd735aa0a6d571ffe0e1aa755ce9c5d8a704739f0095d19861394ea3a45c93e9f46ac5f42b6719ba1aa21e33261ac28fde643d7f5c315d7f0a7b0d74d WHIRLPOOL 64df9bf1a375ce7ebf727b07b10caa3b72ba3630a5a238e72dca017e09a65dbf3f1623f5e1115fb037974609e39c4fb4e3f2790c444b23eae4fb7af591bfd389
|
||||
DIST sysstat-11.5.5.tar.xz 463656 SHA256 f4c5b333827cb588df1842d7a8f46947f486c95b305edbbce7565925e88e86c3 SHA512 abf96e10a36fa88de8b1431e9c0ce277fbfc3a5ffe84f96c6a46fb8e8f6a15c626cffd3cecac2e78284385447b22c84af30992118b46984d72947a4bda80c9c0 WHIRLPOOL 294b018284ba7a83a67827df28bed6911ab57bbab2d88f68eb1f0a3ad474ec001c37507e19301adeee4188e8c20fc11d8c8a68504bb2d61cbbe2df32dc8510f7
|
||||
DIST sysstat-11.4.4.tar.xz 344756 SHA256 6585f08e24347d2d6462aee6ef97e80fe4cc869605193184500df0f80fa61cc8 SHA512 918b8c54ab6bdde568106254d1550644f6e962896b1923f4145bfbfb6c65542b08182141d2164be51667fc0dc5df57d94cbeb34cf5f8dfacb224559caef0740c WHIRLPOOL 09f873d65015037a780a5c8425bb2fc80c3124aa2560b8a8e1b3173676121b3e41d9606c2015439f00738be0da67c73ac92521bf882007c948e064d4c2ab5fed
|
||||
DIST sysstat-11.5.6.tar.xz 465576 SHA256 83a81e0a6c1d39a0985310dc2944ac6214c963adb4dc8af24ae03a9ae8d0f3ac SHA512 7541284a1a7bbd3eeccca1110176e5f261bba54ab27b1ea587d584e651e818c3c029aa07b98200e783257ebdffa48048f40dfbbaacb4cbbd1d51d40d7d48a64a WHIRLPOOL 16eb9c5919506df7c6685436874bab0ea5b51c711a6932681925cfd2f37f7da953613aa3397f931cf94d0e35b2de66712dd7ff511e11cc513b6f5cc5288a2c60
|
||||
|
@ -1,2 +1,3 @@
|
||||
DIST halibut-1.0.tar.gz 940897 SHA256 0d039adb88cb8de6f350563514d013209c2d321d1e5c49ea56462c6803f29adb SHA512 9651ac0611060971f8b5412f6456e4e85b3107c90e7fab3352294b8c3de17dfa4935b86ec23a6431ee821b26d2d5fd2addf1114e69026d714bc9d9f94a79e12c WHIRLPOOL 99cfee05b66c7c81375f47edd6342b34e43d9019a82ab4ba5443a1ef7b2b7dc69bfdc321f6c7026ebb8cca6d2cff78ad3107232ac432939d81427646e632a413
|
||||
DIST halibut-1.1.tar.gz 956743 SHA256 b964950d11ed09d3af28ac095da539613f6e50d650f01fe72b4ae752724c80a0 SHA512 01b0563ebb3678dc1ff1cef1d752d5ebffed70ef73a10d8266d84da3b4401006b686104bbe3e1984ebd3a54254f16d008011b3be8c29a3b9f1e3a033d61cdb15 WHIRLPOOL bc4b20fb9c4bb60db0c75a9009d913b694fad445674e4e7ded6388cdcc18e1386b4744835a11588daf412dddbc9b6a5a436f294db8b4c0d801f39245b9bc6d5a
|
||||
DIST halibut-1.2.tar.gz 991975 SHA256 1aedfb6240f27190c36a390fcac9ce732edbdbaa31c85ee675b994e2b083163f SHA512 b04cc5c52f2d7cd2bb9a36a1aa896c6a4fd11bcfc5fad3d9c74576bf2576ce237cd7ac3ceeff3bd10dfd5a229614d06d23323509d3a83ff74b4a1965e1d726fc WHIRLPOOL 1ff682b819c35e2fbee52bddff04d1653109ff7f9efb0ca07a4a39c6de729c91f22c1259c32cacd1a0b347b64af1e856629ce379595ccd6aa93bceda4526c094
|
||||
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="yet another free document preparation system"
|
||||
HOMEPAGE="http://www.chiark.greenend.org.uk/~sgtatham/halibut/"
|
||||
SRC_URI="http://www.chiark.greenend.org.uk/~sgtatham/${PN}/${P}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE=""
|
||||
|
||||
src_compile() {
|
||||
tc-export CC
|
||||
CFLAGS="${CFLAGS}" \
|
||||
CPPFLAGS="${CPPFLAGS}" \
|
||||
LFLAGS="${LDFLAGS}" \
|
||||
BUILDDIR="${S}/build" \
|
||||
VERSION="${PV}" \
|
||||
emake || die "make failed"
|
||||
emake -C doc || die "make in doc failed"
|
||||
}
|
||||
|
||||
DOCS=( doc/halibut.txt )
|
||||
HTML_DOCS=(
|
||||
doc/index.html
|
||||
doc/IndexPage.html
|
||||
doc/input.html
|
||||
doc/intro.html
|
||||
doc/licence.html
|
||||
doc/manpage.html
|
||||
doc/output.html
|
||||
doc/running.html
|
||||
)
|
||||
|
||||
src_install() {
|
||||
dobin build/halibut
|
||||
doman doc/halibut.1
|
||||
doinfo doc/halibut.info
|
||||
einstalldocs
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST mg-20160421.tar.gz 145187 SHA256 b5dd8fbecb8a0ff0f32588c448f22f25fafcbfb297857e76d2883598a3e63a9a SHA512 7a4fb9d8958952a1b430bda88cafa251aab74691073d103941bfc2cce495ad3831b2c722db044791d61ae2aee9a5a9acaedde0090964129822c94745d89469ed WHIRLPOOL 9a040a69c9d57232c411da3859e80c84f2f250f2fd78cd2799cfb82243fdd9d01d374edb23de44d6eb94b9ab86009458b3c7c4cf34b738c45d4622e6c67dc99b
|
||||
DIST mg-20161005.tar.gz 140797 SHA256 b7fcb5136a6783ca24c8463ab0852fc1f26bdb2bb1c24759b2c51ccfc46c5e61 SHA512 3ec2e10d0cd427f9543818690fdd469b64e6eb5d061a221eb7b18566dfb1965ee68cea7c83e4e4ae9b2d6027a0803aacfc815390571ac550bc0b7004b46972ae WHIRLPOOL 4cfb72313b8181acc40b1cd06269f2162198302d2e088a7b04263af4b127071adbe9725aed2ecdf6cd3854a9e9c9df9173a75bf7a83cf2492a644448df9d297d
|
||||
DIST mg-20170401.tar.gz 140895 SHA256 0a3608b17c153960cb1d954ca3b62445a77c0c1a18aa5c8c58aba9f6b8d62aab SHA512 729b2d9ba7eb236cc8bcbcf3ac7604494980cbf2fd21dc5a3856011bc830eee75be29a246b0bf3dfa6c7a03fcf69a902ae50d05ea371ac4d0225a4da6089d7ce WHIRLPOOL ecdd49bcf8a220dc7a8c57de322c354437b646db231177e3640ae0840ea49ddd9bfc8d9ecaff6e4c9c3ca140e173b14bc52411bebfe586cac144f412d07b59ca
|
||||
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="MicroGnuEmacs, a port from the BSDs"
|
||||
HOMEPAGE="http://homepage.boetes.org/software/mg/"
|
||||
SRC_URI="http://homepage.boetes.org/software/mg/${P}.tar.gz"
|
||||
|
||||
LICENSE="public-domain"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="livecd"
|
||||
|
||||
RDEPEND="sys-libs/ncurses:0
|
||||
!elibc_FreeBSD? ( >=dev-libs/libbsd-0.7.0 )"
|
||||
DEPEND="${RDEPEND}
|
||||
virtual/pkgconfig"
|
||||
|
||||
src_prepare() {
|
||||
# fix path to tutorial in man page
|
||||
sed -i -e "s:doc/mg/:doc/${PF}/:" mg.1 || die
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake CC="$(tc-getCC)" \
|
||||
CFLAGS="${CFLAGS}" \
|
||||
PKG_CONFIG="$(tc-getPKG_CONFIG)"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin mg
|
||||
doman mg.1
|
||||
dodoc README tutorial
|
||||
# don't compress the tutorial, otherwise mg cannot open it
|
||||
docompress -x /usr/share/doc/${PF}/tutorial
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
if use livecd; then
|
||||
[[ -e ${EROOT}/usr/bin/emacs ]] || ln -s mg "${EROOT}"/usr/bin/emacs
|
||||
fi
|
||||
}
|
@ -0,0 +1,507 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PLOCALES="ar bg ca cs da de el en en_US eo es fa fi fr he hi hr hu it ja ko lt ml nb_NO nl or pa pl pt_BR pt_PT rm ro ru sk sl sr_RS@cyrillic sr_RS@latin sv te th tr uk wa zh_CN zh_TW"
|
||||
PLOCALE_BACKUP="en"
|
||||
|
||||
inherit autotools eutils fdo-mime flag-o-matic gnome2-utils l10n multilib multilib-minimal pax-utils toolchain-funcs virtualx versionator
|
||||
|
||||
MY_PN="${PN%%-*}"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_REPO_URI="git://source.winehq.org/git/wine.git http://source.winehq.org/git/wine.git"
|
||||
EGIT_BRANCH="master"
|
||||
inherit git-r3
|
||||
SRC_URI=""
|
||||
#KEYWORDS=""
|
||||
else
|
||||
MAJOR_V=$(get_version_component_range 1)
|
||||
SRC_URI="https://dl.winehq.org/wine/source/${MAJOR_V}.x/${MY_P}.tar.xz"
|
||||
KEYWORDS="-* ~amd64 ~x86 ~x86-fbsd"
|
||||
fi
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
WDC_V="20150204"
|
||||
WINE_DESKTOP_COMMON_P="wine-desktop-common-${WDC_V}"
|
||||
|
||||
DESCRIPTION="Free implementation of Windows(tm) on Unix, without external patchsets"
|
||||
HOMEPAGE="http://www.winehq.org/"
|
||||
SRC_URI="${SRC_URI}
|
||||
https://github.com/NP-Hardass/wine-desktop-common/archive/${WDC_V}.tar.gz -> ${WINE_DESKTOP_COMMON_P}.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="LGPL-2.1"
|
||||
SLOT="${PV}"
|
||||
IUSE="+abi_x86_32 +abi_x86_64 +alsa capi cups custom-cflags dos elibc_glibc +fontconfig +gecko gphoto2 gsm gstreamer +jpeg kernel_FreeBSD +lcms ldap +mono mp3 ncurses netapi nls odbc openal opencl +opengl osmesa oss +perl pcap +png prelink pulseaudio +realtime +run-exes samba scanner selinux +ssl test +threads +truetype udev +udisks v4l +X +xcomposite xinerama +xml"
|
||||
REQUIRED_USE="|| ( abi_x86_32 abi_x86_64 )
|
||||
X? ( truetype )
|
||||
elibc_glibc? ( threads )
|
||||
osmesa? ( opengl )
|
||||
test? ( abi_x86_32 )" # osmesa-opengl #286560 # X-truetype #551124
|
||||
|
||||
# FIXME: the test suite is unsuitable for us; many tests require net access
|
||||
# or fail due to Xvfb's opengl limitations.
|
||||
RESTRICT="test"
|
||||
|
||||
COMMON_DEPEND="
|
||||
X? (
|
||||
x11-libs/libXcursor[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXext[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXrandr[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXi[${MULTILIB_USEDEP}]
|
||||
x11-libs/libXxf86vm[${MULTILIB_USEDEP}]
|
||||
)
|
||||
alsa? ( media-libs/alsa-lib[${MULTILIB_USEDEP}] )
|
||||
capi? ( net-libs/libcapi[${MULTILIB_USEDEP}] )
|
||||
cups? ( net-print/cups:=[${MULTILIB_USEDEP}] )
|
||||
fontconfig? ( media-libs/fontconfig:=[${MULTILIB_USEDEP}] )
|
||||
gphoto2? ( media-libs/libgphoto2:=[${MULTILIB_USEDEP}] )
|
||||
gsm? ( media-sound/gsm:=[${MULTILIB_USEDEP}] )
|
||||
gstreamer? (
|
||||
media-libs/gstreamer:1.0[${MULTILIB_USEDEP}]
|
||||
media-plugins/gst-plugins-meta:1.0[${MULTILIB_USEDEP}]
|
||||
)
|
||||
jpeg? ( virtual/jpeg:0=[${MULTILIB_USEDEP}] )
|
||||
lcms? ( media-libs/lcms:2=[${MULTILIB_USEDEP}] )
|
||||
ldap? ( net-nds/openldap:=[${MULTILIB_USEDEP}] )
|
||||
mp3? ( >=media-sound/mpg123-1.5.0[${MULTILIB_USEDEP}] )
|
||||
ncurses? ( >=sys-libs/ncurses-5.2:0=[${MULTILIB_USEDEP}] )
|
||||
netapi? ( net-fs/samba[netapi(+),${MULTILIB_USEDEP}] )
|
||||
nls? ( sys-devel/gettext[${MULTILIB_USEDEP}] )
|
||||
odbc? ( dev-db/unixODBC:=[${MULTILIB_USEDEP}] )
|
||||
openal? ( media-libs/openal:=[${MULTILIB_USEDEP}] )
|
||||
opencl? ( virtual/opencl[${MULTILIB_USEDEP}] )
|
||||
opengl? (
|
||||
virtual/glu[${MULTILIB_USEDEP}]
|
||||
virtual/opengl[${MULTILIB_USEDEP}]
|
||||
)
|
||||
osmesa? ( >=media-libs/mesa-13[osmesa,${MULTILIB_USEDEP}] )
|
||||
pcap? ( net-libs/libpcap[${MULTILIB_USEDEP}] )
|
||||
png? ( media-libs/libpng:0=[${MULTILIB_USEDEP}] )
|
||||
pulseaudio? ( media-sound/pulseaudio[${MULTILIB_USEDEP}] )
|
||||
scanner? ( media-gfx/sane-backends:=[${MULTILIB_USEDEP}] )
|
||||
ssl? ( net-libs/gnutls:=[${MULTILIB_USEDEP}] )
|
||||
truetype? ( >=media-libs/freetype-2.0.0[${MULTILIB_USEDEP}] )
|
||||
udev? ( virtual/libudev:=[${MULTILIB_USEDEP}] )
|
||||
udisks? ( sys-apps/dbus[${MULTILIB_USEDEP}] )
|
||||
v4l? ( media-libs/libv4l[${MULTILIB_USEDEP}] )
|
||||
xcomposite? ( x11-libs/libXcomposite[${MULTILIB_USEDEP}] )
|
||||
xinerama? ( x11-libs/libXinerama[${MULTILIB_USEDEP}] )
|
||||
xml? (
|
||||
dev-libs/libxml2[${MULTILIB_USEDEP}]
|
||||
dev-libs/libxslt[${MULTILIB_USEDEP}]
|
||||
)
|
||||
abi_x86_32? (
|
||||
!app-emulation/emul-linux-x86-baselibs[-abi_x86_32(-)]
|
||||
!<app-emulation/emul-linux-x86-baselibs-20140508-r14
|
||||
!app-emulation/emul-linux-x86-db[-abi_x86_32(-)]
|
||||
!<app-emulation/emul-linux-x86-db-20140508-r3
|
||||
!app-emulation/emul-linux-x86-medialibs[-abi_x86_32(-)]
|
||||
!<app-emulation/emul-linux-x86-medialibs-20140508-r6
|
||||
!app-emulation/emul-linux-x86-opengl[-abi_x86_32(-)]
|
||||
!<app-emulation/emul-linux-x86-opengl-20140508-r1
|
||||
!app-emulation/emul-linux-x86-sdl[-abi_x86_32(-)]
|
||||
!<app-emulation/emul-linux-x86-sdl-20140508-r1
|
||||
!app-emulation/emul-linux-x86-soundlibs[-abi_x86_32(-)]
|
||||
!<app-emulation/emul-linux-x86-soundlibs-20140508
|
||||
!app-emulation/emul-linux-x86-xlibs[-abi_x86_32(-)]
|
||||
!<app-emulation/emul-linux-x86-xlibs-20140508
|
||||
)"
|
||||
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
app-emulation/wine-desktop-common
|
||||
>app-eselect/eselect-wine-0.3
|
||||
!app-emulation/wine:0
|
||||
dos? ( >=games-emulation/dosbox-0.74_p20160629 )
|
||||
gecko? ( app-emulation/wine-gecko:2.47[abi_x86_32?,abi_x86_64?] )
|
||||
mono? ( app-emulation/wine-mono:4.7.0 )
|
||||
perl? (
|
||||
dev-lang/perl
|
||||
dev-perl/XML-Simple
|
||||
)
|
||||
pulseaudio? (
|
||||
realtime? ( sys-auth/rtkit )
|
||||
)
|
||||
samba? ( >=net-fs/samba-3.0.25[winbind] )
|
||||
selinux? ( sec-policy/selinux-wine )
|
||||
udisks? ( sys-fs/udisks:2 )"
|
||||
|
||||
# tools/make_requests requires perl
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
sys-devel/flex
|
||||
>=sys-kernel/linux-headers-2.6
|
||||
virtual/pkgconfig
|
||||
virtual/yacc
|
||||
X? (
|
||||
x11-proto/inputproto
|
||||
x11-proto/xextproto
|
||||
x11-proto/xf86vidmodeproto
|
||||
)
|
||||
prelink? ( sys-devel/prelink )
|
||||
xinerama? ( x11-proto/xineramaproto )"
|
||||
|
||||
# These use a non-standard "Wine" category, which is provided by
|
||||
# /etc/xdg/applications-merged/wine.menu
|
||||
QA_DESKTOP_FILE="usr/share/applications/wine-browsedrive.desktop
|
||||
usr/share/applications/wine-notepad.desktop
|
||||
usr/share/applications/wine-uninstaller.desktop
|
||||
usr/share/applications/wine-winecfg.desktop"
|
||||
|
||||
wine_compiler_check() {
|
||||
[[ ${MERGE_TYPE} = "binary" ]] && return 0
|
||||
|
||||
# GCC-specific bugs
|
||||
if tc-is-gcc; then
|
||||
# bug #549768
|
||||
if use abi_x86_64 && [[ $(gcc-major-version) = 5 && $(gcc-minor-version) -le 2 ]]; then
|
||||
ebegin "Checking for gcc-5 ms_abi compiler bug"
|
||||
$(tc-getCC) -O2 "${FILESDIR}"/pr66838.c -o "${T}"/pr66838 || die
|
||||
# Run in subshell to prevent "Aborted" message
|
||||
( "${T}"/pr66838 || false ) >/dev/null 2>&1
|
||||
if ! eend $?; then
|
||||
eerror "64-bit wine cannot be built with gcc-5.1 or initial patchset of 5.2.0"
|
||||
eerror "due to compiler bugs; please re-emerge the latest gcc-5.2.x ebuild,"
|
||||
eerror "or use gcc-config to select a different compiler version."
|
||||
eerror "See https://bugs.gentoo.org/549768"
|
||||
eerror
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
# bug #574044
|
||||
if use abi_x86_64 && [[ $(gcc-major-version) = 5 && $(gcc-minor-version) = 3 ]]; then
|
||||
ebegin "Checking for gcc-5-3 stack realignment compiler bug"
|
||||
# Compile in subshell to prevent "Aborted" message
|
||||
( $(tc-getCC) -O2 -mincoming-stack-boundary=3 "${FILESDIR}"/pr69140.c -o "${T}"/pr69140 ) >/dev/null 2>&1
|
||||
if ! eend $?; then
|
||||
eerror "Wine cannot be built with this version of gcc-5.3"
|
||||
eerror "due to compiler bugs; please re-emerge the latest gcc-5.3.x ebuild,"
|
||||
eerror "or use gcc-config to select a different compiler version."
|
||||
eerror "See https://bugs.gentoo.org/574044"
|
||||
eerror
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
fi
|
||||
|
||||
# Ensure compiler support
|
||||
if use abi_x86_64; then
|
||||
ebegin "Checking for 64-bit compiler with builtin_ms_va_list support"
|
||||
# Compile in subshell to prevent "Aborted" message
|
||||
( $(tc-getCC) -O2 "${FILESDIR}"/builtin_ms_va_list.c -o "${T}"/builtin_ms_va_list >/dev/null 2>&1)
|
||||
if ! eend $?; then
|
||||
eerror "This version of $(tc-getCC) does not support builtin_ms_va_list, can't enable 64-bit wine"
|
||||
eerror
|
||||
eerror "You need gcc-4.4+ or clang 3.8+ to build 64-bit wine"
|
||||
eerror
|
||||
return 1
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
wine_build_environment_check() {
|
||||
[[ ${MERGE_TYPE} = "binary" ]] && return 0
|
||||
|
||||
if use abi_x86_64; then
|
||||
if tc-is-gcc && [[ $(gcc-major-version) -lt 4 || ( $(gcc-major-version) -eq 4 && $(gcc-minor-version) -lt 4 ) ]]; then
|
||||
eerror "You need gcc-4.4+ to compile 64-bit wine"
|
||||
die
|
||||
elif tc-is-clang && [[ $(clang-major-version) -lt 3 || ( $(clang-major-version) -eq 3 && $(clang-minor-version) -lt 8 ) ]]; then
|
||||
eerror "You need clang-3.8+ to compile 64-bit wine"
|
||||
die
|
||||
fi
|
||||
fi
|
||||
if tc-is-gcc && [[ $(gcc-major-version) -eq 5 && $(gcc-minor-version) -le 3 ]]; then
|
||||
ewarn "GCC-5.0-5.3 suffered from compiler bugs and are no longer supported by"
|
||||
ewarn "Gentoo's Toolchain Team. If your ebuild fails the compiler checks in"
|
||||
ewarn "the configure phase, either update your compiler or switch to <5.0 || >=5.4"
|
||||
fi
|
||||
if tc-is-gcc && [[ $(gcc-major-version) -eq 5 && $(gcc-minor-version) -eq 4 ]]; then
|
||||
if has "-march=i686" ${CFLAGS} && ! has "-mtune=generic" ${CFLAGS}; then
|
||||
ewarn "Compilation can hang with CFLAGS=\"-march=i686\". You can temporarily work"
|
||||
ewarn "around this by adding \"-mtune=generic\" to your CFLAGS for wine."
|
||||
ewarn "See package.env in man 5 portage for more information on how to do this."
|
||||
ewarn "See https://bugs.gentoo.org/show_bug.cgi?id=613128 for more details"
|
||||
fi
|
||||
fi
|
||||
|
||||
if use abi_x86_32 && use opencl && [[ "$(eselect opencl show 2> /dev/null)" == "intel" ]]; then
|
||||
eerror "You cannot build wine with USE=opencl because intel-ocl-sdk is 64-bit only."
|
||||
eerror "See https://bugs.gentoo.org/487864 for more details."
|
||||
eerror
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
wine_env_vcs_vars() {
|
||||
local pn_live_var="${PN//[-+]/_}_LIVE_COMMIT"
|
||||
local pn_live_val="${pn_live_var}"
|
||||
eval pn_live_val='$'${pn_live_val}
|
||||
if [[ ! -z ${EGIT_COMMIT} ]]; then
|
||||
eerror "Commits must now be specified using the environmental variables"
|
||||
eerror "WINE_COMMIT"
|
||||
eerror
|
||||
return 1
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_pretend() {
|
||||
wine_build_environment_check || die
|
||||
|
||||
# Verify OSS support
|
||||
if use oss && ! use kernel_FreeBSD; then
|
||||
if ! has_version ">=media-sound/oss-4"; then
|
||||
eerror "You cannot build wine with USE=oss without having support from a"
|
||||
eerror "FreeBSD kernel or >=media-sound/oss-4 (only available through external repos)"
|
||||
eerror
|
||||
die
|
||||
fi
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
wine_build_environment_check || die
|
||||
wine_env_vcs_vars || die
|
||||
|
||||
WINE_VARIANT="${PN#wine}-${PV}"
|
||||
WINE_VARIANT="${WINE_VARIANT#-}"
|
||||
|
||||
MY_PREFIX="${EPREFIX}/usr/lib/wine-${WINE_VARIANT}"
|
||||
MY_DATAROOTDIR="${EPREFIX}/usr/share/wine-${WINE_VARIANT}"
|
||||
MY_DATADIR="${MY_DATAROOTDIR}"
|
||||
MY_DOCDIR="${EPREFIX}/usr/share/doc/${PF}"
|
||||
MY_INCLUDEDIR="${EPREFIX}/usr/include/wine-${WINE_VARIANT}"
|
||||
MY_LIBEXECDIR="${EPREFIX}/usr/libexec/wine-${WINE_VARIANT}"
|
||||
MY_LOCALSTATEDIR="${EPREFIX}/var/wine-${WINE_VARIANT}"
|
||||
MY_MANDIR="${MY_DATADIR}/man"
|
||||
}
|
||||
|
||||
src_unpack() {
|
||||
if [[ ${PV} == "9999" ]] ; then
|
||||
EGIT_CHECKOUT_DIR="${S}" EGIT_COMMIT="${WINE_COMMIT}" git-r3_src_unpack
|
||||
fi
|
||||
|
||||
default
|
||||
|
||||
l10n_find_plocales_changes "${S}/po" "" ".po"
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
local md5="$(md5sum server/protocol.def)"
|
||||
local PATCHES=(
|
||||
"${FILESDIR}"/${MY_PN}-1.5.26-winegcc.patch #260726
|
||||
"${FILESDIR}"/${MY_PN}-1.9.5-multilib-portage.patch #395615
|
||||
"${FILESDIR}"/${MY_PN}-1.6-memset-O3.patch #480508
|
||||
"${FILESDIR}"/${MY_PN}-2.0-multislot-apploader.patch
|
||||
)
|
||||
|
||||
default
|
||||
eautoreconf
|
||||
|
||||
# Modification of the server protocol requires regenerating the server requests
|
||||
if [[ "$(md5sum server/protocol.def)" != "${md5}" ]]; then
|
||||
einfo "server/protocol.def was patched; running tools/make_requests"
|
||||
tools/make_requests || die #432348
|
||||
fi
|
||||
sed -i '/^UPDATE_DESKTOP_DATABASE/s:=.*:=true:' tools/Makefile.in || die
|
||||
if ! use run-exes; then
|
||||
sed -i '/^MimeType/d' loader/wine.desktop || die #117785
|
||||
fi
|
||||
|
||||
# Edit wine.desktop to work for specific variant
|
||||
sed -e "/^Exec=/s/wine /wine-${WINE_VARIANT} /" -i loader/wine.desktop || die
|
||||
|
||||
# hi-res default icon, #472990, http://bugs.winehq.org/show_bug.cgi?id=24652
|
||||
cp "${WORKDIR}/${WINE_DESKTOP_COMMON_P}/icons/oic_winlogo.ico" dlls/user32/resources/ || die
|
||||
|
||||
l10n_get_locales > po/LINGUAS || die # otherwise wine doesn't respect LINGUAS
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
wine_compiler_check || die
|
||||
|
||||
export LDCONFIG=/bin/true
|
||||
use custom-cflags || strip-flags
|
||||
|
||||
multilib-minimal_src_configure
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
local myconf=(
|
||||
--prefix="${MY_PREFIX}"
|
||||
--datarootdir="${MY_DATAROOTDIR}"
|
||||
--datadir="${MY_DATADIR}"
|
||||
--docdir="${MY_DOCDIR}"
|
||||
--includedir="${MY_INCLUDEDIR}"
|
||||
--libdir="${EPREFIX}/usr/$(get_libdir)/wine-${WINE_VARIANT}"
|
||||
--libexecdir="${MY_LIBEXECDIR}"
|
||||
--localstatedir="${MY_LOCALSTATEDIR}"
|
||||
--mandir="${MY_MANDIR}"
|
||||
--sysconfdir=/etc/wine
|
||||
$(use_with alsa)
|
||||
$(use_with capi)
|
||||
$(use_with lcms cms)
|
||||
$(use_with cups)
|
||||
$(use_with ncurses curses)
|
||||
$(use_with udisks dbus)
|
||||
$(use_with fontconfig)
|
||||
$(use_with ssl gnutls)
|
||||
$(use_enable gecko mshtml)
|
||||
$(use_with gphoto2 gphoto)
|
||||
$(use_with gsm)
|
||||
$(use_with gstreamer)
|
||||
--without-hal
|
||||
$(use_with jpeg)
|
||||
$(use_with ldap)
|
||||
$(use_enable mono mscoree)
|
||||
$(use_with mp3 mpg123)
|
||||
$(use_with netapi)
|
||||
$(use_with nls gettext)
|
||||
$(use_with openal)
|
||||
$(use_with opencl)
|
||||
$(use_with opengl)
|
||||
$(use_with osmesa)
|
||||
$(use_with oss)
|
||||
$(use_with pcap)
|
||||
$(use_with png)
|
||||
$(use_with pulseaudio pulse)
|
||||
$(use_with threads pthread)
|
||||
$(use_with scanner sane)
|
||||
$(use_enable test tests)
|
||||
$(use_with truetype freetype)
|
||||
$(use_with udev)
|
||||
$(use_with v4l)
|
||||
$(use_with X x)
|
||||
$(use_with xcomposite)
|
||||
$(use_with xinerama)
|
||||
$(use_with xml)
|
||||
$(use_with xml xslt)
|
||||
)
|
||||
|
||||
local PKG_CONFIG AR RANLIB
|
||||
# Avoid crossdev's i686-pc-linux-gnu-pkg-config if building wine32 on amd64; #472038
|
||||
# set AR and RANLIB to make QA scripts happy; #483342
|
||||
tc-export PKG_CONFIG AR RANLIB
|
||||
|
||||
if use amd64; then
|
||||
if [[ ${ABI} == amd64 ]]; then
|
||||
myconf+=( --enable-win64 )
|
||||
else
|
||||
myconf+=( --disable-win64 )
|
||||
fi
|
||||
|
||||
# Note: using --with-wine64 results in problems with multilib.eclass
|
||||
# CC/LD hackery. We're using separate tools instead.
|
||||
fi
|
||||
|
||||
ECONF_SOURCE=${S} \
|
||||
econf "${myconf[@]}"
|
||||
emake depend
|
||||
}
|
||||
|
||||
multilib_src_test() {
|
||||
# FIXME: win32-only; wine64 tests fail with "could not find the Wine loader"
|
||||
if [[ ${ABI} == x86 ]]; then
|
||||
if [[ $(id -u) == 0 ]]; then
|
||||
ewarn "Skipping tests since they cannot be run under the root user."
|
||||
ewarn "To run the test ${MY_PN} suite, add userpriv to FEATURES in make.conf"
|
||||
return
|
||||
fi
|
||||
|
||||
WINEPREFIX="${T}/.wine-${ABI}" \
|
||||
Xemake test
|
||||
fi
|
||||
}
|
||||
|
||||
multilib_src_install_all() {
|
||||
local DOCS=( ANNOUNCE AUTHORS README )
|
||||
add_locale_docs() {
|
||||
local locale_doc="documentation/README.$1"
|
||||
[[ ! -e ${locale_doc} ]] || DOCS+=( ${locale_doc} )
|
||||
}
|
||||
l10n_for_each_locale_do add_locale_docs
|
||||
|
||||
einstalldocs
|
||||
prune_libtool_files --all
|
||||
|
||||
if ! use perl ; then # winedump calls function_grep.pl, and winemaker is a perl script
|
||||
rm "${D%/}${MY_PREFIX}"/bin/{wine{dump,maker},function_grep.pl} \
|
||||
"${D%/}${MY_MANDIR}"/man1/wine{dump,maker}.1 || die
|
||||
fi
|
||||
|
||||
# Remove wineconsole if neither backend is installed #551124
|
||||
if ! use X && ! use ncurses; then
|
||||
rm "${D%/}${MY_PREFIX}"/bin/wineconsole* || die
|
||||
rm "${D%/}${MY_MANDIR}"/man1/wineconsole* || die
|
||||
rm_wineconsole() {
|
||||
rm "${D%/}${MY_PREFIX}/$(get_libdir)"/wine/{,fakedlls/}wineconsole.exe* || die
|
||||
}
|
||||
multilib_foreach_abi rm_wineconsole
|
||||
fi
|
||||
|
||||
use abi_x86_32 && pax-mark psmr "${D%/}${MY_PREFIX}"/bin/wine{,-preloader} #255055
|
||||
use abi_x86_64 && pax-mark psmr "${D%/}${MY_PREFIX}"/bin/wine64{,-preloader}
|
||||
|
||||
if use abi_x86_64 && ! use abi_x86_32; then
|
||||
dosym "${MY_PREFIX}"/bin/wine{64,} # 404331
|
||||
dosym "${MY_PREFIX}"/bin/wine{64,}-preloader
|
||||
fi
|
||||
|
||||
# Failglob for bin and man loops
|
||||
local glob_state=$(shopt -p failglob)
|
||||
shopt -s failglob
|
||||
|
||||
# Make wrappers for binaries for handling multiple variants
|
||||
# Note: wrappers instead of symlinks because some are shell which use basename
|
||||
local b
|
||||
for b in "${D%/}${MY_PREFIX}"/bin/*; do
|
||||
make_wrapper "${b##*/}-${WINE_VARIANT}" "${MY_PREFIX}/bin/${b##*/}"
|
||||
done
|
||||
|
||||
# respect LINGUAS when installing man pages, #469418
|
||||
local l
|
||||
for l in de fr pl; do
|
||||
use linguas_${l} || rm -r "${D%/}${MY_MANDIR}"/${l}*
|
||||
done
|
||||
|
||||
eval "${glob_state}"
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
eselect wine register ${P}
|
||||
if [[ ${PN} == "wine-vanilla" ]]; then
|
||||
eselect wine register --vanilla ${P} || die
|
||||
fi
|
||||
|
||||
eselect wine update --all --if-unset || die
|
||||
|
||||
fdo-mime_desktop_database_update
|
||||
|
||||
if ! use gecko; then
|
||||
ewarn "Without Wine Gecko, wine prefixes will not have a default"
|
||||
ewarn "implementation of iexplore. Many older windows applications"
|
||||
ewarn "rely upon the existence of an iexplore implementation, so"
|
||||
ewarn "you will likely need to install an external one, like via winetricks"
|
||||
fi
|
||||
if ! use mono; then
|
||||
ewarn "Without Wine Mono, wine prefixes will not have a default"
|
||||
ewarn "implementation of .NET. Many windows applications rely upon"
|
||||
ewarn "the existence of a .NET implementation, so you will likely need"
|
||||
ewarn "to install an external one, like via winetricks"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_prerm() {
|
||||
eselect wine deregister ${P}
|
||||
if [[ ${PN} == "wine-vanilla" ]]; then
|
||||
eselect wine deregister --vanilla ${P} || die
|
||||
fi
|
||||
|
||||
eselect wine update --all --if-unset || die
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
fdo-mime_desktop_database_update
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST fetchcommandwrapper-0.7.1.tar.gz 3187 SHA256 083eab79afadeadc00e9ad1dce77a54511df1a1e7b48c61c886012b565eba066 SHA512 be1e382180606d527f85c2f45888373286687c2b521c66cb11ed90f05e107bb54cbfe83b0509bf52e31108db3a52b9089259c83e63cae3a1d25dbca583faaf74 WHIRLPOOL dd9bda47ba066fc5ccab658b8914627ab14e0914ccc00541486910e7e2acc974016dacd7e40f86d6782adce45e9948cece74d09611ca965cceb110a491fc650e
|
||||
DIST fetchcommandwrapper-0.7.2.tar.gz 3134 SHA256 0ccab9876c6d2ed15c972aa5287069e2f2c503b9b36f6246b15be12eb7ec05b8 SHA512 f268cbef691320106b3f929b0ab3b63085ffdd3e1988fbada2d37c6abcdf7e417758055fff503bb70490840dfde7704e87bb7434faa1d1115cc42729ad10de61 WHIRLPOOL 1c9f2a5681a49a62e06003811a7903d58c816f34a38acf2c424238af58f32e48b0181d034c6ed2b44dcf3e4438ba1a45feb82315e263f5638a5c9fffe2f4b6a3
|
||||
DIST fetchcommandwrapper-0.7.3.tar.gz 3431 SHA256 c10659ff6e4c95102683be4848bdca44746ea9f500a081b01f9a1dd28d3a3faf SHA512 df314331b66b89842285a175be686fe800de4a93ad382b72659429a62de02c4fc708d8964f766c7203c3c2aa838a684e808442d410d37ab9f8b9af8328442a51 WHIRLPOOL d041ed86901ea03bbe7d3ef34837ed040088ec168671c82431d376cd3d82143ba54f4b71b73c79c33b55998542c229ae9544faaa027e3e6e79378c7127acc809
|
||||
DIST fetchcommandwrapper-0.8.tar.gz 3558 SHA256 b8a85e84a68ec96c7c425814326c048d58c7536631733fc7fc6d667507a41bda SHA512 b064515d3f4b85f849de53934a45e7a64c9af8bfcfb83ee70d09aad9712623cff2c43a28c93ccd00b74f99679856225201e7c8f33b9b0338121ac1072335e5ba WHIRLPOOL 1055b19fda503662604e6c72c7a224e6136066063285503084f056cb3b74bde0ce4a92150e8cecea36651c0f4fba80205d937ce546790691076696459373ec80
|
||||
|
@ -0,0 +1,25 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
PYTHON_COMPAT=( python{2_7,3_{4,5,6}} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Wrapper integrating aria2 into portage's FETCHCOMMAND"
|
||||
HOMEPAGE="https://github.com/gentoo/fetchcommandwrapper"
|
||||
SRC_URI="https://github.com/gentoo/fetchcommandwrapper/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=""
|
||||
RDEPEND=">=net-misc/aria2-1.10.2"
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn 'You need to append'
|
||||
ewarn ' source /usr/share/fetchcommandwrapper/make.conf'
|
||||
ewarn 'to /etc/portage/make.conf in order to integrate fetchcommandwrapper.'
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST restview-2.4.0.tar.gz 27644 SHA256 52eed1a9ce2bc31d6b4269c8c4ba8c5c1cf7c989b465e9a62bfa6357fc0da965 SHA512 e386b7debb07426733e109d9a77be03443c1621ce727ef982dad572a795dce512b0b89051712009aecefd91e258c304ef936bf2e8dbd15bdb35bdca03913ac07 WHIRLPOOL 51e8f01035096feb31dbc403184276d9427320f26c540779cf635381a6a9a29a4296de8b0745c85fd426752e857bab6ea024eaa6ad6e20faad1d13daa6ee0b74
|
||||
DIST restview-2.5.2.tar.gz 28230 SHA256 a5ad94898b9de765b9840ea46e9e99909c21c2f851d513e253d4f808a9adad3e SHA512 40d9a7b871f8c501221ee9b37f22c5cdeed3cdba20388ffd0a4a0d452ca1a08855b8dada0cd9a27b99a4ff2a4e45e12734b7747a3169a5c739a7ad7717c47104 WHIRLPOOL 9994352de19b9cca590c4b9ce629fbede5767ea0916632663edf738632fb82ab1cc3f9fe438c60b6628c65ae2cba4b4328c8a701af342b06b1657bba4acbe9fb
|
||||
DIST restview-2.7.0.tar.gz 29448 SHA256 e7842100f3de179c68cfe7c2cf56c61509cd6068bc6dd58ab42c0ade5d5f97ec SHA512 fccfed505832b85bd4fad964f78b0de371ea0a42ac5cc700a8604e413743a236b70f0160edc115d1e9cdef03f2aa7fc461893f40e01203a048756887f655f65c WHIRLPOOL b72e5c4b179198e51facc0b8ce9b3aa713617100adcaacb7359e58c6d964300c4e2cb60bd73ab059ed4d1e20e55df098df0b5769887315d70fc85c3d520305e1
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python{2_7,3_4,3_5,3_6} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="reStructuredText viewer"
|
||||
HOMEPAGE="https://mg.pov.lt/restview/ https://pypi.python.org/pypi/restview"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/pygments[${PYTHON_USEDEP}]
|
||||
dev-python/readme_renderer[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( dev-python/mock[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
DOCS=( README.rst CHANGES.rst )
|
||||
|
||||
python_test() {
|
||||
esetup.py test
|
||||
}
|
@ -1,7 +1,2 @@
|
||||
DIST Catch-1.5.6.tar.gz 312250 SHA256 1749521eb5c4b6e81128f60d66b81b8328e76050599a497dc8b51a718d03faca SHA512 da4f9c300bc7d9de66be4e0b013d4c5719ee6e112c1b949963fecf55d89d75605bad16d4763ebb4dbaee51dc8c85d2aeb8e7826388204f9d8057233231ff7b9a WHIRLPOOL 38ffdf58959ccb5201621eb4c16b6415b7a892803bc9bdcc134e7f61d82b285b9dfea1f2cf55529c72e0f96dc32696646f0b2d03e8532b03f44de28c3016c7d6
|
||||
DIST Catch-1.5.7.tar.gz 312824 SHA256 9acabf466e64ef2d477d4ce8d16610db3556a58b150440025fb1b25c3fd6a85b SHA512 724e85fbcb1a5ff8e98ef04932f7c60f43c0deaf4e41e4790cb7c0d9ead7b2e9068c801b165c094d68373b906c9d2d09de269bd7065dbd0136ecbb18ced4ccff WHIRLPOOL b0ce83cc75bbe40f3531c898fc273101a9992f5b7b43b9a483bf694b7c2fb079808f4330795fa1ae8bb5052fd55feb656245fc503f43217b42cf6239b620b167
|
||||
DIST Catch-1.5.8.tar.gz 312892 SHA256 08761b1930b37118b568838fd40eb6d113063c35ca8a37128298edd5559403a7 SHA512 18553b877ea6cbb48255f48bf025efc02dbc26f7895bf8f68391bc3417ae737ffab55e6b05c9c91c3d501ff581276cfd7678510db3333c5aff884d99bc38fb93 WHIRLPOOL f3c030e2a5b4beefdd00eee75a55052a92f07948cd8ce29da46cd83cd0a61991ca6cbf0ccd2ff89beee701a136b082a043a4dab9c140fcd0095905f518d99b6d
|
||||
DIST Catch-1.6.0.tar.gz 290987 SHA256 83532346983c43963cf89a69c1544be493e6b4cccaf20975e53f5cf2239b73a9 SHA512 6a9fbffd76d1fe6e4a2523c87e6ec6efcae66fc9db6dc5876b2839cfdb7c9918e8dc21b9b5ac4a545677c333659107c45f788d9a251f9d3bdd7731fd404132fe WHIRLPOOL 58257b3729f74f39034d9c9dccf178d0fe25c64f6b43ff606c52a0c2a8779b0ecd4b38b561e402bf4af70a52267d9499d5f22aab34755f02e20e04de4b9894f5
|
||||
DIST Catch-1.9.1.tar.gz 357082 SHA256 34fb5f7b8892654b123830eb9aa22e911ac4fac3fa14a1ebf51d21625a8a6cfa SHA512 40a212d5af2edf609909af6f420105508c15303e845af1f2b3a04ebafa24a0888dc51da94d0c3f0952410a408a2699870246a246f00fc0d835ee77e8ef8addac WHIRLPOOL ac26d7c17b8a86d00689d93b0379dd8260788cfb670a129936ddc336d5b450713873c39665693fc0de44ef4e61a34e692e736a710a2d5204d115bb26e388d161
|
||||
DIST Catch-1.9.3.tar.gz 361872 SHA256 67fc8bc96c5ccdd7eb5edf40916fae0a94216c90bfbafdf75bd3843fc5744732 SHA512 55a2af9db182550a6dfa44a1e11e5c6a3a5ff6280f0d5daefd2ae909fac99852030df7d237548696c3e4a4871f61b808fe719ff87d9ff69b88c87349a24241ff WHIRLPOOL 1b9980cedf6f32e14c8d9d6957af2655ca06cd4c256591bc0453269ccb494d54fa888926956206529c88d589c1979764d7e7638d4dc9361ca04ac7fa910256a3
|
||||
DIST catch-1.5.0.tar.gz 311787 SHA256 f694634bc56422f28d61052eedc29d43ea20e60a1726eda3ff9acc8fdfca3c08 SHA512 d7011cdfe6eca86aa081b5da371665be8687bcbb41f3702c3075bf01f73e1d2e00894a0917e6437a8735e730ff287a06e189ce94ea00e583ab7282065f25166d WHIRLPOOL 90d7d6d2f4b06169224385e0f2ec0de1312c454a0c7a2a14155f68fe30424e527cde91e5fb4ff9bd441fa846a7caabca023e591ce5837f6c65f0bbe106166401
|
||||
DIST Catch-1.9.4.tar.gz 363097 SHA256 d67d2ee26ec9f72618dd9b28a9d1b7ba3c6368bc846ecfeda05a1e5d1b8b9b20 SHA512 78d43719e87f5d27132178c5f139b72e6093dd1029eb742bfb48e32b618079e156837fb25d4cbe0fd5044535a5a65ad90510cff8ae93f2695c7bb3fc5cb2a5ec WHIRLPOOL 80b4c36172e62ea12fc4acee096a84cd00b1a290dc2a7a9e9a8e2ff2485e39a619e33f2aee853daa7773d3c877f55788b2d0f86e44542c6f8c0b6027edaf0585
|
||||
|
@ -1,38 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Modern C++ header-only framework for unit-tests"
|
||||
HOMEPAGE="https://github.com/philsquared/Catch"
|
||||
SRC_URI="https://github.com/philsquared/Catch/archive/V${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Boost-1.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
S=${WORKDIR}/${P^}
|
||||
CMAKE_USE_DIR=${S}/projects/CMake
|
||||
|
||||
src_configure() {
|
||||
# CMake is only used to build & run tests
|
||||
use test && cmake-utils_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
use test && cmake-utils_src_compile
|
||||
}
|
||||
|
||||
src_test() {
|
||||
use test && cmake-utils_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# same location as used in fedora
|
||||
insinto /usr/include/catch
|
||||
doins -r include/.
|
||||
dodoc -r docs/.
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Modern C++ header-only framework for unit-tests"
|
||||
HOMEPAGE="https://github.com/philsquared/Catch"
|
||||
SRC_URI="https://github.com/philsquared/Catch/archive/v${PV}.tar.gz -> ${P^}.tar.gz"
|
||||
|
||||
LICENSE="Boost-1.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}/${P^}
|
||||
CMAKE_USE_DIR=${S}/projects/CMake
|
||||
|
||||
# CMake is only used to build & run tests, so override phases
|
||||
src_configure() { :; }
|
||||
src_compile() { :; }
|
||||
|
||||
src_test() {
|
||||
cmake-utils_src_configure
|
||||
cmake-utils_src_compile
|
||||
cmake-utils_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# same location as used in fedora
|
||||
insinto /usr/include/catch
|
||||
doins -r include/.
|
||||
dodoc -r docs/.
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Modern C++ header-only framework for unit-tests"
|
||||
HOMEPAGE="https://github.com/philsquared/Catch"
|
||||
SRC_URI="https://github.com/philsquared/Catch/archive/v${PV}.tar.gz -> ${P^}.tar.gz"
|
||||
|
||||
LICENSE="Boost-1.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}/${P^}
|
||||
CMAKE_USE_DIR=${S}/projects/CMake
|
||||
|
||||
# CMake is only used to build & run tests, so override phases
|
||||
src_configure() { :; }
|
||||
src_compile() { :; }
|
||||
|
||||
src_test() {
|
||||
cmake-utils_src_configure
|
||||
cmake-utils_src_compile
|
||||
cmake-utils_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# same location as used in fedora
|
||||
insinto /usr/include/catch
|
||||
doins -r include/.
|
||||
dodoc -r docs/.
|
||||
}
|
@ -1,35 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Modern C++ header-only framework for unit-tests"
|
||||
HOMEPAGE="https://github.com/philsquared/Catch"
|
||||
SRC_URI="https://github.com/philsquared/Catch/archive/v${PV}.tar.gz -> ${P^}.tar.gz"
|
||||
|
||||
LICENSE="Boost-1.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}/${P^}
|
||||
CMAKE_USE_DIR=${S}/projects/CMake
|
||||
|
||||
# CMake is only used to build & run tests, so override phases
|
||||
src_configure() { :; }
|
||||
src_compile() { :; }
|
||||
|
||||
src_test() {
|
||||
cmake-utils_src_configure
|
||||
cmake-utils_src_compile
|
||||
cmake-utils_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# same location as used in fedora
|
||||
insinto /usr/include/catch
|
||||
doins -r include/.
|
||||
dodoc -r docs/.
|
||||
}
|
@ -1,34 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit cmake-utils
|
||||
|
||||
DESCRIPTION="Modern C++ header-only framework for unit-tests"
|
||||
HOMEPAGE="https://github.com/philsquared/Catch"
|
||||
SRC_URI="https://github.com/philsquared/Catch/archive/v${PV}.tar.gz -> ${P^}.tar.gz"
|
||||
|
||||
LICENSE="Boost-1.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
S=${WORKDIR}/${P^}
|
||||
|
||||
# CMake is only used to build & run tests, so override phases
|
||||
src_configure() { :; }
|
||||
src_compile() { :; }
|
||||
|
||||
src_test() {
|
||||
cmake-utils_src_configure
|
||||
cmake-utils_src_compile
|
||||
cmake-utils_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
# same location as used in fedora
|
||||
insinto /usr/include/catch
|
||||
doins -r include/.
|
||||
dodoc -r docs/.
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="6"
|
||||
JAVA_PKG_IUSE="source"
|
||||
|
||||
inherit eutils java-pkg-2 java-ant-2
|
||||
|
||||
MY_A="apache-${P}-src"
|
||||
MY_P="${MY_A/-servlet-api/}"
|
||||
DESCRIPTION="Tomcat's Servlet API 3.1/JSP API 2.3/EL API 3.0 implementation"
|
||||
HOMEPAGE="http://tomcat.apache.org/"
|
||||
SRC_URI="mirror://apache/tomcat/tomcat-8/v${PV}/src/${MY_P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="3.1"
|
||||
KEYWORDS="~amd64 ~ppc64 ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=virtual/jdk-1.7"
|
||||
RDEPEND=">=virtual/jre-1.7"
|
||||
|
||||
S="${WORKDIR}/${MY_P}/"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
cp "${FILESDIR}/${SLOT}-build.xml" build.xml || die "Could not replace build.xml"
|
||||
rm -fR */*/build.xml
|
||||
einfo "Removing bundled jars and classes"
|
||||
find "${S}" '(' -name '*.class' -o -name '*.jar' ')' -exec rm -frv {} +
|
||||
|
||||
java-pkg-2_src_prepare
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_dojar "${S}"/output/build/lib/*.jar
|
||||
use source && java-pkg_dosrc java/javax/servlet/
|
||||
}
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
inherit multilib
|
||||
|
||||
DESCRIPTION="Elixir programming language"
|
||||
HOMEPAGE="http://elixir-lang.org"
|
||||
SRC_URI="https://github.com/elixir-lang/elixir/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0 ErlPL-1.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~ia64 ~ppc ~sparc ~x86"
|
||||
IUSE=""
|
||||
|
||||
DEPEND=">=dev-lang/erlang-18[ssl]"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
emake Q=""
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIBDIR="$(get_libdir)" PREFIX="/usr" install
|
||||
dodoc README.md CHANGELOG.md CODE_OF_CONDUCT.md
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST autobahn-0.12.1.tar.gz 163311 SHA256 664223879e159c88221f42d8d1ac6b8c4268d8b9316d8ab69a02761c5744cd79 SHA512 2d944ce6849017f75542b5f33cd2c4a7321c5a70ce01b24480fb17aa34c3a7dec826073261af1133e1611233dbe958e5c7d2a10b1586f6b7e5b32ce4f4e7db06 WHIRLPOOL 2d1d78ae0f468e80a7ffe44dc8f1891082adb97319d3cedad575f74ebafa3318a1b0ed1f9cd4187dc097d9a8c2cf2b0ca761c39511a6bbd490e8d30bcbb7d933
|
||||
DIST autobahn-0.16.0.tar.gz 185053 SHA256 a1dcb4315a0914da56ec484659816de72dfad229be4ac19fa61bbc0111ada884 SHA512 8873202a33c7b68577e89cc91503b8002aa19638836ff39ef99022e3b0ddcfb613154ddf0c373bf315eeb8b6c36f31afc20eb0164c47caa087b2a1b28449d3a8 WHIRLPOOL b5f5f80c1d88b3b031fab0837f0d191d4d71e21798aeec6ae1ee718bad0e21cb403a1b2ecb199615b4c8351522be8d4882781fd02de95e422203cee14f1c01ef
|
||||
DIST autobahn-0.9.4-2.zip 175894 SHA256 5bb64191cfdd1cbdd90d8e359b389ef62c0acdffd2f68d16ec01fa0a287262f0 SHA512 7e0d4246b8b1c552b25c2ae36f1923ed9931e3d3ca684039a422773fecd92ca04734a0b24394a9bbc787f245c72b5552522351a7c1c8e500128e7c46c740a3d5 WHIRLPOOL aa0f06b82acbebb97ca2e3c424429ada7169dca5b39237ce082a17440ec9701a307e9fc7f162f957023cfc4c067f8e8b82b9923cb056ffcab7b3e64a61a4aae8
|
||||
DIST autobahn-17.5.1.tar.gz 205144 SHA256 2a32fa76a11f8aa8de482e99ad2b7a8acc8f6c0d430c48aebd4666f080e85d5c SHA512 904f8f4c527a6c1c7840ea8634d0c0a47141458500c6d29f4aa1f05ff51f91c65a451b7c447201cbdf5e255c4c2d07509efa106790217b09398e7d50c1d85382 WHIRLPOOL 28b9608110ecfd058b9bfc3a3c587e7d33c7538f62b4ada1969efc2d434dcbcd9b1d3b1711448a09b425016c2622d2135ce789ae1edeaf7f0a1dc96fcdfb7acd
|
||||
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} )
|
||||
|
||||
inherit distutils-r1 versionator
|
||||
|
||||
MY_P="${PN}-$(replace_version_separator 3 -)"
|
||||
|
||||
DESCRIPTION="WebSocket and WAMP for Twisted and Asyncio"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/autobahn http://autobahn.ws/python/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${MY_P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="MIT"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="crypt test"
|
||||
|
||||
RDEPEND="
|
||||
$(python_gen_cond_dep '>=dev-python/trollius-2.0[${PYTHON_USEDEP}]' 'python2_7')
|
||||
$(python_gen_cond_dep '>=dev-python/futures-3.0.4[${PYTHON_USEDEP}]' 'python2_7')
|
||||
>=dev-python/cbor-1.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/lz4-0.7.0[${PYTHON_USEDEP}]
|
||||
crypt? (
|
||||
>=dev-python/pyopenssl-16.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/pynacl-1.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytrie-0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyqrcode-1.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/service_identity-16.0.0
|
||||
)
|
||||
>=dev-python/six-1.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/snappy-0.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/twisted-16.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/txaio-2.6.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/u-msgpack-2.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/py-ubjson-0.8.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/wsaccel-0.6.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/zope-interface-3.6[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
>=dev-python/pynacl-1.0.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytrie-0.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyqrcode-1.1.0[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
S="${WORKDIR}"/${MY_P}
|
||||
|
||||
python_test() {
|
||||
#esetup.py test
|
||||
cd "${BUILD_DIR}"/lib || die
|
||||
py.test -v || die
|
||||
}
|
@ -0,0 +1,12 @@
|
||||
diff -r 07f96892bfda src/blockdiag/tests/test_utils_fontmap.py
|
||||
--- a/src/blockdiag/tests/test_utils_fontmap.py Sat Aug 22 13:38:35 2015 +0900
|
||||
+++ b/src/blockdiag/tests/test_utils_fontmap.py Mon Apr 10 05:56:48 2017 -0700
|
||||
@@ -223,7 +223,7 @@
|
||||
_config = u("[fontmap]\nsansserif: %s\nsansserif: %s\n") % \
|
||||
(self.fontpath[0], self.fontpath[1])
|
||||
config = StringIO(_config)
|
||||
- if sys.version_info[0] == 2:
|
||||
+ if sys.version_info < (2, 7):
|
||||
fmap = FontMap(config)
|
||||
|
||||
font1 = fmap.find()
|
@ -0,0 +1,16 @@
|
||||
import lz4
|
||||
import sys
|
||||
|
||||
|
||||
import unittest
|
||||
import os
|
||||
|
||||
class TestLZ4(unittest.TestCase):
|
||||
|
||||
def test_random(self):
|
||||
DATA = os.urandom(128 * 1024) # Read 128kb
|
||||
self.assertEqual(DATA, lz4.loads(lz4.dumps(DATA)))
|
||||
|
||||
if __name__ == '__main__':
|
||||
unittest.main()
|
||||
|
@ -1,3 +1,4 @@
|
||||
DIST pylint-1.4.4.tar.gz 342461 SHA256 0561af4d6bd4fa9e8e02f3997fe93684f7187c57bcef9db8c2ea9fb0d7d2f022 SHA512 bcbf5439628a071055cea441455f6c0fe0cbfae2617c473bc376b880421f17f78653901d7cf49950653436a0991a3bafbc2df15744ff24a3b059de53e518b331 WHIRLPOOL 9b8f5384691f5e762bfd7313691783e0b1a9148effec0b29f2e538f587dfa03f57413817589f8fc3f152c05330b7f39c8ede27720ff6ad12496f9101d824fedf
|
||||
DIST pylint-1.5.6.tar.gz 425251 SHA256 303bdd755048feec2c1fe1ea16e8f4306636f02845510ff3d5922ae2d6fe35cc SHA512 569a747a0d2c4f60ff2c16af6117f501fa1a9a6546fcc1228909b23024e2bc05951985acf56249919b67b11f161cb1855321115ad9fd7a7c409b71faa5dd8278 WHIRLPOOL 286e32ae39dfc3ce8d13efb9e9acec98db698f742bf399ccd6d7e053a2bdb1b7ea30b36a10a65fa4867bb6316da08c1181c5f0f0f39b0a920ddc3cf60e85f462
|
||||
DIST pylint-1.6.5.tar.gz 465578 SHA256 a673984a8dd78e4a8b8cfdee5359a1309d833cf38405008f4a249994a8456719 SHA512 2fac352dc752b37f1ce4f7fefe5afbbc880d7e6c38f164d1c50734716af1dd6fe31f7d41e145a8256837d5a63b1989efec40c169fc14840cf8eb4e18d9bb2410 WHIRLPOOL 55201c238f9a6ba473d038ea1739bfb9b1e8183685bf5630405d436df1a0843642a354af698d1b585752c53e270fc4bd2d4d56d509c5d7acf5271a8fd1447eb3
|
||||
DIST pylint-1.7.1.tar.gz 489108 SHA256 8b4a7ab6cf5062e40e2763c0b4a596020abada1d7304e369578b522e46a6264a SHA512 e0efbaad3ca3205a2e2e1e4bc444e635540db12e139e008ff2ca8b454dd117488e767f070126074389d6d82c17622da747b9a948711225246877fed69ac81148 WHIRLPOOL 0f041bce357b68d2bd48fd51d6dc3cf7336a51160cf96771bfea059835e9ee1f535d0a19fc5876308040d5d16ef113b464a90b21d4109f11a77ef65da29425a5
|
||||
|
@ -0,0 +1,65 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1 eutils
|
||||
|
||||
DESCRIPTION="Python code static checker"
|
||||
HOMEPAGE="
|
||||
http://www.logilab.org/project/pylint
|
||||
https://pypi.python.org/pypi/pylint
|
||||
https://github.com/pycqa/pylint"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~x86"
|
||||
IUSE="doc examples test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/astroid-1.5.1[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
>=dev-python/isort-4.2.5[${PYTHON_USEDEP}]
|
||||
dev-python/mccabe
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/backports-functools-lru-cache[${PYTHON_USEDEP}]
|
||||
dev-python/configparser[${PYTHON_USEDEP}]' python2_7)"
|
||||
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
test? ( ${RDEPEND} )"
|
||||
|
||||
RESTRICT="test" # multiple failures
|
||||
|
||||
# Usual. Requ'd for impl specific failures in test phase
|
||||
DISTUTILS_IN_SOURCE_BUILD=1
|
||||
|
||||
python_compile_all() {
|
||||
# selection of straight html triggers a trivial annoying bug, we skirt it
|
||||
use doc && PYTHONPATH="${S}" emake -e -C doc singlehtml
|
||||
}
|
||||
|
||||
python_test() {
|
||||
${EPYTHON} \
|
||||
-m unittest discover \
|
||||
-s pylint/test/ -p "*test_*".py \
|
||||
--verbose || die
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
doman man/{pylint,pyreverse}.1
|
||||
if use examples ; then
|
||||
docinto examples
|
||||
dodoc -r examples/.
|
||||
fi
|
||||
use doc && local HTML_DOCS=( doc/_build/singlehtml/. )
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
# Optional dependency on "tk" USE flag would break support for Jython.
|
||||
optfeature "pylint-gui script requires dev-lang/python with \"tk\" USE flag enabled." dev-lang/python[tk]
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST pyserial-2.7.tar.gz 122081 SHA256 3542ec0838793e61d6224e27ff05e8ce4ba5a5c5cc4ec5c6a3e8d49247985477 SHA512 3fc8d9425a47ebcd37db1fcc58182854b48c9abd6642f35fba2d21458d864ae448105d704dc0d880832ba7516fa16f108f24363bd5fa9f083ea79a4ac614339b WHIRLPOOL ae6b4df86220617f7fbc1f1e4085a7e85dca645a6d84339163b40fc7a15f14b879ef7a729d3d23d0300f9ee04b21d6c24d13a791d520aef3f3ad141c6acd9b68
|
||||
DIST pyserial-3.2.1.tar.gz 147338 SHA256 1eecfe4022240f2eab5af8d414f0504e072ee68377ba63d3b6fe6e66c26f66d1 SHA512 8d3e580cc7781fc6549ab6e408642f4321eb90aafbe593f5dcf953001730f89ee32ce6592728764027a7944bfe4a0ebe2cfac1fce071777aac7c4f27ac94ab7f WHIRLPOOL 529c4eb12adf88579d528d3bd9dfec6fd7b43890217392677b7c8428f7ca7b3fe5dded863c4690c9eaa5ea37a2cdb56744e328a47a4b89d5440becceb983ecb8
|
||||
DIST pyserial-3.3.tar.gz 149032 SHA256 2949cddffc2b05683065a3cd2345114b1a49b08df8cb843d69ba99dc3e19edc2 SHA512 57a0bcd0684530e1d60022804dd75acd5d9a9a358c92d967076884b2419bcfefae71e949f7aba1737023f6b089c993e98dd7cf6860e9402ed7e0b698953b3ac8 WHIRLPOOL 41174cb26532f563950aa1510d5fe2ab60def9141744ffad5d063f2a0e9cd7e0fdaf68db6c72ec47b2eb8fd37aa064286c27a90288ae1482e1f336574e9a1b1a
|
||||
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6} pypy )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python Serial Port extension"
|
||||
HOMEPAGE="https://github.com/pyserial/pyserial https://pypi.python.org/pypi/pyserial"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-fbsd ~x86-fbsd"
|
||||
IUSE="doc examples"
|
||||
|
||||
DEPEND="
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
doc? ( dev-python/sphinx[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
# Usual avoid d'loading un-needed objects.inv file
|
||||
PATCHES=( "${FILESDIR}"/mapping.patch )
|
||||
|
||||
DOCS=( CHANGES.rst README.rst )
|
||||
|
||||
python_compile_all() {
|
||||
use doc && emake -C documentation html
|
||||
}
|
||||
|
||||
python_test() {
|
||||
${EPYTHON} test/run_all_tests.py || die "Testing failed with ${EPYTHON}"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
use doc && local HTML_DOCS=( documentation/_build/html/. )
|
||||
distutils-r1_python_install_all
|
||||
if use examples; then
|
||||
insinto /usr/share/doc/${PF}
|
||||
doins -r examples
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST ramlfications-0.1.9.tar.gz 1094577 SHA256 7bb89c11b13bc6b4099ee7fa07c5285a54b64a5e9c71eb6ca99660358fb27677 SHA512 5f93556e8f008b86bbe1e3b96dba3b20a31e583800334931b9c3972da897bc19a93ba5fdd687799e99aee79a93e10e58ca1b3eb5b0f38fb2b28d0f0ba0723e82 WHIRLPOOL b58c21ab3d03578fe69bd29f331744c81ff5d88ce0ed7f03c1d0abd72058069638413043d8b63cb6e8a5a2b11b078b60cb5c1baf2491e73c44a33700cd51c97a
|
||||
DIST ramlfications-0.1.9_p20160718.tar.gz 1104645 SHA256 4ce2269408eaeb79c7a3cba1b0a9bc5b59ee3b92e25300e1ee5c99ad877c7807 SHA512 a21330cddb2d390744d7c13ee62edd701f74a83c16f87b897460e2353e265f4171e90e8b51bb0c17762a1f3494ddf8aeaa22c36f0aa093f936b9a51e2d75d1f5 WHIRLPOOL 1834be4b0c23580fb5576bfc7e948acedf492bf684dfd39c4a04eb1c9a837ed7815049a67eac9ec9334960afa0c8eb77f5e9e64cfb844a070431a399c7ee7357
|
||||
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2017 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=6
|
||||
PYTHON_COMPAT=( python2_7 python3_{4,5,6})
|
||||
|
||||
COMMIT="32a11cd7d75c4c5b3e3fc01c383314be298b0f9b"
|
||||
|
||||
inherit eutils distutils-r1
|
||||
|
||||
DESCRIPTION="RAML reference implementation in Python"
|
||||
HOMEPAGE="https://ramlfications.readthedocs.org/ https://pypi.python.org/pypi/ramlfications/"
|
||||
SRC_URI="https://github.com/spotify/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
dev-python/markdown2[${PYTHON_USEDEP}]
|
||||
dev-python/jsonref[${PYTHON_USEDEP}]
|
||||
dev-python/click[${PYTHON_USEDEP}]
|
||||
dev-python/attrs[${PYTHON_USEDEP}]
|
||||
dev-python/termcolor[${PYTHON_USEDEP}]
|
||||
dev-python/xmltodict[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pytest[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-localserver[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-cov[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
|
||||
python_test() {
|
||||
py.test -v || die "Tests fail with ${EPYTHON}"
|
||||
}
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue