parent
6e79b5f78b
commit
284e8f0d18
@ -1,23 +1,23 @@
|
||||
-----BEGIN PGP SIGNED MESSAGE-----
|
||||
Hash: SHA512
|
||||
|
||||
MANIFEST Manifest.files.gz 29292 BLAKE2B 3f5f3a5fc7d1f9cbe84121b1df417e23d2fe03fbe01f16be66512c93358d7e756ef5f92539d910339457c23cc5d334ca541b4322ef2c419532778b3fb932b264 SHA512 802bcd06cb56e5f087e362f3494d9dfcc4c137d4b70726f5d454ad21fd8ecddd8c002f7f9307b123559733dee401e44f484c91ec0f59e452b40e928ebecbb065
|
||||
TIMESTAMP 2021-03-18T10:38:33Z
|
||||
MANIFEST Manifest.files.gz 29295 BLAKE2B e0a2eb6136d22945da4d4d2c49ef8a6ec8e25ea6bd39ffc879dc60512109dce5f9a981ea1d631c646778dfd2c1f99ef03e18df9b587726cc1874d1672bea3fc5 SHA512 9fd9375a56a2106c413946cd4de822581b0a4cf3eeace0b8366a2a3a8d5e1a168592f01c4f2526981c49853b0b5d286b269a3e0b5437ecebf6ef420402f51bfc
|
||||
TIMESTAMP 2021-03-19T14:38:28Z
|
||||
-----BEGIN PGP SIGNATURE-----
|
||||
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmBTLalfFIAAAAAALgAo
|
||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmBUt2RfFIAAAAAALgAo
|
||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||
klBWFhAAqrH8yU3gdvGSjvhgLhzTkutq1vDjV7QmE5qLnOy4fCtQsqjVDSYipPbU
|
||||
Ziiin1X+U44F3aQf+pLM29FE/voL14lLksXpvvVKNYU6QtFWEwnwo0iTtnWC5F31
|
||||
no0lI3ezhKtfT6lz2U1dgpumdpaKfFp/KYt2XA8EiArNMUlut2QNw8S/Nb+4FrF/
|
||||
9JTjoxzLbrbg3lpAZViBWFFrOYMppgphdjCw5jNiJZWiWsSDcgFu7WaZJa3mh835
|
||||
+/MliSDbfvJS8SeDnpSL43gQnssrwUoaZPdoUw74ctwama3kZUxbbEhqFKlguLJZ
|
||||
e46QiuHiutObnyedygwz44ZA4MP6sFkCAVs1CoGZWxiGPLsBBCQkf3RpFVZNobC9
|
||||
cigYqjPtn6Kz9qMOqtkpq4/lX84hWdAwQ/94i1LN1UJxRxAfLpc8+hGV3BnadVZQ
|
||||
apmu+tyjEQj+/5xyAo7zMQZraGj8sxdBGGlZVXUdxkTtebEcrqNJiWl6biXMuw39
|
||||
hy+CHsxKtoKBBndxD1PYeL7+4GJnN43acEuLrh2ZMKcKENJlzASrw1NjrLadUgZ6
|
||||
Wby4ynix0HdLoxzJj4KGEAIPDhXT13NxSo/gdvoaowbDAZZoT78jPuDWAhvIZ0mg
|
||||
EIVJqktQtWbSe8aHS/slkHEezg+Um3H9Z+ykakubUtmpI21iEYs=
|
||||
=gYty
|
||||
klCBvA/+J682w4t/1+D5S5m53rdtdUcD0uNvm1xoZT1lYksJ6ptetmUPhTxjSSwa
|
||||
rIUgM5xbcglpl1YmE8SeXnKqD2eNGoHeKEzBuO1idyVhCT+sZh/81pSSagmdT/J7
|
||||
vkNLf85lJEwel6bA15qgV1jbnT15YKWR6lw184DkVJUVkWKqEh7zkzRuirPoWfTd
|
||||
CzPbPCStWxDSxYFvbbBEojAnhEFMS3kbcB8X6KYZLlBrHdzr8bMTwoiKI6wBHESg
|
||||
RWAN2nECjMhRiQFcRuIjEHxIy3PS7Et0fI1HRAurQWeAoxrLsU6y+caCspFuwE88
|
||||
v6+EK9KuUFYG5HJlQH/S22vyqbw45caG/i1rT/VPc5Qt38jGGeKLYeDGFEDk46O2
|
||||
sOXiSsjqC3K822lvxwQ+hJIh0J5Elx+ZKmTy6XrXsPyPWnrbIop0Ti8qnSndS8uJ
|
||||
5FassLlk9h4zdX0zFYo/UW8d3KQePy+W7dJdqNjjtp6u5aAKOd4bTeway31Aex+l
|
||||
xLXXkthb2kNyv0CijuUpq2BwBTGu5VcjBNjGK//JA+/a+NmgUcNw74D2MW8Pqj2Y
|
||||
svR9ESmZKM4PmgR4V+CpVz3PdyzVguZod9yJ+GklK86+dOmUXY81BAXYMZ27/Gof
|
||||
si6o8g45LbDkiZQwAPcHsm1yv/9As7/HyJTbVGhprdbDYg+Qnt0=
|
||||
=Bgmy
|
||||
-----END PGP SIGNATURE-----
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -0,0 +1,446 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools elisp-common flag-o-matic readme.gentoo-r1 toolchain-funcs
|
||||
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://git.savannah.gnu.org/git/emacs.git"
|
||||
EGIT_BRANCH="emacs-27"
|
||||
EGIT_CHECKOUT_DIR="${WORKDIR}/emacs"
|
||||
S="${EGIT_CHECKOUT_DIR}"
|
||||
SLOT="${PV%%.*}-vcs"
|
||||
else
|
||||
# FULL_VERSION keeps the full version number, which is needed in
|
||||
# order to determine some path information correctly for copy/move
|
||||
# operations later on
|
||||
FULL_VERSION="${PV%%_*}"
|
||||
SRC_URI="mirror://gnu/emacs/${P}.tar.xz"
|
||||
S="${WORKDIR}/emacs-${FULL_VERSION}"
|
||||
# PV can be in any of the following formats:
|
||||
# 27.1 released version (slot 27)
|
||||
# 27.1_rc1 upstream release candidate (27)
|
||||
# 27.0.9999 live ebuild (slot 27-vcs)
|
||||
# 27.0.90 upstream prerelease snapshot (27-vcs)
|
||||
# 27.0.50_pre20191223 snapshot by Gentoo developer (27-vcs)
|
||||
if [[ ${PV} == *_pre* ]]; then
|
||||
SRC_URI="https://dev.gentoo.org/~ulm/distfiles/${P}.tar.xz"
|
||||
S="${WORKDIR}/emacs"
|
||||
elif [[ ${PV//[0-9]} != "." ]]; then
|
||||
SRC_URI="https://alpha.gnu.org/gnu/emacs/pretest/${PN}-${PV/_/-}.tar.xz"
|
||||
fi
|
||||
SLOT="${PV%%.*}"
|
||||
[[ ${PV} == *.*.* ]] && SLOT+="-vcs"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos"
|
||||
fi
|
||||
|
||||
DESCRIPTION="The extensible, customizable, self-documenting real-time display editor"
|
||||
HOMEPAGE="https://www.gnu.org/software/emacs/"
|
||||
|
||||
LICENSE="GPL-3+ FDL-1.3+ BSD HPND MIT W3C unicode PSF-2"
|
||||
IUSE="acl alsa aqua athena cairo dbus dynamic-loading games gconf gfile gif +gmp gpm gsettings gtk gui gzip-el harfbuzz imagemagick +inotify jpeg json kerberos lcms libxml2 livecd m17n-lib mailutils motif png selinux sound source ssl svg systemd +threads tiff toolkit-scroll-bars wide-int Xaw3d xft +xpm xwidgets zlib"
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="app-emacs/emacs-common-gentoo[games?,gui(-)?]
|
||||
sys-libs/ncurses:0=
|
||||
acl? ( virtual/acl )
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
dbus? ( sys-apps/dbus )
|
||||
games? ( acct-group/gamestat )
|
||||
gmp? ( dev-libs/gmp:0= )
|
||||
gpm? ( sys-libs/gpm )
|
||||
!inotify? ( gfile? ( >=dev-libs/glib-2.28.6 ) )
|
||||
json? ( dev-libs/jansson )
|
||||
kerberos? ( virtual/krb5 )
|
||||
lcms? ( media-libs/lcms:2 )
|
||||
libxml2? ( >=dev-libs/libxml2-2.2.0 )
|
||||
mailutils? ( net-mail/mailutils[clients] )
|
||||
!mailutils? ( acct-group/mail net-libs/liblockfile )
|
||||
selinux? ( sys-libs/libselinux )
|
||||
ssl? ( net-libs/gnutls:0= )
|
||||
systemd? ( sys-apps/systemd )
|
||||
zlib? ( sys-libs/zlib )
|
||||
gui? ( !aqua? (
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXext
|
||||
x11-libs/libXfixes
|
||||
x11-libs/libXinerama
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libxcb
|
||||
x11-misc/xbitmaps
|
||||
gconf? ( >=gnome-base/gconf-2.26.2 )
|
||||
gsettings? ( >=dev-libs/glib-2.28.6 )
|
||||
gif? ( media-libs/giflib:0= )
|
||||
jpeg? ( virtual/jpeg:0= )
|
||||
png? ( >=media-libs/libpng-1.4:0= )
|
||||
svg? ( >=gnome-base/librsvg-2.0 )
|
||||
tiff? ( media-libs/tiff:0 )
|
||||
xpm? ( x11-libs/libXpm )
|
||||
imagemagick? ( >=media-gfx/imagemagick-6.6.2:0= )
|
||||
xft? (
|
||||
media-libs/fontconfig
|
||||
media-libs/freetype
|
||||
x11-libs/libXft
|
||||
x11-libs/libXrender
|
||||
cairo? ( >=x11-libs/cairo-1.12.18 )
|
||||
harfbuzz? ( media-libs/harfbuzz:0= )
|
||||
m17n-lib? (
|
||||
>=dev-libs/libotf-0.9.4
|
||||
>=dev-libs/m17n-lib-1.5.1
|
||||
)
|
||||
)
|
||||
gtk? (
|
||||
x11-libs/gtk+:3
|
||||
xwidgets? (
|
||||
net-libs/webkit-gtk:4=
|
||||
x11-libs/libXcomposite
|
||||
)
|
||||
)
|
||||
!gtk? (
|
||||
motif? (
|
||||
>=x11-libs/motif-2.3:0
|
||||
x11-libs/libXpm
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
)
|
||||
!motif? (
|
||||
Xaw3d? (
|
||||
x11-libs/libXaw3d
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
)
|
||||
!Xaw3d? ( athena? (
|
||||
x11-libs/libXaw
|
||||
x11-libs/libXmu
|
||||
x11-libs/libXt
|
||||
) )
|
||||
)
|
||||
)
|
||||
) )"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
gui? ( !aqua? ( x11-base/xorg-proto ) )"
|
||||
|
||||
BDEPEND="app-eselect/eselect-emacs
|
||||
sys-apps/texinfo
|
||||
virtual/pkgconfig
|
||||
gzip-el? ( app-arch/gzip )"
|
||||
|
||||
RDEPEND="${RDEPEND}
|
||||
!app-editors/emacs-vcs:27
|
||||
app-eselect/eselect-emacs"
|
||||
|
||||
EMACS_SUFFIX="emacs-${SLOT}"
|
||||
SITEFILE="20${EMACS_SUFFIX}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
if [[ ${PV##*.} = 9999 ]]; then
|
||||
FULL_VERSION=$(sed -n 's/^AC_INIT([^,]*,[ \t]*\([^ \t,)]*\).*/\1/p' \
|
||||
configure.ac)
|
||||
[[ ${FULL_VERSION} ]] || die "Cannot determine current Emacs version"
|
||||
einfo "Emacs branch: ${EGIT_BRANCH}"
|
||||
einfo "Commit: ${EGIT_VERSION}"
|
||||
einfo "Emacs version number: ${FULL_VERSION}"
|
||||
[[ ${FULL_VERSION} =~ ^${PV%.*}(\..*)?$ ]] \
|
||||
|| die "Upstream version number changed to ${FULL_VERSION}"
|
||||
fi
|
||||
|
||||
eapply_user
|
||||
|
||||
# Fix filename reference in redirected man page
|
||||
sed -i -e "/^\\.so/s/etags/&-${EMACS_SUFFIX}/" doc/man/ctags.1 || die
|
||||
|
||||
#AT_M4DIR=m4 eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
strip-flags
|
||||
filter-flags -pie #526948
|
||||
|
||||
if use ia64; then
|
||||
replace-flags "-O[2-9]" -O1 #325373
|
||||
else
|
||||
replace-flags "-O[3-9]" -O2
|
||||
fi
|
||||
|
||||
local myconf
|
||||
|
||||
if use alsa; then
|
||||
use sound || ewarn \
|
||||
"USE flag \"alsa\" overrides \"-sound\"; enabling sound support."
|
||||
myconf+=" --with-sound=alsa"
|
||||
else
|
||||
myconf+=" --with-sound=$(usex sound oss)"
|
||||
fi
|
||||
|
||||
if ! use gui; then
|
||||
einfo "Configuring to build without window system support"
|
||||
myconf+=" --without-x --without-ns"
|
||||
elif use aqua; then
|
||||
einfo "Configuring to build with Nextstep (Macintosh Cocoa) support"
|
||||
myconf+=" --with-ns --disable-ns-self-contained"
|
||||
myconf+=" --without-x"
|
||||
else
|
||||
myconf+=" --with-x --without-ns"
|
||||
myconf+=" $(use_with gconf)"
|
||||
myconf+=" $(use_with gsettings)"
|
||||
myconf+=" $(use_with toolkit-scroll-bars)"
|
||||
myconf+=" $(use_with gif)"
|
||||
myconf+=" $(use_with jpeg)"
|
||||
myconf+=" $(use_with png)"
|
||||
myconf+=" $(use_with svg rsvg)"
|
||||
myconf+=" $(use_with tiff)"
|
||||
myconf+=" $(use_with xpm)"
|
||||
myconf+=" $(use_with imagemagick)"
|
||||
|
||||
if use xft; then
|
||||
myconf+=" --with-xft"
|
||||
myconf+=" $(use_with cairo)"
|
||||
myconf+=" $(use_with harfbuzz)"
|
||||
myconf+=" $(use_with m17n-lib libotf)"
|
||||
myconf+=" $(use_with m17n-lib m17n-flt)"
|
||||
else
|
||||
myconf+=" --without-xft"
|
||||
myconf+=" --without-cairo"
|
||||
myconf+=" --without-libotf --without-m17n-flt"
|
||||
use cairo && ewarn \
|
||||
"USE flag \"cairo\" has no effect if \"xft\" is not set."
|
||||
use m17n-lib && ewarn \
|
||||
"USE flag \"m17n-lib\" has no effect if \"xft\" is not set."
|
||||
fi
|
||||
|
||||
local f line
|
||||
if use gtk; then
|
||||
einfo "Configuring to build with GIMP Toolkit (GTK+)"
|
||||
while read line; do ewarn "${line}"; done <<-EOF
|
||||
Your version of GTK+ will have problems with closing open
|
||||
displays. This is no problem if you just use one display, but
|
||||
if you use more than one and close one of them Emacs may crash.
|
||||
See <https://gitlab.gnome.org/GNOME/gtk/-/issues/221> and
|
||||
<https://gitlab.gnome.org/GNOME/gtk/-/issues/2315>.
|
||||
If you intend to use more than one display, then it is strongly
|
||||
recommended that you compile Emacs with the Athena/Lucid or the
|
||||
Motif toolkit instead.
|
||||
EOF
|
||||
myconf+=" --with-x-toolkit=gtk3 $(use_with xwidgets)"
|
||||
for f in motif Xaw3d athena; do
|
||||
use ${f} && ewarn \
|
||||
"USE flag \"${f}\" has no effect if \"gtk\" is set."
|
||||
done
|
||||
elif use motif; then
|
||||
einfo "Configuring to build with Motif toolkit"
|
||||
myconf+=" --with-x-toolkit=motif"
|
||||
for f in Xaw3d athena; do
|
||||
use ${f} && ewarn \
|
||||
"USE flag \"${f}\" has no effect if \"motif\" is set."
|
||||
done
|
||||
elif use athena || use Xaw3d; then
|
||||
einfo "Configuring to build with Athena/Lucid toolkit"
|
||||
myconf+=" --with-x-toolkit=lucid $(use_with Xaw3d xaw3d)"
|
||||
else
|
||||
einfo "Configuring to build with no toolkit"
|
||||
myconf+=" --with-x-toolkit=no"
|
||||
fi
|
||||
! use gtk && use xwidgets && ewarn \
|
||||
"USE flag \"xwidgets\" has no effect if \"gtk\" is not set."
|
||||
fi
|
||||
|
||||
if tc-is-cross-compiler; then
|
||||
# Configure a CBUILD directory when cross-compiling to make tools
|
||||
mkdir "${S}-build" && pushd "${S}-build" >/dev/null || die
|
||||
ECONF_SOURCE="${S}" econf_build --without-all --without-x-toolkit
|
||||
popd >/dev/null || die
|
||||
# Don't try to execute the binary for dumping during the build
|
||||
myconf+=" --with-dumping=none"
|
||||
else
|
||||
myconf+=" --with-dumping=pdumper"
|
||||
fi
|
||||
|
||||
econf \
|
||||
--program-suffix="-${EMACS_SUFFIX}" \
|
||||
--includedir="${EPREFIX}"/usr/include/${EMACS_SUFFIX} \
|
||||
--infodir="${EPREFIX}"/usr/share/info/${EMACS_SUFFIX} \
|
||||
--localstatedir="${EPREFIX}"/var \
|
||||
--enable-locallisppath="${EPREFIX}/etc/emacs:${EPREFIX}${SITELISP}" \
|
||||
--without-compress-install \
|
||||
--without-hesiod \
|
||||
--without-pop \
|
||||
--with-file-notification=$(usev inotify || usev gfile || echo no) \
|
||||
--with-pdumper \
|
||||
$(use_enable acl) \
|
||||
$(use_with dbus) \
|
||||
$(use_with dynamic-loading modules) \
|
||||
$(use_with games gameuser ":gamestat") \
|
||||
$(use_with gmp libgmp) \
|
||||
$(use_with gpm) \
|
||||
$(use_with json) \
|
||||
$(use_with kerberos) $(use_with kerberos kerberos5) \
|
||||
$(use_with lcms lcms2) \
|
||||
$(use_with libxml2 xml2) \
|
||||
$(use_with mailutils) \
|
||||
$(use_with selinux) \
|
||||
$(use_with ssl gnutls) \
|
||||
$(use_with systemd libsystemd) \
|
||||
$(use_with threads) \
|
||||
$(use_with wide-int) \
|
||||
$(use_with zlib) \
|
||||
${myconf}
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if tc-is-cross-compiler; then
|
||||
# Build native tools for compiling lisp etc.
|
||||
emake -C "${S}-build" src
|
||||
emake lib # Cross-compile dependencies first for timestamps
|
||||
# Save native build tools in the cross-directory
|
||||
cp "${S}-build"/lib-src/make-{docfile,fingerprint} lib-src || die
|
||||
# Specify the native Emacs to compile lisp
|
||||
emake -C lisp all EMACS="${S}-build/src/emacs"
|
||||
fi
|
||||
|
||||
emake
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" NO_BIN_LINK=t BLESSMAIL_TARGET= install
|
||||
|
||||
mv "${ED}"/usr/bin/{emacs-${FULL_VERSION}-,}${EMACS_SUFFIX} || die
|
||||
mv "${ED}"/usr/share/man/man1/{emacs-,}${EMACS_SUFFIX}.1 || die
|
||||
mv "${ED}"/usr/share/metainfo/{emacs-,}${EMACS_SUFFIX}.appdata.xml || die
|
||||
|
||||
# move info dir to avoid collisions with the dir file generated by portage
|
||||
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{,.orig} || die
|
||||
touch "${ED}"/usr/share/info/${EMACS_SUFFIX}/.keepinfodir
|
||||
docompress -x /usr/share/info/${EMACS_SUFFIX}/dir.orig
|
||||
|
||||
# movemail must be setgid mail
|
||||
if ! use mailutils; then
|
||||
fowners root:mail /usr/libexec/emacs/${FULL_VERSION}/${CHOST}/movemail
|
||||
fperms 2751 /usr/libexec/emacs/${FULL_VERSION}/${CHOST}/movemail
|
||||
fi
|
||||
|
||||
# avoid collision between slots, see bug #169033 e.g.
|
||||
rm "${ED}"/usr/share/emacs/site-lisp/subdirs.el
|
||||
rm -rf "${ED}"/usr/share/{appdata,applications,icons}
|
||||
rm -rf "${ED}/usr/$(get_libdir)"
|
||||
rm -rf "${ED}"/var
|
||||
|
||||
# remove unused <version>/site-lisp dir
|
||||
rm -rf "${ED}"/usr/share/emacs/${FULL_VERSION}/site-lisp
|
||||
|
||||
# remove COPYING file (except for etc/COPYING used by describe-copying)
|
||||
rm "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp/COPYING
|
||||
|
||||
if use systemd; then
|
||||
insinto /usr/lib/systemd/user
|
||||
sed -e "/^##/d" \
|
||||
-e "/^ExecStart/s,emacs,${EPREFIX}/usr/bin/${EMACS_SUFFIX}," \
|
||||
-e "/^ExecStop/s,emacsclient,${EPREFIX}/usr/bin/&-${EMACS_SUFFIX}," \
|
||||
etc/emacs.service | newins - ${EMACS_SUFFIX}.service
|
||||
assert
|
||||
fi
|
||||
|
||||
if use gzip-el; then
|
||||
# compress .el files when a corresponding .elc exists
|
||||
find "${ED}"/usr/share/emacs/${FULL_VERSION}/lisp -type f \
|
||||
-name "*.elc" -print | sed 's/\.elc$/.el/' | xargs gzip -9n
|
||||
assert "gzip .el failed"
|
||||
fi
|
||||
|
||||
local cdir
|
||||
if use source; then
|
||||
cdir="/usr/share/emacs/${FULL_VERSION}/src"
|
||||
insinto "${cdir}"
|
||||
# This is not meant to install all the source -- just the
|
||||
# C source you might find via find-function
|
||||
doins src/*.{c,h,m}
|
||||
elif has installsources ${FEATURES}; then
|
||||
cdir="/usr/src/debug/${CATEGORY}/${PF}/${S#"${WORKDIR}/"}/src"
|
||||
fi
|
||||
|
||||
sed -e "${cdir:+#}/^Y/d" -e "s/^[XY]//" >"${T}/${SITEFILE}" <<-EOF || die
|
||||
X
|
||||
;;; ${EMACS_SUFFIX} site-lisp configuration
|
||||
X
|
||||
(when (string-match "\\\\\`${FULL_VERSION//./\\\\.}\\\\>" emacs-version)
|
||||
Y (setq find-function-C-source-directory
|
||||
Y "${EPREFIX}${cdir}")
|
||||
X (let ((path (getenv "INFOPATH"))
|
||||
X (dir "${EPREFIX}/usr/share/info/${EMACS_SUFFIX}")
|
||||
X (re "\\\\\`${EPREFIX}/usr/share\\\\>"))
|
||||
X (and path
|
||||
X ;; move Emacs Info dir before anything else in /usr/share
|
||||
X (let* ((p (cons nil (split-string path ":" t))) (q p))
|
||||
X (while (and (cdr q) (not (string-match re (cadr q))))
|
||||
X (setq q (cdr q)))
|
||||
X (setcdr q (cons dir (delete dir (cdr q))))
|
||||
X (setq Info-directory-list (prune-directory-list (cdr p)))))))
|
||||
EOF
|
||||
elisp-site-file-install "${T}/${SITEFILE}" || die
|
||||
|
||||
dodoc README BUGS CONTRIBUTE
|
||||
|
||||
if use gui && use aqua; then
|
||||
dodir /Applications/Gentoo
|
||||
rm -rf "${ED}"/Applications/Gentoo/${EMACS_SUFFIX^}.app
|
||||
mv nextstep/Emacs.app \
|
||||
"${ED}"/Applications/Gentoo/${EMACS_SUFFIX^}.app || die
|
||||
fi
|
||||
|
||||
local DOC_CONTENTS="You can set the version to be started by
|
||||
/usr/bin/emacs through the Emacs eselect module, which also
|
||||
redirects man and info pages. Therefore, several Emacs versions can
|
||||
be installed at the same time. \"man emacs.eselect\" for details.
|
||||
\\n\\nIf you upgrade from a previous major version of Emacs, then
|
||||
it is strongly recommended that you use app-admin/emacs-updater
|
||||
to rebuild all byte-compiled elisp files of the installed Emacs
|
||||
packages."
|
||||
if use gui; then
|
||||
DOC_CONTENTS+="\\n\\nYou need to install some fonts for Emacs.
|
||||
Installing media-fonts/font-adobe-{75,100}dpi on the X server's
|
||||
machine would satisfy basic Emacs requirements under X11.
|
||||
See also https://wiki.gentoo.org/wiki/Xft_support_for_GNU_Emacs
|
||||
for how to enable anti-aliased fonts."
|
||||
use aqua && DOC_CONTENTS+="\\n\\n${EMACS_SUFFIX^}.app is in
|
||||
\"${EPREFIX}/Applications/Gentoo\". You may want to copy or
|
||||
symlink it into /Applications by yourself."
|
||||
fi
|
||||
tc-is-cross-compiler && DOC_CONTENTS+="\\n\\nEmacs did not write
|
||||
a portable dump file due to being cross-compiled.
|
||||
To create this file at run time, execute the following command:
|
||||
\\n${EMACS_SUFFIX} --batch -Q --eval='(dump-emacs-portable
|
||||
\"/usr/libexec/emacs/${FULL_VERSION}/${CHOST}/emacs.pdmp\")'"
|
||||
readme.gentoo_create_doc
|
||||
}
|
||||
|
||||
pkg_preinst() {
|
||||
# move Info dir file to correct name
|
||||
if [[ -d ${ED}/usr/share/info ]]; then
|
||||
mv "${ED}"/usr/share/info/${EMACS_SUFFIX}/dir{.orig,} || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
elisp-site-regen
|
||||
readme.gentoo_print_elog
|
||||
|
||||
if use livecd; then
|
||||
# force an update of the emacs symlink for the livecd/dvd,
|
||||
# because some microemacs packages set it with USE=livecd
|
||||
eselect emacs update
|
||||
elif [[ $(readlink "${EROOT}"/usr/bin/emacs) = ${EMACS_SUFFIX} ]]; then
|
||||
# refresh symlinks in case any installed files have changed
|
||||
eselect emacs set ${EMACS_SUFFIX}
|
||||
else
|
||||
eselect emacs update ifunset
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
elisp-site-regen
|
||||
eselect emacs update ifunset
|
||||
}
|
Binary file not shown.
@ -1,4 +1,4 @@
|
||||
AUX remove-local-prefix.patch 841 BLAKE2B c29e10ed335d431c0cbd88a26028c03599c32d9ded001fa1f61f805589bd1c52352b52ac8f99c147af315ee91d65681d1c0aa355567108f92767f36fa6f6dee1 SHA512 c15ac87af402e06296d76459a13b5817be7393839ca1566c6f0eefaa3055f7f3f0dc7589f762d9caa0e0bd356790bbb1aca5c3ee6166155577bf3520f25ed125
|
||||
DIST fuse-utils-1.4.3.tar.gz 501006 BLAKE2B 0637fe05b71416e89eb61e3618ff45bd71250201924fb3741a4c5b9898d09b30acecba9957baeaa864c2c9cfe1bcb9cb38a2af83368bc5729221cec36a1eda47 SHA512 13404d1be81a2de9262cd79cce9dd8dc3f17238fdbb75da8a724b76b0976c03f34da9978af36b808103fedcf3f5d5da4bb10f251c5510127d59ca8de5607b99e
|
||||
EBUILD fuse-utils-1.4.3.ebuild 906 BLAKE2B 5d0e2325e3256617e87a1a147626cfa74b3e77638dc0218a45952e469cdf046ca76e97f61667f41bd63965795fbdc69ec3adf0689f6f7464795608dca71415bd SHA512 0d64435c04cfeb91259f0969aeb99b2d84128861772f9c2baa344bb4956b18c9d14e0d8e7251c9491b7a0fabd6fb82d8e590ef210263c6e5050b2dd11724b347
|
||||
EBUILD fuse-utils-1.4.3-r1.ebuild 926 BLAKE2B afe7ad8f5fb60a8350835acf5d7710991d28b25f01bb9082a653759053d16815d9479cc956a62f2ac76755c0e604819a8c55792c8f44efe215b9292b6152ec4a SHA512 5b0bb4157d32d7916e75ef2f3f792d5dcb0e10f3aba71fbc96112d0a732baba6cbb2d3a1b4f4bb6540327ec2c8910869543256bc926dfa8497d0a044a3c960d5
|
||||
MISC metadata.xml 468 BLAKE2B d1653b29114c8a61280253b82ad6de47e100362a9a6113706648a25d3803e95eba5438c042b1af91c49e570eedef17598f4ce0987d3d01e76e6b3f4a908d7892 SHA512 b2a1360187920f5cb8516f9377cc1bec1732b84b83038a17ba33347b2bea403cdbfeb09a0abeb8e55157445f4cff13e803369bc125fc0a531aaa509b3aafe9e2
|
||||
|
@ -1,5 +1,7 @@
|
||||
AUX multiple-definition.patch 508 BLAKE2B 9568d9f736d838ba4506e9bf6fc3f514952d086e1b412e19f56cc0646564a99411086e6a3a9ba106d741c727078a286c49a932d151f93222bbfd5c1f32221c70 SHA512 544a012a352f68e843c796a8ba2a2cf7b4586e3c99b059ef387fc7f343cf42c66de11c17bf9c15f92a819ec3e32fe3588a02bc7095996db7b13f536e66555795
|
||||
AUX remove-local-prefix.patch 745 BLAKE2B 752dc9df4ad9b33a84493e4939d9c30687a730ecc628301a4bbc16f46410d73c8f7b64376788721f04c06404685ef300c2dc423c1843258748c377c6d61232a4 SHA512 25771be029e61654398bb1c36b1c31bc44f136e7e369c72faa3869f94807558c0d1b324ac803d79a898410fd14661d02a8286cda19dc25c79ebca6c387b817a3
|
||||
DIST fuse-1.5.7.tar.gz 1634568 BLAKE2B 9d2f3c310132dc57336995c31adeb37d727506719d1089b2009a2f44cbfa59fc9c4e9252aeff64cdd22b7326328518b5da33af51be687f321b891b9d1dd2b646 SHA512 ac11e03fc203f98433253fb72d7700cf6285ad8662147f318bb4ceda3888bc865b80d85473a3b2bda9e0971989b1579fc928f41ddabbf01d58358362066be13d
|
||||
DIST fuse-1.6.0.tar.gz 1686171 BLAKE2B d1e6b166f2f649f408349b16a5eb40dd414750ed7a805eb6505b6c81be6ed7bcaa4e6f0b14057645172add1b1a77881f90b64767390fe1a64a486168f452d29d SHA512 5096b24b5b3d812942a7ad401b886b6a99f5493686912cb4aff18ede65404ae97a9bcafa6337aaed4378382f2a170918797d7d4570bb809476be5aa9fc625b8b
|
||||
EBUILD fuse-1.5.7.ebuild 1913 BLAKE2B e3cbe4591bf23d091555ec8d50cfce8ea5cc4ea42dd21788f29445d36c05802875fe01801401591f06d836c9009b403e09bba4bdf2e1b06930ea380db195abb8 SHA512 483ec51bdd5a493dfcb9fa66b576b5ad67e6fca9b00d81639127a19833344b99b9107e0c4f8d75d923ca825c10e76113461e26489a0f2acf7c545269523f0d1b
|
||||
MISC metadata.xml 666 BLAKE2B 829d930b9b5a8b72b70da9038d5f11e2822523fee8b09e3aae12489c9252f47c4aa44c34b2212ffaa0397a0c27d868e6f108563f67ae144919a08ff2e1f66193 SHA512 2b1c570adea1823501b44331078fab8ff942d274f5a338a21f84e5a119758164265755352fbf3ffa6b485607a9f0c051f9d671f70db52eaab700d6d17756b80c
|
||||
EBUILD fuse-1.6.0.ebuild 2916 BLAKE2B 0af606e43136c69fec26f7056225ff7ee2e0ed2ded6c83244a53a9e898b59568a37967507ae0d4537ec695a27c7844a2ee75b2d8e0c6254a3fdc7cc35ec3123d SHA512 1dc13be98ee7b8550836e77ce03acd775c129dee8135ddd99abcc2d3ee6486eb3b14f551de16b6ff4dd0b9198cc8d0b0e0ff4027b8fc662911dafc6c224082d7
|
||||
MISC metadata.xml 728 BLAKE2B 53fd75cce07e995581475b414394c05e5acadf5e49b3a6c9fcc4e8f5f34b14209f2628fb2ccee98d1018266888aa76778e63b87124a87a14f179601891153869 SHA512 0ec242e0640d786ed5e82c3e0553e4c054b4e493a7851aa47b1ed817f6826014aa2d1a91f8a398baefe76a5aa2535fb260003386f695a53c9c807b10994926b9
|
||||
|
@ -0,0 +1,117 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools xdg
|
||||
|
||||
DESCRIPTION="Free Unix Spectrum Emulator by Philip Kendall"
|
||||
HOMEPAGE="http://fuse-emulator.sourceforge.net"
|
||||
SRC_URI="mirror://sourceforge/fuse-emulator/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="alsa ao backend-X backend-fbcon +backend-gtk3 backend-sdl backend-svga gpm joystick memlimit png -pulseaudio +xml +zlib"
|
||||
|
||||
# TODO:
|
||||
# - allow using sdl audio driver without using for the UI
|
||||
# - allow using sdl joystick support with gtk3 or X UI in place of libjsw
|
||||
# - when using sdl for one of the above but not the UI, allow using sdl2 instead
|
||||
|
||||
# At most one audio driver and at most one UI back-end can be enabled at a time
|
||||
REQUIRED_USE="?? ( alsa ao backend-sdl pulseaudio )
|
||||
?? ( backend-X backend-fbcon backend-gtk3 backend-sdl backend-svga )"
|
||||
|
||||
RDEPEND="
|
||||
>=app-emulation/libspectrum-1.5.0[zlib?]
|
||||
dev-libs/glib:2
|
||||
alsa? ( media-libs/alsa-lib )
|
||||
ao? ( media-libs/libao )
|
||||
backend-X? ( x11-libs/libX11 x11-libs/libXext )
|
||||
backend-gtk3? ( x11-libs/gtk+:3 )
|
||||
backend-sdl? ( media-libs/libsdl[joystick,sound] )
|
||||
backend-svga? ( media-libs/svgalib )
|
||||
gpm? ( backend-fbcon? ( sys-libs/gpm ) )
|
||||
joystick? ( !backend-sdl? ( media-libs/libjsw ) )
|
||||
png? ( media-libs/libpng:0= )
|
||||
pulseaudio? ( media-sound/pulseaudio )
|
||||
xml? ( dev-libs/libxml2:2 )
|
||||
zlib? ( sys-libs/zlib )"
|
||||
DEPEND="${RDEPEND}
|
||||
backend-fbcon? ( virtual/linux-sources )"
|
||||
BDEPEND="dev-lang/perl
|
||||
virtual/pkgconfig"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog README THANKS )
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/remove-local-prefix.patch
|
||||
)
|
||||
|
||||
_fuse_audio_driver() {
|
||||
if use alsa; then
|
||||
echo "alsa"
|
||||
elif use ao; then
|
||||
echo "libao"
|
||||
elif use backend-sdl; then
|
||||
echo "sdl"
|
||||
elif use pulseaudio; then
|
||||
echo "pulseaudio"
|
||||
else
|
||||
echo "null"
|
||||
fi
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
xdg_src_prepare
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
--enable-desktop-integration
|
||||
--without-win32
|
||||
--with-audio-driver="$(_fuse_audio_driver)"
|
||||
$(use_with gpm)
|
||||
$(use_with joystick)
|
||||
$(use_enable memlimit smallmem)
|
||||
$(use_with png)
|
||||
$(use_with xml libxml2)
|
||||
$(use_with zlib)
|
||||
)
|
||||
|
||||
# The pure-X UI hasn't got its own configure argument, instead it is
|
||||
# what is used under Linux if all other back-ends have been disabled
|
||||
# - and all except the Gtk+ one are off by default.
|
||||
if use backend-X; then
|
||||
myconf+=("--without-gtk")
|
||||
elif use backend-fbcon; then
|
||||
myconf+=("--with-fb")
|
||||
elif use backend-gtk3; then
|
||||
myconf+=("--with-gtk")
|
||||
elif use backend-sdl; then
|
||||
myconf+=("--with-sdl")
|
||||
elif use backend-svga; then
|
||||
myconf+=("--with-svgalib")
|
||||
else
|
||||
myconf+=("--with-null-ui")
|
||||
fi
|
||||
|
||||
if use joystick; then
|
||||
myconf+=( $(use_enable backend-sdl ui-joystick) )
|
||||
fi
|
||||
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
emake test
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_pkg_postinst
|
||||
if use pulseaudio; then
|
||||
ewarn "The PulseAudio driver in ${PN} is experimental"
|
||||
fi
|
||||
}
|
@ -1,4 +1,6 @@
|
||||
AUX remove-local-prefix.patch 851 BLAKE2B 1e1b787c10499bfbeafca43b08f4cbd8c7525841c641a3fa1211822a7ec3e98b11c9925b1bd9cc8ac3b14e5d0625c34727a330e00f0e3aaf5aba1871a8810647 SHA512 bae42eec33ff2ae00547d8c649b8164fd5665b70e95b07f95cdcce41e342702de559c4b63d6ce95a97407d2e8012c7fe0142b923603c1c1d25b8978f29aaf7a3
|
||||
DIST libspectrum-1.4.4.tar.gz 568684 BLAKE2B b6ab4fc4173e7de9a7c3b14fda03420a56f02c5c590770158443bc37bee99a55dd3bdf6864f8ca33adb5ed59f4abd5c5b97736456ba2e6e6aaa2b49e07097cc4 SHA512 83bb9242010d49898531bb62e0d4d55439b0b6a548b57a7932f074429aca70cf252dfb195e9751384510b08c98bd6bc8eefd8cb3f82b0c8d07fa245ba66e9fe2
|
||||
DIST libspectrum-1.5.0.tar.gz 602354 BLAKE2B fc62437ececfe2c86b475efa512bf7aa7c5af182e16a00f75f77f78656fca01d46a71ac90b38008ff46e5fd0710b1c671b283d65544b5556d98e8c5b66525c35 SHA512 55f4cf623bc6c469a0fd80751ada694259d834c19d98400ba244aabf2ac21fed7cdd6de069d9ed7326e099bd3bd62c42cfb8a669b64ae002f90a52563fa2dcd1
|
||||
EBUILD libspectrum-1.4.4.ebuild 1040 BLAKE2B c66daea0426b3fbfc816255e49501a9e4162a25436c2dc35519b09e213980f75f3d691b198cc90574d319403f03477efb2ff256a9c9bef7290b65564ed7daa29 SHA512 cc20f0cb9bbfb3d34ba04c4d9a94a58cc14d53363b2a4f8536c0e1368066d3e5970e9a7cafc3f9d564f071b577e3df7e1c008a64168b98912f12208ce6ca9e99
|
||||
EBUILD libspectrum-1.5.0.ebuild 1049 BLAKE2B 4cfc6b4d94b6bc7a403a95c4be47b5f6980f9b1f87721492f7af2a1378f90655559c2ca49fdbc6a4e6282e51c5c04655ad1578fac5ad712329e00fe13fbef837 SHA512 27e3724b0301efb057ea9ac166d873c78e2c739d590aca5d58c11ff9dcbc5935629d319ab3c1c1ccd34ff26b5d1eed318080c24004905acbbaa2f979d93dfcc0
|
||||
MISC metadata.xml 807 BLAKE2B b7480d37223342e7c77327d2dc33bf7debb5436ed2ef5a4633a28e9eb2c8def8b5b44c8c66117297de34129f44d8e43870c625839c02b8684f2801d4ca1b59a3 SHA512 95fed51c49f34cab69fafbc0d814aaa63c302d3443bf9bfefd18bc6bd57d337f0329de1eef0f5656dcf5741d7046b6eb64d780dea1a8d24a9c131dc05dd51503
|
||||
|
@ -0,0 +1,55 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit autotools
|
||||
|
||||
DESCRIPTION="Spectrum emulation library"
|
||||
HOMEPAGE="http://fuse-emulator.sourceforge.net/libspectrum.php"
|
||||
SRC_URI="mirror://sourceforge/fuse-emulator/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
IUSE="audiofile bzip2 gcrypt zlib"
|
||||
|
||||
RDEPEND="dev-libs/glib:2
|
||||
audiofile? ( >=media-libs/audiofile-0.3.6 )
|
||||
bzip2? ( >=app-arch/bzip2-1.0 )
|
||||
gcrypt? ( dev-libs/libgcrypt:0 )
|
||||
zlib? ( sys-libs/zlib )"
|
||||
DEPEND="${RDEPEND}"
|
||||
BDEPEND="dev-lang/perl
|
||||
virtual/pkgconfig"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/remove-local-prefix.patch
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
eautoreconf
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
local myconf=(
|
||||
--disable-static
|
||||
$(use_with audiofile libaudiofile)
|
||||
$(use_with bzip2)
|
||||
$(use_with gcrypt libgcrypt)
|
||||
$(use_with zlib)
|
||||
)
|
||||
econf "${myconf[@]}"
|
||||
}
|
||||
|
||||
src_test() {
|
||||
# check only builds test executable but doesn't run it
|
||||
emake check
|
||||
./test/test || die
|
||||
}
|
||||
|
||||
src_install() {
|
||||
default
|
||||
dodoc doc/*.txt *.txt
|
||||
}
|
@ -1,11 +1,11 @@
|
||||
AUX xen-4.11-efi.patch 1971 BLAKE2B b24f9315cff7f2de2a945088363429b9f4dd7a4101d3f1c0d4bf9733189808f5e1c47f1d90d1784f17fa52ca1626972c81d20c5e1ee3d42d082cdefcf67eb8dc SHA512 17208dc107f4ae4c5ec226c2ac05126817134fb6084cd8923204dc1b014e645e12c34cd11296319127e595ccbf17747931e9df78218bf49814f66e3cc6a789fd
|
||||
AUX xen-4.14-efi.patch 1969 BLAKE2B dec62e9b04ce23025443caa68df2fd69c50a3fdf650bf26047b28f3a72d1aa58124127274cd2c1373a4e133784b2691145c49c9a182bd635aa9c60bb1e45a0c1 SHA512 3e32aac5ba2ec371a3877d64532e8d134c3b4fe3a6644477ee8ecf56cbb8378b20f9d5d7415bec891d96910550a787848779c82ee4b9d57046f4c13235531ea0
|
||||
DIST xen-4.13.2-upstream-patches-3.tar.xz 63660 BLAKE2B 80abc9529ff49e782b64d4b5032f724e7d95fd255c2a06b7065c693d5765e1db1df44ebd5ce00c5a1e1ff24e1e5d344b0c2e459c68282e58fa20963e208272d2 SHA512 35288a1feac1316c33586dad55685e2c6a30100795e31852f78455003ce3dd6906074bea023655ee545a97fe4a0a8ad9a05ab91fd83186e61e5b57d10aa6b155
|
||||
DIST xen-4.13.2-upstream-patches-4.tar.xz 65324 BLAKE2B 0e71e4600fffcf1341a52103a6318485c1da54101ec59dbdb9824be5a5ed1f977135a9c3e4ce48cf14922aa0a2e3ff5097dc870286e3b142d060c22d78079cb3 SHA512 3f0e41b685655c7753204862ea6b8e502ff4b4f76e4788ca07ab93a4bb3c636d24ad933c578f7c6e4c866cfb0d6b7b7234124da7c2fed0a4b34f2fbe401c56e1
|
||||
DIST xen-4.13.2-upstream-patches-5.tar.xz 76580 BLAKE2B 8eeab100c14d769174e7d935d4e081ffc2d72b771f8022ce5c31b89d860ddba5381baf55b87443dc3bc555b404595492d30bc7f2a103c77762004acfce70446e SHA512 5dd5c63267e9542626315efec94642901cff55f4a1f8148c58f86677254381242fce3d6c5c0ae72665b452441c54647d0b9a132a2a18ffb4ff7eaad86ef227de
|
||||
DIST xen-4.13.2.tar.gz 39037826 BLAKE2B ad2b7c3003ca29e5e60a85c581f706ef87d99eadf939ed36ebe8f6698582f7a29dbdaf502039b60a0afe7ad4ae6ce89713e69dc8b8a7d5abe65063da7f1baa5b SHA512 cd3092281c97e9421e303aa288aac04dcccd5536ba7c0ff4d51fbf3d07b5ffacfe3456ba06f5cf63577dafbf8cf3a5d9825ceb5e9ef8ca1427900cc3e57b50a3
|
||||
DIST xen-4.14.1-upstream-patches-1.tar.xz 11676 BLAKE2B 0d593b34e3b1b95b57c54ccc96666eb5bf36d63ba742dd9d6e6f5facdf57be62e1f8375beb23926967e6ea23c1e4fa459bb5087652716d7e45b2309440f81b0d SHA512 e530883d17738b4821fa36fd39a7597bdb42810e40740c7a3363c22945d71af80312340f6d33b18f5999498e59036f22033b7babe217bac7700702d007d5d881
|
||||
DIST xen-4.14.1-upstream-patches-2.tar.xz 22920 BLAKE2B 890cd9bcc3c72b4ed192476a913de0377d50ddeb180e0d6dc4720e86662387a699ad74b263adf2b867b2421fcf3efdcacaa17bf581643afc50c9dc7e8a3dfc60 SHA512 ca0e53f40fe23d9a6c6374b460fcc0c8063e511f03ca86c02291fcb73bf9f91594de6fd615609997e0aac2e9c59ccc8512e4151a1d2646a70f3b5bacd95ad325
|
||||
DIST xen-4.14.1.tar.gz 39970115 BLAKE2B 21e5838b2b4d78420dcaaae2b8fc98ac876230217e6a3764aa643920150b8cef96025663e6a2fc423ab15f7f470b62547e91ce1be0337fc78f00c148c7ff40ab SHA512 c75cbec82793435f5a7026626ffdb2e9a2166b42d2be4b2f1194240e0312458124f0ebd53eeb02ce7330c22afe402a28a96b32f8af66e41e9416fe94535724c9
|
||||
EBUILD xen-4.13.2-r4.ebuild 4443 BLAKE2B 2df57309d69ec69f73e83715e1aaf0f3a273f2adfc756d87a0939b42d1c2c2688fcc755ffd5609a7281648ba9e3ba63114503d4647cc93111bd93c925f5b75f8 SHA512 8b121636cfa76c024b7dd92a0757714133502d143d42587cec19a39514356bd75a2d0b82cb4547ac7ec06370acda9dcd27991f09fd722a79d537aaf9fdaba16a
|
||||
EBUILD xen-4.13.2-r5.ebuild 4460 BLAKE2B 8d0dda6a6c205410d844b8360d2f87de162613882c76f94ea0fde3ca39d30dd75d57b1e18963d22203f19138d3ceb1bf13a6281e8c40e213f1f749374bf73314 SHA512 4789c3808a7631c17df0194435da037ed26d48a68b179aef1638809e793d2ef761cdcc7c4d46f8186273cc9813da3f36090722fc619579affeec16ccf7871ba0
|
||||
EBUILD xen-4.14.1-r1.ebuild 4461 BLAKE2B 9f3674fcb933e69643d915a1a1954b2b43b6f99b1e38f79142733d8627b254e52c74b20455b735300719d995f2905a193883ba459bd30c9a4443ca1f880495ed SHA512 c1a2c4126a2544ea1db06d07127ef8c713c0e7be5d6c99352bb276f1e99baa5bd0fad14d2c0e3e00b0a682600be8d18e6165fa98b2fd72f3365a643efaeb63a1
|
||||
EBUILD xen-4.13.2-r6.ebuild 4461 BLAKE2B 51ec4190284c97258c5eee7769b0bd049fb63be964dc1077010a432b922ec484659e09864006a4186b0b177c9933da0bfc9e3c82cd018107ff46db5631710bcb SHA512 fc3dc7a4e67118f1d744d197111fdc8d9f74832a27d0142282fbc59f7a064421ec7e4913a179ffa293987434ac6b7d30e917c0fedb6d9c0a8f547d050c5c9bdd
|
||||
EBUILD xen-4.14.1-r2.ebuild 4461 BLAKE2B dba0b2e36c540adcef17e9ad611b15937f139cdea43732397f1825b8a2d5b03bf3c30d7b86e335cadbabf3dd4993e8a911e90789898d0900f0664e872c41c1d2 SHA512 32d97681abf3a0a9e17825e088a7221b577ec7902060c3b7a420de388c6ae48657350ec214886802479591a5111f1c6aece6430b38b5afa20e91ed07e272bf17
|
||||
MISC metadata.xml 675 BLAKE2B aee4c4775c388078e51a97212be21fee3ddd4771121a129b7ddf0e2454dc3bd91f4fa1a2ce2a2057c655a0d32ae9631c9fd29a77a247601867949be4aa79de26 SHA512 f77204ce3cffb9c453c779de4cb7e41591972c5b59567a88d02ba079bd6f827d4aec23d9ce7c28b3affcadd370858cb1e66f6448b32e0dfb795af6a1be8598d2
|
||||
|
Binary file not shown.
Binary file not shown.
@ -1,3 +1,5 @@
|
||||
DIST pg_activity-1.6.2.tar.gz 127561 BLAKE2B 5ddebd3068ddc33196903892c01b947ffc50ecff7ec790e196626e87ee8933ff79242e3ba61c207ea1020535c5d85dbbc4ac9e4825a19ab98004bb27ea0b6a6c SHA512 fd743f369201c6ec3762373c39969b2b7632d79a8fb9c8ebd12a88b66b91915c30e445e93162844b4a176cf7e13009c9c8136e973180b00e7cc708ecd66b4853
|
||||
DIST pg_activity-2.1.3.tar.gz 277297 BLAKE2B 9677ebad581e2e66e266e5433454e054274693a8e2e5a959c5f807ec1641f3b02a4c202eac7bddb7abe7e51e131d32d25a513a439e97aca996e79be6e1e9c0be SHA512 e28c75d1b88f6b530820d82327d6428d2388341bd09ba4efec5e80e753aee17e995b4e6d5ee8b35b3b972f20aa1228d525fe0c4bdcb8e365795d568a4a25c076
|
||||
EBUILD pg_activity-1.6.2.ebuild 624 BLAKE2B 023b6368bd071c1fc01eddac90d205293bf0d6edde9a315e8549fe5c20ca8e4fa7048213a9e5e1ecc83c0d8241868ad3593de6fcd572ddead29198a62c9e8704 SHA512 121f3dc7c5d348d27bfd999e5d4dce387466d4a593dfa0aab4f20f1a1d6af80db03c617d340e3976e59b5c3e6fdc63ce73d8201241c540e53c3c1deb1e501151
|
||||
EBUILD pg_activity-2.1.3.ebuild 988 BLAKE2B 69eeb374337b00713cb593f0ba2eee64bf644aec89183105678797205b871ed0e1c67cdb0754eadad4694dbe951d41a4ff544c63bf14d3906cff4a4fd09c694b SHA512 4a03d3b88b369f1be169ca542a0e567d4f4099bb729929d1a428473bf9de9174c254d60d0cfc9ed8b9ae95d0214a50da3f6ca5f508a66900a21cd286d6b318d5
|
||||
MISC metadata.xml 339 BLAKE2B 216c15e347a9dd6061fa95a90fe2a6b5b14f9dcfe7dce8a36376f28dc1c30bad6ae505247d1a5133bf9d8c1d0d61aa07b0f827f1547d563a5046a40e300896ef SHA512 e4b44855c8acd726e3e43cf79e4706077edb2cbccb955ed70c3fe44ee91ed604a057d8b612e4f3950387ee8c96b3fc77fd8e5696e63b896280a243506c7c8853
|
||||
|
@ -0,0 +1,43 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="7"
|
||||
PYTHON_COMPAT=( python3_7 python3_8 python3_9 )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Realtime PostgreSQL database server monitoring tool"
|
||||
HOMEPAGE="https://github.com/dalibo/pg_activity"
|
||||
SRC_URI="https://github.com/dalibo/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64"
|
||||
SLOT="0"
|
||||
LICENSE="POSTGRESQL"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/attrs[${PYTHON_USEDEP}]
|
||||
dev-python/blessed[${PYTHON_USEDEP}]
|
||||
dev-python/humanize[${PYTHON_USEDEP}]
|
||||
dev-python/psutil[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
dev-python/attrs[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/psycopg:2[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
# https://github.com/dalibo/pg_activity/issues/201
|
||||
export COLUMNS="80"
|
||||
epytest -k 'not test_ui.txt'
|
||||
}
|
||||
|
||||
src_install() {
|
||||
distutils-r1_src_install
|
||||
doman docs/man/${PN}.1
|
||||
}
|
Binary file not shown.
@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
DESCRIPTION="Elixir programming language"
|
||||
HOMEPAGE="https://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 ~arm64 ~ia64 ~ppc ~sparc ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
>=dev-lang/erlang-21:0=[ssl]
|
||||
"
|
||||
# 'mix' tool collides with sci-biology/phylip, bug #537514
|
||||
RDEPEND="${DEPEND}
|
||||
!!sci-biology/phylip
|
||||
"
|
||||
DEPEND+="
|
||||
test? ( dev-vcs/git )
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/${PN}-1.9.1-disable-network-tests.patch
|
||||
"${FILESDIR}"/${PN}-1.10.3-no-Q.patch
|
||||
"${FILESDIR}"/${PN}-1.10.3-epmd-daemon.patch
|
||||
"${FILESDIR}"/${PN}-1.11.2-mksh.patch
|
||||
)
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" LIBDIR="$(get_libdir)" PREFIX="${EPREFIX}/usr" install
|
||||
dodoc README.md CHANGELOG.md CODE_OF_CONDUCT.md
|
||||
}
|
@ -1,29 +0,0 @@
|
||||
From 544930de3b1c754fa8803169902a63bce7cc02ba Mon Sep 17 00:00:00 2001
|
||||
From: Adam Goode <adam@spicenitz.org>
|
||||
Date: Wed, 6 Feb 2008 20:17:51 -0500
|
||||
Subject: [PATCH] Remove PROT_EXEC from mprotect
|
||||
|
||||
It looks like mprotect is used here as part of signal handling.
|
||||
There doesn't seems to be a reason to have the area of memory
|
||||
marked as executable. In fact, on Fedora 9, this causes MLton
|
||||
compiled binaries (including MLton itself) to fail.
|
||||
---
|
||||
runtime/platform/mmap-protect.c | 2 +-
|
||||
1 files changed, 1 insertions(+), 1 deletions(-)
|
||||
|
||||
diff --git a/runtime/platform/mmap-protect.c b/runtime/platform/mmap-protect.c
|
||||
index f0dea49..df42215 100644
|
||||
--- a/runtime/platform/mmap-protect.c
|
||||
+++ b/runtime/platform/mmap-protect.c
|
||||
@@ -7,7 +7,7 @@ void *GC_mmapAnon_safe_protect (void *start, size_t length,
|
||||
if (mprotect (low, dead_low, PROT_NONE))
|
||||
diee ("mprotect failed");
|
||||
result = (void*)((pointer)low + dead_low);
|
||||
- if (mprotect (result, length, PROT_READ | PROT_WRITE | PROT_EXEC))
|
||||
+ if (mprotect (result, length, PROT_READ | PROT_WRITE))
|
||||
diee ("mprotect failed");
|
||||
high = (void*)((pointer)result + length);
|
||||
if (mprotect (high, dead_high, PROT_NONE))
|
||||
--
|
||||
1.5.4
|
||||
|
@ -1,66 +0,0 @@
|
||||
--- mlton-20130715-orig/bin/upgrade-basis 2013-07-16 05:59:09.000000000 +1000
|
||||
+++ mlton-20130715/bin/upgrade-basis 2013-12-17 18:17:24.165889500 +1100
|
||||
@@ -28,7 +28,7 @@
|
||||
tmp="$$.sml"
|
||||
|
||||
echo "val () = print \"I work\"" >"$tmp"
|
||||
-if ! mlton "$tmp" 1>&2; then
|
||||
+if ! mlton -link-opt -fno-PIE "$tmp" 1>&2; then
|
||||
die "Error: cannot upgrade basis because the compiler doesn't work"
|
||||
fi
|
||||
|
||||
--- mlton-20130715-orig/mlton/Makefile 2013-07-16 05:59:09.000000000 +1000
|
||||
+++ mlton-20130715/mlton/Makefile 2013-12-17 23:35:06.137421195 +1100
|
||||
@@ -106,7 +106,7 @@
|
||||
rm -f control/version.sml
|
||||
$(MAKE) control/version.sml
|
||||
@echo 'Compiling mlton (takes a while)'
|
||||
- mlton $(FLAGS) $(FILE)
|
||||
+ mlton $(FLAGS) -link-opt -fno-PIE $(FILE)
|
||||
|
||||
.PHONY: def-use
|
||||
def-use: mlton.def-use
|
||||
--- mlton-20130715-orig/mllex/Makefile 2013-07-16 05:59:09.000000000 +1000
|
||||
+++ mlton-20130715/mllex/Makefile 2013-12-18 07:03:29.592171611 +1100
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
$(NAME): $(NAME).mlb $(shell PATH="$(BIN):$$PATH" && "$(MLTON)" -stop f $(NAME).mlb)
|
||||
@echo 'Compiling $(NAME)'
|
||||
- "$(MLTON)" $(FLAGS) $(NAME).mlb
|
||||
+ "$(MLTON)" $(FLAGS) -link-opt -fno-PIE $(NAME).mlb
|
||||
|
||||
html/index.html: $(TEX_FILES)
|
||||
mkdir -p html
|
||||
--- mlton-20130715-orig/mlnlffigen/Makefile 2013-07-16 05:59:09.000000000 +1000
|
||||
+++ mlton-20130715/mlnlffigen/Makefile 2013-12-18 11:55:33.590660407 +1100
|
||||
@@ -22,7 +22,7 @@
|
||||
|
||||
$(NAME): $(NAME).mlb $(shell PATH="$(BIN):$$PATH" && "$(MLTON)" -stop f $(NAME).mlb)
|
||||
@echo 'Compiling $(NAME)'
|
||||
- $(MLTON) $(FLAGS) $(NAME).mlb
|
||||
+ $(MLTON) $(FLAGS) -link-opt -fno-PIE $(NAME).mlb
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
--- mlton-20130715-orig/mlprof/Makefile 2013-07-16 05:59:09.000000000 +1000
|
||||
+++ mlton-20130715/mlprof/Makefile 2013-12-20 14:02:50.292677796 +1100
|
||||
@@ -21,7 +21,7 @@
|
||||
|
||||
$(NAME): $(NAME).mlb $(shell PATH="$(BIN):$$PATH" && "$(MLTON)" -stop f $(NAME).mlb)
|
||||
@echo 'Compiling $(NAME)'
|
||||
- $(MLTON) $(FLAGS) $(NAME).mlb
|
||||
+ $(MLTON) $(FLAGS) -link-opt -fno-PIE $(NAME).mlb
|
||||
|
||||
.PHONY: clean
|
||||
clean:
|
||||
--- mlton-20130715-orig/mlyacc/Makefile 2013-07-16 05:59:09.000000000 +1000
|
||||
+++ mlton-20130715/mlyacc/Makefile 2013-12-20 15:01:26.567775876 +1100
|
||||
@@ -41,7 +41,7 @@
|
||||
|
||||
$(NAME): $(NAME).mlb $(shell PATH="$(BIN):$$PATH" && "$(MLTON)" -stop f $(NAME).mlb)
|
||||
@echo 'Compiling $(NAME)'
|
||||
- "$(MLTON)" $(FLAGS) $(NAME).mlb
|
||||
+ "$(MLTON)" $(FLAGS) -link-opt -fno-PIE $(NAME).mlb
|
||||
|
||||
src/yacc.lex.sml: src/yacc.lex
|
||||
rm -f src/yacc.lex.sml && \
|
@ -1,11 +0,0 @@
|
||||
--- mlton-20130715-orig/Makefile 2013-07-16 05:59:09.000000000 +1000
|
||||
+++ mlton-20130715/Makefile 2013-12-27 13:29:35.259563131 +1100
|
||||
@@ -58,7 +58,7 @@
|
||||
|
||||
.PHONY: all-no-docs
|
||||
all-no-docs:
|
||||
- $(MAKE) dirs runtime compiler basis-no-check script mlbpathmap constants libraries tools
|
||||
+ $(MAKE) basis-no-check script mlbpathmap constants libraries tools
|
||||
# Remove $(AOUT) so that the $(MAKE) compiler below will remake MLton.
|
||||
# We also want to re-run the just-built tools (mllex and mlyacc)
|
||||
# because they may be better than those that were used for the first
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST fddl-20111124.tar.gz 29608 BLAKE2B 5769edc935c4606cbc9662712ea05ff2cdd44646e36ef71a2b185a9efdd8655fd8ff0c7a0f0ed105cfee44f18c43815984771e7a74a2329adc29f6ff544fe64d SHA512 d9c4f3f4e10b92ffc158a8cd24726ac6f95050256178a17b6d11aefd4b5786452b17ee96e4d4f4762d07c372c248aba1f22cbe2c03cd6b0f709aeeb4d15a0266
|
||||
EBUILD fddl-20111124-r1.ebuild 1045 BLAKE2B 96a1e86d085cb91cb66f395f99cdc720fc93b11087bb5aed3dd751e310f4a3ec6cb5b799b13cc835d6f12afe6c4093d3e794d48508ff70ebfe2ffa193d68270d SHA512 457232f89f5aea21c796c777a432c343b8a785b7bbeb54d30ead9f96cd997dd27a66f9bfcaf4cfc7b395d2e22ae0c495d0f6cbf5c7cd88024e0296d145c2dc2c
|
||||
EBUILD fddl-20111124-r1.ebuild 1013 BLAKE2B c074eae4236d6cb6e58fa50484a4d128cb69351b1f0ce312b54aecfa1493924d7a527346b431dcb2baf824df690e03f6bfba8b6afd57c11d6a0500106b14b7f8 SHA512 8870e1d3cf7af6b6ce2421ae2b5e817fd0dad12ad9af68e3f8c524f508311224452a878825e9c50dfd31ae74165f12dfdf885609453e5b6c8e84586f3d637080
|
||||
MISC metadata.xml 388 BLAKE2B 04fbf4fd05fdfbcdd707e7d365979466d6df42ac6ab1af756263e6b468928c761266b1e949ff99ce83ac9be136bfc74862dff9ae3f766736302ec8e6b80f86c6 SHA512 bb5b6f0a1a76714330e83dbd98c6408326ebeb5bd2abcb89088daa835590a8101f5389ff23c5411af11916d66e24c7292438bdaf49cadd2fd79cb7b25b60fd55
|
||||
|
@ -1,5 +1,7 @@
|
||||
AUX libindicator-ldflags-spacing.patch 298 BLAKE2B 2d0fb361e2980d429beee418d9bf8d2f786de0d2b337b6775f9457158aa30d02b4dcbccdc488fa79236f04bf766aad49df732d25f48f1ecba923c46a4e239280 SHA512 fa283a8d6b88da0e2b6f5d0711ebe8a5cc0d4ab87cb07c3cecae9974dd68be751169b89503ae66751bca6cd73df2b2a262ac55a667c5c8e00e129d51f4452c67
|
||||
AUX libindicator-12.10.1-no-werror.patch 5307 BLAKE2B 8c4c9a4277968c1598b0d5f2084727b5236afa729568f767e561225cf7e532d65a9cd3a8f916a47b401ee0e6b76560adc79d138310568ef02e46355c32948a7c SHA512 dce99a58fec589633ccd86b94558a89a5d42145d514ded782828fd8545660ce659d0c3eb469b32a67220ec20ef8b1a60b1074bc50282cced18960a948fac9424
|
||||
AUX libindicator-12.10.1-nonbash.patch 573 BLAKE2B ae6b2806c99d99c83b36056b0ece7335ab673339e8ba275366efed3bc68413563ef4baffed64a0e3113473e8ae6dc0a143ae388e5280abdd7b84be97ee9f2afa SHA512 8a436dc62fb70d857b2bf3489e576e72fe9e06639a6563cf528686b6646adf2dbd5418c0904d986e44f5a3f9bf41e3687ce7cb2ff7895680a0d2bac792c2bb74
|
||||
AUX libindicator-ldflags-spacing.patch 351 BLAKE2B fe395bb718f1393bdfad20fb572afebe531623b299c5dcd6e69f8bc87dad5545aef8bbd6fc4c28788984b334f97a0642c9802983aa6aa0b41fda83a46491479e SHA512 0762b32efce30e680116a3ab451a0b036c9d6e9d45f6894b745e211746ad13a2854e0ac58ecf32e7011b0269a50581070c9107a6140b15d10d537c37f6f3bf9b
|
||||
DIST libindicator-12.10.1.tar.gz 427764 BLAKE2B 93cc774df0b55b7ee447c24a0ce49047080ab867c20403724b855153cfc5b93ed0da278532a2fc67bd69e4a9484a31286c2c585cd14d156028f338b5ed2b306a SHA512 d6d77d0309b15cf6b52539323920ab0c1594cb1c1cef8a8d67cd0f76f8ceeeac28eb6db6227563df1932e6f1fadcffac68d82982182b745257dfaf91f1c945af
|
||||
EBUILD libindicator-12.10.1-r201.ebuild 1197 BLAKE2B 5082a2b7963e66380a13b43323f9fca4492749fbebd89fcfb4f1a092292d8555f40398a1fc120e2bb771c784af12149dc13d95092c0b27146feb728c22f4e787 SHA512 01fa3c26a4a13d4db640e491cc12f19fbe3cdb86eaac3a2d81cdc9a007853ad338e3e0f65cadf6ab800d74bea41292399bdfe2a78b0365cf552370d962761713
|
||||
EBUILD libindicator-12.10.1-r301.ebuild 1178 BLAKE2B 8c4a9b86a23fe1cf355abe943fd69accff0baf2a8f38436c3bb15c2f3b99f01ad17187a5f62acaf2a3f752814092062eb71639f34b473ed19ef6ca849992609f SHA512 7a9df8a784836f37d45928e614af2228c303e30d4a5a5a9450468966f6a947b7d153190ab83ffc6afba8c672724fabe26e50507f6e207396e638435198d474f9
|
||||
EBUILD libindicator-12.10.1-r201.ebuild 1362 BLAKE2B af1856a0dcff13426d85530e178a7b8aa200342107d6dd14cb169664306b656b1fafa7fabda7f3237a78ed04abd2fca6551958bd4c5ed133af96179edd90b089 SHA512 2560bb73a841f80b401d0607e0843eabf2765f0f1e44483ea47dcd93a5dc98baf971b1aaa08e68308591fa0313787712e9d1d77d437880ba6e1730bd87540a78
|
||||
EBUILD libindicator-12.10.1-r301.ebuild 1275 BLAKE2B aa7aa82ff71d8ea1bd6c4fdc0a4d97aa86899dbfec020c132b40513f2492f85f60dd79ac145f1c339f4cd5441f0b1a9449cf038423a780eee81666f03e540fb4 SHA512 ef897424dde3a53e0966137e70d3a04a64ffb01d953290aa9353ea5964d376b2eb0e8ad5efe5370d8e077ed47f47feb617be65b6caea7c6822bd61986ff9e052
|
||||
MISC metadata.xml 247 BLAKE2B 216107f32a44b828d5bd65432dbdf2f3b71d81e96ee3580fc551392310b9ee554715698dfcba215fa2181a90f361564b6d04546c61848c3a2d176f3590602f69 SHA512 f24203e0188dd8311689fc59007368585764703b92f6fde9b4ea01666d37304193fc728a9f99b7f6c936f5a5a51a58a8402a101dc4eddc0bf2bf09f221bb0054
|
||||
|
@ -0,0 +1,196 @@
|
||||
https://bugs.gentoo.org/698774
|
||||
--- a/libindicator/Makefile.am
|
||||
+++ b/libindicator/Makefile.am
|
||||
@@ -57,7 +57,7 @@ libindicator_la_CFLAGS = \
|
||||
$(LIBINDICATOR_CFLAGS) \
|
||||
$(COVERAGE_CFLAGS) \
|
||||
-DG_LOG_DOMAIN=\"libindicator\" \
|
||||
- -Wall -Werror
|
||||
+ -Wall
|
||||
|
||||
libindicator_la_LIBADD = \
|
||||
$(LIBINDICATOR_LIBS)
|
||||
--- a/tests/Makefile.am
|
||||
+++ b/tests/Makefile.am
|
||||
@@ -38,7 +38,7 @@ test_loader_SOURCES = \
|
||||
test-loader.c
|
||||
|
||||
test_loader_CFLAGS = \
|
||||
- -Wall -Werror \
|
||||
+ -Wall \
|
||||
$(LIBINDICATOR_CFLAGS) -I$(top_srcdir) \
|
||||
-DBUILD_DIR="\"$(builddir)\""
|
||||
|
||||
@@ -57,7 +57,7 @@ test_desktop_shortcuts_SOURCES = \
|
||||
test-desktop-shortcuts.c
|
||||
|
||||
test_desktop_shortcuts_CFLAGS = \
|
||||
- -Wall -Werror \
|
||||
+ -Wall \
|
||||
-DSRCDIR="\"$(srcdir)\"" \
|
||||
$(LIBINDICATOR_CFLAGS) -I$(top_srcdir) \
|
||||
-DBUILD_DIR="\"$(abs_builddir)\""
|
||||
@@ -91,7 +91,7 @@ libdummy_indicator_blank_la_SOURCES = \
|
||||
dummy-indicator-blank.c
|
||||
|
||||
libdummy_indicator_blank_la_CFLAGS = \
|
||||
- -Wall -Werror \
|
||||
+ -Wall \
|
||||
$(LIBINDICATOR_CFLAGS) -I$(top_srcdir)
|
||||
|
||||
libdummy_indicator_blank_la_LIBADD = \
|
||||
@@ -111,7 +111,7 @@ libdummy_indicator_null_la_SOURCES = \
|
||||
dummy-indicator-null.c
|
||||
|
||||
libdummy_indicator_null_la_CFLAGS = \
|
||||
- -Wall -Werror \
|
||||
+ -Wall \
|
||||
$(LIBINDICATOR_CFLAGS) -I$(top_srcdir)
|
||||
|
||||
libdummy_indicator_null_la_LIBADD = \
|
||||
@@ -131,7 +131,7 @@ libdummy_indicator_signaler_la_SOURCES = \
|
||||
dummy-indicator-signaler.c
|
||||
|
||||
libdummy_indicator_signaler_la_CFLAGS = \
|
||||
- -Wall -Werror \
|
||||
+ -Wall \
|
||||
$(LIBINDICATOR_CFLAGS) -I$(top_srcdir)
|
||||
|
||||
libdummy_indicator_signaler_la_LIBADD = \
|
||||
@@ -151,7 +151,7 @@ libdummy_indicator_simple_la_SOURCES = \
|
||||
dummy-indicator-simple.c
|
||||
|
||||
libdummy_indicator_simple_la_CFLAGS = \
|
||||
- -Wall -Werror \
|
||||
+ -Wall \
|
||||
$(LIBINDICATOR_CFLAGS) -I$(top_srcdir)
|
||||
|
||||
libdummy_indicator_simple_la_LIBADD = \
|
||||
@@ -172,7 +172,7 @@ libdummy_indicator_entry_func_la_SOURCES = \
|
||||
dummy-indicator-entry-func.h
|
||||
|
||||
libdummy_indicator_entry_func_la_CFLAGS = \
|
||||
- -Wall -Werror \
|
||||
+ -Wall \
|
||||
$(LIBINDICATOR_CFLAGS) -I$(top_srcdir)
|
||||
|
||||
libdummy_indicator_entry_func_la_LIBADD = \
|
||||
@@ -192,7 +192,7 @@ libdummy_indicator_visible_la_SOURCES = \
|
||||
dummy-indicator-visible.c
|
||||
|
||||
libdummy_indicator_visible_la_CFLAGS = \
|
||||
- -Wall -Werror \
|
||||
+ -Wall \
|
||||
$(LIBINDICATOR_CFLAGS) -I$(top_srcdir)
|
||||
|
||||
libdummy_indicator_visible_la_LIBADD = \
|
||||
@@ -214,7 +214,7 @@ service_shutdown_timeout_SOURCES = \
|
||||
service-shutdown-timeout.c
|
||||
|
||||
service_shutdown_timeout_CFLAGS = \
|
||||
- -Wall -Werror \
|
||||
+ -Wall \
|
||||
$(LIBINDICATOR_CFLAGS) -I$(top_srcdir)
|
||||
|
||||
service_shutdown_timeout_LDADD = \
|
||||
@@ -240,7 +240,7 @@ service_manager_no_connect_SOURCES = \
|
||||
service-manager-no-connect.c
|
||||
|
||||
service_manager_no_connect_CFLAGS = \
|
||||
- -Wall -Werror \
|
||||
+ -Wall \
|
||||
$(LIBINDICATOR_CFLAGS) -I$(top_srcdir)
|
||||
|
||||
service_manager_no_connect_LDADD = \
|
||||
@@ -272,7 +272,7 @@ service_manager_connect_SOURCES = \
|
||||
service-manager-connect.c
|
||||
|
||||
service_manager_connect_CFLAGS = \
|
||||
- -Wall -Werror \
|
||||
+ -Wall \
|
||||
$(LIBINDICATOR_CFLAGS) -I$(top_srcdir)
|
||||
|
||||
service_manager_connect_LDADD = \
|
||||
@@ -286,7 +286,7 @@ service_manager_connect_service_SOURCES = \
|
||||
service-manager-connect-service.c
|
||||
|
||||
service_manager_connect_service_CFLAGS = \
|
||||
- -Wall -Werror \
|
||||
+ -Wall \
|
||||
$(LIBINDICATOR_CFLAGS) -I$(top_srcdir)
|
||||
|
||||
service_manager_connect_service_LDADD = \
|
||||
@@ -319,7 +319,7 @@ service_version_manager_SOURCES = \
|
||||
service-version-manager.c
|
||||
|
||||
service_version_manager_CFLAGS = \
|
||||
- -Wall -Werror \
|
||||
+ -Wall \
|
||||
$(LIBINDICATOR_CFLAGS) -I$(top_srcdir)
|
||||
|
||||
service_version_manager_LDADD = \
|
||||
@@ -334,7 +334,7 @@ service_version_bad_service_SOURCES = \
|
||||
service-version-bad-service.c
|
||||
|
||||
service_version_bad_service_CFLAGS = \
|
||||
- -Wall -Werror \
|
||||
+ -Wall \
|
||||
$(LIBINDICATOR_CFLAGS) -I$(top_srcdir)
|
||||
|
||||
service_version_bad_service_LDADD = \
|
||||
@@ -349,7 +349,7 @@ service_version_good_service_SOURCES = \
|
||||
service-version-good-service.c
|
||||
|
||||
service_version_good_service_CFLAGS = \
|
||||
- -Wall -Werror \
|
||||
+ -Wall \
|
||||
$(LIBINDICATOR_CFLAGS) -I$(top_srcdir)
|
||||
|
||||
service_version_good_service_LDADD = \
|
||||
@@ -376,7 +376,7 @@ service_version_multiwatch_manager_SOURCES = \
|
||||
service-version-multiwatch-manager.c
|
||||
|
||||
service_version_multiwatch_manager_CFLAGS = \
|
||||
- -Wall -Werror \
|
||||
+ -Wall \
|
||||
$(LIBINDICATOR_CFLAGS) -I$(top_srcdir)
|
||||
|
||||
service_version_multiwatch_manager_LDADD = \
|
||||
@@ -391,7 +391,7 @@ service_version_multiwatch_manager_impolite_SOURCES = \
|
||||
service-version-multiwatch-manager-impolite.c
|
||||
|
||||
service_version_multiwatch_manager_impolite_CFLAGS = \
|
||||
- -Wall -Werror \
|
||||
+ -Wall \
|
||||
$(LIBINDICATOR_CFLAGS) -I$(top_srcdir)
|
||||
|
||||
service_version_multiwatch_manager_impolite_LDADD = \
|
||||
@@ -406,7 +406,7 @@ service_version_multiwatch_service_SOURCES = \
|
||||
service-version-multiwatch-service.c
|
||||
|
||||
service_version_multiwatch_service_CFLAGS = \
|
||||
- -Wall -Werror \
|
||||
+ -Wall \
|
||||
$(LIBINDICATOR_CFLAGS) -I$(top_srcdir)
|
||||
|
||||
service_version_multiwatch_service_LDADD = \
|
||||
@@ -432,7 +432,7 @@ service_manager_nostart_connect_SOURCES = \
|
||||
service-manager-nostart-connect.c
|
||||
|
||||
service_manager_nostart_connect_CFLAGS = \
|
||||
- -Wall -Werror \
|
||||
+ -Wall \
|
||||
$(LIBINDICATOR_CFLAGS) -I$(top_srcdir)
|
||||
|
||||
service_manager_nostart_connect_LDADD = \
|
||||
--- a/tools/Makefile.am
|
||||
+++ b/tools/Makefile.am
|
||||
@@ -17,7 +17,7 @@ indicator_loader_SOURCES = \
|
||||
indicator-loader.c
|
||||
|
||||
indicator_loader_CFLAGS = \
|
||||
- -Wall -Werror \
|
||||
+ -Wall \
|
||||
$(LIBINDICATOR_CFLAGS) -I$(top_srcdir) \
|
||||
-DBUILD_DIR="\"$(builddir)\""
|
||||
|
@ -0,0 +1,23 @@
|
||||
https://bugs.gentoo.org/777087
|
||||
https://bugs.launchpad.net/libindicator/+bug/1502925
|
||||
Thanks-to: orbea <orbea@riseup.net>
|
||||
--- a/configure.ac
|
||||
+++ b/configure.ac
|
||||
@@ -15,7 +15,7 @@ AM_INIT_AUTOMAKE([1.11 -Wall tar-pax])
|
||||
|
||||
AM_MAINTAINER_MODE([enable])
|
||||
|
||||
-AM_SILENT_RULES([yes])]
|
||||
+AM_SILENT_RULES([yes])
|
||||
|
||||
# Check for programs
|
||||
AC_PROG_CC
|
||||
@@ -66,7 +66,7 @@ AS_IF([test "x$with_gtk" = x3],
|
||||
AM_CONDITIONAL(USE_GTK3, [test "x$with_gtk" = x3])
|
||||
|
||||
LT_LIB_M
|
||||
-LIBINDICATOR_LIBS+="$LIBM"
|
||||
+LIBINDICATOR_LIBS="${LIBINDICATOR_LIBS} $LIBM"
|
||||
|
||||
##############################
|
||||
# Custom Junk
|
@ -1,3 +1,4 @@
|
||||
AUX libtomcrypt-1.18.2-slibtool.patch 2859 BLAKE2B 2af276b50dd627a7dab88b6d349c908a32b364b0cbf199d14ca43019a65c4ac47ec16f8498c22e27454ce0144286502253fe3434cade6a614c7f9162d99fb20c SHA512 f6c5a802a581971b309815f82416c649a388e853c143f849bf89478ca4b9d883b3ab426c4ab5bbd94b5748d5b466f6ec56336c18959ca1c3ef5396b5be8d2da0
|
||||
DIST libtomcrypt-1.18.2.tar.xz 2638064 BLAKE2B fad67e9e2a2002425488db9987a853bda631d6638c2cb1052a1d0d1f393945e38037cc75c54cd3a4bf87bb2e13b1e868e81da054a84bbdb393519ddef5e27300 SHA512 f6117a12a42b07f8de4a8aedbccf6ff4ee94b4b81cb7263af99627c32eae646ca8ead7d3063737918db4aa118673001fcf2cfa8e4ca8b528fb00045fda7cc893
|
||||
EBUILD libtomcrypt-1.18.2-r2.ebuild 2798 BLAKE2B 1dc6dd3e1ea47b1f622163858fefb3fa79456d436b29f7b2cc48372772640025b23f308fd7bd26d36ad7b1e13db5e26c22869052c2ad90dba5afac60e7cb0803 SHA512 813e4c9f8d827d69c3b6a8d23c176b880501cba7cc25984d3545df893358fc55849fe21732781b946fbca8fa83a9f0f24c54423ed435259c69e0b6e79a351fd6
|
||||
EBUILD libtomcrypt-1.18.2-r2.ebuild 2948 BLAKE2B 6621119cf52e105c1fc2bb8d25558cda5e4411f7d06e9844bd7d2bb59f2799c50bd2c82f3642df701dcedef41d78bf9de8d218a124ca01a659cb34f1e946eb26 SHA512 00353d27023436f1d4154a6179ce17d74a1d5f342cfd58ff8bc4109c7841c97bbaa52106b5c337c0ac9000f25a4e6d0335653e0764c63ffe6ea165be2cb21953
|
||||
MISC metadata.xml 643 BLAKE2B e66df23ddfeb04650dfa8c4cbd7d6e6a1816164fd0cac86dba9990610b672957c5ff7b6e83a17f8b6c19f75d1f50a1b448b8b618058510b8d6f54259ad451822 SHA512 7517fc02844cd6b9a9801b371c2c8faf9626dded317ad610af234cd89078221be021acb9da66f9078bb4b754a5e2f1b5efcbca2ccb1ef5c58afd8cf925e7a44e
|
||||
|
@ -0,0 +1,72 @@
|
||||
https://github.com/libtom/libtomcrypt/pull/433
|
||||
https://bugs.gentoo.org/777084
|
||||
|
||||
From ccc18b9eda52c31cc70a3e46eb33b87b3c076d65 Mon Sep 17 00:00:00 2001
|
||||
From: orbea <orbea@fredslev.dk>
|
||||
Date: Mon, 13 Aug 2018 19:20:37 -0700
|
||||
Subject: [PATCH] makefile.shared: Support rlibtool.
|
||||
|
||||
When building libtomcrypt with rlibtool instead of libtool it will fail
|
||||
when rlibtool fails to parse the generated libtool which does not exist.
|
||||
|
||||
Since rlibtool should be the default choice for most slibtool users in
|
||||
the future this patch will use slibtool-shared instead which will
|
||||
correctly build the shared library.
|
||||
|
||||
This could also help build the shared library on additional targets and
|
||||
hosts where the stock libtool does not have shared libraries enabled.
|
||||
---
|
||||
makefile.shared | 17 +++++++++++------
|
||||
1 file changed, 11 insertions(+), 6 deletions(-)
|
||||
|
||||
diff --git a/makefile.shared b/makefile.shared
|
||||
index 98ec2b501..c72f2ac8d 100644
|
||||
--- a/makefile.shared
|
||||
+++ b/makefile.shared
|
||||
@@ -16,19 +16,24 @@
|
||||
|
||||
PLATFORM := $(shell uname | sed -e 's/_.*//')
|
||||
|
||||
+ifeq ($(LIBTOOL),rlibtool)
|
||||
+ TGTLIBTOOL:=slibtool-shared
|
||||
+endif
|
||||
+
|
||||
ifndef LIBTOOL
|
||||
ifeq ($(PLATFORM), Darwin)
|
||||
LIBTOOL:=glibtool
|
||||
else
|
||||
LIBTOOL:=libtool
|
||||
endif
|
||||
+ TGTLIBTOOL=$(LIBTOOL)
|
||||
endif
|
||||
ifeq ($(PLATFORM), CYGWIN)
|
||||
NO_UNDEFINED:=-no-undefined
|
||||
endif
|
||||
-LTCOMPILE = $(LIBTOOL) --mode=compile --tag=CC $(CC)
|
||||
-INSTALL_CMD = $(LIBTOOL) --mode=install install
|
||||
-UNINSTALL_CMD = $(LIBTOOL) --mode=uninstall rm
|
||||
+LTCOMPILE = $(TGTLIBTOOL) --mode=compile --tag=CC $(CC)
|
||||
+INSTALL_CMD = $(TGTLIBTOOL) --mode=install install
|
||||
+UNINSTALL_CMD = $(TGTLIBTOOL) --mode=uninstall rm
|
||||
|
||||
#Output filenames for various targets.
|
||||
ifndef LIBNAME
|
||||
@@ -49,15 +54,15 @@ src/ciphers/aes/aes_enc.o: src/ciphers/aes/aes.c src/ciphers/aes/aes_tab.c
|
||||
LOBJECTS = $(OBJECTS:.o=.lo)
|
||||
|
||||
$(LIBNAME): $(OBJECTS)
|
||||
- $(LIBTOOL) --mode=link --tag=CC $(CC) $(LTC_LDFLAGS) $(LOBJECTS) $(EXTRALIBS) -o $@ -rpath $(LIBPATH) -version-info $(VERSION_LT) $(NO_UNDEFINED)
|
||||
+ $(TGTLIBTOOL) --mode=link --tag=CC $(CC) $(LTC_LDFLAGS) $(LOBJECTS) $(EXTRALIBS) -o $@ -rpath $(LIBPATH) -version-info $(VERSION_LT) $(NO_UNDEFINED)
|
||||
|
||||
test: $(call print-help,test,Builds the library and the 'test' application to run all self-tests) $(LIBNAME) $(TOBJECTS)
|
||||
- $(LIBTOOL) --mode=link --tag=CC $(CC) $(LTC_LDFLAGS) -o $(TEST) $(TOBJECTS) $(LIBNAME) $(EXTRALIBS)
|
||||
+ $(TGTLIBTOOL) --mode=link --tag=CC $(CC) $(LTC_LDFLAGS) -o $(TEST) $(TOBJECTS) $(LIBNAME) $(EXTRALIBS)
|
||||
|
||||
# build the demos from a template
|
||||
define DEMO_template
|
||||
$(1): $(call print-help,$(1),Builds the library and the '$(1)' demo) demos/$(1).o $$(LIBNAME)
|
||||
- $$(LIBTOOL) --mode=link --tag=CC $$(CC) $$(LTC_LDFLAGS) $$^ $$(EXTRALIBS) -o $(1)
|
||||
+ $$(TGTLIBTOOL) --mode=link --tag=CC $$(CC) $$(LTC_LDFLAGS) $$^ $$(EXTRALIBS) -o $(1)
|
||||
endef
|
||||
|
||||
$(foreach demo, $(strip $(DEMOS)), $(eval $(call DEMO_template,$(demo))))
|
@ -1,358 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit flag-o-matic multilib toolchain-funcs multilib-minimal
|
||||
|
||||
NSPR_VER="4.29"
|
||||
RTM_NAME="NSS_${PV//./_}_RTM"
|
||||
|
||||
DESCRIPTION="Mozilla's Network Security Services library that implements PKI support"
|
||||
HOMEPAGE="https://developer.mozilla.org/en-US/docs/Mozilla/Projects/NSS"
|
||||
SRC_URI="https://archive.mozilla.org/pub/security/nss/releases/${RTM_NAME}/src/${P}.tar.gz
|
||||
cacert? ( https://dev.gentoo.org/~axs/distfiles/${PN}-cacert-class1-class3.patch )"
|
||||
|
||||
LICENSE="|| ( MPL-2.0 GPL-2 LGPL-2.1 )"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
|
||||
IUSE="cacert utils"
|
||||
# pkg-config called by nss-config -> virtual/pkgconfig in RDEPEND
|
||||
RDEPEND="
|
||||
>=dev-libs/nspr-${NSPR_VER}[${MULTILIB_USEDEP}]
|
||||
>=dev-db/sqlite-3.8.2[${MULTILIB_USEDEP}]
|
||||
>=sys-libs/zlib-1.2.8-r1[${MULTILIB_USEDEP}]
|
||||
virtual/pkgconfig
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
RESTRICT="test"
|
||||
|
||||
S="${WORKDIR}/${P}/${PN}"
|
||||
|
||||
MULTILIB_CHOST_TOOLS=(
|
||||
/usr/bin/nss-config
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
# Custom changes for gentoo
|
||||
"${FILESDIR}/${PN}-3.53-gentoo-fixups.patch"
|
||||
"${FILESDIR}/${PN}-3.21-gentoo-fixup-warnings.patch"
|
||||
"${FILESDIR}/${PN}-3.23-hppa-byte_order.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
if use cacert ; then #521462
|
||||
PATCHES+=(
|
||||
"${DISTDIR}/${PN}-cacert-class1-class3.patch"
|
||||
)
|
||||
fi
|
||||
|
||||
default
|
||||
|
||||
pushd coreconf >/dev/null || die
|
||||
# hack nspr paths
|
||||
echo 'INCLUDES += -I$(DIST)/include/dbm' \
|
||||
>> headers.mk || die "failed to append include"
|
||||
|
||||
# modify install path
|
||||
sed -e '/CORE_DEPTH/s:SOURCE_PREFIX.*$:SOURCE_PREFIX = $(CORE_DEPTH)/dist:' \
|
||||
-i source.mk || die
|
||||
|
||||
# Respect LDFLAGS
|
||||
sed -i -e 's/\$(MKSHLIB) -o/\$(MKSHLIB) \$(LDFLAGS) -o/g' rules.mk
|
||||
popd >/dev/null || die
|
||||
|
||||
# Fix pkgconfig file for Prefix
|
||||
sed -i -e "/^PREFIX =/s:= /usr:= ${EPREFIX}/usr:" \
|
||||
config/Makefile || die
|
||||
|
||||
# use host shlibsign if need be #436216
|
||||
if tc-is-cross-compiler ; then
|
||||
sed -i \
|
||||
-e 's:"${2}"/shlibsign:shlibsign:' \
|
||||
cmd/shlibsign/sign.sh || die
|
||||
fi
|
||||
|
||||
# dirty hack
|
||||
sed -i -e "/CRYPTOLIB/s:\$(SOFTOKEN_LIB_DIR):../freebl/\$(OBJDIR):" \
|
||||
lib/ssl/config.mk || die
|
||||
sed -i -e "/CRYPTOLIB/s:\$(SOFTOKEN_LIB_DIR):../../lib/freebl/\$(OBJDIR):" \
|
||||
cmd/platlibs.mk || die
|
||||
|
||||
multilib_copy_sources
|
||||
|
||||
strip-flags
|
||||
}
|
||||
|
||||
multilib_src_configure() {
|
||||
# Ensure we stay multilib aware
|
||||
sed -i -e "/@libdir@/ s:lib64:$(get_libdir):" config/Makefile || die
|
||||
}
|
||||
|
||||
nssarch() {
|
||||
# Most of the arches are the same as $ARCH
|
||||
local t=${1:-${CHOST}}
|
||||
case ${t} in
|
||||
aarch64*)echo "aarch64";;
|
||||
hppa*) echo "parisc";;
|
||||
i?86*) echo "i686";;
|
||||
x86_64*) echo "x86_64";;
|
||||
*) tc-arch ${t};;
|
||||
esac
|
||||
}
|
||||
|
||||
nssbits() {
|
||||
local cc cppflags="${1}CPPFLAGS" cflags="${1}CFLAGS"
|
||||
if [[ ${1} == BUILD_ ]]; then
|
||||
cc=$(tc-getBUILD_CC)
|
||||
else
|
||||
cc=$(tc-getCC)
|
||||
fi
|
||||
echo > "${T}"/test.c || die
|
||||
${cc} ${!cppflags} ${!cflags} -c "${T}"/test.c -o "${T}/${1}test.o" || die
|
||||
case $(file "${T}/${1}test.o") in
|
||||
*32-bit*x86-64*) echo USE_X32=1;;
|
||||
*64-bit*|*ppc64*|*x86_64*) echo USE_64=1;;
|
||||
*32-bit*|*ppc*|*i386*) ;;
|
||||
*) die "Failed to detect whether ${cc} builds 64bits or 32bits, disable distcc if you're using it, please";;
|
||||
esac
|
||||
}
|
||||
|
||||
multilib_src_compile() {
|
||||
# use ABI to determine bit'ness, or fallback if unset
|
||||
local buildbits mybits
|
||||
case "${ABI}" in
|
||||
n32) mybits="USE_N32=1";;
|
||||
x32) mybits="USE_X32=1";;
|
||||
s390x|*64) mybits="USE_64=1";;
|
||||
${DEFAULT_ABI})
|
||||
einfo "Running compilation test to determine bit'ness"
|
||||
mybits=$(nssbits)
|
||||
;;
|
||||
esac
|
||||
# bitness of host may differ from target
|
||||
if tc-is-cross-compiler; then
|
||||
buildbits=$(nssbits BUILD_)
|
||||
fi
|
||||
|
||||
local makeargs=(
|
||||
CC="$(tc-getCC)"
|
||||
CCC="$(tc-getCXX)"
|
||||
AR="$(tc-getAR) rc \$@"
|
||||
RANLIB="$(tc-getRANLIB)"
|
||||
OPTIMIZER=
|
||||
${mybits}
|
||||
)
|
||||
|
||||
# Take care of nspr settings #436216
|
||||
local myCPPFLAGS="${CPPFLAGS} $($(tc-getPKG_CONFIG) nspr --cflags)"
|
||||
unset NSPR_INCLUDE_DIR
|
||||
|
||||
export NSS_ALLOW_SSLKEYLOGFILE=1
|
||||
export NSS_ENABLE_WERROR=0 #567158
|
||||
export BUILD_OPT=1
|
||||
export NSS_USE_SYSTEM_SQLITE=1
|
||||
export NSDISTMODE=copy
|
||||
export FREEBL_NO_DEPEND=1
|
||||
export FREEBL_LOWHASH=1
|
||||
export NSS_SEED_ONLY_DEV_URANDOM=1
|
||||
export USE_SYSTEM_ZLIB=1
|
||||
export ZLIB_LIBS=-lz
|
||||
export ASFLAGS=""
|
||||
# Fix build failure on arm64
|
||||
export NS_USE_GCC=1
|
||||
# Detect compiler type and set proper environment value
|
||||
if tc-is-gcc; then
|
||||
export CC_IS_GCC=1
|
||||
elif tc-is-clang; then
|
||||
export CC_IS_CLANG=1
|
||||
fi
|
||||
|
||||
local d
|
||||
|
||||
# Build the host tools first.
|
||||
LDFLAGS="${BUILD_LDFLAGS}" \
|
||||
XCFLAGS="${BUILD_CFLAGS}" \
|
||||
NSPR_LIB_DIR="${T}/fakedir" \
|
||||
emake -j1 -C coreconf \
|
||||
CC="$(tc-getBUILD_CC)" \
|
||||
${buildbits-${mybits}}
|
||||
makeargs+=( NSINSTALL="${PWD}/$(find -type f -name nsinstall)" )
|
||||
|
||||
# Then build the target tools.
|
||||
for d in . lib/dbm ; do
|
||||
CPPFLAGS="${myCPPFLAGS}" \
|
||||
XCFLAGS="${CFLAGS} ${CPPFLAGS}" \
|
||||
NSPR_LIB_DIR="${T}/fakedir" \
|
||||
emake -j1 "${makeargs[@]}" -C ${d} OS_TEST="$(nssarch)"
|
||||
done
|
||||
}
|
||||
|
||||
# Altering these 3 libraries breaks the CHK verification.
|
||||
# All of the following cause it to break:
|
||||
# - stripping
|
||||
# - prelink
|
||||
# - ELF signing
|
||||
# http://www.mozilla.org/projects/security/pki/nss/tech-notes/tn6.html
|
||||
# Either we have to NOT strip them, or we have to forcibly resign after
|
||||
# stripping.
|
||||
#local_libdir="$(get_libdir)"
|
||||
#export STRIP_MASK="
|
||||
# */${local_libdir}/libfreebl3.so*
|
||||
# */${local_libdir}/libnssdbm3.so*
|
||||
# */${local_libdir}/libsoftokn3.so*"
|
||||
|
||||
export NSS_CHK_SIGN_LIBS="freebl3 nssdbm3 softokn3"
|
||||
|
||||
generate_chk() {
|
||||
local shlibsign="$1"
|
||||
local libdir="$2"
|
||||
einfo "Resigning core NSS libraries for FIPS validation"
|
||||
shift 2
|
||||
local i
|
||||
for i in ${NSS_CHK_SIGN_LIBS} ; do
|
||||
local libname=lib${i}.so
|
||||
local chkname=lib${i}.chk
|
||||
"${shlibsign}" \
|
||||
-i "${libdir}"/${libname} \
|
||||
-o "${libdir}"/${chkname}.tmp \
|
||||
&& mv -f \
|
||||
"${libdir}"/${chkname}.tmp \
|
||||
"${libdir}"/${chkname} \
|
||||
|| die "Failed to sign ${libname}"
|
||||
done
|
||||
}
|
||||
|
||||
cleanup_chk() {
|
||||
local libdir="$1"
|
||||
shift 1
|
||||
local i
|
||||
for i in ${NSS_CHK_SIGN_LIBS} ; do
|
||||
local libfname="${libdir}/lib${i}.so"
|
||||
# If the major version has changed, then we have old chk files.
|
||||
[ ! -f "${libfname}" -a -f "${libfname}.chk" ] \
|
||||
&& rm -f "${libfname}.chk"
|
||||
done
|
||||
}
|
||||
|
||||
multilib_src_install() {
|
||||
pushd dist >/dev/null || die
|
||||
|
||||
dodir /usr/$(get_libdir)
|
||||
cp -L */lib/*$(get_libname) "${ED}"/usr/$(get_libdir) || die "copying shared libs failed"
|
||||
local i
|
||||
for i in crmf freebl nssb nssckfw ; do
|
||||
cp -L */lib/lib${i}.a "${ED}"/usr/$(get_libdir) || die "copying libs failed"
|
||||
done
|
||||
|
||||
# Install nss-config and pkgconfig file
|
||||
dodir /usr/bin
|
||||
cp -L */bin/nss-config "${ED}"/usr/bin || die
|
||||
dodir /usr/$(get_libdir)/pkgconfig
|
||||
cp -L */lib/pkgconfig/nss.pc "${ED}"/usr/$(get_libdir)/pkgconfig || die
|
||||
|
||||
# create an nss-softokn.pc from nss.pc for libfreebl and some private headers
|
||||
# bug 517266
|
||||
sed -e 's#Libs:#Libs: -lfreebl#' \
|
||||
-e 's#Cflags:#Cflags: -I${includedir}/private#' \
|
||||
*/lib/pkgconfig/nss.pc >"${ED}"/usr/$(get_libdir)/pkgconfig/nss-softokn.pc \
|
||||
|| die "could not create nss-softokn.pc"
|
||||
|
||||
# all the include files
|
||||
insinto /usr/include/nss
|
||||
doins public/nss/*.{h,api}
|
||||
insinto /usr/include/nss/private
|
||||
doins private/nss/{blapi,alghmac,cmac}.h
|
||||
|
||||
popd >/dev/null || die
|
||||
|
||||
local f nssutils
|
||||
# Always enabled because we need it for chk generation.
|
||||
nssutils=( shlibsign )
|
||||
|
||||
if multilib_is_native_abi ; then
|
||||
if use utils; then
|
||||
# The tests we do not need to install.
|
||||
#nssutils_test="bltest crmftest dbtest dertimetest
|
||||
#fipstest remtest sdrtest"
|
||||
# checkcert utils has been removed in nss-3.22:
|
||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=1187545
|
||||
# https://hg.mozilla.org/projects/nss/rev/df1729d37870
|
||||
# certcgi has been removed in nss-3.36:
|
||||
# https://bugzilla.mozilla.org/show_bug.cgi?id=1426602
|
||||
nssutils+=(
|
||||
addbuiltin
|
||||
atob
|
||||
baddbdir
|
||||
btoa
|
||||
certutil
|
||||
cmsutil
|
||||
conflict
|
||||
crlutil
|
||||
derdump
|
||||
digest
|
||||
makepqg
|
||||
mangle
|
||||
modutil
|
||||
multinit
|
||||
nonspr10
|
||||
ocspclnt
|
||||
oidcalc
|
||||
p7content
|
||||
p7env
|
||||
p7sign
|
||||
p7verify
|
||||
pk11mode
|
||||
pk12util
|
||||
pp
|
||||
rsaperf
|
||||
selfserv
|
||||
signtool
|
||||
signver
|
||||
ssltap
|
||||
strsclnt
|
||||
symkeyutil
|
||||
tstclnt
|
||||
vfychain
|
||||
vfyserv
|
||||
)
|
||||
# install man-pages for utils (bug #516810)
|
||||
doman doc/nroff/*.1
|
||||
fi
|
||||
pushd dist/*/bin >/dev/null || die
|
||||
for f in ${nssutils[@]}; do
|
||||
dobin ${f}
|
||||
done
|
||||
popd >/dev/null || die
|
||||
fi
|
||||
|
||||
# Prelink breaks the CHK files. We don't have any reliable way to run
|
||||
# shlibsign after prelink.
|
||||
dodir /etc/prelink.conf.d
|
||||
printf -- "-b ${EPREFIX}/usr/$(get_libdir)/lib%s.so\n" ${NSS_CHK_SIGN_LIBS} \
|
||||
> "${ED}"/etc/prelink.conf.d/nss.conf
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
multilib_pkg_postinst() {
|
||||
# We must re-sign the libraries AFTER they are stripped.
|
||||
local shlibsign="${EROOT}/usr/bin/shlibsign"
|
||||
# See if we can execute it (cross-compiling & such). #436216
|
||||
"${shlibsign}" -h >&/dev/null
|
||||
if [[ $? -gt 1 ]] ; then
|
||||
shlibsign="shlibsign"
|
||||
fi
|
||||
generate_chk "${shlibsign}" "${EROOT}"/usr/$(get_libdir)
|
||||
}
|
||||
|
||||
multilib_foreach_abi multilib_pkg_postinst
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
multilib_pkg_postrm() {
|
||||
cleanup_chk "${EROOT}"/usr/$(get_libdir)
|
||||
}
|
||||
|
||||
multilib_foreach_abi multilib_pkg_postrm
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
AUX tree-sitter-No-static-libs-gentoo.patch 793 BLAKE2B 9f80752bff2b5d327889702b6d890a4cdfefc74965a8109e692ddbf576cdea62062df0b3757c2ac8264946e549bbc9885f1b52b870f932c4805b74f5171fa718 SHA512 8eb3e40f91ea5a23ae668a7208b697d6d8c67f34f5807c0c26e8ed56357a577b3f3e6e7138d32aa69f8d1865b274595341dfe77674abf8eea1be442ca023da9d
|
||||
DIST tree-sitter-0.19.3.tar.gz 2865501 BLAKE2B 0a2480457e7b82dcbd3217ef7f36f10db9dd07f277bd8318642867135d7f54a8fed6207f2017b125c7a8f9155040518e58cdb2a70504928896f0be9da3bf89a9 SHA512 49997fc69249a7fa935cf8a66d44bf4ba8dc8f19e56d3e0ea3ff08ed4bf2334b274b1d119989bdc7d693b284148cf7537e5f2acf5708661232bcb03f8a52c552
|
||||
EBUILD tree-sitter-0.19.3.ebuild 655 BLAKE2B c6c72c40dbec80c9eb7ed3758253994f6a7f1cd04e1bc6d8f7f3d0af4a358769821b194b3e25a68872def4e1dd1c50daf58de45b1393f31d77a9e326d2c18cab SHA512 ef6c62a4348ea56b87331699dad8f5ea5347ce9b47a5c56ca77dd55c3a99d5f92bf1292df758304b898207f6442f0e3511c4cbb2af37cd4777a5e9035cd2c408
|
||||
DIST tree-sitter-0.19.4.tar.gz 2869774 BLAKE2B 4f39a565d12f2fa0cb3a68c2015fd83a3445e5951a2293e1b37ac6c98c430aaeb1e219d33b11691de2c198b0039dd2319df53ab3be8c136c25a744f1c355d48c SHA512 269a9022f11c153c2dc09446273cc65de3f4fbab7ce2c42605b1b41abc5c98368660f6f10a5fd2deb751d6b9f21cf52a4351fcfec21bd6459be681e16eb2efc0
|
||||
EBUILD tree-sitter-0.19.4.ebuild 655 BLAKE2B c6c72c40dbec80c9eb7ed3758253994f6a7f1cd04e1bc6d8f7f3d0af4a358769821b194b3e25a68872def4e1dd1c50daf58de45b1393f31d77a9e326d2c18cab SHA512 ef6c62a4348ea56b87331699dad8f5ea5347ce9b47a5c56ca77dd55c3a99d5f92bf1292df758304b898207f6442f0e3511c4cbb2af37cd4777a5e9035cd2c408
|
||||
EBUILD tree-sitter-9999.ebuild 654 BLAKE2B ea5c2ccd0f68a7cee84e56b033a9ec62166cf128ec155f8657846d059e532d71e7b7a3589b3a3e950d413c0819d075bb20aed516c056e76155c25846f8fe9bea SHA512 cbdd8310e0f137e253a7f74b2d50d259e34137472754c0ecb2edc26ef3b98964586de6d4e0f59bf0561ec366f4930c277297036ebdf62bc018aa88cfe0046a6a
|
||||
MISC metadata.xml 706 BLAKE2B 4e97ffaf578bae056a4b8d431c23132480064c4e523e03978dfc5b1ea471795ff974d2b9537d335f08369270c59cbaecf2cc2f2bca14b7b99a44ac82e25c3fd7 SHA512 df5252ea536d659a1a8382dfb0a399c666d2b15c24e706b9a0b2a9d58006ddc04739c0df37bcb9e767f8108614a5cc52e33cdf925e0bd03acbd00d390abe1d65
|
||||
|
@ -1,3 +1,5 @@
|
||||
DIST uriparser-0.9.4.tar.bz2 174551 BLAKE2B b95f270685757052fca02fae0a029f08de8bc14bea733bd56e62f0bcdc6592f015453ed38c87171cea9054618328dc94a512ff816519f70594653451f751c4f8 SHA512 c5e671ce2589aacd2c562e66facbee9e1cad3101e840f40b7ebdb917fa669e0c3ae7ed75623692f601655c0b82c10bcfe3086ad628beac8f965e613228e67ecd
|
||||
DIST uriparser-0.9.5.tar.bz2 176501 BLAKE2B 5ec3d993e60c62f2478e4012354cf82f2e4155ea1a69e9a3d6611d1765fe0f3b8ba5382c928852a5fd215f51ebb0688c9d713e9f1208f18f5ce2d8b8f0fb1dca SHA512 44d36a33565b7724d721e2b5e689530227bc87e609ee78f1d23e7353480191313b1b91039c7a046566d14b83eb320c97d75e74c8ef4841e1b9c8559c3feddb34
|
||||
EBUILD uriparser-0.9.4.ebuild 1114 BLAKE2B eeef9c2c0dc64680be9608407af7eee2bf7dcc93acf558857acfdcb16bdf6cccbe8ef8653098c77e5db9851fb1df0383d8e272affd6eef9c30b6cf7db647ca15 SHA512 a53fb91fbf4a9b274cd78e6f592f191a51f17a8c80a4d3b9be5d0ad815a4ed2389e3fb54e6bfa95a2a1bcd9725fd9cdda6bf6a5d52b4720024cd632c9a7758eb
|
||||
EBUILD uriparser-0.9.5.ebuild 1413 BLAKE2B 8a27ac829f2b24d066070b45810a7bfdbdc4892a7bcf3f1c0f887b84c563df7b9f8d8a36dbabffb6f4d07a2814a5568744ec1faef619b9b369560eb04f6e3680 SHA512 0948656fa671161f1ea15d39d6035031606d479b53749d746d7de13b069c51a4908d24a766b7976df7f8c93cb37e2d4fd20162bb49a1f0b3997a0e892c956fc9
|
||||
MISC metadata.xml 542 BLAKE2B ea02a2f11456940eeab83ac904b7b8893c0c41428161f0391eeb9aecbeb51f7d22ec215455837932f0a2b193e937ce41290d5e795ab0cc434b23e13b37dc7146 SHA512 6798e6f833cbbb1ebd80cf04bc5950e5bafd8b689d79211a0a778467b9785b18720918b1822106dadcb96044df2ec8f681c3cda049b1bf3ca1fa072f409dfc45
|
||||
|
@ -0,0 +1,57 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Strictly RFC 3986 compliant URI parsing library in C"
|
||||
HOMEPAGE="https://uriparser.github.io/"
|
||||
SRC_URI="https://github.com/${PN}/${PN}/releases/download/${P}/${P}.tar.bz2"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-solaris"
|
||||
IUSE="+doc qt5 test unicode" # +doc to address warning RequiredUseDefaults
|
||||
|
||||
REQUIRED_USE="qt5? ( doc ) test? ( unicode )"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND="
|
||||
test? ( >=dev-cpp/gtest-1.8.1 )
|
||||
"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
>=app-doc/doxygen-1.5.8
|
||||
media-gfx/graphviz
|
||||
qt5? ( dev-qt/qthelp:5 )
|
||||
)
|
||||
"
|
||||
|
||||
DOCS=( AUTHORS ChangeLog THANKS )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DURIPARSER_BUILD_CHAR=ON
|
||||
-DURIPARSER_BUILD_DOCS=$(usex doc ON OFF)
|
||||
-DURIPARSER_BUILD_TESTS=$(usex test ON OFF)
|
||||
-DURIPARSER_BUILD_TOOLS=ON
|
||||
-DURIPARSER_BUILD_WCHAR_T=$(usex unicode ON OFF)
|
||||
|
||||
# The usex wrapper is here to address this warning:
|
||||
# One or more CMake variables were not used by the project:
|
||||
# CMAKE_DISABLE_FIND_PACKAGE_Qt5Help
|
||||
$(usex doc "$(cmake_use_find_package qt5 Qt5Help)")
|
||||
)
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
cmake_src_install
|
||||
|
||||
if use doc && use qt5; then
|
||||
dodoc "${BUILD_DIR}"/doc/*.qch
|
||||
docompress -x /usr/share/doc/${PF}/${P}.qch
|
||||
fi
|
||||
}
|
Binary file not shown.
@ -0,0 +1,6 @@
|
||||
AUX 50merlin-gentoo.el 195 BLAKE2B a5bcca9e3af1810b18337680b4878dcfc41296b98a4b949293367935a741b0ab8dcf9f40cfbab2042fc4afd95f09b3ac9980f7daa371dab93fe39cf56245c111 SHA512 7dfbbccee288d91c010cf0bd18d490ac2fdb8c5a2f6cb5ae55697f196ba9e4965ed6c0b0140aadc0685a3bfde58a4b30ca85658876c22c9f91b456aa1753ba4b
|
||||
DIST merlin-3.4.2.tar.gz 11016272 BLAKE2B 6fa55423df7ae8f7a8056e90be630f148dd101194de1921605843caf805bd6c9694fa3fe5b8c2f8eff5d57d7d0e9d8653036b6165a49af655158925c7af87d2f SHA512 8225366ebf27ca656ca89fe00d5aec581487ae332aeab81568e7606eaf575648a7614d4d2de8e0757a4e69c6f4014fefa4574c95da13d42acb310c9dd58a468a
|
||||
DIST merlin-4.1.tar.gz 2136082 BLAKE2B 3e7e1996611f0cefb3a33b2a78cd36b6e8b84d48bc48f46c45ba340c4be1b93b4a1876f8f4192e911c1c384c416ad7502ba3c7a2abb72eff01215f9fb26bfaf0 SHA512 f0f3ada007f8214b97a8557bddca87eded48ee01a8bb88aba6476e52881ead52d9f47e2666a9292b5c6a490e4cfdc7d8bb322e8489f78eaac7b0f80b6d1e87bc
|
||||
EBUILD merlin-3.4.2.ebuild 1260 BLAKE2B 20ec2604e89c88700609644aa0c8db04c2748e685dfbe3519533ddde4e8d1b81be155b8bc254c849cef5a3658130d1527572a3434804b71497c9e9cccfe9c8ea SHA512 93e6ec146e3a5fe8df2e5f651828356ce88f45c84f0cad8ee82be461dae15f077257a39818d24c554f99933cefb49db0dc11755b323c0e5dd3ac8897e3b31ce6
|
||||
EBUILD merlin-4.1.ebuild 1236 BLAKE2B d40b0b08e7f71a0cabf92110ea63e5eebf0565af3f3e58d596be54c11e17e1d8cb96caefe061a53796195df6e08658128140159cb3857f330e45b6b2c7e1cda5 SHA512 85d9879aab5a85ad231d84c6ee98775ca0743caa4cc7cdd6b119fefebe99a0a079138a129ed2265e470a983dc2538adb2e169083726135724b0efc51409b8850
|
||||
MISC metadata.xml 309 BLAKE2B 3d87e255533b30e9d93961fd4e19b7811eeec76ca1d0a23d2e5c2dbaf7702f19b4d1825ef5f4a8673dcbe99a7c283cd6cc0c380ebedf121757a1536a90eab129 SHA512 9f83661d41366e8a258849f199e738f8ead98612c0e444f5c1221fb4d5ab803b75d0d63a7c288f5714635faae33e8669da1598b932a7c2ec8e620cb232def482
|
@ -0,0 +1,4 @@
|
||||
(push "@SLITELISP@" load-path) ; directory containing merlin.el
|
||||
(autoload 'merlin-mode "merlin" "Merlin mode" t)
|
||||
(add-hook 'tuareg-mode-hook 'merlin-mode)
|
||||
(add-hook 'caml-mode-hook 'merlin-mode)
|
@ -0,0 +1,68 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
# TODO: vim-plugin, although it's not clear how to make it work here
|
||||
inherit elisp-common dune
|
||||
|
||||
DESCRIPTION="Context sensitive completion for OCaml in Vim and Emacs"
|
||||
HOMEPAGE="https://github.com/ocaml/merlin"
|
||||
SRC_URI="https://github.com/ocaml/merlin/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="emacs +ocamlopt"
|
||||
|
||||
RDEPEND="
|
||||
app-emacs/auto-complete
|
||||
app-emacs/company-mode
|
||||
dev-ml/csexp:=
|
||||
dev-ml/yojson:=
|
||||
>=dev-lang/ocaml-4.09:=
|
||||
<dev-lang/ocaml-4.12:=
|
||||
emacs? ( >=app-editors/emacs-23.1:* )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Handle installation via the eclass
|
||||
rm emacs/dune || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
dune_src_compile
|
||||
|
||||
if use emacs ; then
|
||||
# Build the emacs integration
|
||||
cd emacs || die
|
||||
|
||||
# iedit isn't packaged yet
|
||||
rm merlin-iedit.el || die
|
||||
|
||||
elisp-compile *.el
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dune_src_install
|
||||
|
||||
if use emacs ; then
|
||||
cd "${S}/emacs" || die
|
||||
elisp-install ${PN} *.el *.elc
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -0,0 +1,67 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
# TODO: vim-plugin, although it's not clear how to make it work here
|
||||
inherit elisp-common dune
|
||||
|
||||
DESCRIPTION="Context sensitive completion for OCaml in Vim and Emacs"
|
||||
HOMEPAGE="https://github.com/ocaml/merlin"
|
||||
SRC_URI="https://github.com/ocaml/merlin/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="emacs +ocamlopt"
|
||||
|
||||
RDEPEND="
|
||||
app-emacs/auto-complete
|
||||
app-emacs/company-mode
|
||||
dev-ml/csexp:=
|
||||
dev-ml/yojson:=
|
||||
=dev-lang/ocaml-4.11*:=
|
||||
emacs? ( >=app-editors/emacs-23.1:* )
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
# Handle installation via the eclass
|
||||
rm emacs/dune || die
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
dune_src_compile
|
||||
|
||||
if use emacs ; then
|
||||
# Build the emacs integration
|
||||
cd emacs || die
|
||||
|
||||
# iedit isn't packaged yet
|
||||
rm merlin-iedit.el || die
|
||||
|
||||
elisp-compile *.el
|
||||
fi
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dune_src_install
|
||||
|
||||
if use emacs ; then
|
||||
cd "${S}/emacs" || die
|
||||
elisp-install ${PN} *.el *.elc
|
||||
elisp-site-file-install "${FILESDIR}/${SITEFILE}"
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
use emacs && elisp-site-regen
|
||||
}
|
@ -0,0 +1,11 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>ml@gentoo.org</email>
|
||||
<name>ML</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">ocaml/merlin</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -0,0 +1,28 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A Python package that generates fake data for you"
|
||||
HOMEPAGE="https://github.com/joke2k/faker"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND=">=dev-python/python-dateutil-2.4.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/text-unidecode-1.3[${PYTHON_USEDEP}]
|
||||
!dev-ruby/faker"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
||||
dev-python/random2[${PYTHON_USEDEP}]
|
||||
dev-python/validators[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
distutils_enable_tests pytest
|
Binary file not shown.
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
DISTUTILS_USE_SETUPTOOLS=bdepend
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="The AWS SDK for Python"
|
||||
HOMEPAGE="https://github.com/boto/boto3"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/boto/boto3"
|
||||
inherit git-r3
|
||||
BOTOCORE_PV=${PV}
|
||||
else
|
||||
SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
# botocore is x.(y+3).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
>=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_sphinx docs/source \
|
||||
'dev-python/guzzle_sphinx_theme'
|
||||
distutils_enable_tests nose
|
||||
|
||||
python_prepare_all() {
|
||||
# don't lock versions to narrow ranges
|
||||
sed -e '/botocore/ d' \
|
||||
-e '/jmespath/ d' \
|
||||
-e '/s3transfer/ d' \
|
||||
-i setup.py || die
|
||||
|
||||
# prevent an infinite loop
|
||||
rm tests/functional/docs/test_smoke.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests -v tests/unit/ tests/functional/ || die "test failed under ${EPYTHON}"
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
DISTUTILS_USE_SETUPTOOLS=bdepend
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="The AWS SDK for Python"
|
||||
HOMEPAGE="https://github.com/boto/boto3"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/boto/boto3"
|
||||
inherit git-r3
|
||||
BOTOCORE_PV=${PV}
|
||||
else
|
||||
SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
# botocore is x.(y+3).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
>=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_sphinx docs/source \
|
||||
'dev-python/guzzle_sphinx_theme'
|
||||
distutils_enable_tests nose
|
||||
|
||||
python_prepare_all() {
|
||||
# don't lock versions to narrow ranges
|
||||
sed -e '/botocore/ d' \
|
||||
-e '/jmespath/ d' \
|
||||
-e '/s3transfer/ d' \
|
||||
-i setup.py || die
|
||||
|
||||
# prevent an infinite loop
|
||||
rm tests/functional/docs/test_smoke.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
nosetests -v tests/unit/ tests/functional/ || die "test failed under ${EPYTHON}"
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Low-level, data-driven core of boto 3"
|
||||
HOMEPAGE="https://github.com/boto/botocore"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/boto/botocore"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/jmespath[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
>=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch"
|
||||
)
|
||||
|
||||
distutils_enable_sphinx docs/source \
|
||||
'dev-python/guzzle_sphinx_theme'
|
||||
distutils_enable_tests nose
|
||||
|
||||
src_prepare() {
|
||||
# unpin deps
|
||||
sed -i -e "s:>=.*':':" setup.py || die
|
||||
# very unstable
|
||||
sed -i -e 's:test_stress_test_token_bucket:_&:' \
|
||||
tests/functional/retries/test_bucket.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# note: suites need to be run separately as one of the unit tests
|
||||
# seems to be leaking mocks and breaking a few functional tests
|
||||
nosetests -v tests/unit ||
|
||||
die "unit tests failed under ${EPYTHON}"
|
||||
nosetests -v tests/functional ||
|
||||
die "functional tests failed under ${EPYTHON}"
|
||||
}
|
@ -0,0 +1,59 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Low-level, data-driven core of boto 3"
|
||||
HOMEPAGE="https://github.com/boto/botocore"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/boto/botocore"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
dev-python/jmespath[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
>=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch"
|
||||
)
|
||||
|
||||
distutils_enable_sphinx docs/source \
|
||||
'dev-python/guzzle_sphinx_theme'
|
||||
distutils_enable_tests nose
|
||||
|
||||
src_prepare() {
|
||||
# unpin deps
|
||||
sed -i -e "s:>=.*':':" setup.py || die
|
||||
# very unstable
|
||||
sed -i -e 's:test_stress_test_token_bucket:_&:' \
|
||||
tests/functional/retries/test_bucket.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# note: suites need to be run separately as one of the unit tests
|
||||
# seems to be leaking mocks and breaking a few functional tests
|
||||
nosetests -v tests/unit ||
|
||||
die "unit tests failed under ${EPYTHON}"
|
||||
nosetests -v tests/functional ||
|
||||
die "functional tests failed under ${EPYTHON}"
|
||||
}
|
@ -1,5 +1,5 @@
|
||||
DIST cbor2-5.1.2.tar.gz 73247 BLAKE2B de033651c0483aee4bb3bb31f9a997bdd6329c2941dbde65acabe7f7a3bfde37ab0322085a3107fb581e36cb6792cfb4fcf07cdbedfcec4a18a907582081d141 SHA512 81e4c3e8c727fea6db8bbed657806ace8777d8ad157395de3db7f0dab369abcd7f173f0cfad538c325a49bf90b450eab16ad2f4aa4f69c324dd0807ae0ab556f
|
||||
DIST cbor2-5.2.0.tar.gz 81467 BLAKE2B ac35cf682f15eba2c2bff81f562fe2f22906ab8da39c04cbf65f403eeacb5e640e200b15a8cca0d7eede1d0106cd8674640b3093d166a4414a2d42452a374322 SHA512 101aed37c3921ace2f4a5fbb9964ddd2ec2ffcd23fb1a9f838b2f8925f17ffaf5eb39a40b5426e176f0c97a2ba1d3a045e96ceb53312b283101900eddacc6af4
|
||||
EBUILD cbor2-5.1.2.ebuild 791 BLAKE2B 4857cc41aea07863c682974d6fa84cfdaa2924f7bdbb434682fbcfd681ef142debb90ba4eb8a8bf21a80be3479aa0fe11b35bd942b2304a60cde081267637c01 SHA512 faf1ae283ce86f9d59849e32e618c5380491511d8f9daa45b3fb64278e214448ca9032064ff632dda825e4f5245b8b4336ad9c6140cfea2cd8bb428b683c0033
|
||||
EBUILD cbor2-5.2.0.ebuild 774 BLAKE2B 0170d1710b721f70ba757f8e3909e356936e4de08cc7e0c2f9e0409b43b5ca4773cbcc0a30397446cdac1986632c0c5ef4f959bc21fcb99aebcd45283b960dc1 SHA512 a4a69dde7678552b6d5800ee135c5cdee52bb740dfe2d68d502573daaf2fa98cbc946b28b9ec3067da11e8da9a7f4a6580826ff0f6e906ce5172af9b5184109a
|
||||
EBUILD cbor2-5.2.0.ebuild 896 BLAKE2B 063f14614963d60c90aabf14f001bf724ad3b135c6e80329dfa6af71632628aa528223c605252b18e52d07394fae67451f5d1feecf23353e054b1bfd517a374b SHA512 cc731c63785f9d929f456553b4c2e2f7e9bfd3e50067cad9def7c08c58e43a0af05f5caa72a4b171ee3058f22abc8b93bf1016de696d19b6d5a590cc81ca91d2
|
||||
MISC metadata.xml 893 BLAKE2B a56c40664c6526d741a1f4e6be15cb582e0a0402182545262e3f1f489441e94a2c17072c01797e95cbea02d40b2d6addc14027596e4cd2fa49ccb4cb0feadd09 SHA512 1695d3be04f9cb86ea83f3676f5e8628b196b7044bee019ba8ce234500ee1501d013144155fe86ca8f21a10abb35074cd98fbec7da9db7f33c1046229fca9f5e
|
||||
|
@ -1,3 +1,5 @@
|
||||
DIST Flask-SQLAlchemy-2.4.4.tar.gz 132193 BLAKE2B 044885af05463bfe377ef503baea6fe8b4a988e1f23aa6e8165ba76f85626d5b596226eabd7d69b984848149c8401b136806e8a68ed568d4cce97acbf402cbb4 SHA512 9d952a39f3d116306ae15c8f802780c987e54dbe519612a9b699bb77e8a45f272e90f994697f881283d1eaf5767d42eaef2ca017d22c08e48596d385d942b1ee
|
||||
EBUILD flask-sqlalchemy-2.4.4.ebuild 700 BLAKE2B e012699d865e7d8633c9c4d2af7f3f814d8a890c08e60ff84beedece6ce41176951f3831ce6a3dd01f3acf7032f481ce7d249d48d349010c0c398f73675d11c2 SHA512 2638ef3a3f35113872c17dde5e908fe9563ecdb9eeccd59c8064c843b5976c01afdc7b01c8b1770e666703a8e35dee5da9c628b77aa48f5a3a5e3fc0868d3aac
|
||||
DIST Flask-SQLAlchemy-2.5.1.tar.gz 132750 BLAKE2B 6378766e9ae5e697f9a0fe23471f0264e5ac1f4c824657e5197f6c35f9f12eb756528641c1078b1bf470170c557c3201314a80b922b4ab84e4664a0ccaad2a6c SHA512 5d483418204030837e62769d45c16af88c5be6dbafc7c340cc4e67ef1736ea5102f506156119864cd7673cf382b0d3f27050bda64273b93ef4805fce9e1a0f6f
|
||||
EBUILD flask-sqlalchemy-2.4.4-r1.ebuild 697 BLAKE2B 639e445866ab39eb3d13311479546b0680730eb41e38e1c0cb39088091060f053c2f59710a8727c622bd3d8729f7b17aaa2ee028f089f5c9d028c9b94c13834d SHA512 762a2a2462767f16f15e707597cb5b84dd430a19324151cbbd0c01b267f04ff0299e209b7db5b719f078804993af5c312fa73779c6430ed6676d768f517799e7
|
||||
EBUILD flask-sqlalchemy-2.5.1.ebuild 702 BLAKE2B 9fa45bf33cf6f89e6bf2a77b129179166341be6fae5868bb1eefae0a0fa33021843981e52ed4a9616dd64f25503c37a6f8bbc4ef6f86cc8c927626f66d7791cb SHA512 ad72127f0e49d7f0fc10c450ba0b915a2811198fb4e83398aa60f0d9e46dff46b20e32b863eef38bb232883d73fce091f2923f8bc8df1317077171ef28c77c35
|
||||
MISC metadata.xml 723 BLAKE2B da7085b4f5d703dcf5b108c0089fffba3c1c7ca5392f16aa6ccb6ea159408af392326a553b3802e851b8ef52d971276ae599552f9234702924867ecc3471049a SHA512 cb13ee8d399034ae0dea78c1ef504865ece6d8202feffdf8672576f22b92e246b386cb55398caef1e1c6504d650428fc93f5b8aefa4481674f81b789d42844a4
|
||||
|
@ -0,0 +1,29 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( pypy3 python3_{7..9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="Flask-SQLAlchemy"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
|
||||
DESCRIPTION="SQLAlchemy support for Flask applications"
|
||||
HOMEPAGE="https://pypi.org/project/Flask-SQLAlchemy/"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm ~arm64 x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/flask-0.10[${PYTHON_USEDEP}]
|
||||
<dev-python/sqlalchemy-1.4[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
distutils_enable_sphinx docs dev-python/pallets-sphinx-themes \
|
||||
dev-python/sphinx-issues
|
@ -1,3 +1,5 @@
|
||||
DIST lark-parser-0.11.2.tar.gz 225851 BLAKE2B b4fec8701287237442d8fd3b2519f75f70f153a0d9deba8b39ba3317df358fe1ddda738f320ff689a7a8965ab157fefea7eb121ea980c6a6d8ca1b42d63941c9 SHA512 277be4e6d56d8e2747df434518d6d7918c149a67c3f6af3f978858be86f3fae9248989823c2429dbdff4a1c1615753607f5487fd9d6705cfafec698cb9d47e4b
|
||||
DIST lark-parser-0.7.8.tar.gz 276204 BLAKE2B c2d103f41b7b6ccb988c5935c53e422d495980c1d64cba125e9d27b9b7bf03c0864904e6c2c6b40ec56e8975a8051f1a18c9da126d02fe149dc3684ea7d41c30 SHA512 52eed1a5f26fa7ba79820298a8f6f7594b2351797abdaf8fd96f76e15a11711805955e055164ce287f7204edf3d19116562795cf56db464b4f2f15e40e1da561
|
||||
EBUILD lark-parser-0.11.2.ebuild 621 BLAKE2B 13609371418dba6d3a11da93e4dec266ffad5b281e2166f502be645707303926c1d7855bee3176e86240cc2d98a679a66a51198069448796f239a24130686040 SHA512 0008e3e37ba77243a566779a0c69853df389e1dab5957ed68f606b263cb178851d25435fcea3cc4b476e87b78174f4c52effc242c5524727f831e30c6034454b
|
||||
EBUILD lark-parser-0.7.8.ebuild 405 BLAKE2B 5605f1497ae47ea1496f40fafd16eeae8de06af7dc57ed676a9edef923542bb6dd0341adddecd26403d3031b16236298b573bc993c1ead949e1b2327713c5715 SHA512 af78a75077dff7bb32690c6b49959287bbd60e74ea82b8faa811b69501990f4f4b5acea98a6750cc7b3f16ad5af4ebd4a255b7a1b34d6fa191c908c021744a6b
|
||||
MISC metadata.xml 533 BLAKE2B 5fd09d685663433a17206fbffbd3eb2d94f0d9a4d90ca5be3915a24d6390da7788b28dd718f5ba0975d1e3402aeb666039bbb1c38948bfc7b145f3b1ea5d245e SHA512 59872af1a85b64f0ac2a0afd7c72af7e43102dcb9cc10d4ed95cf65fee33a6240fe471f52bc91ea679960cdf89bc181d898b7239551071bd96759a8cc788e063
|
||||
|
@ -0,0 +1,28 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python module to propose a modern general-purpose parsing library for Python"
|
||||
HOMEPAGE="https://github.com/lark-parser/lark"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/regex[${PYTHON_USEDEP}]
|
||||
dev-python/js2py[${PYTHON_USEDEP}]
|
||||
)"
|
||||
|
||||
python_test() {
|
||||
"${EPYTHON}" -m tests || die "Tests fail with ${EPYTHON}"
|
||||
}
|
@ -1,7 +1,7 @@
|
||||
DIST Markdown-2.6.11.tar.gz 274132 BLAKE2B 0d14d308c97d925db83d71f3b9be5622e77ee4a159fced15c811390b39950e81bff9ffc567f32e878cbc44014640ab0a2f596258cfd0dce6b66029105cec7370 SHA512 4e7dd3e04f181fa2751a359aede301fb29a23b9af74867ff9d1d0fdd051dcd16d04a5891e37aff0b309649c5fd13363802ec7e10fc33896e9453991efcab4a66
|
||||
DIST Markdown-3.3.3.tar.gz 319531 BLAKE2B b7a527a7d202ee955106ecddb75541285589cb006a0cb3e587f06bb06aa3be8bdf8e976a35cc2ca63b2f085a8b462f8e8d5fad84710561dc105e533939c04204 SHA512 b8e42c1471d155be6cc9aa0b6ce649454b09d36df1de51ef7e45043ae3c1c87b9b09e1fae4c680a771bee52e7fa8ea82548b78b2ffb1d38e85785f0b0de25b36
|
||||
DIST Markdown-3.3.4.tar.gz 322192 BLAKE2B 37122305112440b85d7f0e5e1bf90bafe15a8bcb84e8d8bdd9b4183dcb4be1010d287450062bab7dc9017d8e618f84a8245e6fd35f8204e5e2ece14d302fb13b SHA512 37422619dd8f542bfcf7975c92e76a39e4eeeb42386727d52037869cee1617f8efcb74a382a9c7cb903907ebf3643a27ba0de583bc0dbd327a36e72bbf8520af
|
||||
EBUILD markdown-2.6.11.ebuild 822 BLAKE2B d1c0b1c327749c1e466280cee75ba4d332787955764aa93c38b62ef5fa43c677a1dd8953f0593095eb84261a1dcc9a7ab7973a3de8a5be90bc14a9861d65f616 SHA512 1157aee6ebd2534421b4731876bcd83f1f1a88496da81a833ec3dbf2617f7f8450d0fed1aed9ec7bf3a8ab5cd5c2654571cb79c72de8a665f714caae9aae9684
|
||||
EBUILD markdown-2.6.11.ebuild 822 BLAKE2B b817bff5c3d6d1d62b86b451d49076f2b84fcf1c9e448935258c1b35fd7f3fd59173d26628ce3b6338ec87a8b9c8866e430c5585fd93d186f5b8784e7fa8b31a SHA512 4c15ff73bfdac09321c707cb962c94f106787a0787dd828c86a4629eba6801b63db1ff10ba9ca87a2397a7599b73f4aa71ddf918886d9b3c6270f3c67b735c88
|
||||
EBUILD markdown-3.3.3.ebuild 1075 BLAKE2B 7a3dbdc4535c2efc623a7bdd8d83f167fd38f238bf8fe4baa33497ef6ca1e19641ccfd0f4b25e2da1e80edfd628679b8390c037772b64f13f0f8022d8a9d438c SHA512 c9d718aaf8e7b9b6ab425f90986866c0b0a23af77f59c340ca0ca384905384ff6c379e1a9033bc8dc636edbcf009076d9c70262746e634cab8e241f8f0e79450
|
||||
EBUILD markdown-3.3.4.ebuild 1083 BLAKE2B d67987834a7615e183497110151a93fba67a0a27a2ba7017c0fee76bd0e6afdeb9ba3f626b6fedb473610e69ad593f961ba489d74a1ee177f2a31b99b43a791e SHA512 b904672d15dba86de463b19420a5838d465803f2fb7f2eaf83c9c8ee06e72b313757a6de5d95bf7755c485aab1b5f2e59873a0e96d8849ddee1a29dd598405d0
|
||||
MISC metadata.xml 399 BLAKE2B 675bf8fa68dad4dc02b4572a74a7e4cd8c7876a78d7a9769b118551ae2f4217028a67f1d206537a08d2b0e26763ef0d396b007d0ca86b498397b6aec5d516435 SHA512 713fe9c2390fc8726140a5981c63bfd901e9288fac25b3b9aa5b7d6a1d5502334df09d4b9f57a1d0f4766ce6e2c36695161ddb796c1263bc090940f99bc1d689
|
||||
|
@ -1,3 +1,5 @@
|
||||
DIST pydocstyle-5.1.1.tar.gz 70759 BLAKE2B 3cdb519d7f9459a201c9b7bc3002e69dae76b79758b155198b3101c6817c66db01616723e789dd8105d0339d6163fec02ab50db2370b13d3a8d1c5a17ecded6c SHA512 70c7408dfa4c8e54a3abf0548a9af26a7ad7ee0bb76f3a41bf6f2297ce09c13c03ab5e066b1b15404ba6390ddfcacbc5e199d8b73ee74e3b184759d88c8b2a51
|
||||
DIST pydocstyle-6.0.0.tar.gz 72143 BLAKE2B 1036a5eab38a38bda0f98371f7e4094248cf5057a9afd8743a478f153a5f06feab6b3e7d6be031615b5e88c388786f59a0619f774f492e40a722f39973051d5b SHA512 609a10307aa24513f476ef639771fc095fe7a65ffd8d530fad02886369c62969c69a5134fd0ec79a1e07d1b6cb8f920c3478db546c26aefb0e45771777c02a0b
|
||||
EBUILD pydocstyle-5.1.1.ebuild 909 BLAKE2B 78ffa0615df8e0b6ee603a26d800321f90d0528032084f515a284c7b8c3af58dc75be2f47abb26eff07143ec2464235735441c15c5d1835d1a9ab29b199a78dc SHA512 4da34c492a74c28dcc9b2212b9a79d7cbbb557b2c4cbd8bfa74f29a5f6c70f59dee98f1fe4d55c5376a1bac106ca0fc475dfbf560a1e8415e371e147793055f7
|
||||
EBUILD pydocstyle-6.0.0.ebuild 875 BLAKE2B 8b3b39f07dfa8c85baaeac6cbd3cd775b63f357f63b9ceda46e814ab0d7901bd44268082f51227a222548d871eb44d1b92fba2c7c3530742863ac0ac6e2fdb8e SHA512 f6436fd155f5b2bbb5a8e0d3edd3a325bbdf77fbbe20b1b7339496c69c84760cb46e6eb797f2e7625b96cc77164da90f75e897127589c6f06af5b7f39fe592a8
|
||||
MISC metadata.xml 817 BLAKE2B 850fe7b35b30a2d302a49409979b3ff43916b19bf2e970da7b1cad7e76cabb66c217fa68198959a1c2595766398151221643184812d98165045e7498b2d38932 SHA512 8e9b85d0e13750e8beacc06c3c448a6a9e3876216d882f34c7a0f75bf64911aa8335dd38221af8852fa399008ba740c5dd3038f465de14d55b465c3114754920
|
||||
|
@ -0,0 +1,30 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( pypy3 python3_{7..9} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python docstring style checker"
|
||||
HOMEPAGE="https://github.com/PyCQA/pydocstyle/"
|
||||
SRC_URI="https://github.com/PyCQA/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~x64-macos"
|
||||
|
||||
RDEPEND="dev-python/snowballstemmer[${PYTHON_USEDEP}]"
|
||||
|
||||
distutils_enable_tests --install pytest
|
||||
# Requires network to lookup github issues
|
||||
#distutils_enable_sphinx docs dev-python/sphinx_rtd_theme dev-python/sphinxcontrib-issuetracker
|
||||
|
||||
src_prepare() {
|
||||
# no, seriously, you don't need to install it yourself
|
||||
sed -i -e '/pip/d' src/tests/test_integration.py || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
DIST reno-3.2.0.tar.gz 77316 BLAKE2B 43fe83a5f4c3e812daa3d2456f6c3b0bc7ba661193187f05527108e7b182dd078ec7a26b39e2939d51efc231e60f3d503479a4729b391faf764fa1e5d941c967 SHA512 b0399e5472afa4c883af563949cf4083571ee6dfcc05babb9845fa44fb9cfa2d0a1be6f315915597c22e86e0504102cb4f90aee59273ccbaceb15e93ed078b65
|
||||
DIST reno-3.3.0.tar.gz 81168 BLAKE2B 46afacfa437c9d5fed49d454edaf92b96ffbd677de02d91c7fd431b5ae98764918e099dd486345907446a19b2c94a1c36ac5cff9cf6d911438b48d41d9585ba1 SHA512 0fb6ff09e71b829cabe452693aac0c3a14d44f75f93e8934ebd0b0861e7dcd749a92b7bf19bc4f46202ecb02840edd6d5e5787c8b8a5b64a6b91fb52fe18287d
|
||||
EBUILD reno-3.2.0-r1.ebuild 1100 BLAKE2B 2e2123dfa3f760d88220006dc9bcbf915999c69473a1c2113f18b038ca4025b33cbaa31ab06a879d55ab7bcc5c2e80eb911c5b5cf8aa395bf5e3ee3db08cfc60 SHA512 5501d3ca55123aeeb1eb161e6542c6aadf9c3bb85b2e1802316e97c4ef5230d2887c31d58f47b56c7913df23f44e9809d5e37b24178695e5b617ff36317a8777
|
||||
EBUILD reno-3.3.0.ebuild 1103 BLAKE2B 231bde082a0b1179e350b769a84d0dc0796c826b087aae42bf53b3d28a1e59e2051a00f8e60e64a13e67ae0600bdca9becc3c7adcf00bdce1be8bc25e70f127c SHA512 d3f9df7acc97f0fbdce0a97f14532a4620c6fdb7942a08ea6de76a7427026434abc8816c0c8b912822031468d1098aa02385bdd0110707a9d8689d5207c9ba3b
|
||||
MISC metadata.xml 345 BLAKE2B 64bb3d1c4711fd517770e90167d9edcab33908e0f9ba511b8ae1c0e1ad6181bd4c4d2639d6cf802aeeef8cc77e623d749a3522e73e53514ecf39b30b77f8072b SHA512 127fc0515eae674566848c406e6695ca20d7db100d1378713d8900f25b2ec957eb89eb7f075aafc3efb48b3db7b290e88480248c78bf94456f680c528c7e6269
|
||||
|
@ -0,0 +1,42 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Release notes manager, storing release notes in a git repo and building docs"
|
||||
HOMEPAGE="https://pypi.org/project/reno/"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~ppc64 ~x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-python/pbr[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-5.3.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/dulwich-0.15.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/packaging-20.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/docutils-0.11[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx-2.1.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/pbr[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/testtools-1.4.0[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
# The doc needs to be built from a git repository
|
||||
distutils_enable_tests unittest
|
||||
|
||||
python_prepare_all() {
|
||||
# Some tests need to be run from a git repository
|
||||
rm reno/tests/test_{cache,semver}.py || die
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
@ -1,4 +1,8 @@
|
||||
AUX s3transfer-0.3.3-py38.patch 1296 BLAKE2B 8b951643ec020c837c9fbf3678aa60923ab5345615c4868070884223baa59a54251de5c7601cb798fa580e1c58721c0285c5e74f23ace8a207136f2f2067b4e5 SHA512 54c88be4cccc8de33d773d01e4fec613e3d84c3a7e41c19323ea77e5bede433e65253f71469262aa0565258f8cd4f03829815e96741fe26e4bd890001eb9f2b3
|
||||
DIST s3transfer-0.3.4.tar.gz 118954 BLAKE2B 71436d3c8921650dfd2c3aec8a0ddbb2cdee8bb82da605b7a7cc38af112eccb9e2742720c597e01aff57fdd067f8a16a9789f5d5b56dd13f84977607e16ef470 SHA512 012b50cebff200dff3a424241bd0a1aa32bf88cb57a4e3a4616d96aac7c8d5d07e7bfee3a298195f55630d01925d27a3063701d915c6bd080dc2e9f7c01880e9
|
||||
DIST s3transfer-0.3.5.tar.gz 118959 BLAKE2B 8666ec91058752a1862582f886d373bd4eebbb3684571e1fcb0648e2c4ef3f24366b4e496960715487b6f1fb7fdc96f0031ee48259984f2bcdfbb2a8fe3d33bb SHA512 2a5a0b3163a8ae7097d82f897afec97533acc0d1a03271b5e261bc0b98a9af5a0fa0d594cc4cb701c1698bbc347d10b2b105c4393f349bfd5ef628d1844e7ddb
|
||||
DIST s3transfer-0.3.6.tar.gz 118877 BLAKE2B 0567b69ee71bd470b3b5bccce3db3e923eee6d8744d9e0e5a1789f3ba5f419742859f530ab43295e5ccb7ffe3c04da8db7ef92c973afac97ff2580bc13c6934f SHA512 3bf97f080b63a88f2860051ef9c0ecd4f06adf1a22eb5bd57c543532f7e85c39f722f0c9cd24022ac0ed3a54ca48a089a10b86703cb866730e265e53acbe602f
|
||||
EBUILD s3transfer-0.3.4.ebuild 731 BLAKE2B b81ae9a3411f6f4e5633da1fef1b34108e01c4c34dfaaf0d55bfc318984fcb670dc7414acde89b4789f37bd34c370f89832d3ae30a84d33a91a348b422860961 SHA512 19232c442fc89e2c7272255507cb9c21f23eb4cd3c04848798a799f9b089934b8dec296120ce6b211fd686ae1a9ae3c00f5573ec932c21d5828ab2312474c7bc
|
||||
EBUILD s3transfer-0.3.5.ebuild 629 BLAKE2B 3c55ebd4b1fdd64f387ba78c14b5f39b757c93e0603d7f6f8e631851fe00440fd2659db1bbe16a804dbf82bbd1784b07d2cda2e06206bc1a24272545b852666f SHA512 51a34516a4f957ef97a0c85b948b32570f330052b89836ab34a2255bbbbfc545a1c523b4c6ec57ef29b7f90ce7821e67dc0fe7374fae422eadcb672575ff2807
|
||||
EBUILD s3transfer-0.3.6.ebuild 629 BLAKE2B 3c55ebd4b1fdd64f387ba78c14b5f39b757c93e0603d7f6f8e631851fe00440fd2659db1bbe16a804dbf82bbd1784b07d2cda2e06206bc1a24272545b852666f SHA512 51a34516a4f957ef97a0c85b948b32570f330052b89836ab34a2255bbbbfc545a1c523b4c6ec57ef29b7f90ce7821e67dc0fe7374fae422eadcb672575ff2807
|
||||
MISC metadata.xml 502 BLAKE2B 36893006073506d27c6f9c13e6b823e251906bd046a297c36373a2132ef809ad0babc4819122f89ce5b26e7c0ef1c410924594a27ff32c911c3c519cfd722889 SHA512 855d52af629703d3f31e35c16723220b26f45f977e131e41fe4a1ae9a98fb18a60fd89315a59c3f7d436d17a469ba8101e79d859d6968e627d423ef26894ab24
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
DISTUTILS_USE_SETUPTOOLS=bdepend
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="An Amazon S3 Transfer Manager"
|
||||
HOMEPAGE="https://github.com/boto/s3transfer"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/botocore[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
epytest tests/{unit,functional}
|
||||
}
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..9} )
|
||||
DISTUTILS_USE_SETUPTOOLS=bdepend
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="An Amazon S3 Transfer Manager"
|
||||
HOMEPAGE="https://github.com/boto/s3transfer"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/botocore[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
epytest tests/{unit,functional}
|
||||
}
|
@ -1,3 +1,5 @@
|
||||
DIST soupsieve-2.2.1.tar.gz 99298 BLAKE2B 94532421f3b8e49d6ab75a54a60ac861a78eee9f6792ded096e39a8a43d46d195cff9b7d8feab918b0f2debc8a6dd35226ab714384fa7f4d795176e269b6c4cb SHA512 c1339cfca237af7f8915b6d644b8271f769f9a37aa68f8acf536236551baaf9bb44a2f2a736f9168a7649cde14d37b8c24614c9491acbf81e3f4fdaea96b4928
|
||||
DIST soupsieve-2.2.tar.gz 99261 BLAKE2B 637bed198a62a7f92f6b3c022dcb9a579c15a3dcb1e3581b5a18b9ff804c2075c976c3478f86d2400841c177f3160dc05da41991ca56731c91e6db5b95262671 SHA512 26402c831c19c9b133442dd8ea31363e1eadc3cafe172b933cdbc746df6dc9961e930d4fbe8399b847848bf3fcd5893d2449e912ed0cdf8766468997acf5ee87
|
||||
EBUILD soupsieve-2.2.1.ebuild 716 BLAKE2B 8ed0f3b1c9c3872d0d55cf502fee7968f958ab7573334a9a7cb272ba8bee1e2a4a83ee7edf63c9f6a12cb4a613b2269c2ae4117bca862673a59b6e955df183a7 SHA512 4a8267e6fbb07a3f56226dd94484714b3937037bdfa7f5d352ddd30a60fff94e1ef48826b5690e7a57508077233cd0124d212d368416cf7848f00a79be47ae10
|
||||
EBUILD soupsieve-2.2.ebuild 749 BLAKE2B 44429a899b62211112f7162e4a39f1d420009aead6ff24da64f2cab1d732dd53702ab3734bc8bd835724e97b10d82c08fbe2ea6c9e1f5b91374eacb984ac7119 SHA512 d561cc99db56fe9e10dc015b5b04bb6926dcfa54f3836ca6db5e118e802eb4ec18455a4bc55bf636cbe199c3c65bd3207dc61fdc470e214c96812de396785fcb
|
||||
MISC metadata.xml 398 BLAKE2B 0aea8c93259062872f7899179236d9ee52a85d4055e3a5eee8e3643127611686b989c0985ed571d491734e80e45598dd1ad9e4fc25f56ba5e657b28a8a9eaf37 SHA512 36a527cf2a4572c0149f7cd344c3247309b89ef461d65347dfe30129ade1742bc54ffcc6d1483971a2adbe5e4de3a15ef73f6e8ba631f4dabba8d32a3bb2c288
|
||||
|
@ -0,0 +1,27 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
PYTHON_COMPAT=( python3_{7..9} pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A modern CSS selector implementation for BeautifulSoup"
|
||||
HOMEPAGE="https://github.com/facelessuser/soupsieve/
|
||||
https://pypi.org/project/soupsieve/"
|
||||
SRC_URI="https://github.com/facelessuser/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~x64-macos"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/beautifulsoup[${PYTHON_USEDEP}]
|
||||
dev-python/lxml[${PYTHON_USEDEP}]
|
||||
dev-python/html5lib[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
Binary file not shown.
@ -0,0 +1,133 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
inherit eutils desktop
|
||||
|
||||
SLOT="0"
|
||||
PV_STRING="$(ver_cut 2-6)"
|
||||
MY_PV="$(ver_cut 1-3)"
|
||||
MY_PN="idea"
|
||||
# Using the most recent Jetbrains Runtime binaries available at the time of writing
|
||||
# ( jre 11.0.8 build 1098.1 )
|
||||
JRE11_BASE="11_0_8"
|
||||
JRE11_VER="1098.1"
|
||||
|
||||
# distinguish settings for official stable releases and EAP-version releases
|
||||
if [[ "$(ver_cut 7)"x = "prex" ]]
|
||||
then
|
||||
# upstream EAP
|
||||
SRC_URI="https://download.jetbrains.com/idea/${MY_PN}IC-${PV_STRING}.tar.gz"
|
||||
else
|
||||
# upstream stable
|
||||
KEYWORDS="~amd64 ~arm64"
|
||||
SRC_URI="https://download.jetbrains.com/idea/${MY_PN}IC-${MY_PV}-no-jbr.tar.gz -> ${MY_PN}IC-${PV_STRING}.tar.gz
|
||||
amd64? ( https://bintray.com/jetbrains/intellij-jbr/download_file?file_path=jbr-${JRE11_BASE}-linux-x64-b${JRE11_VER}.tar.gz -> jbr-${JRE11_BASE}-linux-x64-b${JRE11_VER}.tar.gz )"
|
||||
fi
|
||||
|
||||
DESCRIPTION="A complete toolset for web, mobile and enterprise development"
|
||||
HOMEPAGE="https://www.jetbrains.com/idea"
|
||||
|
||||
LICENSE="Apache-2.0 BSD BSD-2 CC0-1.0 CC-BY-2.5 CDDL-1.1
|
||||
codehaus-classworlds CPL-1.0 EPL-1.0 EPL-2.0
|
||||
GPL-2 GPL-2-with-classpath-exception ISC
|
||||
JDOM LGPL-2.1 LGPL-2.1+ LGPL-3-with-linking-exception MIT
|
||||
MPL-1.0 MPL-1.1 OFL ZLIB"
|
||||
|
||||
DEPEND="
|
||||
|| (
|
||||
~dev-java/openjdk-11.0.9_p11:11
|
||||
~dev-java/openjdk-bin-11.0.9_p11:11
|
||||
)"
|
||||
RDEPEND="${DEPEND}
|
||||
dev-java/jansi-native
|
||||
dev-libs/libdbusmenu
|
||||
=dev-util/lldb-10*"
|
||||
|
||||
BDEPEND="dev-util/patchelf"
|
||||
RESTRICT="splitdebug"
|
||||
S="${WORKDIR}/${MY_PN}-IC-$(ver_cut 4-6)"
|
||||
|
||||
QA_PREBUILT="opt/${PN}-${MY_PV}/*"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-jdk.patch"
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
default_src_unpack
|
||||
mkdir jre64 && cd jre64 && unpack jbr-${JRE11_BASE}-linux-x64-b${JRE11_VER}.tar.gz
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
|
||||
default_src_prepare
|
||||
|
||||
if use amd64; then
|
||||
JRE_DIR=jre64
|
||||
else
|
||||
JRE_DIR=jre
|
||||
fi
|
||||
|
||||
PLUGIN_DIR="${S}/${JRE_DIR}/lib/"
|
||||
|
||||
rm -vf ${PLUGIN_DIR}/libavplugin*
|
||||
rm -vf "${S}"/plugins/maven/lib/maven3/lib/jansi-native/*/libjansi*
|
||||
rm -vrf "${S}"/lib/pty4j-native/linux/ppc64le
|
||||
rm -vf "${S}"/bin/libdbm64*
|
||||
rm -vf "${S}"/lib/pty4j-native/linux/mips64el/libpty.so
|
||||
|
||||
if [[ -d "${S}"/"${JRE_DIR}" ]]; then
|
||||
for file in "${PLUGIN_DIR}"/{libfxplugins.so,libjfxmedia.so}
|
||||
do
|
||||
if [[ -f "$file" ]]; then
|
||||
patchelf --set-rpath '$ORIGIN' $file || die
|
||||
fi
|
||||
done
|
||||
fi
|
||||
|
||||
patchelf --replace-needed liblldb.so liblldb.so.10 "${S}"/plugins/Kotlin/bin/linux/LLDBFrontend || die "Unable to patch LLDBFrontend for lldb"
|
||||
if use arm64; then
|
||||
patchelf --replace-needed libc.so libc.so.6 "${S}"/lib/pty4j-native/linux/aarch64/libpty.so || die "Unable to patch libpty for libc"
|
||||
else
|
||||
rm -vf "${S}"/lib/pty4j-native/linux/aarch64/libpty.so
|
||||
fi
|
||||
|
||||
sed -i \
|
||||
-e "\$a\\\\" \
|
||||
-e "\$a#-----------------------------------------------------------------------" \
|
||||
-e "\$a# Disable automatic updates as these are handled through Gentoo's" \
|
||||
-e "\$a# package manager. See bug #704494" \
|
||||
-e "\$a#-----------------------------------------------------------------------" \
|
||||
-e "\$aide.no.platform.update=Gentoo" bin/idea.properties
|
||||
|
||||
eapply_user
|
||||
}
|
||||
|
||||
src_install() {
|
||||
local dir="/opt/${PN}-${MY_PV}"
|
||||
|
||||
insinto "${dir}"
|
||||
doins -r *
|
||||
fperms 755 "${dir}"/bin/{format.sh,idea.sh,inspect.sh,printenv.py,restart.py,fsnotifier{,64}}
|
||||
if use amd64; then
|
||||
JRE_DIR=jre64
|
||||
else
|
||||
JRE_DIR=jre
|
||||
fi
|
||||
|
||||
JRE_BINARIES="jaotc java javapackager jjs jrunscript keytool pack200 rmid rmiregistry unpack200"
|
||||
if [[ -d ${JRE_DIR} ]]; then
|
||||
for jrebin in $JRE_BINARIES; do
|
||||
fperms 755 "${dir}"/"${JRE_DIR}"/bin/"${jrebin}"
|
||||
done
|
||||
fi
|
||||
|
||||
make_wrapper "${PN}" "${dir}/bin/${MY_PN}.sh"
|
||||
newicon "bin/${MY_PN}.png" "${PN}.png"
|
||||
make_desktop_entry "${PN}" "IntelliJ Idea Community" "${PN}" "Development;IDE;"
|
||||
|
||||
# recommended by: https://confluence.jetbrains.com/display/IDEADEV/Inotify+Watches+Limit
|
||||
mkdir -p "${D}/etc/sysctl.d/" || die
|
||||
echo "fs.inotify.max_user_watches = 524288" > "${D}/etc/sysctl.d/30-idea-inotify-watches.conf" || die
|
||||
}
|
@ -1,9 +1,9 @@
|
||||
AUX pkgconf-1.7.3-darwin9.patch 517 BLAKE2B f6f2374bb32aa2e9513df0c91e51ee41e0c8d1c847c3d00ac3a420a6299d3abca74d211b0e3b52a41d1a64d737d18d4348e5ea72ae5537425d14e8bac1fd1a67 SHA512 f55e795a503d5a0349968a6b69f3aae6335d90daa38c6f829f7ce54ab63beedde48e37a59397263aa8dffefbabc1bd9d22aeeff8d0111f7e317b580272aa3d41
|
||||
DIST pkgconf-1.6.3.tar.xz 291216 BLAKE2B 04bf58590e2f0b37bac7b24b3d595ad08680e85647548cbd642495398d95706f9f738af5c6f9b9ad8801567caa20ade85d4c4d74179f08313420683cb1b34263 SHA512 437c5a5c9866e2047e62e0592639930b2420d4afd41d98cef51f3475165418a39e916477860025314828a6ee0a4eefc10fdf26bda66f80c291f324d9674fa5c1
|
||||
DIST pkgconf-1.7.2.tar.xz 292944 BLAKE2B dd0197afb75590e18b6ec8c76f9a7109edc3a0934b6b9ef7bf4006ffa73b0083d2a4aa120f2f3bd0a0e9d5fd564fd7d387aedeaa297fe72c63bc440518a51c6d SHA512 b0376178e93743fd844bdc94b5fa2678521ffe5022323e20f3c5196d500a87c3546d0edc2ac22e92cb528348116e2826d6f144bd7bd18d3f0afaa5cda74f25cd
|
||||
DIST pkgconf-1.7.3.tar.xz 293148 BLAKE2B b0fdad9e86c7e2aaf5f268de779730e55e14d6f0ddbec50f354b888aa9ca284f6d1d4c462f00b815cd6e0e17a3b41025ce77485f66a7d527f519a7b80283774d SHA512 37b6c4f9f3b93970e35b6970fde22fbbde65e7fa32a5634b3fdfc25cc1f33843582722ad13d9a8e96fd6768406fcbe86bf5feb76996ddd0bb66d6ff91e65f0b6
|
||||
DIST pkgconf-1.7.4.tar.xz 293888 BLAKE2B af814174b59e3ea7009230f639a6237226caafb22300946904dd10810c0b5cfcbfeea21767a3a1d2c2b5cb1fe4b7b1d995a52d820fcfce3adb383c66762b7576 SHA512 92c080684898b42824a1f1a7e3ce8a600896fc9c20fcf263f032b856fa4c7139607f87ba44d18ed358b8c5f4f04477708800d20a4e10f96e4268a55682f7f0c1
|
||||
EBUILD pkgconf-1.6.3.ebuild 1667 BLAKE2B 17a7957cfa6994523620d43977f569d1e82c229ce67f478a3531e03b94bc40bbb0c1a76f1d01fe38b6369c700e0f8f79aa4c3aa92f4a9ef4cc1a0d139cb391f8 SHA512 bb283e3c29ca6bed10c5c4357c8e9456b7fc169881d8d708155e56bcfca2ebe5dc90a27f3e6c4b8a8289d6b15e7605d6faeafe651d8da0ed1e4ceaf1cd2eaef5
|
||||
EBUILD pkgconf-1.7.2.ebuild 1676 BLAKE2B 415269c2b15399d877263b95ea77f56f065ec2fc4047228dabeeea5e65df62cf91a47cd23dfa2865a67101e419b36b63c88df2ea804c0ce7cf87d836dcaf0fb3 SHA512 367c84f00478c27a93e3be87243af32693a072fc7e12ecb2ff0d0baf08ddcc16c2ec080904c58c8fdf7864d04fd33e0a79284274d357dcd349d75258662a5139
|
||||
EBUILD pkgconf-1.7.3-r1.ebuild 1873 BLAKE2B ebe897ccef4d85b6e69318ccc11d4ecde771b5c6b61fd166f09a673481c5016612f79692ddab4147228a8018f310fa2c79b678ce23ab6437b35816058f3077c1 SHA512 88f90221e933b8b20d64836b4d7b06e914e03fb7058c1f1d895d02d72cfb76735ab3252a485001ccb412af32f2edd5fd2b23209662daced0f98f01a7616329d7
|
||||
EBUILD pkgconf-1.7.4.ebuild 1873 BLAKE2B ebe897ccef4d85b6e69318ccc11d4ecde771b5c6b61fd166f09a673481c5016612f79692ddab4147228a8018f310fa2c79b678ce23ab6437b35816058f3077c1 SHA512 88f90221e933b8b20d64836b4d7b06e914e03fb7058c1f1d895d02d72cfb76735ab3252a485001ccb412af32f2edd5fd2b23209662daced0f98f01a7616329d7
|
||||
EBUILD pkgconf-9999.ebuild 1766 BLAKE2B c470aa4fc8eeb6c2e61c636eab8d9b1684eda76d1d7f2c5734e5159ae9ab4f905adbdb372166ba38ab13bc5bf83c92022c07023a0ca7ac512baa0c348086ff1a SHA512 c101e8a92926436c40a82da763c6a92a43e503b10014cd59ed202b1ea257de52f12e5c8d1bd91ea23aa07880e11a0bf8fbaea89009cf563fa9495e3b8b8a9efe
|
||||
MISC metadata.xml 605 BLAKE2B 316f82c4daabf91792e48e82973daaf0b0af972f7760636990e64c94e5e68b41b7cf65fa5d15387ce81a25926a5ffea19519ffe29a1ae487046d973708495b75 SHA512 68a71f55636e987c721da3c54451c75068e3261a0b462189fed45309bb4c286d0ec00a8a29962969b54ac8e31a13a34167cfc3fd44f5da8b84e4ce36eb5b4b10
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue