parent
dbd9083389
commit
cab8ea3214
@ -1,23 +1,23 @@
|
|||||||
-----BEGIN PGP SIGNED MESSAGE-----
|
-----BEGIN PGP SIGNED MESSAGE-----
|
||||||
Hash: SHA512
|
Hash: SHA512
|
||||||
|
|
||||||
MANIFEST Manifest.files.gz 29627 BLAKE2B ff826ab03761b5f5cffbdcb204061f859bdec5221f0b950494c35771931e0c2cd7a7abc399cd136ccd8aa615eaa0e1d141115424a36040083756c9f1350ebfbd SHA512 e8eb173e2eb4d714c1d1ca84933770c11e0845627b8e5269f01c75b224dda4307e6416b70f78f9b64d9f0bab39dcf2c8ff88e623f4fc82364ce24047caead510
|
MANIFEST Manifest.files.gz 29638 BLAKE2B 6a064be88af7cb11efd86bb84d18376d9ae1ca6dfdbbf1a96a4f4bf66db2b78f989d6ab1d46a15e3445d245a63845b7cb60b02eecc3f4f0889c0a3d05cd362be SHA512 d8cacac72346b56299f1741b789c778840f086a610e713491f41dc30af501d13f732dd79b3220c892a35847c0ccceaf296809ab7d0dd52621b4e3c55249b3753
|
||||||
TIMESTAMP 2022-03-17T05:09:25Z
|
TIMESTAMP 2022-03-18T18:39:29Z
|
||||||
-----BEGIN PGP SIGNATURE-----
|
-----BEGIN PGP SIGNATURE-----
|
||||||
|
|
||||||
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmIywoVfFIAAAAAALgAo
|
iQKTBAEBCgB9FiEE4dartjv8+0ugL98c7FkO6skYklAFAmI00eFfFIAAAAAALgAo
|
||||||
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldEUx
|
||||||
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
RDZBQkI2M0JGQ0ZCNEJBMDJGREYxQ0VDNTkwRUVBQzkxODkyNTAACgkQ7FkO6skY
|
||||||
klBYAA//RnZzM2VbfzoeC1tmbKT7gYk+TvhAIy6S2/XdJIe7hOkMfF2E1zU40NsT
|
klDPRg/9G/YiXVQw/lv8WMnfvIS+crdS6EqrSfXAOCluvIc9f8pdzkmB7Fbp3RF1
|
||||||
88/Zfog8SLg+zaA6DlI8ni+J/3qrdnoUA/C8v3pSwK4LYcVcnE8cYa0PbFHfW+1t
|
83nvmb3bjaVmJMj2KnatgAYOGudst5jNgBYHVGqsWVsjJzJPBM6mOTzi/WCbiJtY
|
||||||
DZiGsRRODOxHBCR44YiKlx6qWPuaChmhGyzulraiRTUU/DwZALUe3LF7cYAicimP
|
n7s8NjlaRE3me48hpRaOshZJRJu7qk7VrvPhjVJn7laOOwSikNSkT+eCNJ937Ren
|
||||||
TzNWwLY/93Y6pp4rSzNvsuDwp9zIxlAq8O+2OFlD/24+prxZ2oVRzPxCPVg+kPD2
|
vF2CudnkPV6rKGUp/cITB+I733UpVJUls2Iyhc86GaT5KEHSfHOQgcCpKWT2srDf
|
||||||
lp9J/Ez0PZAHSCe3uoYsz4osuVYNn7e/b6RFh8fKuhyBIXMkS1om87X9lAu1BTkc
|
xSJptLDSaZz2PkKbERLnOssej6iDidoJm7n28co9UKfFCpRs0X1G2f4VG+p3u24r
|
||||||
MfPOhx/0ixyXRPD3GuUGGfeFnBXQV+jK6bXZUZ3RxJWqHOfmlf3uE+eeTYqHUT0B
|
BrgrkAv0BRNS+r/JUntX1X2318vVOQahdHtIeDS+GGYhZB/6q7UB/IxVZhDYWDl4
|
||||||
UaAMCXU5Vp0D5EBJ3oe3K2grjVzgBOHi0GM+3ttqnwGMl7P7hwDBMHfTh9ebQSYU
|
ND7pCbmkaFNE/xwA9dgW4Y+131z/nF+aAX51Oe9ADOrHz69PcOwcKUI5mi5aXf1H
|
||||||
UQOUWaTA6UQG5tnxl2ue4HGRgoo10lvLqkB4AIuHy74QmsdSLlVzEsbSsUxUORP/
|
yXOgU3Pj6MZ37fUpaP2/LeUBcs/3webkKGbMeR4+INH1Kg5dIRggmnpqcyy0KkMl
|
||||||
2KUWIzJLLTg9flzyBZztIsDZQqRhwuYB3AE70L3dyT+OVNSuZZma3Iw7+nvQHRqz
|
xY0jx4lity8bhKhzcM+DA1txh11Z4wvaWRSDmHcnKk0FLyYxfNhGUt30fRgpPpcM
|
||||||
SwB6KK9Tqw4HFxs71TZyIohU+1GST226auX+y/6AWky6yjXckrPjSOTmpFc7CChr
|
EeER7TURK43wc74qwU5VcUfa3YlUtdbfVS9t+dVLezaAhDhxwuGRsJdw4F5uMpiK
|
||||||
EGxGXYuu2igaGFnPLjLzY24ko0mgVxZCMR6N61TvVb0u9VEyGH8=
|
ZHtcWjkP8397fMaLc5H5ihabs4GffxmKBzt9/jwad1uMcLdFACU=
|
||||||
=Wjd0
|
=ZQ18
|
||||||
-----END PGP SIGNATURE-----
|
-----END PGP SIGNATURE-----
|
||||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,9 +1,6 @@
|
|||||||
AUX apache-tools-2.4.7-Makefile.patch 1695 BLAKE2B 8fac145613ac9f587e49bc6932c5712b7d7cad0d91422e11701edd24152e1d33907cbf31e3bef709555253759cea72199d4537df5d20d3ce9ca5dc898ba26779 SHA512 f597ce5503e590ed5b2621c04dcf0a571a73b70f144df7fe4e5fb7329a4f1558a5eb16913fe3d7c58ac1030f46cd2b1882e08d0f62106fbf8d40a8677c6b9448
|
AUX apache-tools-2.4.7-Makefile.patch 1695 BLAKE2B 8fac145613ac9f587e49bc6932c5712b7d7cad0d91422e11701edd24152e1d33907cbf31e3bef709555253759cea72199d4537df5d20d3ce9ca5dc898ba26779 SHA512 f597ce5503e590ed5b2621c04dcf0a571a73b70f144df7fe4e5fb7329a4f1558a5eb16913fe3d7c58ac1030f46cd2b1882e08d0f62106fbf8d40a8677c6b9448
|
||||||
DIST httpd-2.4.51.tar.bz2 7653609 BLAKE2B a0743327f0411f5cb8b7d0426bf78db0f370e3d587f3a4c4bb7de0e4499effa3f44f5998e19e9ca3ed7b6fc9a8c0867cbe62134b5af7e6ed6c3bc29770b797df SHA512 9fb07c4b176f5c0485a143e2b1bb1085345ca9120b959974f68c37a8911a57894d2cb488b1b42fdf3102860b99e890204f5e9fa7ae3828b481119c563812cc66
|
|
||||||
DIST httpd-2.4.52.tar.bz2 7439184 BLAKE2B caa3f96226eeaf2f7ab625a73e820e7c6c5661a80983fa1cd2f4ab5366fcad03e1f47ad02ab060662ceb941fc777b1fb8a269ec5f0d9c6f7a3d93756e995d713 SHA512 97c021c576022a9d32f4a390f62e07b5f550973aef2f299fd52defce1a9fa5d27bd4a676e7bf214373ba46063d34aecce42de62fdd93678a4e925cfcbb2afdf6
|
DIST httpd-2.4.52.tar.bz2 7439184 BLAKE2B caa3f96226eeaf2f7ab625a73e820e7c6c5661a80983fa1cd2f4ab5366fcad03e1f47ad02ab060662ceb941fc777b1fb8a269ec5f0d9c6f7a3d93756e995d713 SHA512 97c021c576022a9d32f4a390f62e07b5f550973aef2f299fd52defce1a9fa5d27bd4a676e7bf214373ba46063d34aecce42de62fdd93678a4e925cfcbb2afdf6
|
||||||
DIST httpd-2.4.53.tar.bz2 7431942 BLAKE2B 44acd51a2c18ae66878d64922947f2f24f0ddf8a5fa70718f788572032e18dafd06888fed3cf559e63e2a9e69d9b0a8dcc79e11fc9d8f216b5b073f769494727 SHA512 07ef59594251a30a864cc9cc9a58ab788c2d006cef85b728f29533243927c63cb063e0867f2a306f37324c3adb9cf7dcb2402f3516b05c2c6f32469d475dd756
|
DIST httpd-2.4.53.tar.bz2 7431942 BLAKE2B 44acd51a2c18ae66878d64922947f2f24f0ddf8a5fa70718f788572032e18dafd06888fed3cf559e63e2a9e69d9b0a8dcc79e11fc9d8f216b5b073f769494727 SHA512 07ef59594251a30a864cc9cc9a58ab788c2d006cef85b728f29533243927c63cb063e0867f2a306f37324c3adb9cf7dcb2402f3516b05c2c6f32469d475dd756
|
||||||
EBUILD apache-tools-2.4.51-r1.ebuild 2429 BLAKE2B 9778488e729d774813606ced8edf05428d7659a4fb05b4f80c25f90691a744353311362848c370f3af033d47687c48382855670dfd2dc1ae03a4eb52cb624616 SHA512 c33f563a395c24430c0808d08f8a9f4454f6b8b0b62b358d39d7fbcd949de748c89b3c61a68a23519f4c9cb188a99436ed625c9300ff7304f97e9fb872b9671a
|
|
||||||
EBUILD apache-tools-2.4.51.ebuild 2494 BLAKE2B 2dc2cb347c7eac724fb85c0ee7a5f7131ff3cc71636f1a87141fa4c1fd3c9e7208e87182fb2ff819f5268a553a10fdc1e978bbe2f18a833d34cc9864409c6b18 SHA512 d185502697cd6e5939db0ac2d7cfc170cddfbb1904a545f9ef822693414ec978062787eaa4ce78ad90e85025735b1982dd5beddb261764aed43d3a39dbf9fbca
|
|
||||||
EBUILD apache-tools-2.4.52.ebuild 2422 BLAKE2B 0214e302367ab16e6ae8d4ae2870fa3337b6b68648a13ca9c93edd7612b3e9c9f7ec21a7b87b7f673f0df906c3a7ec08938f3c06ae1541f164f92c30b6715baf SHA512 bc3bb6c35a9021b9e1c880fe4a3e572d93f042a8fc639f0fa692395a7c71841787c8c796d0d65ba8de4c6f5cbf08225dfd7702cbd1d0061e707de028cdf33cda
|
EBUILD apache-tools-2.4.52.ebuild 2422 BLAKE2B 0214e302367ab16e6ae8d4ae2870fa3337b6b68648a13ca9c93edd7612b3e9c9f7ec21a7b87b7f673f0df906c3a7ec08938f3c06ae1541f164f92c30b6715baf SHA512 bc3bb6c35a9021b9e1c880fe4a3e572d93f042a8fc639f0fa692395a7c71841787c8c796d0d65ba8de4c6f5cbf08225dfd7702cbd1d0061e707de028cdf33cda
|
||||||
EBUILD apache-tools-2.4.53.ebuild 2425 BLAKE2B 3175e0f51f74fb8455387309896140b6fbf7e774e2e24856725ad719a8f70b96dacf5694ecfefad27668c5c5eb505105a04980319d0e7e51ceda82899a0a2bda SHA512 6980bc0ab55a00d31e60377f9d6fe9b248575bdef7e4e2325f58c4914518d3c380c684ed6c24565de1db981bac7737f1940555db508e247319eb0d9d50f02bd5
|
EBUILD apache-tools-2.4.53.ebuild 2422 BLAKE2B 0214e302367ab16e6ae8d4ae2870fa3337b6b68648a13ca9c93edd7612b3e9c9f7ec21a7b87b7f673f0df906c3a7ec08938f3c06ae1541f164f92c30b6715baf SHA512 bc3bb6c35a9021b9e1c880fe4a3e572d93f042a8fc639f0fa692395a7c71841787c8c796d0d65ba8de4c6f5cbf08225dfd7702cbd1d0061e707de028cdf33cda
|
||||||
MISC metadata.xml 469 BLAKE2B d94d7a27ad1d65eb651c92ff82f5e8f4181737a65ad8dae29843693c4fd639d15b82e419f39ff12273c964b2cd4cbb6eb9850ef358e02b6ebe6a25a2fe2f5877 SHA512 409c831b4c337d40b71fd41a48c5aa9ad4e922baa86d931e3aa2bd556c2312154022fa5297daa03084da08d7f9739e37be87446f25c784c30b3df992b0165189
|
MISC metadata.xml 469 BLAKE2B d94d7a27ad1d65eb651c92ff82f5e8f4181737a65ad8dae29843693c4fd639d15b82e419f39ff12273c964b2cd4cbb6eb9850ef358e02b6ebe6a25a2fe2f5877 SHA512 409c831b4c337d40b71fd41a48c5aa9ad4e922baa86d931e3aa2bd556c2312154022fa5297daa03084da08d7f9739e37be87446f25c784c30b3df992b0165189
|
||||||
|
@ -1,101 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
inherit toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="Useful Apache tools - htdigest, htpasswd, ab, htdbm"
|
|
||||||
HOMEPAGE="https://httpd.apache.org/"
|
|
||||||
SRC_URI="mirror://apache/httpd/httpd-${PV}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc64-solaris ~x64-solaris"
|
|
||||||
IUSE="ssl"
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
RDEPEND=">=dev-libs/apr-1.5.0:1=
|
|
||||||
dev-libs/apr-util:1=
|
|
||||||
dev-libs/expat
|
|
||||||
dev-libs/libpcre
|
|
||||||
virtual/libcrypt:=
|
|
||||||
kernel_linux? ( sys-apps/util-linux )
|
|
||||||
ssl? ( dev-libs/openssl:0= )"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
sys-devel/libtool"
|
|
||||||
BDEPEND="virtual/pkgconfig"
|
|
||||||
|
|
||||||
S="${WORKDIR}/httpd-${PV}"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/${PN}-2.4.7-Makefile.patch" #459446
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# This package really should upgrade to using pcre's .pc file.
|
|
||||||
cat <<-\EOF >"${T}"/pcre-config
|
|
||||||
#!/bin/bash
|
|
||||||
flags=()
|
|
||||||
for flag; do
|
|
||||||
if [[ ${flag} == "--version" ]]; then
|
|
||||||
flags+=( --modversion )
|
|
||||||
else
|
|
||||||
flags+=( "${flag}" )
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
exec ${PKG_CONFIG} libpcre "${flags[@]}"
|
|
||||||
EOF
|
|
||||||
chmod a+x "${T}"/pcre-config || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# Brain dead check.
|
|
||||||
tc-is-cross-compiler && export ap_cv_void_ptr_lt_long="no"
|
|
||||||
|
|
||||||
tc-export PKG_CONFIG
|
|
||||||
|
|
||||||
local myeconfargs=(
|
|
||||||
--libexecdir="${EPREFIX}"/usr/$(get_libdir)/apache2/modules
|
|
||||||
--sbindir="${EPREFIX}"/usr/sbin
|
|
||||||
--with-z="${EPREFIX}"/usr
|
|
||||||
--with-apr="${SYSROOT}${EPREFIX}"/usr
|
|
||||||
--with-apr-util="${SYSROOT}${EPREFIX}"/usr
|
|
||||||
--with-pcre="${T}"/pcre-config
|
|
||||||
$(use_enable ssl)
|
|
||||||
$(usex ssl '--with-ssl="${EPREFIX}"/usr' '')
|
|
||||||
)
|
|
||||||
# econf overwrites the stuff from config.layout.
|
|
||||||
ac_cv_path_PKGCONFIG="${PKG_CONFIG}" \
|
|
||||||
econf "${myeconfargs[@]}"
|
|
||||||
sed -i \
|
|
||||||
-e '/^LTFLAGS/s:--silent::' \
|
|
||||||
build/rules.mk build/config_vars.mk || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake -C support
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake -C support DESTDIR="${D}" install
|
|
||||||
dodoc CHANGES
|
|
||||||
doman docs/man/{dbmmanage,htdigest,htpasswd,htdbm,ab,logresolve}.1 \
|
|
||||||
docs/man/{htcacheclean,rotatelogs}.8
|
|
||||||
|
|
||||||
# Providing compatiblity symlinks for #177697 (which we'll stop to install
|
|
||||||
# at some point).
|
|
||||||
pushd "${ED}"/usr/sbin >/dev/null || die
|
|
||||||
local i
|
|
||||||
for i in *; do
|
|
||||||
dosym ${i} /usr/sbin/${i}2
|
|
||||||
done
|
|
||||||
popd >/dev/null || die
|
|
||||||
|
|
||||||
# Provide a symlink for ab-ssl
|
|
||||||
if use ssl ; then
|
|
||||||
dosym ab /usr/bin/ab-ssl
|
|
||||||
dosym ab /usr/bin/ab2-ssl
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,103 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
inherit toolchain-funcs
|
|
||||||
|
|
||||||
DESCRIPTION="Useful Apache tools - htdigest, htpasswd, ab, htdbm"
|
|
||||||
HOMEPAGE="https://httpd.apache.org/"
|
|
||||||
SRC_URI="mirror://apache/httpd/httpd-${PV}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc64-solaris ~x64-solaris"
|
|
||||||
IUSE="ssl"
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
RDEPEND=">=dev-libs/apr-1.5.0:1=
|
|
||||||
dev-libs/apr-util:1=
|
|
||||||
dev-libs/expat
|
|
||||||
dev-libs/libpcre
|
|
||||||
virtual/libcrypt:=
|
|
||||||
kernel_linux? ( sys-apps/util-linux )
|
|
||||||
ssl? ( dev-libs/openssl:0= )"
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
sys-devel/libtool"
|
|
||||||
BDEPEND="virtual/pkgconfig"
|
|
||||||
|
|
||||||
S="${WORKDIR}/httpd-${PV}"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/${PN}-2.4.7-Makefile.patch" #459446
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# This package really should upgrade to using pcre's .pc file.
|
|
||||||
cat <<-\EOF >"${T}"/pcre-config
|
|
||||||
#!/bin/bash
|
|
||||||
flags=()
|
|
||||||
for flag; do
|
|
||||||
if [[ ${flag} == "--version" ]]; then
|
|
||||||
flags+=( --modversion )
|
|
||||||
else
|
|
||||||
flags+=( "${flag}" )
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
exec ${PKG_CONFIG} libpcre "${flags[@]}"
|
|
||||||
EOF
|
|
||||||
chmod a+x "${T}"/pcre-config || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# Brain dead check.
|
|
||||||
tc-is-cross-compiler && export ap_cv_void_ptr_lt_long="no"
|
|
||||||
|
|
||||||
tc-export PKG_CONFIG
|
|
||||||
|
|
||||||
local myeconfargs=(
|
|
||||||
--libexecdir="${EPREFIX}"/usr/$(get_libdir)/apache2/modules
|
|
||||||
--sbindir="${EPREFIX}"/usr/sbin
|
|
||||||
--with-perl="${EPREFIX}"/usr/bin/perl
|
|
||||||
--with-expat="${EPREFIX}"/usr
|
|
||||||
--with-z="${EPREFIX}"/usr
|
|
||||||
--with-apr="${SYSROOT}${EPREFIX}"/usr
|
|
||||||
--with-apr-util="${SYSROOT}${EPREFIX}"/usr
|
|
||||||
--with-pcre="${T}"/pcre-config
|
|
||||||
$(use_enable ssl)
|
|
||||||
$(usex ssl '--with-ssl="${EPREFIX}"/usr' '')
|
|
||||||
)
|
|
||||||
# econf overwrites the stuff from config.layout.
|
|
||||||
ac_cv_path_PKGCONFIG="${PKG_CONFIG}" \
|
|
||||||
econf "${myeconfargs[@]}"
|
|
||||||
sed -i \
|
|
||||||
-e '/^LTFLAGS/s:--silent::' \
|
|
||||||
build/rules.mk build/config_vars.mk || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake -C support
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
emake -C support DESTDIR="${D}" install
|
|
||||||
dodoc CHANGES
|
|
||||||
doman docs/man/{dbmmanage,htdigest,htpasswd,htdbm,ab,logresolve}.1 \
|
|
||||||
docs/man/{htcacheclean,rotatelogs}.8
|
|
||||||
|
|
||||||
# Providing compatiblity symlinks for #177697 (which we'll stop to install
|
|
||||||
# at some point).
|
|
||||||
pushd "${ED}"/usr/sbin >/dev/null || die
|
|
||||||
local i
|
|
||||||
for i in *; do
|
|
||||||
dosym ${i} /usr/sbin/${i}2
|
|
||||||
done
|
|
||||||
popd >/dev/null || die
|
|
||||||
|
|
||||||
# Provide a symlink for ab-ssl
|
|
||||||
if use ssl ; then
|
|
||||||
dosym ab /usr/bin/ab-ssl
|
|
||||||
dosym ab /usr/bin/ab2-ssl
|
|
||||||
fi
|
|
||||||
}
|
|
@ -0,0 +1,66 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=setuptools
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
|
||||||
|
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||||
|
|
||||||
|
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||||
|
HOMEPAGE="https://pypi.org/project/awscli/"
|
||||||
|
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
S="${WORKDIR}/aws-cli-${PV}"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||||
|
|
||||||
|
# awscli 1.22.55 → botocore 1.24.0
|
||||||
|
# so botocore is x.(y+2).(z-55)
|
||||||
|
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(( $(ver_cut 3-) - 55))"
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||||
|
dev-python/colorama[${PYTHON_USEDEP}]
|
||||||
|
dev-python/docutils[${PYTHON_USEDEP}]
|
||||||
|
dev-python/rsa[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
# do not rely on bundled deps in botocore (sic!)
|
||||||
|
find -name '*.py' -exec sed -i \
|
||||||
|
-e 's:from botocore[.]vendored import:import:' \
|
||||||
|
-e 's:from botocore[.]vendored[.]:from :' \
|
||||||
|
{} + || die
|
||||||
|
# strip overzealous upper bounds on requirements
|
||||||
|
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||||
|
distutils-r1_src_prepare
|
||||||
|
}
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
# integration tests require AWS credentials and Internet access
|
||||||
|
epytest tests/{functional,unit} \
|
||||||
|
-n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
newbashcomp bin/aws_bash_completer aws
|
||||||
|
|
||||||
|
insinto /usr/share/zsh/site-functions
|
||||||
|
newins bin/aws_zsh_completer.sh _aws
|
||||||
|
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
|
||||||
|
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||||
|
}
|
Binary file not shown.
@ -1,7 +1,9 @@
|
|||||||
AUX backintime-1.2.1-no-compress-docs-examples.patch 6018 BLAKE2B 9ef4f8c5b81677340707e98550ab8e0d4c574a9bfe36fbb9c178f2050ca726ce995927bf2a186363243cc64f4e8be3b99a12b7b2b37ad0d4f6892ae6f730e48d SHA512 6484fdcc4ede6f5c57bfef985a290b9d8a74aecaea43e239a3368cf79aa6797d7fa4842fa331b259afd25084d9c514e643916c39c34d4a8b33bc668c93d9b180
|
AUX backintime-1.2.1-no-compress-docs-examples.patch 6018 BLAKE2B 9ef4f8c5b81677340707e98550ab8e0d4c574a9bfe36fbb9c178f2050ca726ce995927bf2a186363243cc64f4e8be3b99a12b7b2b37ad0d4f6892ae6f730e48d SHA512 6484fdcc4ede6f5c57bfef985a290b9d8a74aecaea43e239a3368cf79aa6797d7fa4842fa331b259afd25084d9c514e643916c39c34d4a8b33bc668c93d9b180
|
||||||
DIST backintime-1.2.1.tar.gz 713853 BLAKE2B 0f05d6cdc04a41ec9737badb8693c1270bb1333b2986fce925625ba2d7be05de0630ff5f59a7b5854a38ba382d6992df1ffc4e1cb584cae0e2618b877db4f06b SHA512 91dbc76a7db81469c5a538be03196c8e307d13307486d8e1c6cad10ce0af399de495f0292fecffc2853ed78804b5899750f06f274b4701efe3af6a708ea1024e
|
DIST backintime-1.2.1.tar.gz 713853 BLAKE2B 0f05d6cdc04a41ec9737badb8693c1270bb1333b2986fce925625ba2d7be05de0630ff5f59a7b5854a38ba382d6992df1ffc4e1cb584cae0e2618b877db4f06b SHA512 91dbc76a7db81469c5a538be03196c8e307d13307486d8e1c6cad10ce0af399de495f0292fecffc2853ed78804b5899750f06f274b4701efe3af6a708ea1024e
|
||||||
DIST backintime-1.3.1.tar.gz 714401 BLAKE2B 5b6a294d5a22ee3928725caf1a9895b665bfcddd6b779355cd7f7e58b5a201c3d2158ef4b30fb73eb4525c1a54cacf878397874f28b06798b7bfd973df467a39 SHA512 faac8552748da75db62cf7fa7eea686fd8b262016d1072f432fff54a6c0c72929650582870b4c56efbaa4ef5984acaece9e1d76eb72abcce91c6fc92d34d52ad
|
DIST backintime-1.3.1.tar.gz 714401 BLAKE2B 5b6a294d5a22ee3928725caf1a9895b665bfcddd6b779355cd7f7e58b5a201c3d2158ef4b30fb73eb4525c1a54cacf878397874f28b06798b7bfd973df467a39 SHA512 faac8552748da75db62cf7fa7eea686fd8b262016d1072f432fff54a6c0c72929650582870b4c56efbaa4ef5984acaece9e1d76eb72abcce91c6fc92d34d52ad
|
||||||
|
DIST backintime-1.3.2.tar.gz 714459 BLAKE2B cc53bd5391155705016248511e30cdfa7bc25f0a7cb170dfeeffda397e8be1b22f8e335063289d8c192f94c469430655064899ac8059f22f3b7582e3af87d373 SHA512 19f756d03cc7533e02bb5172ae3f8c167206bf5e8d60c0f3af1f647e01297a4eeb7889bbb5b58e46636bc31392ee436249b276ddbfa41697a0538c542fa26cb8
|
||||||
EBUILD backintime-1.2.1.ebuild 1602 BLAKE2B c1616f90555a470bb735b68d8726aa40bf41275038d715adc030c9f8838e6c2f20e2ca2dd47833709274afa77795cbd1f2eb233b8bee01f4009ac48153289b88 SHA512 7f4ddec92cdd68f51e489b0cd3850d4ff7fbce94e3afb82c8c10f53bf9fea895f46bfb275467f7d67f07a843b23e56d9060ebae7a2bcfeca0466b389082a7b7b
|
EBUILD backintime-1.2.1.ebuild 1602 BLAKE2B c1616f90555a470bb735b68d8726aa40bf41275038d715adc030c9f8838e6c2f20e2ca2dd47833709274afa77795cbd1f2eb233b8bee01f4009ac48153289b88 SHA512 7f4ddec92cdd68f51e489b0cd3850d4ff7fbce94e3afb82c8c10f53bf9fea895f46bfb275467f7d67f07a843b23e56d9060ebae7a2bcfeca0466b389082a7b7b
|
||||||
EBUILD backintime-1.3.1.ebuild 1621 BLAKE2B e9e0ffa41497be3ce63c3c5827dbc6809123dc06b0427cbc438b5ed6367064502c6f8932bd57d2901882af1fa80914d8ff1659e37c73412e1d8a32ed5ad9d668 SHA512 15e5a2adb27450903befd78a80bf5480ac562be318b61fa4e7251247fc29313b38f147cbaa5496f7a96c98eac22282b1fea8ec86448af343831274761adc03aa
|
EBUILD backintime-1.3.1.ebuild 1621 BLAKE2B e9e0ffa41497be3ce63c3c5827dbc6809123dc06b0427cbc438b5ed6367064502c6f8932bd57d2901882af1fa80914d8ff1659e37c73412e1d8a32ed5ad9d668 SHA512 15e5a2adb27450903befd78a80bf5480ac562be318b61fa4e7251247fc29313b38f147cbaa5496f7a96c98eac22282b1fea8ec86448af343831274761adc03aa
|
||||||
|
EBUILD backintime-1.3.2.ebuild 1653 BLAKE2B 0900758a5a3e7bb4b77b7a4163d87a5cd099844da3b591dd35e80fe0b058f441e9e1c4e3eb5e706db1b4a0d3acb28107c3a32687c54628472bfea3e3d1fdbe50 SHA512 ec292d969d5cfb409d04fddd43e7a94109ba315add2e26e66e53cc013a086bd7040b58e9c40010a3f38a47b59162319ce6ebe8070fc87d66acccd7e22933ee1e
|
||||||
EBUILD backintime-9999.ebuild 1583 BLAKE2B b08c2e4f33ae8f86b714a1871ea0a2675d36e12a0274fbf46062d267e0478db498773b5e4b7dde932744cabf006de24bf8a5fe2f9561ec4c9a40a42dc23a6e6d SHA512 8a11499f309c81db1e7508336e15cbca4e41bce3ff4c67d8e83fbca510a01176e60498ab7d5fd07dc304b8cfab6106d997ddab2b9d05189215f65d67748a754d
|
EBUILD backintime-9999.ebuild 1583 BLAKE2B b08c2e4f33ae8f86b714a1871ea0a2675d36e12a0274fbf46062d267e0478db498773b5e4b7dde932744cabf006de24bf8a5fe2f9561ec4c9a40a42dc23a6e6d SHA512 8a11499f309c81db1e7508336e15cbca4e41bce3ff4c67d8e83fbca510a01176e60498ab7d5fd07dc304b8cfab6106d997ddab2b9d05189215f65d67748a754d
|
||||||
MISC metadata.xml 665 BLAKE2B 402f8b0414939dc87e826c6f635503c87343892033df66701d5be6d379df8d932ba155ffcc8764f7b5a71e3d89f8cb5c83b0ea3a515450c86f6899224298c79e SHA512 4d5271dc1500bb5d4e3f8c7090b95dfd6cb3df44d5c93a2c00fdda7ccdafaf2366c584e331a0b7c83087ea2ca5833f2317fd828676eb5c1d40cea1faa18fbf96
|
MISC metadata.xml 665 BLAKE2B 402f8b0414939dc87e826c6f635503c87343892033df66701d5be6d379df8d932ba155ffcc8764f7b5a71e3d89f8cb5c83b0ea3a515450c86f6899224298c79e SHA512 4d5271dc1500bb5d4e3f8c7090b95dfd6cb3df44d5c93a2c00fdda7ccdafaf2366c584e331a0b7c83087ea2ca5833f2317fd828676eb5c1d40cea1faa18fbf96
|
||||||
|
@ -0,0 +1,78 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
|
||||||
|
inherit python-single-r1 xdg
|
||||||
|
|
||||||
|
DESCRIPTION="Backup system inspired by TimeVault and FlyBack"
|
||||||
|
HOMEPAGE="https://backintime.readthedocs.io/en/latest/ https://github.com/bit-team/backintime/"
|
||||||
|
SRC_URI="https://github.com/bit-team/${PN}/releases/download/v${PV}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="examples qt5"
|
||||||
|
|
||||||
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||||
|
|
||||||
|
DEPEND="${PYTHON_DEPS}
|
||||||
|
$(python_gen_cond_dep '
|
||||||
|
dev-python/dbus-python[${PYTHON_USEDEP}]
|
||||||
|
dev-python/keyring[${PYTHON_USEDEP}]
|
||||||
|
')"
|
||||||
|
RDEPEND="${DEPEND}
|
||||||
|
net-misc/openssh
|
||||||
|
net-misc/rsync[xattr,acl]
|
||||||
|
qt5? ( dev-python/PyQt5[gui,widgets] )"
|
||||||
|
BDEPEND="sys-devel/gettext"
|
||||||
|
|
||||||
|
PATCHES=( "${FILESDIR}/${PN}-1.2.1-no-compress-docs-examples.patch" )
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
pushd common > /dev/null || die
|
||||||
|
# Not autotools
|
||||||
|
./configure --python3 --no-fuse-group || die
|
||||||
|
popd > /dev/null || die
|
||||||
|
|
||||||
|
if use qt5 ; then
|
||||||
|
pushd qt > /dev/null || die
|
||||||
|
./configure --python3 || die
|
||||||
|
popd > /dev/null || die
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
pushd common > /dev/null || die
|
||||||
|
emake
|
||||||
|
popd > /dev/null || die
|
||||||
|
|
||||||
|
if use qt5 ; then
|
||||||
|
pushd qt > /dev/null || die
|
||||||
|
emake
|
||||||
|
popd > /dev/null || die
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
pushd common > /dev/null || die
|
||||||
|
emake DESTDIR="${D}" install
|
||||||
|
popd > /dev/null || die
|
||||||
|
|
||||||
|
if use qt5 ; then
|
||||||
|
pushd qt > /dev/null || die
|
||||||
|
emake DESTDIR="${D}" install
|
||||||
|
popd > /dev/null || die
|
||||||
|
fi
|
||||||
|
|
||||||
|
einstalldocs
|
||||||
|
|
||||||
|
if use examples ; then
|
||||||
|
docinto examples
|
||||||
|
dodoc common/{config-example-local,config-example-ssh}
|
||||||
|
fi
|
||||||
|
|
||||||
|
python_optimize "${D}"
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
@ -1,10 +1,4 @@
|
|||||||
AUX darwin-triplet.patch 657 BLAKE2B cb710ca481e9a45d593ab857dc10ff8baf6c3bc5fbd2ac9ef97cee5589d8873cdc81a6a730f9058a7b9a10199667384ebbf56f828d2e6b817bf40443653adbe5 SHA512 5caec1179c860c0bf003605dd96d8c4a47a3ef784d937080a237106364918a36c1bf1138b9a4b1b0f5e5c042d653c5b324ada1a0f9b621dc33aa4a11d4f9c1c1
|
|
||||||
AUX freebsd-triplet.patch 800 BLAKE2B 43f1f7e1fa43313e2f323a3e5031a463185c2388a3b59c75f1a3a216d6ce6e04be9cb584ffe3c44773c072408740c02354dec4969d42d6abd824a1fc633fa4dd SHA512 7f66e6ab4bdc21959e00b8ad21aaa13eab6d11552d92e8978ce5c501339a3ddf0b303f47ae5fce4056522ffea90cef3d25c5dc5d6469e7bbffa078526e1c7404
|
|
||||||
AUX rhash-1.3.6-no_echon.patch 1224 BLAKE2B 949b6aa839667a6fef3c3a668b6cadc451986ba837807b3d7a56b80f50c8248d734745f886d40d341a99fefaf439f95bdeb0382ee15ea9e4f8561f98703fba2d SHA512 3771077c64c28b1fcf310d7a449d3e1eb951d1669b2ad3ddffe76d98ac5821ea8af40013984c65f28c7fce3434b7173a74a77120847f557cab2dedefac0c8b58
|
|
||||||
AUX rhash-1.4.2-clang.patch 2775 BLAKE2B 0160a245931d58eb4809e95b5ab8a515fadf1459714378f254c597d56f3c4336ee59b17152c3fc23ae4ca39a4cc076eb78783e609b847b0c276c8f8c37fdd940 SHA512 3b28f8234d42f7dc46a8b890e5ba6f49e61f3db26019e81bfe8d4318b28d71ca781c49f0ee09c387a1cbef626ad016fc3177037f2d504be7572d56ed836ff954
|
AUX rhash-1.4.2-clang.patch 2775 BLAKE2B 0160a245931d58eb4809e95b5ab8a515fadf1459714378f254c597d56f3c4336ee59b17152c3fc23ae4ca39a4cc076eb78783e609b847b0c276c8f8c37fdd940 SHA512 3b28f8234d42f7dc46a8b890e5ba6f49e61f3db26019e81bfe8d4318b28d71ca781c49f0ee09c387a1cbef626ad016fc3177037f2d504be7572d56ed836ff954
|
||||||
AUX unquote-cc.patch 791 BLAKE2B a872b7a8e8d2e04f5cf3dda0b4f4aa5e0177878942f9836f8a431d950392dafb46be646048a0ab4dc4a31ac20b6676fa8627b39bbb30a990861cf8d3cfc742f8 SHA512 7a4c2bf019cbcde021bb79572abdbc9b42f995ada5bb9798fed127d79c44ed9d4b9544c1413952604b1dd45ed307acdacba6675419f6331d75ecf34c15b8f5ca
|
|
||||||
DIST rhash-1.3.6-src.tar.gz 328097 BLAKE2B c74993d183f0f2e479f0bd5831a9f653b9bd17bbed4d1ba896f6e33db98b7141175cd3c688dc41dfd8ec4b98acb51255ae5b795435cbc9dfb5ab77573cb25543 SHA512 54f7f238ed1fdc01c29cc1338fa86be90b69beff0df8f20d24ce9cb3c48c7f4668b84a3fe0d4d8b04b54bc8145485d493435edf3219de3a637af0f9c007c85c6
|
|
||||||
DIST rhash-1.4.2-src.tar.gz 416853 BLAKE2B 06322825116cb00aa4987b01610d967eb57c94aa29b43348ec2c31f053fd471a900fcee776714263213e9a79eaf389b2e79d7b34a5afd3e98d68198193b5cbe7 SHA512 41df57e8b3f32c93d8e6f2ac668b32aaa23eb2eaf90a83f109e61e511404a5036ea88bcf2854e19c1ade0f61960e0d9edf01f3d82e1c645fed36579e9d7a6a25
|
DIST rhash-1.4.2-src.tar.gz 416853 BLAKE2B 06322825116cb00aa4987b01610d967eb57c94aa29b43348ec2c31f053fd471a900fcee776714263213e9a79eaf389b2e79d7b34a5afd3e98d68198193b5cbe7 SHA512 41df57e8b3f32c93d8e6f2ac668b32aaa23eb2eaf90a83f109e61e511404a5036ea88bcf2854e19c1ade0f61960e0d9edf01f3d82e1c645fed36579e9d7a6a25
|
||||||
EBUILD rhash-1.3.6-r1.ebuild 1815 BLAKE2B 25d7980d3736edd66242acec9de12ef8bc434993a083dd2e12b3f382ca90aefbb42d4e96b35b6c42c106184e6956c8e33aac424d2272e1ae7eb77ead02f4d5af SHA512 15307b2110d89a05d3afdb6ee43a87f3ec33c921d7796cc73831d2d60c7e25df7531a73badb5a9721aa010b58dba74f1536bea7b7c9ec283e2a7ad1e430af1c4
|
|
||||||
EBUILD rhash-1.4.2.ebuild 2060 BLAKE2B b654ecd535292a557e449914abb5f81300bbc54bf968f7683fde6ab9eaef5106204b8ecbcb5de659e8fada0f2c6b3e71534d1f494781e7e6c57edb582682ad01 SHA512 2862f7d61dc6b3d8dbe3a56985481f840e9fe7343b5ab576ea046ccdda664fa3818c177e7145cd52b20e8f19837f37aa34cd625f50e3c796ed81f4f4dfcb99a3
|
EBUILD rhash-1.4.2.ebuild 2060 BLAKE2B b654ecd535292a557e449914abb5f81300bbc54bf968f7683fde6ab9eaef5106204b8ecbcb5de659e8fada0f2c6b3e71534d1f494781e7e6c57edb582682ad01 SHA512 2862f7d61dc6b3d8dbe3a56985481f840e9fe7343b5ab576ea046ccdda664fa3818c177e7145cd52b20e8f19837f37aa34cd625f50e3c796ed81f4f4dfcb99a3
|
||||||
MISC metadata.xml 817 BLAKE2B eeb15cde9e06507f73330759d44dca59dea3bbcb972cb25af71d91f065eb64dbd1ddc61e43f8fad50c264c269542f92efdace36d3397647c3c53972e695da22f SHA512 3e2f688b57c74e051fcfb90d34685346c459c5e9f425266fd3d8e099f586037b14c2bfdac76f135a046c77cc850bb49954c0e7d8dc9ded1db47bf0919ab3ea93
|
MISC metadata.xml 817 BLAKE2B eeb15cde9e06507f73330759d44dca59dea3bbcb972cb25af71d91f065eb64dbd1ddc61e43f8fad50c264c269542f92efdace36d3397647c3c53972e695da22f SHA512 3e2f688b57c74e051fcfb90d34685346c459c5e9f425266fd3d8e099f586037b14c2bfdac76f135a046c77cc850bb49954c0e7d8dc9ded1db47bf0919ab3ea93
|
||||||
|
@ -1,23 +0,0 @@
|
|||||||
From 35a830d1968465e4ecb079273f032b754bac6c66 Mon Sep 17 00:00:00 2001
|
|
||||||
From: James Le Cuirot <chewi@gentoo.org>
|
|
||||||
Date: Sun, 25 Mar 2018 17:40:49 +0100
|
|
||||||
Subject: [PATCH] configure: Add target OS clause for Darwin
|
|
||||||
|
|
||||||
These triplets can also have a version number suffix, for example,
|
|
||||||
x86_64-apple-darwin16.
|
|
||||||
---
|
|
||||||
configure | 1 +
|
|
||||||
1 file changed, 1 insertion(+)
|
|
||||||
|
|
||||||
diff --git a/configure b/configure
|
|
||||||
index 5b6b710..2d8ac42 100755
|
|
||||||
--- a/configure
|
|
||||||
+++ b/configure
|
|
||||||
@@ -410,6 +410,7 @@ else
|
|
||||||
amigaos) TARGET_OS=AmigaOS ;;
|
|
||||||
mingw32*) TARGET_OS=MINGW32 ;;
|
|
||||||
wine) TARGET_OS=Wine ;;
|
|
||||||
+ darwin*) TARGET_OS=Darwin ;;
|
|
||||||
esac
|
|
||||||
}
|
|
||||||
TARGET_OS="UNKNOWN"
|
|
@ -1,23 +0,0 @@
|
|||||||
From 14db7f9ee87e05450853ba0e1d8e83cc34aef3e4 Mon Sep 17 00:00:00 2001
|
|
||||||
From: James Le Cuirot <chewi@aura-online.co.uk>
|
|
||||||
Date: Sat, 24 Mar 2018 13:51:56 +0000
|
|
||||||
Subject: [PATCH] configure: Match FreeBSD triplets with versions
|
|
||||||
|
|
||||||
Triplets such as x86_64-unknown-freebsd11.1 are common.
|
|
||||||
---
|
|
||||||
configure | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/configure b/configure
|
|
||||||
index 8ebb929..5b6b710 100755
|
|
||||||
--- a/configure
|
|
||||||
+++ b/configure
|
|
||||||
@@ -398,7 +398,7 @@ else
|
|
||||||
part=$(echo $BUILD_TARGET | cut -d '-' -f $component)
|
|
||||||
case "$(echo $part | tr '[A-Z]' '[a-z]')" in
|
|
||||||
linux) TARGET_OS=Linux ;;
|
|
||||||
- freebsd) TARGET_OS=FreeBSD ;;
|
|
||||||
+ freebsd*) TARGET_OS=FreeBSD ;;
|
|
||||||
gnu/kfreebsd) TARGET_OS=FreeBSD ;;
|
|
||||||
netbsd) TARGET_OS=NetBSD ;;
|
|
||||||
bsd/os) TARGET_OS=BSD/OS ;;
|
|
@ -1,54 +0,0 @@
|
|||||||
From c1776248a0b34a690e99ab9a7a814c34f78088ec Mon Sep 17 00:00:00 2001
|
|
||||||
From: Lars Wendler <polynomial-c@gentoo.org>
|
|
||||||
Date: Mon, 19 Mar 2018 10:47:13 +0100
|
|
||||||
Subject: [PATCH] "echo -n" cannot be expected to work with every POSIX shell
|
|
||||||
|
|
||||||
See "man 1p echo" section APPLICATION USAGE. This patch replaces "echo -n"
|
|
||||||
with "printf '%s'".
|
|
||||||
---
|
|
||||||
configure | 15 ++-------------
|
|
||||||
1 file changed, 2 insertions(+), 13 deletions(-)
|
|
||||||
|
|
||||||
diff --git a/configure b/configure
|
|
||||||
index f480f7b..2a7d485 100755
|
|
||||||
--- a/configure
|
|
||||||
+++ b/configure
|
|
||||||
@@ -22,17 +22,6 @@ INSTALL_LIB_STATIC=auto
|
|
||||||
INSTALL_LIB_SHARED=auto
|
|
||||||
INSTALL_PKGCONFIGDIR="$PKG_INSTALLDIR"
|
|
||||||
|
|
||||||
-case $(echo -n) in
|
|
||||||
- -n) # SysV style
|
|
||||||
- ECHO_N=
|
|
||||||
- ECHO_C='\c'
|
|
||||||
- ;;
|
|
||||||
- *) # BSD style
|
|
||||||
- ECHO_N='-n '
|
|
||||||
- ECHO_C=
|
|
||||||
- ;;
|
|
||||||
-esac
|
|
||||||
-
|
|
||||||
# display error message and exit
|
|
||||||
die () {
|
|
||||||
echo
|
|
||||||
@@ -235,7 +224,7 @@ trap remove_tmpdir EXIT
|
|
||||||
|
|
||||||
str_concat()
|
|
||||||
{
|
|
||||||
- echo ${ECHO_N} $@ ${ECHO_C}
|
|
||||||
+ printf '%s ' $@
|
|
||||||
}
|
|
||||||
|
|
||||||
yn_nonempty()
|
|
||||||
@@ -246,7 +235,7 @@ yn_nonempty()
|
|
||||||
# Use this before starting a check
|
|
||||||
start_check() {
|
|
||||||
echo "============ Checking for $1 ============" >> "$TMPLOG"
|
|
||||||
- echo ${ECHO_N} "Checking for $1 ... ${ECHO_C}"
|
|
||||||
+ printf '%s' "Checking for $1 ... "
|
|
||||||
res_comment=""
|
|
||||||
}
|
|
||||||
|
|
||||||
--
|
|
||||||
2.16.2
|
|
||||||
|
|
@ -1,26 +0,0 @@
|
|||||||
From 4558d6753611ab1bf21765017e5b451aee8409f6 Mon Sep 17 00:00:00 2001
|
|
||||||
From: James Le Cuirot <chewi@gentoo.org>
|
|
||||||
Date: Sun, 18 Mar 2018 14:23:28 +0000
|
|
||||||
Subject: [PATCH] configure: Don't quote $CC when calling it
|
|
||||||
|
|
||||||
It might have additional arguments.
|
|
||||||
---
|
|
||||||
configure | 2 +-
|
|
||||||
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
||||||
|
|
||||||
diff --git a/configure b/configure
|
|
||||||
index f480f7b..8ebb929 100755
|
|
||||||
--- a/configure
|
|
||||||
+++ b/configure
|
|
||||||
@@ -480,7 +480,7 @@ if test "$(basename $CC)" = "icc" || test "$(basename $CC)" = "ecc"; then
|
|
||||||
else
|
|
||||||
CC_TMP="$CC"
|
|
||||||
for CC in "$CC_TMP" gcc cc ; do
|
|
||||||
- if "$CC" -v >/dev/null 2>&1; then
|
|
||||||
+ if $CC -v >/dev/null 2>&1; then
|
|
||||||
cc_name_tmp=$($CC -v 2>&1 | tail -n 1 | cut -d ' ' -f 1)
|
|
||||||
if test "$cc_name_tmp" = "gcc"; then
|
|
||||||
cc_name=$cc_name_tmp
|
|
||||||
--
|
|
||||||
2.16.1
|
|
||||||
|
|
@ -1,77 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=6
|
|
||||||
|
|
||||||
inherit toolchain-funcs multilib-minimal
|
|
||||||
|
|
||||||
DESCRIPTION="Console utility and library for computing and verifying file hash sums"
|
|
||||||
HOMEPAGE="http://rhash.sourceforge.net/"
|
|
||||||
SRC_URI="mirror://sourceforge/${PN}/${P}-src.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris ~x86-solaris"
|
|
||||||
IUSE="debug nls ssl static-libs"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
ssl? (
|
|
||||||
dev-libs/openssl:0=[${MULTILIB_USEDEP}]
|
|
||||||
)"
|
|
||||||
|
|
||||||
DEPEND="${RDEPEND}
|
|
||||||
nls? ( sys-devel/gettext )"
|
|
||||||
|
|
||||||
S="${WORKDIR}/RHash-${PV}"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}"/unquote-cc.patch
|
|
||||||
"${FILESDIR}"/${P}-no_echon.patch
|
|
||||||
"${FILESDIR}"/{freebsd,darwin}-triplet.patch
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
multilib_copy_sources
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
set -- \
|
|
||||||
./configure \
|
|
||||||
--target="${CHOST}" \
|
|
||||||
--cc="$(tc-getCC)" \
|
|
||||||
--ar="$(tc-getAR)" \
|
|
||||||
--extra-cflags="${CFLAGS}" \
|
|
||||||
--extra-ldflags="${LDFLAGS}" \
|
|
||||||
--prefix="${EPREFIX}"/usr \
|
|
||||||
--libdir="${EPREFIX}"/usr/$(get_libdir) \
|
|
||||||
--sysconfdir="${EPREFIX}"/etc \
|
|
||||||
--disable-openssl-runtime \
|
|
||||||
--disable-static \
|
|
||||||
--enable-lib-shared \
|
|
||||||
$(use_enable debug) \
|
|
||||||
$(use_enable nls gettext) \
|
|
||||||
$(use_enable ssl openssl) \
|
|
||||||
$(use_enable static-libs lib-static)
|
|
||||||
|
|
||||||
echo "${@}"
|
|
||||||
"${@}" || die "configure failed"
|
|
||||||
}
|
|
||||||
|
|
||||||
# We would add compile-gmo to the build targets but install-gmo always
|
|
||||||
# recompiles unconditionally. :(
|
|
||||||
|
|
||||||
multilib_src_install() {
|
|
||||||
# -j1 needed due to race condition.
|
|
||||||
emake DESTDIR="${D}" -j1 \
|
|
||||||
install{,-pkg-config} \
|
|
||||||
$(use nls && echo install-gmo) \
|
|
||||||
$(use kernel_Winnt || echo install-lib-so-link)
|
|
||||||
|
|
||||||
emake DESTDIR="${D}" -j1 \
|
|
||||||
-C lib${PN} install-headers
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_test() {
|
|
||||||
emake test
|
|
||||||
}
|
|
Binary file not shown.
@ -1,4 +1,4 @@
|
|||||||
DIST abs-guide-final.tar.bz2 1141871 BLAKE2B cd17182f5693a9e20d0549267ab86851da070b2100dd807f8b3c5fee2a0d674c001f36aa8e5e7ce8cd0358400152586c84c3fe5b99bb3eb806372eb5f39aad4b SHA512 76c445da6faa47418e50458bf2bfc0b4c34c9efcc93308c39ec880b894d019bf9a1d2f4a8687d14bd9832872b666769f6f7f74c313520e9770f16724eb3adfdd
|
DIST abs-guide-final.tar.bz2 1141871 BLAKE2B cd17182f5693a9e20d0549267ab86851da070b2100dd807f8b3c5fee2a0d674c001f36aa8e5e7ce8cd0358400152586c84c3fe5b99bb3eb806372eb5f39aad4b SHA512 76c445da6faa47418e50458bf2bfc0b4c34c9efcc93308c39ec880b894d019bf9a1d2f4a8687d14bd9832872b666769f6f7f74c313520e9770f16724eb3adfdd
|
||||||
DIST abs-guide.pdf 3358210 BLAKE2B 0d222f7f50d7044e46d7384870c5399468e7ed5e7819edbcfa7aeb5dd30e5d8749068d31ebdb9e707c168e45f027bdac4f7a9ed294f155f26cdc066884e1463e SHA512 8691ddab583e816ca9f0e42d37d45d8c27e74b5b62a5a951c7fe5830679e9288d4d5f98e7ff0746e2ac71e26322c7dc8250e33128b3e77591a1e48e8d415777c
|
DIST abs-guide.pdf 3358210 BLAKE2B 0d222f7f50d7044e46d7384870c5399468e7ed5e7819edbcfa7aeb5dd30e5d8749068d31ebdb9e707c168e45f027bdac4f7a9ed294f155f26cdc066884e1463e SHA512 8691ddab583e816ca9f0e42d37d45d8c27e74b5b62a5a951c7fe5830679e9288d4d5f98e7ff0746e2ac71e26322c7dc8250e33128b3e77591a1e48e8d415777c
|
||||||
EBUILD abs-guide-10.ebuild 875 BLAKE2B e2b0bd93d57c868c9f34059d41c129d01d1e45eb0b950ffa2b32a1f55729a83e130c9794d33c868403c0e89de035af17baefa15301867e35c18bc3a25947339f SHA512 16cb1f9ed1c2295ed707763d160310ea82d2a101beb3a1ab0849beaf3e17d748708079bbfd959869e53f945239709a155de0dbfbc56f5ad7840db32191b5289f
|
EBUILD abs-guide-10.ebuild 882 BLAKE2B a1bc338b8351ebf38c4fa38f4d1978b2757c733588f34a384a2a547234a2a5eae93753b3cea75ed1a105c71f7ff3c4d3fd2d69bdaac17556739e506650e825ec SHA512 f7c47cde8be166d2f015520b3a6ff1ec704d5f49cd3e0f16e9aa83f55db236f9a53a8eff9699ee2b470ac195b4d90edaf6a8692bcefffbbb9c83a6bdfaf63106
|
||||||
MISC metadata.xml 282 BLAKE2B 85c3312405ada57a85e03b06a59523c8d4069551f91e6b70f182d5af92ffc26b946c2987554001649eb41d605864a5cb3c172ebbb02f3c1a11ca1ed805889550 SHA512 5eac09aed8093684086d644c321b236d5da019a650ad322d33236b543bd5641edfc43cbdeee4654e093f9f6393eae034110ca51eb560b87a178fba74244d7fdb
|
MISC metadata.xml 282 BLAKE2B 85c3312405ada57a85e03b06a59523c8d4069551f91e6b70f182d5af92ffc26b946c2987554001649eb41d605864a5cb3c172ebbb02f3c1a11ca1ed805889550 SHA512 5eac09aed8093684086d644c321b236d5da019a650ad322d33236b543bd5641edfc43cbdeee4654e093f9f6393eae034110ca51eb560b87a178fba74244d7fdb
|
||||||
|
@ -1,3 +1,3 @@
|
|||||||
DIST SelfLinux-0.13.0-html.tar.gz 7379682 BLAKE2B 5baf00233fd69c3d115adef28c0644d0d4e563014c82649d7e4c906189a36543bd30528ea901f8b2b7c849721b220eeccc3787f67b016ca7161515e23fa8871c SHA512 bb7f16006863f958dd24c8f82db5e4538f00fc66f1b2efe7c52ed28d241fdcfdd366e973c91b730118ff485c2343f5a0fac293f080f0d6e86d24fca4beaaab72
|
DIST SelfLinux-0.13.0-html.tar.gz 7379682 BLAKE2B 5baf00233fd69c3d115adef28c0644d0d4e563014c82649d7e4c906189a36543bd30528ea901f8b2b7c849721b220eeccc3787f67b016ca7161515e23fa8871c SHA512 bb7f16006863f958dd24c8f82db5e4538f00fc66f1b2efe7c52ed28d241fdcfdd366e973c91b730118ff485c2343f5a0fac293f080f0d6e86d24fca4beaaab72
|
||||||
EBUILD selflinux-0.13.0-r1.ebuild 633 BLAKE2B 9eca101f1c252d654043164e6c340d33e06d9679817b1d5508ec701facd28d7ed481c79a85c1aa6397e71273a4acb7f2972f3f2a9d3c92ef6dadfb46604e9415 SHA512 2e7c4563d0017c6a483b66cb163dc40fe9454d350c17b7eb8eb0dca2fb075d3bd1475fac89b2897f061eeec3ea9a8a53eb5da0bb5f4acc827578b311597c8241
|
EBUILD selflinux-0.13.0-r1.ebuild 640 BLAKE2B 7f824108782e3d15f1e8b05b2778feefa687f89d752e4f5528d2758c6a313e9b496d0fc1d5217505e2de2df818f418db77b9b0e72fc63b439ca0c2f1a008b616 SHA512 ae32ec8dc086d20e13c40080b531c5b2cd9fd452cab80143aa3afcc28c8075e80adc66435149aca8c409c45060c640f2f3d2dc2e6e7a396fad8cb3b8517107eb
|
||||||
MISC metadata.xml 271 BLAKE2B 44df3fd0e44f46778e082bab060cf5e8fb74bebf024038f1746fcfb70e6b46f586b1f3fad51b0bad26f3318988ce0e6f455096803450f9d103721d6d06825363 SHA512 c195df8f35b5a3f7fedf70fab6561abfc50ea9df57cb009748b9f3ed62fa853ab26345eeb611bb3bcda2831f0f5c9cfb2d676576103c7d25d5ad0413f8b75285
|
MISC metadata.xml 271 BLAKE2B 44df3fd0e44f46778e082bab060cf5e8fb74bebf024038f1746fcfb70e6b46f586b1f3fad51b0bad26f3318988ce0e6f455096803450f9d103721d6d06825363 SHA512 c195df8f35b5a3f7fedf70fab6561abfc50ea9df57cb009748b9f3ed62fa853ab26345eeb611bb3bcda2831f0f5c9cfb2d676576103c7d25d5ad0413f8b75285
|
||||||
|
Binary file not shown.
@ -1,5 +1,5 @@
|
|||||||
DIST mg-20210609.tar.gz 156850 BLAKE2B ed8061aa808a8570f24198fb32fa3d24d66decdd07dab871502456d734a8d7867f384122361294bda0155bc3fecea80983fd41c00a2ffe02d00e380bf94e2f43 SHA512 a17b470e5e192c1f62700c7b78b15c9403b25528a7d6603fda0b6e618196150329fe4889cedfc8dbf621053d45b78294ed5c2766604aaa4c3ddbaec545693043
|
DIST mg-20210609.tar.gz 156850 BLAKE2B ed8061aa808a8570f24198fb32fa3d24d66decdd07dab871502456d734a8d7867f384122361294bda0155bc3fecea80983fd41c00a2ffe02d00e380bf94e2f43 SHA512 a17b470e5e192c1f62700c7b78b15c9403b25528a7d6603fda0b6e618196150329fe4889cedfc8dbf621053d45b78294ed5c2766604aaa4c3ddbaec545693043
|
||||||
DIST mg-20220212.tar.gz 157828 BLAKE2B e3219efffef9c4da05965a0ed7a0f0bfdf5c34d607d25102a4d2ee9de6f9b9fd2da59050c6e56d1712875b2d129408200dde4c7305ffb2208c11b5d722b87270 SHA512 093736521e4bcaeff049594793474b9710e4cfe6db151032dc4413614566afce80db5b794dcf10082020dbb73f25742a0c7d49f45b6b4d2caa6865b20a9e574b
|
DIST mg-20220212.tar.gz 157828 BLAKE2B e3219efffef9c4da05965a0ed7a0f0bfdf5c34d607d25102a4d2ee9de6f9b9fd2da59050c6e56d1712875b2d129408200dde4c7305ffb2208c11b5d722b87270 SHA512 093736521e4bcaeff049594793474b9710e4cfe6db151032dc4413614566afce80db5b794dcf10082020dbb73f25742a0c7d49f45b6b4d2caa6865b20a9e574b
|
||||||
EBUILD mg-20210609-r1.ebuild 1076 BLAKE2B e95ab621ef87cf6869a7ea5c16a2d13abeba717e683bfbce223be3c98f6debe22433842a754eb5732d596156faba388409e56d1ec0c7c3e748b455715b453ecc SHA512 6bc32e8cd88edee04db05e5ac2294879e6a7910511af007c5f07d547ede761a5d82b3faa87c387621900b42ddc43a0f3ffb57fa4902cfaa8f43ff867c2d9f15b
|
EBUILD mg-20210609-r1.ebuild 1076 BLAKE2B e95ab621ef87cf6869a7ea5c16a2d13abeba717e683bfbce223be3c98f6debe22433842a754eb5732d596156faba388409e56d1ec0c7c3e748b455715b453ecc SHA512 6bc32e8cd88edee04db05e5ac2294879e6a7910511af007c5f07d547ede761a5d82b3faa87c387621900b42ddc43a0f3ffb57fa4902cfaa8f43ff867c2d9f15b
|
||||||
EBUILD mg-20220212.ebuild 1039 BLAKE2B d44b02148afe8b91ab932c1ec269bd448ba3ce660c6f1b2381e489b69931cd2ac5751b06e4887fd22b853977ba3193524ad1695e86835ece41e1171b4f4276c9 SHA512 e92c2a40ff21f47e3e471a3790b9f9fbd55e5333aab0d3eabd4fd069efd2496f5fbaa7fb995043d887b93d940bcb167346c0a144b047226d4cc316b1154e5edc
|
EBUILD mg-20220212.ebuild 1038 BLAKE2B e32fca69649657f5f92de0c4a48d2ceb34e6ff973c0c8a07a6ccc455dc4a82b6acba812422acdc6d33deee4b4eb603723a2d97d0c1d62e37980fd685adb045bb SHA512 6891bddb45cb394761268cb62aa16a7d70c9c6431854d8814ab8ee646353cb6091415e197a7ca900bfdc5a47d8ca5eec649a5d93376cd7f2e81b574d799ae32d
|
||||||
MISC metadata.xml 619 BLAKE2B 746ed0d179b4fb8e40533411d3248b88c035a2f01ea6552af8e9bcf3d588a0e6a835ad12aa03a27052a7988646499538d991d05eb88c0125f3fc7d47e2ae217e SHA512 a1c066343bff1bd451d44850e8dd3f554fb330116a7e91b5a9c13f4c33e837018f81a9e77e1c9856651c877352aab68fe4f80f05a185996cce7eda91c45e6c8e
|
MISC metadata.xml 619 BLAKE2B 746ed0d179b4fb8e40533411d3248b88c035a2f01ea6552af8e9bcf3d588a0e6a835ad12aa03a27052a7988646499538d991d05eb88c0125f3fc7d47e2ae217e SHA512 a1c066343bff1bd451d44850e8dd3f554fb330116a7e91b5a9c13f4c33e837018f81a9e77e1c9856651c877352aab68fe4f80f05a185996cce7eda91c45e6c8e
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
DIST zile-2.4.15.tar.gz 1490611 BLAKE2B 3744ab2459edf9b0dc9ca976c5f37625d06e0766e3a1fbb59112fe375af6f6cc5e8c068dcb127b338091f3130d32190ad4bc3a79eac7f9a4f87b46723d5a4a82 SHA512 e2a04c280ae0c0038e6ef18abec0be55063a472f77a511bf31459712be24659edcaa2d1c861d7c00bdab87a1881af03d14eb561047c386cbff5f90b13b1a2575
|
DIST zile-2.4.15.tar.gz 1490611 BLAKE2B 3744ab2459edf9b0dc9ca976c5f37625d06e0766e3a1fbb59112fe375af6f6cc5e8c068dcb127b338091f3130d32190ad4bc3a79eac7f9a4f87b46723d5a4a82 SHA512 e2a04c280ae0c0038e6ef18abec0be55063a472f77a511bf31459712be24659edcaa2d1c861d7c00bdab87a1881af03d14eb561047c386cbff5f90b13b1a2575
|
||||||
DIST zile-2.6.2.tar.gz 1152751 BLAKE2B db51b534c8d76e1def91bbfe49cab501ff1bccd6fbeddd5622d8fca3695305c53e480eed1978e880621e09955e2b98519cfa02cf259006a08d1a8722122148ea SHA512 16d5cece403fc215d53b35c31fe6f743d53d7a01cdc7d101cabe6760173539c9c31e092b29c374f28a723708027f6de626fcfee302962848091f85078fa81761
|
DIST zile-2.6.2.tar.gz 1152751 BLAKE2B db51b534c8d76e1def91bbfe49cab501ff1bccd6fbeddd5622d8fca3695305c53e480eed1978e880621e09955e2b98519cfa02cf259006a08d1a8722122148ea SHA512 16d5cece403fc215d53b35c31fe6f743d53d7a01cdc7d101cabe6760173539c9c31e092b29c374f28a723708027f6de626fcfee302962848091f85078fa81761
|
||||||
EBUILD zile-2.4.15.ebuild 1093 BLAKE2B 5f94a7c04aeaa447571d806bcf4029d3c6cbdda2d31dcfdbcea2810800c1aa2a7e3b097df3edf923e6e30b223ce450154f2e4923ee501ee7e4b663099b5c072c SHA512 ea016a21bf45f2e2cbfcc09fb23ff25b39d63f8e96b01dcf45f3636c11f24be6cb3130d0b429a6bec4d956e893985228b3757440a1eed5bb5d9c3746962bfd3d
|
EBUILD zile-2.4.15.ebuild 1093 BLAKE2B 5f94a7c04aeaa447571d806bcf4029d3c6cbdda2d31dcfdbcea2810800c1aa2a7e3b097df3edf923e6e30b223ce450154f2e4923ee501ee7e4b663099b5c072c SHA512 ea016a21bf45f2e2cbfcc09fb23ff25b39d63f8e96b01dcf45f3636c11f24be6cb3130d0b429a6bec4d956e893985228b3757440a1eed5bb5d9c3746962bfd3d
|
||||||
EBUILD zile-2.6.2-r1.ebuild 1180 BLAKE2B 19a93de25bdfc936994c29f5587df3a9599f0d9d0b5c37e806f14a4c77851ea436a132a86f9a60fa922e999b5ff859967ae3445ec53c68a276bea2ea3b19a71f SHA512 0860d1fdd5ce5b380071d7c3db0b4c6637f51fe4df28290b3ad7b7ad5cf0728d947d22c143ab0061478f31608a30ceafe9c4625a1c725d20cfd94d39811fab01
|
EBUILD zile-2.6.2-r1.ebuild 1179 BLAKE2B af8e1aa25bf0742ea2e56c756ef1ce1cec60aa4cfa76b4a4ed7bdb104d1d383086cac5b4bb5739fb5f2bc260d25d5f9a6c505ae3f69e20e02e3343a6c0e85ebc SHA512 9455eaa6dd39fe9b15189c687ad88de66d32008756bd5cbb8948eff9c89f267e3057ef429f9590437ee61703935fc9a1a7510881fdf1139e4ecdbc8273a8f2ad
|
||||||
MISC metadata.xml 537 BLAKE2B 3a084218fac3dad29b7a80d6f707e7e8c769eb0e755a1a482814d67b0064c274fc80a50dac09cc6d04e963271fd526f34805dc9c49ffb6d5681dc6178ff43032 SHA512 d1de1757bd448535892b60dd6cc739c9b8cb92affd0c7a1cfffcddbcc1d18a1f17d054e751aa4362e26111e6e59206d086e3afb1552a2061503db6459ec34424
|
MISC metadata.xml 537 BLAKE2B 3a084218fac3dad29b7a80d6f707e7e8c769eb0e755a1a482814d67b0064c274fc80a50dac09cc6d04e963271fd526f34805dc9c49ffb6d5681dc6178ff43032 SHA512 d1de1757bd448535892b60dd6cc739c9b8cb92affd0c7a1cfffcddbcc1d18a1f17d054e751aa4362e26111e6e59206d086e3afb1552a2061503db6459ec34424
|
||||||
|
Binary file not shown.
@ -1,6 +1,6 @@
|
|||||||
AUX 50sml-mode-gentoo-6.1.el 72 BLAKE2B e4b7e4fa2f440410e323da54183257aff3bf555ebaa5e1d3d579375b9bbc5e77bfa1af68e4d305013ca07d9a16df2618d3b5eca6035a42810f87f3abf8bfbab0 SHA512 f8b15038063e9419a5dbcb9b98696df8d431d86806e06d24645671d3c3b5b79c3c31e32330efbbbc0b72a38c841273a14f998bb62ca0cacaf3483507ec8d7444
|
AUX 50sml-mode-gentoo-6.1.el 72 BLAKE2B e4b7e4fa2f440410e323da54183257aff3bf555ebaa5e1d3d579375b9bbc5e77bfa1af68e4d305013ca07d9a16df2618d3b5eca6035a42810f87f3abf8bfbab0 SHA512 f8b15038063e9419a5dbcb9b98696df8d431d86806e06d24645671d3c3b5b79c3c31e32330efbbbc0b72a38c841273a14f998bb62ca0cacaf3483507ec8d7444
|
||||||
DIST sml-mode-6.10.el.xz 20544 BLAKE2B c872b33ffb9298dfa102b97d33604c68610d73942698b1162ed5b73fc3107217d453c475c9b0bd51368b5f32f82c147ab8de1990e4277f878837824b5dd004b8 SHA512 49e93cb2d317f0e71bfe66a6b206515eaad2cb5173552e96690fc208e9dd0c448f9939e28cd5268f0e9a90278b821109231885452785345698bee9511577828c
|
DIST sml-mode-6.10.el.xz 20544 BLAKE2B c872b33ffb9298dfa102b97d33604c68610d73942698b1162ed5b73fc3107217d453c475c9b0bd51368b5f32f82c147ab8de1990e4277f878837824b5dd004b8 SHA512 49e93cb2d317f0e71bfe66a6b206515eaad2cb5173552e96690fc208e9dd0c448f9939e28cd5268f0e9a90278b821109231885452785345698bee9511577828c
|
||||||
DIST sml-mode-6.9.el.xz 20368 BLAKE2B 5b97c6620d97a60f29e21e8d69179e33f56b7410bf975238e23ef10d4c9e8d7dc250cb60d1799224ac6c81285f539cbb7f69b616763b347ed7140b9652b9add7 SHA512 e04143e1017317d6c6fb3ad7a26cd812bb45dd406a5fb679be21ae936ab57739bcf692585d5710a8e08c469a07728a20cb71ff1b53661c4040eb16df55c8be0b
|
DIST sml-mode-6.9.el.xz 20368 BLAKE2B 5b97c6620d97a60f29e21e8d69179e33f56b7410bf975238e23ef10d4c9e8d7dc250cb60d1799224ac6c81285f539cbb7f69b616763b347ed7140b9652b9add7 SHA512 e04143e1017317d6c6fb3ad7a26cd812bb45dd406a5fb679be21ae936ab57739bcf692585d5710a8e08c469a07728a20cb71ff1b53661c4040eb16df55c8be0b
|
||||||
EBUILD sml-mode-6.10.ebuild 568 BLAKE2B 641f89caf781bb7ceee81e731bc43dafb8821b69f8346602146d787c21db894fc1abc045b92c7eaf9e5a26be22744188fea7e4bd409fce004ebc3ac58e467c64 SHA512 638caf73a92e5e571f7bd5840bd4b368804e35439f12123bf94d0e766b5a66b1225852a69ecb917e7522bd8ea2c13ce4689be6b6a109c79085f283d237cb0690
|
EBUILD sml-mode-6.10.ebuild 565 BLAKE2B dec2b627bce6ff88f73a17a4ddbc91ab1a61535d4602331388205cdd82d8b91bbe51135f0187fd48b9a2dc53ad7792ca895633ce07bf7671cefcd8c76dc35e9e SHA512 e3828a62917eae4d0b5167f9f3bc18ba5f10aaf4a3b345a5eaaa52dbfa1dc0759391a519562a1d2161df59d197ef4cba323505cdc051e21950d42a3fad85f7da
|
||||||
EBUILD sml-mode-6.9.ebuild 565 BLAKE2B a59481c42813978a06e34b2fab80d759c7dd476d66f9db6f4f54a4438ea0f67142b0385893cb5b7184819747bf61a93058772c3c95f8ae23aa11982bcec8c762 SHA512 7d4216f8270b1cbff4abb0ab363e6bcabd4578d94f24f3ceeed003bd739b476c1e5526cf91bef67361a18ae81d2a3438222227d646426bec945a7e2fddbe7c9a
|
EBUILD sml-mode-6.9.ebuild 565 BLAKE2B a59481c42813978a06e34b2fab80d759c7dd476d66f9db6f4f54a4438ea0f67142b0385893cb5b7184819747bf61a93058772c3c95f8ae23aa11982bcec8c762 SHA512 7d4216f8270b1cbff4abb0ab363e6bcabd4578d94f24f3ceeed003bd739b476c1e5526cf91bef67361a18ae81d2a3438222227d646426bec945a7e2fddbe7c9a
|
||||||
MISC metadata.xml 283 BLAKE2B 81c49021199f71096079a27f9121390fb8c1285c54b9478583ff2d647277fa106ef12456d7097c4be092fc48b514a1adcf855ca0fac911598232ef9eb7f102c0 SHA512 f32b303760addf5d4db8d18bd10fb677353cdfa4c5e545d47804ef756cf5e5a21f8b8efb631b08f802185913ceb98da820e404e06eb03d01fe9ea85c10d1ac13
|
MISC metadata.xml 283 BLAKE2B 81c49021199f71096079a27f9121390fb8c1285c54b9478583ff2d647277fa106ef12456d7097c4be092fc48b514a1adcf855ca0fac911598232ef9eb7f102c0 SHA512 f32b303760addf5d4db8d18bd10fb677353cdfa4c5e545d47804ef756cf5e5a21f8b8efb631b08f802185913ceb98da820e404e06eb03d01fe9ea85c10d1ac13
|
||||||
|
Binary file not shown.
@ -0,0 +1,539 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
inherit go-module systemd
|
||||||
|
EGIT_COMMIT=a1c28b775760f2f00fce07a24db7fd4e83c26b9f
|
||||||
|
|
||||||
|
DESCRIPTION="Prometheus Exporter for Redis Metrics. Supports Redis 2.x, 3.x and 4.x"
|
||||||
|
HOMEPAGE="https://github.com/oliver006/redis_exporter"
|
||||||
|
EGO_SUM=(
|
||||||
|
"cloud.google.com/go v0.26.0/go.mod"
|
||||||
|
"cloud.google.com/go v0.34.0/go.mod"
|
||||||
|
"cloud.google.com/go v0.38.0/go.mod"
|
||||||
|
"cloud.google.com/go v0.44.1/go.mod"
|
||||||
|
"cloud.google.com/go v0.44.2/go.mod"
|
||||||
|
"cloud.google.com/go v0.45.1/go.mod"
|
||||||
|
"cloud.google.com/go v0.46.3/go.mod"
|
||||||
|
"cloud.google.com/go v0.50.0/go.mod"
|
||||||
|
"cloud.google.com/go v0.52.0/go.mod"
|
||||||
|
"cloud.google.com/go v0.53.0/go.mod"
|
||||||
|
"cloud.google.com/go v0.54.0/go.mod"
|
||||||
|
"cloud.google.com/go v0.56.0/go.mod"
|
||||||
|
"cloud.google.com/go v0.57.0/go.mod"
|
||||||
|
"cloud.google.com/go v0.62.0/go.mod"
|
||||||
|
"cloud.google.com/go v0.65.0/go.mod"
|
||||||
|
"cloud.google.com/go/bigquery v1.0.1/go.mod"
|
||||||
|
"cloud.google.com/go/bigquery v1.3.0/go.mod"
|
||||||
|
"cloud.google.com/go/bigquery v1.4.0/go.mod"
|
||||||
|
"cloud.google.com/go/bigquery v1.5.0/go.mod"
|
||||||
|
"cloud.google.com/go/bigquery v1.7.0/go.mod"
|
||||||
|
"cloud.google.com/go/bigquery v1.8.0/go.mod"
|
||||||
|
"cloud.google.com/go/datastore v1.0.0/go.mod"
|
||||||
|
"cloud.google.com/go/datastore v1.1.0/go.mod"
|
||||||
|
"cloud.google.com/go/pubsub v1.0.1/go.mod"
|
||||||
|
"cloud.google.com/go/pubsub v1.1.0/go.mod"
|
||||||
|
"cloud.google.com/go/pubsub v1.2.0/go.mod"
|
||||||
|
"cloud.google.com/go/pubsub v1.3.1/go.mod"
|
||||||
|
"cloud.google.com/go/storage v1.0.0/go.mod"
|
||||||
|
"cloud.google.com/go/storage v1.5.0/go.mod"
|
||||||
|
"cloud.google.com/go/storage v1.6.0/go.mod"
|
||||||
|
"cloud.google.com/go/storage v1.8.0/go.mod"
|
||||||
|
"cloud.google.com/go/storage v1.10.0/go.mod"
|
||||||
|
"dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod"
|
||||||
|
"github.com/BurntSushi/toml v0.3.1/go.mod"
|
||||||
|
"github.com/BurntSushi/xgb v0.0.0-20160522181843-27f122750802/go.mod"
|
||||||
|
"github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod"
|
||||||
|
"github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod"
|
||||||
|
"github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod"
|
||||||
|
"github.com/alecthomas/units v0.0.0-20190717042225-c3de453c63f4/go.mod"
|
||||||
|
"github.com/alecthomas/units v0.0.0-20190924025748-f65c72e2690d/go.mod"
|
||||||
|
"github.com/beorn7/perks v0.0.0-20180321164747-3a771d992973/go.mod"
|
||||||
|
"github.com/beorn7/perks v1.0.0/go.mod"
|
||||||
|
"github.com/beorn7/perks v1.0.1"
|
||||||
|
"github.com/beorn7/perks v1.0.1/go.mod"
|
||||||
|
"github.com/census-instrumentation/opencensus-proto v0.2.1/go.mod"
|
||||||
|
"github.com/cespare/xxhash/v2 v2.1.1/go.mod"
|
||||||
|
"github.com/cespare/xxhash/v2 v2.1.2"
|
||||||
|
"github.com/cespare/xxhash/v2 v2.1.2/go.mod"
|
||||||
|
"github.com/chzyer/logex v1.1.10/go.mod"
|
||||||
|
"github.com/chzyer/readline v0.0.0-20180603132655-2972be24d48e/go.mod"
|
||||||
|
"github.com/chzyer/test v0.0.0-20180213035817-a1ea475d72b1/go.mod"
|
||||||
|
"github.com/client9/misspell v0.3.4/go.mod"
|
||||||
|
"github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod"
|
||||||
|
"github.com/davecgh/go-spew v1.1.0/go.mod"
|
||||||
|
"github.com/davecgh/go-spew v1.1.1"
|
||||||
|
"github.com/davecgh/go-spew v1.1.1/go.mod"
|
||||||
|
"github.com/envoyproxy/go-control-plane v0.9.0/go.mod"
|
||||||
|
"github.com/envoyproxy/go-control-plane v0.9.1-0.20191026205805-5f8ba28d4473/go.mod"
|
||||||
|
"github.com/envoyproxy/go-control-plane v0.9.4/go.mod"
|
||||||
|
"github.com/envoyproxy/protoc-gen-validate v0.1.0/go.mod"
|
||||||
|
"github.com/go-gl/glfw v0.0.0-20190409004039-e6da0acd62b1/go.mod"
|
||||||
|
"github.com/go-gl/glfw/v3.3/glfw v0.0.0-20191125211704-12ad95a8df72/go.mod"
|
||||||
|
"github.com/go-gl/glfw/v3.3/glfw v0.0.0-20200222043503-6f7a984d4dc4/go.mod"
|
||||||
|
"github.com/go-kit/kit v0.8.0/go.mod"
|
||||||
|
"github.com/go-kit/kit v0.9.0/go.mod"
|
||||||
|
"github.com/go-kit/log v0.1.0/go.mod"
|
||||||
|
"github.com/go-logfmt/logfmt v0.3.0/go.mod"
|
||||||
|
"github.com/go-logfmt/logfmt v0.4.0/go.mod"
|
||||||
|
"github.com/go-logfmt/logfmt v0.5.0/go.mod"
|
||||||
|
"github.com/go-stack/stack v1.8.0/go.mod"
|
||||||
|
"github.com/gogo/protobuf v1.1.1/go.mod"
|
||||||
|
"github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod"
|
||||||
|
"github.com/golang/groupcache v0.0.0-20190702054246-869f871628b6/go.mod"
|
||||||
|
"github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7/go.mod"
|
||||||
|
"github.com/golang/groupcache v0.0.0-20200121045136-8c9f03a8e57e/go.mod"
|
||||||
|
"github.com/golang/mock v1.1.1/go.mod"
|
||||||
|
"github.com/golang/mock v1.2.0/go.mod"
|
||||||
|
"github.com/golang/mock v1.3.1/go.mod"
|
||||||
|
"github.com/golang/mock v1.4.0/go.mod"
|
||||||
|
"github.com/golang/mock v1.4.1/go.mod"
|
||||||
|
"github.com/golang/mock v1.4.3/go.mod"
|
||||||
|
"github.com/golang/mock v1.4.4/go.mod"
|
||||||
|
"github.com/golang/protobuf v1.2.0/go.mod"
|
||||||
|
"github.com/golang/protobuf v1.3.1/go.mod"
|
||||||
|
"github.com/golang/protobuf v1.3.2/go.mod"
|
||||||
|
"github.com/golang/protobuf v1.3.3/go.mod"
|
||||||
|
"github.com/golang/protobuf v1.3.4/go.mod"
|
||||||
|
"github.com/golang/protobuf v1.3.5/go.mod"
|
||||||
|
"github.com/golang/protobuf v1.4.0-rc.1/go.mod"
|
||||||
|
"github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod"
|
||||||
|
"github.com/golang/protobuf v1.4.0-rc.2/go.mod"
|
||||||
|
"github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod"
|
||||||
|
"github.com/golang/protobuf v1.4.0/go.mod"
|
||||||
|
"github.com/golang/protobuf v1.4.1/go.mod"
|
||||||
|
"github.com/golang/protobuf v1.4.2/go.mod"
|
||||||
|
"github.com/golang/protobuf v1.4.3/go.mod"
|
||||||
|
"github.com/golang/protobuf v1.5.0/go.mod"
|
||||||
|
"github.com/golang/protobuf v1.5.2"
|
||||||
|
"github.com/golang/protobuf v1.5.2/go.mod"
|
||||||
|
"github.com/gomodule/redigo v1.8.5/go.mod"
|
||||||
|
"github.com/gomodule/redigo v1.8.8"
|
||||||
|
"github.com/gomodule/redigo v1.8.8/go.mod"
|
||||||
|
"github.com/google/btree v0.0.0-20180813153112-4030bb1f1f0c/go.mod"
|
||||||
|
"github.com/google/btree v1.0.0/go.mod"
|
||||||
|
"github.com/google/go-cmp v0.2.0/go.mod"
|
||||||
|
"github.com/google/go-cmp v0.3.0/go.mod"
|
||||||
|
"github.com/google/go-cmp v0.3.1/go.mod"
|
||||||
|
"github.com/google/go-cmp v0.4.0/go.mod"
|
||||||
|
"github.com/google/go-cmp v0.4.1/go.mod"
|
||||||
|
"github.com/google/go-cmp v0.5.0/go.mod"
|
||||||
|
"github.com/google/go-cmp v0.5.1/go.mod"
|
||||||
|
"github.com/google/go-cmp v0.5.4/go.mod"
|
||||||
|
"github.com/google/go-cmp v0.5.5"
|
||||||
|
"github.com/google/go-cmp v0.5.5/go.mod"
|
||||||
|
"github.com/google/gofuzz v1.0.0/go.mod"
|
||||||
|
"github.com/google/martian v2.1.0+incompatible/go.mod"
|
||||||
|
"github.com/google/martian/v3 v3.0.0/go.mod"
|
||||||
|
"github.com/google/pprof v0.0.0-20181206194817-3ea8567a2e57/go.mod"
|
||||||
|
"github.com/google/pprof v0.0.0-20190515194954-54271f7e092f/go.mod"
|
||||||
|
"github.com/google/pprof v0.0.0-20191218002539-d4f498aebedc/go.mod"
|
||||||
|
"github.com/google/pprof v0.0.0-20200212024743-f11f1df84d12/go.mod"
|
||||||
|
"github.com/google/pprof v0.0.0-20200229191704-1ebb73c60ed3/go.mod"
|
||||||
|
"github.com/google/pprof v0.0.0-20200430221834-fc25d7d30c6d/go.mod"
|
||||||
|
"github.com/google/pprof v0.0.0-20200708004538-1a94d8640e99/go.mod"
|
||||||
|
"github.com/google/renameio v0.1.0/go.mod"
|
||||||
|
"github.com/googleapis/gax-go/v2 v2.0.4/go.mod"
|
||||||
|
"github.com/googleapis/gax-go/v2 v2.0.5/go.mod"
|
||||||
|
"github.com/hashicorp/golang-lru v0.5.0/go.mod"
|
||||||
|
"github.com/hashicorp/golang-lru v0.5.1/go.mod"
|
||||||
|
"github.com/ianlancetaylor/demangle v0.0.0-20181102032728-5e5cf60278f6/go.mod"
|
||||||
|
"github.com/jpillora/backoff v1.0.0/go.mod"
|
||||||
|
"github.com/json-iterator/go v1.1.6/go.mod"
|
||||||
|
"github.com/json-iterator/go v1.1.10/go.mod"
|
||||||
|
"github.com/json-iterator/go v1.1.11/go.mod"
|
||||||
|
"github.com/json-iterator/go v1.1.12/go.mod"
|
||||||
|
"github.com/jstemmer/go-junit-report v0.0.0-20190106144839-af01ea7f8024/go.mod"
|
||||||
|
"github.com/jstemmer/go-junit-report v0.9.1/go.mod"
|
||||||
|
"github.com/julienschmidt/httprouter v1.2.0/go.mod"
|
||||||
|
"github.com/julienschmidt/httprouter v1.3.0/go.mod"
|
||||||
|
"github.com/kisielk/gotool v1.0.0/go.mod"
|
||||||
|
"github.com/konsorten/go-windows-terminal-sequences v1.0.1/go.mod"
|
||||||
|
"github.com/konsorten/go-windows-terminal-sequences v1.0.3/go.mod"
|
||||||
|
"github.com/kr/logfmt v0.0.0-20140226030751-b84e30acd515/go.mod"
|
||||||
|
"github.com/kr/pretty v0.1.0"
|
||||||
|
"github.com/kr/pretty v0.1.0/go.mod"
|
||||||
|
"github.com/kr/pty v1.1.1/go.mod"
|
||||||
|
"github.com/kr/text v0.1.0"
|
||||||
|
"github.com/kr/text v0.1.0/go.mod"
|
||||||
|
"github.com/matttproud/golang_protobuf_extensions v1.0.1"
|
||||||
|
"github.com/matttproud/golang_protobuf_extensions v1.0.1/go.mod"
|
||||||
|
"github.com/mna/redisc v1.3.2"
|
||||||
|
"github.com/mna/redisc v1.3.2/go.mod"
|
||||||
|
"github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod"
|
||||||
|
"github.com/modern-go/concurrent v0.0.0-20180306012644-bacd9c7ef1dd/go.mod"
|
||||||
|
"github.com/modern-go/reflect2 v0.0.0-20180701023420-4b7aa43c6742/go.mod"
|
||||||
|
"github.com/modern-go/reflect2 v1.0.1/go.mod"
|
||||||
|
"github.com/modern-go/reflect2 v1.0.2/go.mod"
|
||||||
|
"github.com/mwitkow/go-conntrack v0.0.0-20161129095857-cc309e4a2223/go.mod"
|
||||||
|
"github.com/mwitkow/go-conntrack v0.0.0-20190716064945-2f068394615f/go.mod"
|
||||||
|
"github.com/pkg/errors v0.8.0/go.mod"
|
||||||
|
"github.com/pkg/errors v0.8.1/go.mod"
|
||||||
|
"github.com/pkg/errors v0.9.1/go.mod"
|
||||||
|
"github.com/pmezard/go-difflib v1.0.0"
|
||||||
|
"github.com/pmezard/go-difflib v1.0.0/go.mod"
|
||||||
|
"github.com/prometheus/client_golang v0.9.1/go.mod"
|
||||||
|
"github.com/prometheus/client_golang v1.0.0/go.mod"
|
||||||
|
"github.com/prometheus/client_golang v1.7.1/go.mod"
|
||||||
|
"github.com/prometheus/client_golang v1.11.0/go.mod"
|
||||||
|
"github.com/prometheus/client_golang v1.12.1"
|
||||||
|
"github.com/prometheus/client_golang v1.12.1/go.mod"
|
||||||
|
"github.com/prometheus/client_model v0.0.0-20180712105110-5c3871d89910/go.mod"
|
||||||
|
"github.com/prometheus/client_model v0.0.0-20190129233127-fd36f4220a90/go.mod"
|
||||||
|
"github.com/prometheus/client_model v0.0.0-20190812154241-14fe0d1b01d4/go.mod"
|
||||||
|
"github.com/prometheus/client_model v0.2.0"
|
||||||
|
"github.com/prometheus/client_model v0.2.0/go.mod"
|
||||||
|
"github.com/prometheus/common v0.4.1/go.mod"
|
||||||
|
"github.com/prometheus/common v0.10.0/go.mod"
|
||||||
|
"github.com/prometheus/common v0.26.0/go.mod"
|
||||||
|
"github.com/prometheus/common v0.32.1"
|
||||||
|
"github.com/prometheus/common v0.32.1/go.mod"
|
||||||
|
"github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod"
|
||||||
|
"github.com/prometheus/procfs v0.0.2/go.mod"
|
||||||
|
"github.com/prometheus/procfs v0.1.3/go.mod"
|
||||||
|
"github.com/prometheus/procfs v0.6.0/go.mod"
|
||||||
|
"github.com/prometheus/procfs v0.7.3"
|
||||||
|
"github.com/prometheus/procfs v0.7.3/go.mod"
|
||||||
|
"github.com/rogpeppe/go-internal v1.3.0/go.mod"
|
||||||
|
"github.com/sirupsen/logrus v1.2.0/go.mod"
|
||||||
|
"github.com/sirupsen/logrus v1.4.2/go.mod"
|
||||||
|
"github.com/sirupsen/logrus v1.6.0/go.mod"
|
||||||
|
"github.com/sirupsen/logrus v1.8.1"
|
||||||
|
"github.com/sirupsen/logrus v1.8.1/go.mod"
|
||||||
|
"github.com/stretchr/objx v0.1.0/go.mod"
|
||||||
|
"github.com/stretchr/objx v0.1.1/go.mod"
|
||||||
|
"github.com/stretchr/testify v1.2.2/go.mod"
|
||||||
|
"github.com/stretchr/testify v1.3.0/go.mod"
|
||||||
|
"github.com/stretchr/testify v1.4.0/go.mod"
|
||||||
|
"github.com/stretchr/testify v1.5.1/go.mod"
|
||||||
|
"github.com/stretchr/testify v1.7.0"
|
||||||
|
"github.com/stretchr/testify v1.7.0/go.mod"
|
||||||
|
"github.com/yuin/goldmark v1.1.25/go.mod"
|
||||||
|
"github.com/yuin/goldmark v1.1.27/go.mod"
|
||||||
|
"github.com/yuin/goldmark v1.1.32/go.mod"
|
||||||
|
"go.opencensus.io v0.21.0/go.mod"
|
||||||
|
"go.opencensus.io v0.22.0/go.mod"
|
||||||
|
"go.opencensus.io v0.22.2/go.mod"
|
||||||
|
"go.opencensus.io v0.22.3/go.mod"
|
||||||
|
"go.opencensus.io v0.22.4/go.mod"
|
||||||
|
"golang.org/x/crypto v0.0.0-20180904163835-0709b304e793/go.mod"
|
||||||
|
"golang.org/x/crypto v0.0.0-20190308221718-c2843e01d9a2/go.mod"
|
||||||
|
"golang.org/x/crypto v0.0.0-20190510104115-cbcb75029529/go.mod"
|
||||||
|
"golang.org/x/crypto v0.0.0-20190605123033-f99c8df09eb5/go.mod"
|
||||||
|
"golang.org/x/crypto v0.0.0-20191011191535-87dc89f01550/go.mod"
|
||||||
|
"golang.org/x/crypto v0.0.0-20200622213623-75b288015ac9/go.mod"
|
||||||
|
"golang.org/x/exp v0.0.0-20190121172915-509febef88a4/go.mod"
|
||||||
|
"golang.org/x/exp v0.0.0-20190306152737-a1d7652674e8/go.mod"
|
||||||
|
"golang.org/x/exp v0.0.0-20190510132918-efd6b22b2522/go.mod"
|
||||||
|
"golang.org/x/exp v0.0.0-20190829153037-c13cbed26979/go.mod"
|
||||||
|
"golang.org/x/exp v0.0.0-20191030013958-a1ab85dbe136/go.mod"
|
||||||
|
"golang.org/x/exp v0.0.0-20191129062945-2f5052295587/go.mod"
|
||||||
|
"golang.org/x/exp v0.0.0-20191227195350-da58074b4299/go.mod"
|
||||||
|
"golang.org/x/exp v0.0.0-20200119233911-0405dc783f0a/go.mod"
|
||||||
|
"golang.org/x/exp v0.0.0-20200207192155-f17229e696bd/go.mod"
|
||||||
|
"golang.org/x/exp v0.0.0-20200224162631-6cc2880d07d6/go.mod"
|
||||||
|
"golang.org/x/image v0.0.0-20190227222117-0694c2d4d067/go.mod"
|
||||||
|
"golang.org/x/image v0.0.0-20190802002840-cff245a6509b/go.mod"
|
||||||
|
"golang.org/x/lint v0.0.0-20181026193005-c67002cb31c3/go.mod"
|
||||||
|
"golang.org/x/lint v0.0.0-20190227174305-5b3e6a55c961/go.mod"
|
||||||
|
"golang.org/x/lint v0.0.0-20190301231843-5614ed5bae6f/go.mod"
|
||||||
|
"golang.org/x/lint v0.0.0-20190313153728-d0100b6bd8b3/go.mod"
|
||||||
|
"golang.org/x/lint v0.0.0-20190409202823-959b441ac422/go.mod"
|
||||||
|
"golang.org/x/lint v0.0.0-20190909230951-414d861bb4ac/go.mod"
|
||||||
|
"golang.org/x/lint v0.0.0-20190930215403-16217165b5de/go.mod"
|
||||||
|
"golang.org/x/lint v0.0.0-20191125180803-fdd1cda4f05f/go.mod"
|
||||||
|
"golang.org/x/lint v0.0.0-20200130185559-910be7a94367/go.mod"
|
||||||
|
"golang.org/x/lint v0.0.0-20200302205851-738671d3881b/go.mod"
|
||||||
|
"golang.org/x/mobile v0.0.0-20190312151609-d3739f865fa6/go.mod"
|
||||||
|
"golang.org/x/mobile v0.0.0-20190719004257-d2bd2a29d028/go.mod"
|
||||||
|
"golang.org/x/mod v0.0.0-20190513183733-4bf6d317e70e/go.mod"
|
||||||
|
"golang.org/x/mod v0.1.0/go.mod"
|
||||||
|
"golang.org/x/mod v0.1.1-0.20191105210325-c90efee705ee/go.mod"
|
||||||
|
"golang.org/x/mod v0.1.1-0.20191107180719-034126e5016b/go.mod"
|
||||||
|
"golang.org/x/mod v0.2.0/go.mod"
|
||||||
|
"golang.org/x/mod v0.3.0/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20180724234803-3673e40ba225/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20180826012351-8a410e7b638d/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20181114220301-adae6a3d119a/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20190108225652-1e06a53dbb7e/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20190213061140-3a22650c66bd/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20190311183353-d8887717615a/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20190404232315-eb5bcb51f2a3/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20190501004415-9ce7a6920f09/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20190503192946-f4e77d36d62c/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20190603091049-60506f45cf65/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20190613194153-d28f0bde5980/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20190620200207-3b0461eec859/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20190628185345-da137c7871d7/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20190724013045-ca1201d0de80/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20191209160850-c0dbc17a3553/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20200114155413-6afb5195e5aa/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20200202094626-16171245cfb2/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20200222125558-5a598a2470a0/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20200226121028-0de0cce0169b/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20200301022130-244492dfa37a/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20200324143707-d3edc9973b7e/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20200501053045-e0ff5e5a1de5/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20200506145744-7e3656a0809f/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20200513185701-a91f0712d120/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20200520182314-0ba52f642ac2/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20200625001655-4c5254603344/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20200707034311-ab3426394381/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20200822124328-c89045814202/go.mod"
|
||||||
|
"golang.org/x/net v0.0.0-20210525063256-abc453219eb5/go.mod"
|
||||||
|
"golang.org/x/oauth2 v0.0.0-20180821212333-d2e6202438be/go.mod"
|
||||||
|
"golang.org/x/oauth2 v0.0.0-20190226205417-e64efc72b421/go.mod"
|
||||||
|
"golang.org/x/oauth2 v0.0.0-20190604053449-0f29369cfe45/go.mod"
|
||||||
|
"golang.org/x/oauth2 v0.0.0-20191202225959-858c2ad4c8b6/go.mod"
|
||||||
|
"golang.org/x/oauth2 v0.0.0-20200107190931-bf48bf16ab8d/go.mod"
|
||||||
|
"golang.org/x/oauth2 v0.0.0-20210514164344-f6687ab2804c/go.mod"
|
||||||
|
"golang.org/x/sync v0.0.0-20180314180146-1d60e4601c6f/go.mod"
|
||||||
|
"golang.org/x/sync v0.0.0-20181108010431-42b317875d0f/go.mod"
|
||||||
|
"golang.org/x/sync v0.0.0-20181221193216-37e7f081c4d4/go.mod"
|
||||||
|
"golang.org/x/sync v0.0.0-20190227155943-e225da77a7e6/go.mod"
|
||||||
|
"golang.org/x/sync v0.0.0-20190423024810-112230192c58/go.mod"
|
||||||
|
"golang.org/x/sync v0.0.0-20190911185100-cd5d95a43a6e/go.mod"
|
||||||
|
"golang.org/x/sync v0.0.0-20200317015054-43a5402ce75a/go.mod"
|
||||||
|
"golang.org/x/sync v0.0.0-20200625203802-6e8e738ad208/go.mod"
|
||||||
|
"golang.org/x/sync v0.0.0-20201207232520-09787c993a3a/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20180830151530-49385e6e1522/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20180905080454-ebe1bf3edb33/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20181116152217-5ac8a444bdc5/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20190215142949-d0b11bdaac8a/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20190312061237-fead79001313/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20190412213103-97732733099d/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20190422165155-953cdadca894/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20190502145724-3ef323f4f1fd/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20190507160741-ecd444e8653b/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20190606165138-5da285871e9c/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20190624142023-c5567b49c5d0/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20190726091711-fc99dfbffb4e/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20191001151750-bb3f8db39f24/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20191026070338-33540a1f6037/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20191204072324-ce4227a45e2e/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20191228213918-04cbcbbfeed8/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20200106162015-b016eb3dc98e/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20200113162924-86b910548bc1/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20200122134326-e047566fdf82/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20200212091648-12a6c2dcc1e4/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20200223170610-d5e6a3e2c0ae/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20200302150141-5c8b2ff67527/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20200323222414-85ca7c5b95cd/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20200331124033-c3d80250170d/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20200501052902-10377860bb8e/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20200511232937-7e40ca221e25/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20200515095857-1151b9dac4a9/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20200523222454-059865788121/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20200615200032-f1bc736245b1/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20200625212154-ddb9806d33ae/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20200803210538-64077c9b5642/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20201119102817-f84b799fce68/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20210124154548-22da62e12c0c/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20210423082822-04245dca01da/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20210603081109-ebe580a85c40/go.mod"
|
||||||
|
"golang.org/x/sys v0.0.0-20220114195835-da31bd327af9"
|
||||||
|
"golang.org/x/sys v0.0.0-20220114195835-da31bd327af9/go.mod"
|
||||||
|
"golang.org/x/term v0.0.0-20201126162022-7de9c90e9dd1/go.mod"
|
||||||
|
"golang.org/x/text v0.0.0-20170915032832-14c0d48ead0c/go.mod"
|
||||||
|
"golang.org/x/text v0.3.0/go.mod"
|
||||||
|
"golang.org/x/text v0.3.1-0.20180807135948-17ff2d5776d2/go.mod"
|
||||||
|
"golang.org/x/text v0.3.2/go.mod"
|
||||||
|
"golang.org/x/text v0.3.3/go.mod"
|
||||||
|
"golang.org/x/text v0.3.6/go.mod"
|
||||||
|
"golang.org/x/time v0.0.0-20181108054448-85acf8d2951c/go.mod"
|
||||||
|
"golang.org/x/time v0.0.0-20190308202827-9d24e82272b4/go.mod"
|
||||||
|
"golang.org/x/time v0.0.0-20191024005414-555d28b269f0/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20180917221912-90fa682c2a6e/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20190114222345-bf090417da8b/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20190226205152-f727befe758c/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20190628153133-6cdbf07be9d0/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20190816200558-6889da9d5479/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20190911174233-4f2ddba30aff/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20191012152004-8de300cfc20a/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20191113191852-77e3bb0ad9e7/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20191115202509-3a792d9c32b2/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20191119224855-298f0cb1881e/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20200204074204-1cc6d1ef6c74/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20200207183749-b753a1ba74fa/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20200212150539-ea181f53ac56/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20200224181240-023911ca70b2/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20200227222343-706bc42d1f0d/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20200304193943-95d2e580d8eb/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20200312045724-11d5b4c81c7d/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20200331025713-a30bf2db82d4/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20200501065659-ab2804fb9c9d/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20200512131952-2bc93b1c0c88/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20200515010526-7d3b6ebf133d/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod"
|
||||||
|
"golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod"
|
||||||
|
"golang.org/x/xerrors v0.0.0-20190717185122-a985d3407aa7/go.mod"
|
||||||
|
"golang.org/x/xerrors v0.0.0-20191011141410-1b5146add898/go.mod"
|
||||||
|
"golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod"
|
||||||
|
"golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1"
|
||||||
|
"golang.org/x/xerrors v0.0.0-20200804184101-5ec99f83aff1/go.mod"
|
||||||
|
"google.golang.org/api v0.4.0/go.mod"
|
||||||
|
"google.golang.org/api v0.7.0/go.mod"
|
||||||
|
"google.golang.org/api v0.8.0/go.mod"
|
||||||
|
"google.golang.org/api v0.9.0/go.mod"
|
||||||
|
"google.golang.org/api v0.13.0/go.mod"
|
||||||
|
"google.golang.org/api v0.14.0/go.mod"
|
||||||
|
"google.golang.org/api v0.15.0/go.mod"
|
||||||
|
"google.golang.org/api v0.17.0/go.mod"
|
||||||
|
"google.golang.org/api v0.18.0/go.mod"
|
||||||
|
"google.golang.org/api v0.19.0/go.mod"
|
||||||
|
"google.golang.org/api v0.20.0/go.mod"
|
||||||
|
"google.golang.org/api v0.22.0/go.mod"
|
||||||
|
"google.golang.org/api v0.24.0/go.mod"
|
||||||
|
"google.golang.org/api v0.28.0/go.mod"
|
||||||
|
"google.golang.org/api v0.29.0/go.mod"
|
||||||
|
"google.golang.org/api v0.30.0/go.mod"
|
||||||
|
"google.golang.org/appengine v1.1.0/go.mod"
|
||||||
|
"google.golang.org/appengine v1.4.0/go.mod"
|
||||||
|
"google.golang.org/appengine v1.5.0/go.mod"
|
||||||
|
"google.golang.org/appengine v1.6.1/go.mod"
|
||||||
|
"google.golang.org/appengine v1.6.5/go.mod"
|
||||||
|
"google.golang.org/appengine v1.6.6/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20190307195333-5fe7a883aa19/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20190418145605-e7d98fc518a7/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20190425155659-357c62f0e4bb/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20190502173448-54afdca5d873/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20190801165951-fa694d86fc64/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20190911173649-1774047e7e51/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20191108220845-16a3f7862a1a/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20191115194625-c23dd37a84c9/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20191216164720-4f79533eabd1/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20191230161307-f3c370f40bfb/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20200115191322-ca5a22157cba/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20200122232147-0452cf42e150/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20200212174721-66ed5ce911ce/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20200224152610-e50cd9704f63/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20200228133532-8c2c7df3a383/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20200305110556-506484158171/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20200312145019-da6875a35672/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20200331122359-1ee6d9798940/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20200430143042-b979b6f78d84/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20200511104702-f5ebc3bea380/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20200515170657-fc4c6c6a6587/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20200618031413-b414f8b61790/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20200729003335-053ba62fc06f/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20200804131852-c06518451d9c/go.mod"
|
||||||
|
"google.golang.org/genproto v0.0.0-20200825200019-8632dd797987/go.mod"
|
||||||
|
"google.golang.org/grpc v1.19.0/go.mod"
|
||||||
|
"google.golang.org/grpc v1.20.1/go.mod"
|
||||||
|
"google.golang.org/grpc v1.21.1/go.mod"
|
||||||
|
"google.golang.org/grpc v1.23.0/go.mod"
|
||||||
|
"google.golang.org/grpc v1.25.1/go.mod"
|
||||||
|
"google.golang.org/grpc v1.26.0/go.mod"
|
||||||
|
"google.golang.org/grpc v1.27.0/go.mod"
|
||||||
|
"google.golang.org/grpc v1.27.1/go.mod"
|
||||||
|
"google.golang.org/grpc v1.28.0/go.mod"
|
||||||
|
"google.golang.org/grpc v1.29.1/go.mod"
|
||||||
|
"google.golang.org/grpc v1.30.0/go.mod"
|
||||||
|
"google.golang.org/grpc v1.31.0/go.mod"
|
||||||
|
"google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod"
|
||||||
|
"google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod"
|
||||||
|
"google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod"
|
||||||
|
"google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod"
|
||||||
|
"google.golang.org/protobuf v1.21.0/go.mod"
|
||||||
|
"google.golang.org/protobuf v1.22.0/go.mod"
|
||||||
|
"google.golang.org/protobuf v1.23.0/go.mod"
|
||||||
|
"google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod"
|
||||||
|
"google.golang.org/protobuf v1.24.0/go.mod"
|
||||||
|
"google.golang.org/protobuf v1.25.0/go.mod"
|
||||||
|
"google.golang.org/protobuf v1.26.0-rc.1/go.mod"
|
||||||
|
"google.golang.org/protobuf v1.26.0"
|
||||||
|
"google.golang.org/protobuf v1.26.0/go.mod"
|
||||||
|
"gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod"
|
||||||
|
"gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod"
|
||||||
|
"gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod"
|
||||||
|
"gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15"
|
||||||
|
"gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15/go.mod"
|
||||||
|
"gopkg.in/errgo.v2 v2.1.0/go.mod"
|
||||||
|
"gopkg.in/yaml.v2 v2.2.1/go.mod"
|
||||||
|
"gopkg.in/yaml.v2 v2.2.2/go.mod"
|
||||||
|
"gopkg.in/yaml.v2 v2.2.4/go.mod"
|
||||||
|
"gopkg.in/yaml.v2 v2.2.5/go.mod"
|
||||||
|
"gopkg.in/yaml.v2 v2.3.0/go.mod"
|
||||||
|
"gopkg.in/yaml.v2 v2.4.0/go.mod"
|
||||||
|
"gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c"
|
||||||
|
"gopkg.in/yaml.v3 v3.0.0-20200313102051-9f266ea9e77c/go.mod"
|
||||||
|
"honnef.co/go/tools v0.0.0-20190102054323-c2f93a96b099/go.mod"
|
||||||
|
"honnef.co/go/tools v0.0.0-20190106161140-3f1c8253044a/go.mod"
|
||||||
|
"honnef.co/go/tools v0.0.0-20190418001031-e561f6794a2a/go.mod"
|
||||||
|
"honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod"
|
||||||
|
"honnef.co/go/tools v0.0.1-2019.2.3/go.mod"
|
||||||
|
"honnef.co/go/tools v0.0.1-2020.1.3/go.mod"
|
||||||
|
"honnef.co/go/tools v0.0.1-2020.1.4/go.mod"
|
||||||
|
"rsc.io/binaryregexp v0.2.0/go.mod"
|
||||||
|
"rsc.io/quote/v3 v3.1.0/go.mod"
|
||||||
|
"rsc.io/sampler v1.3.0/go.mod"
|
||||||
|
)
|
||||||
|
go-module_set_globals
|
||||||
|
SRC_URI="https://github.com/oliver006/redis_exporter/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||||
|
${EGO_SUM_SRC_URI}"
|
||||||
|
|
||||||
|
LICENSE="MIT Apache-2.0 BSD"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE=""
|
||||||
|
RDEPEND="
|
||||||
|
acct-user/redis_exporter
|
||||||
|
acct-group/redis_exporter"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
RESTRICT+=" test"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
sed -e "s|\(^[[:space:]]*VERSION[[:space:]]*=[[:space:]]*\).*|\1\"${PV}\"|" \
|
||||||
|
-e "s|\(^[[:space:]]*BUILD_DATE[[:space:]]*=[[:space:]]*\).*|\1\"$(LC_ALL=C date -u)\"|" \
|
||||||
|
-e "s|\(^[[:space:]]*COMMIT_SHA1[[:space:]]*=[[:space:]]*\).*|\1\"${EGIT_COMMIT}\"|" \
|
||||||
|
-i main.go || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
export GOBIN="${S}/bin"
|
||||||
|
go install \
|
||||||
|
-ldflags="-X main.BuildVersion=${PV} -X main.BuildCommitSha=${EGIT_COMMIT} -X main.BuildDate=$(date +%F-%T)" \
|
||||||
|
./... || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_test() {
|
||||||
|
go test -work ./... || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
dobin "${GOBIN}/redis_exporter"
|
||||||
|
dodoc README.md
|
||||||
|
local dir
|
||||||
|
for dir in /var/{lib,log}/${PN}; do
|
||||||
|
keepdir "${dir}"
|
||||||
|
fowners ${PN}:${PN} "${dir}"
|
||||||
|
done
|
||||||
|
newinitd "${FILESDIR}"/${PN}.initd ${PN}
|
||||||
|
newconfd "${FILESDIR}"/${PN}.confd ${PN}
|
||||||
|
insinto /etc/logrotate.d
|
||||||
|
newins "${FILESDIR}/${PN}.logrotated" "${PN}"
|
||||||
|
systemd_dounit "${FILESDIR}/${PN}.service"
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
@ -1,5 +1,7 @@
|
|||||||
DIST nattka-0.2.19.tar.gz 93800 BLAKE2B 65efff2454cdb24f3b71dc5713adbf3bda3976ed958622f7adec14e3708a53531aac6801e838fd21346ce02974fa79bcb82c3f4d2a6555095fa8d81db9ad2992 SHA512 7508a78fa774a9229caa573426839ec84210e9a2d38b7ca9cd47d857b9922b946e9e31fadf946f001565ce6dc65103bca8af58935d7eb2fcf32da423345ce61a
|
DIST nattka-0.2.19.tar.gz 93800 BLAKE2B 65efff2454cdb24f3b71dc5713adbf3bda3976ed958622f7adec14e3708a53531aac6801e838fd21346ce02974fa79bcb82c3f4d2a6555095fa8d81db9ad2992 SHA512 7508a78fa774a9229caa573426839ec84210e9a2d38b7ca9cd47d857b9922b946e9e31fadf946f001565ce6dc65103bca8af58935d7eb2fcf32da423345ce61a
|
||||||
|
DIST nattka-0.3.1.tar.gz 95368 BLAKE2B cefe8236694ceffe9adf3c5af9c8c3521613fbc09b6e27804ee855a376f940baa5e7bf3d6d5d62371d37cea090748ec7053963dd675e88b9cedb48d595425ff4 SHA512 14b04b2f6fff41cc9705afe5cfc522a3009b14afa4ff5759c1913387afd04c97231fe2ad5661cef43c5ebfe764012cec251fd78463bbca924fbf33068a31aaee
|
||||||
DIST nattka-0.3.tar.gz 93914 BLAKE2B c38ec336ed202e508e1cb4bfcae0586b94a6fd55df97d5be514caddf0113b9588496492ebc68dbda45c4a3034451368d32a3f53f5ebc8f3136515614ac70ecab SHA512 390b276ab11e5de056e165f95574b5a97edbcad3adf876e20bb6ef8accf94629428c4fc60bbea4eaf883d5e0a9f6e7ea00aff74989d31bdd59c418041d9164dc
|
DIST nattka-0.3.tar.gz 93914 BLAKE2B c38ec336ed202e508e1cb4bfcae0586b94a6fd55df97d5be514caddf0113b9588496492ebc68dbda45c4a3034451368d32a3f53f5ebc8f3136515614ac70ecab SHA512 390b276ab11e5de056e165f95574b5a97edbcad3adf876e20bb6ef8accf94629428c4fc60bbea4eaf883d5e0a9f6e7ea00aff74989d31bdd59c418041d9164dc
|
||||||
EBUILD nattka-0.2.19.ebuild 875 BLAKE2B 24bfcc07d615796c60c42dd28359891c30b1d2a6f05e263260062bcf359abb93df2053a953c3aca10712d520736b2c541a2c58040e5f253c399024510a6aaa53 SHA512 3182ea2999de12771ed47e91d9a84a39fb0f949ac9a14fa22ce2c7a699f97eb9bdd90a32c4ed1f9772a6d2f67f0dbe1a92e114c4e4c0f9180f6cc4a31b043149
|
EBUILD nattka-0.2.19.ebuild 875 BLAKE2B 24bfcc07d615796c60c42dd28359891c30b1d2a6f05e263260062bcf359abb93df2053a953c3aca10712d520736b2c541a2c58040e5f253c399024510a6aaa53 SHA512 3182ea2999de12771ed47e91d9a84a39fb0f949ac9a14fa22ce2c7a699f97eb9bdd90a32c4ed1f9772a6d2f67f0dbe1a92e114c4e4c0f9180f6cc4a31b043149
|
||||||
|
EBUILD nattka-0.3.1.ebuild 960 BLAKE2B f7412a4ebd6c873ce7cb9e0c26f50d7f7bf61c58aa46d775f9241b48a78c2c3744951023ac11c82ee6938d5ba8f5dc978afc3db08cd9a9a3fd4f2d08c4c8b071 SHA512 04b119abf893e5cbacff7a0d44bd529532f3e03905c0d356b9d45c04102eb012c5b257567fc02eb7202a3ff95ce4ab3593da6a3c9ef1d983c45b92e19371bb84
|
||||||
EBUILD nattka-0.3.ebuild 912 BLAKE2B 06830bc583fed8ca0d18946ba3f17cc90b7bd3ece16002e23ecfb01d4efcf086ee102370e96ad3beae4ae8cd9ffacb01ab00c20615c93494e44446ac84170faa SHA512 ef7bae9fab8841793c83023d791ddcef4a64bf00504ca54535631254b1406282bcc0caa79a231bfe05f155b8ed5c41cc316ba32a5ea94c56abc7b73058aacd98
|
EBUILD nattka-0.3.ebuild 912 BLAKE2B 06830bc583fed8ca0d18946ba3f17cc90b7bd3ece16002e23ecfb01d4efcf086ee102370e96ad3beae4ae8cd9ffacb01ab00c20615c93494e44446ac84170faa SHA512 ef7bae9fab8841793c83023d791ddcef4a64bf00504ca54535631254b1406282bcc0caa79a231bfe05f155b8ed5c41cc316ba32a5ea94c56abc7b73058aacd98
|
||||||
MISC metadata.xml 385 BLAKE2B 97f0d4b35764704354cef28141e2748cc081007a35ba3bd1a6e910a7f57b063e4c3f6b7340de9d9f7238b56bfb49fc5a9ddbd868a64402633fef00839ef5c1c0 SHA512 a441b1042c972d3b1f31be7f7fb3e21fec98a89fa1a9a583e3e19c996c561d36ba29f315098170d02f13b185f78fcf522ea5332dabf6dd2139fce08fc45256f0
|
MISC metadata.xml 385 BLAKE2B 97f0d4b35764704354cef28141e2748cc081007a35ba3bd1a6e910a7f57b063e4c3f6b7340de9d9f7238b56bfb49fc5a9ddbd868a64402633fef00839ef5c1c0 SHA512 a441b1042c972d3b1f31be7f7fb3e21fec98a89fa1a9a583e3e19c996c561d36ba29f315098170d02f13b185f78fcf522ea5332dabf6dd2139fce08fc45256f0
|
||||||
|
@ -0,0 +1,38 @@
|
|||||||
|
# Copyright 2020-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_PEP517=flit
|
||||||
|
PYTHON_COMPAT=( python3_{8..10} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="A New Arch Tester Toolkit -- open-source stable-bot replacement"
|
||||||
|
HOMEPAGE="https://github.com/mgorny/nattka/"
|
||||||
|
SRC_URI="https://github.com/mgorny/nattka/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="BSD-2"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-macos"
|
||||||
|
IUSE="depgraph-order"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/lxml[${PYTHON_USEDEP}]
|
||||||
|
dev-python/requests[${PYTHON_USEDEP}]
|
||||||
|
dev-util/pkgcheck[${PYTHON_USEDEP}]
|
||||||
|
dev-vcs/git
|
||||||
|
sys-apps/pkgcore[${PYTHON_USEDEP}]
|
||||||
|
depgraph-order? (
|
||||||
|
dev-python/networkx[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
BDEPEND="
|
||||||
|
>=dev-python/flit_core-3.7.1[${PYTHON_USEDEP}]
|
||||||
|
test? (
|
||||||
|
dev-python/vcrpy[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_sphinx doc --no-autodoc
|
||||||
|
distutils_enable_tests pytest
|
Binary file not shown.
Binary file not shown.
@ -1,315 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..9} )
|
|
||||||
PYTHON_REQ_USE="ipv6(+),sqlite,ssl"
|
|
||||||
|
|
||||||
inherit toolchain-funcs python-single-r1 xdg-utils
|
|
||||||
|
|
||||||
DESCRIPTION="Ebook management application"
|
|
||||||
HOMEPAGE="https://calibre-ebook.com/"
|
|
||||||
SRC_URI="https://download.calibre-ebook.com/${PV}/${P}.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="
|
|
||||||
GPL-3+
|
|
||||||
GPL-3
|
|
||||||
GPL-2+
|
|
||||||
GPL-2
|
|
||||||
GPL-1+
|
|
||||||
LGPL-3+
|
|
||||||
LGPL-2.1+
|
|
||||||
LGPL-2.1
|
|
||||||
BSD
|
|
||||||
MIT
|
|
||||||
Old-MIT
|
|
||||||
Apache-2.0
|
|
||||||
public-domain
|
|
||||||
|| ( Artistic GPL-1+ )
|
|
||||||
CC-BY-3.0
|
|
||||||
OFL-1.1
|
|
||||||
PSF-2
|
|
||||||
"
|
|
||||||
KEYWORDS="~amd64 ~arm ~x86"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="ios +udisks"
|
|
||||||
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
COMMON_DEPEND="${PYTHON_DEPS}
|
|
||||||
>=app-text/hunspell-1.7:=
|
|
||||||
>=app-text/podofo-0.9.6_pre20171027:=
|
|
||||||
>=app-text/poppler-0.26.5[qt5]
|
|
||||||
dev-libs/glib:2=
|
|
||||||
dev-libs/hyphen:=
|
|
||||||
>=dev-libs/icu-57.1:=
|
|
||||||
dev-libs/libinput:=
|
|
||||||
>=dev-libs/dbus-glib-0.106
|
|
||||||
dev-libs/snowball-stemmer:=
|
|
||||||
>=sys-apps/dbus-1.10.8
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
app-accessibility/speech-dispatcher[python,${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/apsw-3.25.2_p1[${PYTHON_USEDEP}]
|
|
||||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
|
||||||
dev-python/cchardet[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/chardet-3.0.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/cssselect-0.7.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/css-parser-1.0.4[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/dbus-python-1.2.4[${PYTHON_USEDEP}]
|
|
||||||
dev-python/dnspython[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/feedparser-5.2.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/html2text-2019.8.11[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/html5-parser-0.4.9[${PYTHON_USEDEP}]
|
|
||||||
dev-python/jeepney[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/lxml-3.8.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/markdown-3.0.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/mechanize-0.3.5[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/msgpack-0.6.2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/netifaces-0.10.5[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pillow-3.2.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/psutil-4.3.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pychm-0.8.6[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pycryptodome[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pygments-2.3.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/python-dateutil-2.5.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/PyQt5-5.15.5_pre2107091435[gui,svg,widgets,network,printsupport,${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/PyQt-builder-1.10.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/PyQtWebEngine-5.15.5_pre2108100905[${PYTHON_USEDEP}]
|
|
||||||
dev-python/regex[${PYTHON_USEDEP}]
|
|
||||||
dev-python/zeroconf[${PYTHON_USEDEP}]
|
|
||||||
')
|
|
||||||
dev-qt/qtcore:5=
|
|
||||||
dev-qt/qtdbus:5=
|
|
||||||
dev-qt/qtgui:5=[jpeg]
|
|
||||||
>=dev-qt/qtwebengine-5.12
|
|
||||||
dev-qt/qtwidgets:5=
|
|
||||||
dev-util/desktop-file-utils
|
|
||||||
dev-util/gtk-update-icon-cache
|
|
||||||
media-fonts/liberation-fonts
|
|
||||||
media-libs/fontconfig:=
|
|
||||||
>=media-libs/freetype-2:=
|
|
||||||
>=media-libs/libmtp-1.1.11:=
|
|
||||||
>=media-libs/libwmf-0.2.8
|
|
||||||
>=media-gfx/optipng-0.7.6
|
|
||||||
>=sys-libs/zlib-1.2.11:=
|
|
||||||
virtual/libusb:1=
|
|
||||||
x11-libs/libxkbcommon:=
|
|
||||||
x11-libs/libX11:=
|
|
||||||
x11-libs/libXext:=
|
|
||||||
x11-libs/libXrender:=
|
|
||||||
x11-misc/shared-mime-info
|
|
||||||
>=x11-misc/xdg-utils-1.0.2-r2
|
|
||||||
ios? (
|
|
||||||
>=app-pda/usbmuxd-1.0.8
|
|
||||||
>=app-pda/libimobiledevice-1.2.0
|
|
||||||
)
|
|
||||||
udisks? ( virtual/libudev )"
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
udisks? ( sys-fs/udisks:2 )"
|
|
||||||
DEPEND="${COMMON_DEPEND}"
|
|
||||||
BDEPEND="$(python_gen_cond_dep '
|
|
||||||
>=dev-python/setuptools-23.1.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/sip-5[${PYTHON_USEDEP}]
|
|
||||||
')
|
|
||||||
>=virtual/podofo-build-0.9.6_pre20171027
|
|
||||||
virtual/pkgconfig"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
# Don't prompt the user for updates - they've installed via
|
|
||||||
# an ebuild.
|
|
||||||
"${FILESDIR}/${PN}-2.9.0-no_updates_dialog.patch"
|
|
||||||
|
|
||||||
# Skip calling a binary (JxrDecApp) from libjxr which is used for tests
|
|
||||||
# We don't (yet?) package libjxr and it seems to be dead upstream
|
|
||||||
# (last commit in 2017)
|
|
||||||
"${FILESDIR}/${PN}-5.31.0-jxr-test.patch"
|
|
||||||
|
|
||||||
# TODO:
|
|
||||||
# test_qt tries to load a bunch of images using Qt and it currently fails
|
|
||||||
# due to some presumably missing dependencies. This is important and
|
|
||||||
# we need to look into it, but at time of writing, none of the tests
|
|
||||||
# are even bring run, so I'd like to return to this later.
|
|
||||||
# We don't want to skip test_qt entirely, so just skip this particular
|
|
||||||
# assert for now.
|
|
||||||
"${FILESDIR}/${PN}-5.31.0-qt-image-test.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
if [[ ${MERGE_TYPE} != binary ]] && tc-is-gcc && [[ $(gcc-major-version) -lt 6 ]]; then
|
|
||||||
eerror "Calibre cannot be built with this version of gcc."
|
|
||||||
eerror "You need at least gcc-6.0"
|
|
||||||
die "Your C compiler is too old for this package."
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# Warning:
|
|
||||||
#
|
|
||||||
# While it might be rather tempting to add yet another sed here,
|
|
||||||
# please don't. There have been several bugs in Gentoo's packaging
|
|
||||||
# of calibre from seds-which-become-stale. Please consider
|
|
||||||
# creating a patch instead, but in any case, run the test suite
|
|
||||||
# and ensure it passes.
|
|
||||||
#
|
|
||||||
# If in doubt about a problem, checking Fedora or Arch Linux's packaging
|
|
||||||
# is recommended, as Arch Linux's PKGBUILD is maintained by a Calibre
|
|
||||||
# contributor. Or just ask them.
|
|
||||||
|
|
||||||
# Fix outdated version constant.
|
|
||||||
#sed -e "s#\\(^numeric_version =\\).*#\\1 (${PV//./, })#" \
|
|
||||||
# -i src/calibre/constants.py || \
|
|
||||||
# die "sed failed to patch constants.py"
|
|
||||||
|
|
||||||
# Avoid sandbox violation in /usr/share/gnome/apps when linux.py
|
|
||||||
# calls xdg-* (bug #258938).
|
|
||||||
sed -e "s|'xdg-desktop-menu', 'install'|\\0, '--mode', 'user'|" \
|
|
||||||
-e "s|check_call(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
|
|
||||||
-e "s|\\(CurrentDir(tdir)\\), \\\\\$|\\1:|" \
|
|
||||||
-e "s|, PreserveMIMEDefaults():|:|" \
|
|
||||||
-e "s|'xdg-icon-resource', 'install'|\\0, '--mode', 'user'|" \
|
|
||||||
-e "s|cmd\[2\]|cmd[4]|" \
|
|
||||||
-e "s|cc(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
|
|
||||||
-e "s|'xdg-mime', 'install'|\\0, '--mode', 'user'|" \
|
|
||||||
-i src/calibre/linux.py || die "sed failed to patch linux.py"
|
|
||||||
|
|
||||||
# Disable unnecessary privilege dropping for bug #287067.
|
|
||||||
sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
|
|
||||||
-i setup/install.py || die "sed failed to patch install.py"
|
|
||||||
sed -e "/^ os.chdir(os.path.join(src_dir, 'build'))$/a\
|
|
||||||
\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ self.check_call(['sed', \
|
|
||||||
'-e', 's|^CFLAGS .*|\\\\\\\\0 ${CFLAGS}|', \
|
|
||||||
'-e', 's|^CXXFLAGS .*|\\\\\\\\0 ${CXXFLAGS}|', \
|
|
||||||
'-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \
|
|
||||||
'-i', os.path.join(os.path.basename(src_dir), 'Makefile')])" \
|
|
||||||
-e "s|open(self.j(bdir, '.qmake.conf'), 'wb').close()|open(self.j(bdir, '.qmake.conf'), 'wb').write(b'QMAKE_LFLAGS += ${LDFLAGS}')|" \
|
|
||||||
-i setup/build.py || die "sed failed to patch build.py"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# TODO: get qmake called by setup.py to respect CC and CXX too
|
|
||||||
tc-export CC CXX
|
|
||||||
|
|
||||||
# bug 821871
|
|
||||||
local MY_LIBDIR="${ESYSROOT}/usr/$(get_libdir)"
|
|
||||||
export FT_LIB_DIR="${MY_LIBDIR}" HUNSPELL_LIB_DIR="${MY_LIBDIR}" PODOFO_LIB_DIR="${MY_LIBDIR}"
|
|
||||||
|
|
||||||
PATH="${T}/bin:${PATH}" ${EPYTHON} setup.py build || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
# Skipped tests:
|
|
||||||
# - 7z (unpackaged Python dependency: py7zr)
|
|
||||||
# - test_unrar (unpackaged Python dependency: unrardll)
|
|
||||||
#
|
|
||||||
# Note that we currently have a hack to skip one part of test_qt!
|
|
||||||
# See PATCHES for more.
|
|
||||||
CALIBRE_PY3_PORT=1 ${PYTHON} setup.py test \
|
|
||||||
--exclude-test-name 7z \
|
|
||||||
--exclude-test-name test_searching \
|
|
||||||
--exclude-test-name test_unrar || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
# calibre works with python 3, so remove the python 2 constraint
|
|
||||||
export CALIBRE_PY3_PORT=1
|
|
||||||
|
|
||||||
# Bypass kbuildsycoca and update-mime-database in order to
|
|
||||||
# avoid sandbox violations if xdg-mime tries to call them.
|
|
||||||
mkdir "${T}/bin" || die
|
|
||||||
cat - > "${T}/bin/kbuildsycoca" <<-EOF
|
|
||||||
#!${BASH}
|
|
||||||
echo $0 : $@
|
|
||||||
exit 0
|
|
||||||
EOF
|
|
||||||
|
|
||||||
cp "${T}"/bin/{kbuildsycoca,update-mime-database} || die
|
|
||||||
chmod +x "${T}"/bin/{kbuildsycoca,update-mime-database} || die
|
|
||||||
|
|
||||||
export QMAKE="${EPREFIX}/usr/$(get_libdir)/qt5/bin/qmake"
|
|
||||||
|
|
||||||
# Unset DISPLAY in order to prevent xdg-mime from triggering a sandbox
|
|
||||||
# violation with kbuildsycoca as in bug #287067, comment #13.
|
|
||||||
export -n DISPLAY
|
|
||||||
|
|
||||||
# Bug #352625 - Some LANGUAGE values can trigger the following ValueError:
|
|
||||||
# File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale
|
|
||||||
# return _parse_localename(localename)
|
|
||||||
# File "/usr/lib/python2.6/locale.py", line 418, in _parse_localename
|
|
||||||
# raise ValueError, 'unknown locale: %s' % localename
|
|
||||||
#ValueError: unknown locale: 46
|
|
||||||
export -n LANG LANGUAGE ${!LC_*}
|
|
||||||
export LC_ALL=C.utf8 #709682
|
|
||||||
|
|
||||||
# Bug #295672 - Avoid sandbox violation in ~/.config by forcing
|
|
||||||
# variables to point to our fake temporary $HOME.
|
|
||||||
export HOME="${T}/fake_homedir"
|
|
||||||
export XDG_CONFIG_HOME="${HOME}/.config"
|
|
||||||
export XDG_DATA_HOME="${HOME}/.local/share"
|
|
||||||
export CALIBRE_CONFIG_DIRECTORY="${XDG_CONFIG_HOME}/calibre"
|
|
||||||
mkdir -p "${XDG_DATA_HOME}" "${CALIBRE_CONFIG_DIRECTORY}" || die
|
|
||||||
|
|
||||||
tc-export CC CXX
|
|
||||||
# Bug #334243 - respect LDFLAGS when building extensions
|
|
||||||
export OVERRIDE_CFLAGS="$CFLAGS" OVERRIDE_LDFLAGS="$LDFLAGS"
|
|
||||||
local libdir=$(get_libdir)
|
|
||||||
[[ -n $libdir ]] || die "get_libdir returned an empty string"
|
|
||||||
|
|
||||||
addpredict /dev/dri #665310
|
|
||||||
|
|
||||||
PATH=${T}/bin:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \
|
|
||||||
"${PYTHON}" setup.py install \
|
|
||||||
--root="${D}" \
|
|
||||||
--prefix="${EPREFIX}/usr" \
|
|
||||||
--libdir="${EPREFIX}/usr/${libdir}" \
|
|
||||||
--staging-root="${ED}/usr" \
|
|
||||||
--staging-libdir="${ED}/usr/${libdir}" || die
|
|
||||||
|
|
||||||
find "${ED}"/usr/share -type d -empty -delete
|
|
||||||
|
|
||||||
cd "${ED}"/usr/share/calibre/fonts/liberation || die
|
|
||||||
local x
|
|
||||||
for x in * ; do
|
|
||||||
[[ -f ${EPREFIX}/usr/share/fonts/liberation-fonts/${x} ]] || continue
|
|
||||||
ln -sf "../../../fonts/liberation-fonts/${x}" "${x}" || die
|
|
||||||
done
|
|
||||||
|
|
||||||
einfo "Converting python shebangs"
|
|
||||||
python_fix_shebang --force "${ED}"
|
|
||||||
|
|
||||||
einfo "Compiling python modules"
|
|
||||||
python_optimize "${ED}"/usr/$(get_libdir)/calibre "${D}/$(python_get_sitedir)"
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/calibre-server-3.init calibre-server
|
|
||||||
newconfd "${FILESDIR}"/calibre-server-3.conf calibre-server
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
# Indentify stray directories from upstream's "Binary install"
|
|
||||||
# method (see bug 622728).
|
|
||||||
CALIBRE_LIB_DIR=/usr/$(get_libdir)/calibre
|
|
||||||
CALIBRE_LIB_CONTENT=$(for x in "${ED}${CALIBRE_LIB_DIR}"/*; do
|
|
||||||
printf -- "${x##*/} "; done) || die "Failed to list ${ED}${CALIBRE_LIB_DIR}"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
[[ -n ${CALIBRE_LIB_DIR} ]] || die "CALIBRE_LIB_DIR is unset"
|
|
||||||
local x
|
|
||||||
for x in "${EROOT}${CALIBRE_LIB_DIR}"/*; do
|
|
||||||
if [[ " ${CALIBRE_LIB_CONTENT} " != *" ${x##*/} "* ]]; then
|
|
||||||
elog "Purging '${x}'"
|
|
||||||
rm -rf "${x}"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
xdg_desktop_database_update
|
|
||||||
xdg_mimeinfo_database_update
|
|
||||||
xdg_icon_cache_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
xdg_desktop_database_update
|
|
||||||
xdg_mimeinfo_database_update
|
|
||||||
xdg_icon_cache_update
|
|
||||||
}
|
|
@ -1,315 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..9} )
|
|
||||||
PYTHON_REQ_USE="ipv6(+),sqlite,ssl"
|
|
||||||
|
|
||||||
inherit toolchain-funcs python-single-r1 xdg-utils
|
|
||||||
|
|
||||||
DESCRIPTION="Ebook management application"
|
|
||||||
HOMEPAGE="https://calibre-ebook.com/"
|
|
||||||
SRC_URI="https://download.calibre-ebook.com/${PV}/${P}.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="
|
|
||||||
GPL-3+
|
|
||||||
GPL-3
|
|
||||||
GPL-2+
|
|
||||||
GPL-2
|
|
||||||
GPL-1+
|
|
||||||
LGPL-3+
|
|
||||||
LGPL-2.1+
|
|
||||||
LGPL-2.1
|
|
||||||
BSD
|
|
||||||
MIT
|
|
||||||
Old-MIT
|
|
||||||
Apache-2.0
|
|
||||||
public-domain
|
|
||||||
|| ( Artistic GPL-1+ )
|
|
||||||
CC-BY-3.0
|
|
||||||
OFL-1.1
|
|
||||||
PSF-2
|
|
||||||
"
|
|
||||||
KEYWORDS="~amd64 ~arm ~x86"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="ios +udisks"
|
|
||||||
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
COMMON_DEPEND="${PYTHON_DEPS}
|
|
||||||
>=app-text/hunspell-1.7:=
|
|
||||||
>=app-text/podofo-0.9.6_pre20171027:=
|
|
||||||
>=app-text/poppler-0.26.5[qt5]
|
|
||||||
dev-libs/glib:2=
|
|
||||||
dev-libs/hyphen:=
|
|
||||||
>=dev-libs/icu-57.1:=
|
|
||||||
dev-libs/libinput:=
|
|
||||||
>=dev-libs/dbus-glib-0.106
|
|
||||||
dev-libs/snowball-stemmer:=
|
|
||||||
>=sys-apps/dbus-1.10.8
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
app-accessibility/speech-dispatcher[python,${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/apsw-3.25.2_p1[${PYTHON_USEDEP}]
|
|
||||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
|
||||||
dev-python/cchardet[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/chardet-3.0.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/cssselect-0.7.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/css-parser-1.0.4[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/dbus-python-1.2.4[${PYTHON_USEDEP}]
|
|
||||||
dev-python/dnspython[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/feedparser-5.2.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/html2text-2019.8.11[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/html5-parser-0.4.9[${PYTHON_USEDEP}]
|
|
||||||
dev-python/jeepney[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/lxml-3.8.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/markdown-3.0.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/mechanize-0.3.5[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/msgpack-0.6.2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/netifaces-0.10.5[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pillow-3.2.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/psutil-4.3.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pychm-0.8.6[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pycryptodome[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pygments-2.3.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/python-dateutil-2.5.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/PyQt5-5.15.5_pre2107091435[gui,svg,widgets,network,printsupport,${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/PyQt-builder-1.10.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/PyQtWebEngine-5.15.5_pre2108100905[${PYTHON_USEDEP}]
|
|
||||||
dev-python/regex[${PYTHON_USEDEP}]
|
|
||||||
dev-python/zeroconf[${PYTHON_USEDEP}]
|
|
||||||
')
|
|
||||||
dev-qt/qtcore:5=
|
|
||||||
dev-qt/qtdbus:5=
|
|
||||||
dev-qt/qtgui:5=[jpeg]
|
|
||||||
>=dev-qt/qtwebengine-5.12
|
|
||||||
dev-qt/qtwidgets:5=
|
|
||||||
dev-util/desktop-file-utils
|
|
||||||
dev-util/gtk-update-icon-cache
|
|
||||||
media-fonts/liberation-fonts
|
|
||||||
media-libs/fontconfig:=
|
|
||||||
>=media-libs/freetype-2:=
|
|
||||||
>=media-libs/libmtp-1.1.11:=
|
|
||||||
>=media-libs/libwmf-0.2.8
|
|
||||||
>=media-gfx/optipng-0.7.6
|
|
||||||
>=sys-libs/zlib-1.2.11:=
|
|
||||||
virtual/libusb:1=
|
|
||||||
x11-libs/libxkbcommon:=
|
|
||||||
x11-libs/libX11:=
|
|
||||||
x11-libs/libXext:=
|
|
||||||
x11-libs/libXrender:=
|
|
||||||
x11-misc/shared-mime-info
|
|
||||||
>=x11-misc/xdg-utils-1.0.2-r2
|
|
||||||
ios? (
|
|
||||||
>=app-pda/usbmuxd-1.0.8
|
|
||||||
>=app-pda/libimobiledevice-1.2.0
|
|
||||||
)
|
|
||||||
udisks? ( virtual/libudev )"
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
udisks? ( sys-fs/udisks:2 )"
|
|
||||||
DEPEND="${COMMON_DEPEND}"
|
|
||||||
BDEPEND="$(python_gen_cond_dep '
|
|
||||||
>=dev-python/setuptools-23.1.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/sip-5[${PYTHON_USEDEP}]
|
|
||||||
')
|
|
||||||
>=virtual/podofo-build-0.9.6_pre20171027
|
|
||||||
virtual/pkgconfig"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
# Don't prompt the user for updates - they've installed via
|
|
||||||
# an ebuild.
|
|
||||||
"${FILESDIR}/${PN}-2.9.0-no_updates_dialog.patch"
|
|
||||||
|
|
||||||
# Skip calling a binary (JxrDecApp) from libjxr which is used for tests
|
|
||||||
# We don't (yet?) package libjxr and it seems to be dead upstream
|
|
||||||
# (last commit in 2017)
|
|
||||||
"${FILESDIR}/${PN}-5.35.0-jxr-test.patch"
|
|
||||||
|
|
||||||
# TODO:
|
|
||||||
# test_qt tries to load a bunch of images using Qt and it currently fails
|
|
||||||
# due to some presumably missing dependencies. This is important and
|
|
||||||
# we need to look into it, but at time of writing, none of the tests
|
|
||||||
# are even bring run, so I'd like to return to this later.
|
|
||||||
# We don't want to skip test_qt entirely, so just skip this particular
|
|
||||||
# assert for now.
|
|
||||||
"${FILESDIR}/${PN}-5.31.0-qt-image-test.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
if [[ ${MERGE_TYPE} != binary ]] && tc-is-gcc && [[ $(gcc-major-version) -lt 6 ]]; then
|
|
||||||
eerror "Calibre cannot be built with this version of gcc."
|
|
||||||
eerror "You need at least gcc-6.0"
|
|
||||||
die "Your C compiler is too old for this package."
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# Warning:
|
|
||||||
#
|
|
||||||
# While it might be rather tempting to add yet another sed here,
|
|
||||||
# please don't. There have been several bugs in Gentoo's packaging
|
|
||||||
# of calibre from seds-which-become-stale. Please consider
|
|
||||||
# creating a patch instead, but in any case, run the test suite
|
|
||||||
# and ensure it passes.
|
|
||||||
#
|
|
||||||
# If in doubt about a problem, checking Fedora or Arch Linux's packaging
|
|
||||||
# is recommended, as Arch Linux's PKGBUILD is maintained by a Calibre
|
|
||||||
# contributor. Or just ask them.
|
|
||||||
|
|
||||||
# Fix outdated version constant.
|
|
||||||
#sed -e "s#\\(^numeric_version =\\).*#\\1 (${PV//./, })#" \
|
|
||||||
# -i src/calibre/constants.py || \
|
|
||||||
# die "sed failed to patch constants.py"
|
|
||||||
|
|
||||||
# Avoid sandbox violation in /usr/share/gnome/apps when linux.py
|
|
||||||
# calls xdg-* (bug #258938).
|
|
||||||
sed -e "s|'xdg-desktop-menu', 'install'|\\0, '--mode', 'user'|" \
|
|
||||||
-e "s|check_call(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
|
|
||||||
-e "s|\\(CurrentDir(tdir)\\), \\\\\$|\\1:|" \
|
|
||||||
-e "s|, PreserveMIMEDefaults():|:|" \
|
|
||||||
-e "s|'xdg-icon-resource', 'install'|\\0, '--mode', 'user'|" \
|
|
||||||
-e "s|cmd\[2\]|cmd[4]|" \
|
|
||||||
-e "s|cc(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
|
|
||||||
-e "s|'xdg-mime', 'install'|\\0, '--mode', 'user'|" \
|
|
||||||
-i src/calibre/linux.py || die "sed failed to patch linux.py"
|
|
||||||
|
|
||||||
# Disable unnecessary privilege dropping for bug #287067.
|
|
||||||
sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
|
|
||||||
-i setup/install.py || die "sed failed to patch install.py"
|
|
||||||
sed -e "/^ os.chdir(os.path.join(src_dir, 'build'))$/a\
|
|
||||||
\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ self.check_call(['sed', \
|
|
||||||
'-e', 's|^CFLAGS .*|\\\\\\\\0 ${CFLAGS}|', \
|
|
||||||
'-e', 's|^CXXFLAGS .*|\\\\\\\\0 ${CXXFLAGS}|', \
|
|
||||||
'-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \
|
|
||||||
'-i', os.path.join(os.path.basename(src_dir), 'Makefile')])" \
|
|
||||||
-e "s|open(self.j(bdir, '.qmake.conf'), 'wb').close()|open(self.j(bdir, '.qmake.conf'), 'wb').write(b'QMAKE_LFLAGS += ${LDFLAGS}')|" \
|
|
||||||
-i setup/build.py || die "sed failed to patch build.py"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# TODO: get qmake called by setup.py to respect CC and CXX too
|
|
||||||
tc-export CC CXX
|
|
||||||
|
|
||||||
# bug 821871
|
|
||||||
local MY_LIBDIR="${ESYSROOT}/usr/$(get_libdir)"
|
|
||||||
export FT_LIB_DIR="${MY_LIBDIR}" HUNSPELL_LIB_DIR="${MY_LIBDIR}" PODOFO_LIB_DIR="${MY_LIBDIR}"
|
|
||||||
|
|
||||||
PATH="${T}/bin:${PATH}" ${EPYTHON} setup.py build || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
# Skipped tests:
|
|
||||||
# - 7z (unpackaged Python dependency: py7zr)
|
|
||||||
# - test_unrar (unpackaged Python dependency: unrardll)
|
|
||||||
#
|
|
||||||
# Note that we currently have a hack to skip one part of test_qt!
|
|
||||||
# See PATCHES for more.
|
|
||||||
CALIBRE_PY3_PORT=1 ${PYTHON} setup.py test \
|
|
||||||
--exclude-test-name 7z \
|
|
||||||
--exclude-test-name test_searching \
|
|
||||||
--exclude-test-name test_unrar || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
# calibre works with python 3, so remove the python 2 constraint
|
|
||||||
export CALIBRE_PY3_PORT=1
|
|
||||||
|
|
||||||
# Bypass kbuildsycoca and update-mime-database in order to
|
|
||||||
# avoid sandbox violations if xdg-mime tries to call them.
|
|
||||||
mkdir "${T}/bin" || die
|
|
||||||
cat - > "${T}/bin/kbuildsycoca" <<-EOF
|
|
||||||
#!${BASH}
|
|
||||||
echo $0 : $@
|
|
||||||
exit 0
|
|
||||||
EOF
|
|
||||||
|
|
||||||
cp "${T}"/bin/{kbuildsycoca,update-mime-database} || die
|
|
||||||
chmod +x "${T}"/bin/{kbuildsycoca,update-mime-database} || die
|
|
||||||
|
|
||||||
export QMAKE="${EPREFIX}/usr/$(get_libdir)/qt5/bin/qmake"
|
|
||||||
|
|
||||||
# Unset DISPLAY in order to prevent xdg-mime from triggering a sandbox
|
|
||||||
# violation with kbuildsycoca as in bug #287067, comment #13.
|
|
||||||
export -n DISPLAY
|
|
||||||
|
|
||||||
# Bug #352625 - Some LANGUAGE values can trigger the following ValueError:
|
|
||||||
# File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale
|
|
||||||
# return _parse_localename(localename)
|
|
||||||
# File "/usr/lib/python2.6/locale.py", line 418, in _parse_localename
|
|
||||||
# raise ValueError, 'unknown locale: %s' % localename
|
|
||||||
#ValueError: unknown locale: 46
|
|
||||||
export -n LANG LANGUAGE ${!LC_*}
|
|
||||||
export LC_ALL=C.utf8 #709682
|
|
||||||
|
|
||||||
# Bug #295672 - Avoid sandbox violation in ~/.config by forcing
|
|
||||||
# variables to point to our fake temporary $HOME.
|
|
||||||
export HOME="${T}/fake_homedir"
|
|
||||||
export XDG_CONFIG_HOME="${HOME}/.config"
|
|
||||||
export XDG_DATA_HOME="${HOME}/.local/share"
|
|
||||||
export CALIBRE_CONFIG_DIRECTORY="${XDG_CONFIG_HOME}/calibre"
|
|
||||||
mkdir -p "${XDG_DATA_HOME}" "${CALIBRE_CONFIG_DIRECTORY}" || die
|
|
||||||
|
|
||||||
tc-export CC CXX
|
|
||||||
# Bug #334243 - respect LDFLAGS when building extensions
|
|
||||||
export OVERRIDE_CFLAGS="$CFLAGS" OVERRIDE_LDFLAGS="$LDFLAGS"
|
|
||||||
local libdir=$(get_libdir)
|
|
||||||
[[ -n $libdir ]] || die "get_libdir returned an empty string"
|
|
||||||
|
|
||||||
addpredict /dev/dri #665310
|
|
||||||
|
|
||||||
PATH=${T}/bin:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \
|
|
||||||
"${PYTHON}" setup.py install \
|
|
||||||
--root="${D}" \
|
|
||||||
--prefix="${EPREFIX}/usr" \
|
|
||||||
--libdir="${EPREFIX}/usr/${libdir}" \
|
|
||||||
--staging-root="${ED}/usr" \
|
|
||||||
--staging-libdir="${ED}/usr/${libdir}" || die
|
|
||||||
|
|
||||||
find "${ED}"/usr/share -type d -empty -delete
|
|
||||||
|
|
||||||
cd "${ED}"/usr/share/calibre/fonts/liberation || die
|
|
||||||
local x
|
|
||||||
for x in * ; do
|
|
||||||
[[ -f ${EPREFIX}/usr/share/fonts/liberation-fonts/${x} ]] || continue
|
|
||||||
ln -sf "../../../fonts/liberation-fonts/${x}" "${x}" || die
|
|
||||||
done
|
|
||||||
|
|
||||||
einfo "Converting python shebangs"
|
|
||||||
python_fix_shebang --force "${ED}"
|
|
||||||
|
|
||||||
einfo "Compiling python modules"
|
|
||||||
python_optimize "${ED}"/usr/$(get_libdir)/calibre "${D}/$(python_get_sitedir)"
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/calibre-server-3.init calibre-server
|
|
||||||
newconfd "${FILESDIR}"/calibre-server-3.conf calibre-server
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
# Indentify stray directories from upstream's "Binary install"
|
|
||||||
# method (see bug 622728).
|
|
||||||
CALIBRE_LIB_DIR=/usr/$(get_libdir)/calibre
|
|
||||||
CALIBRE_LIB_CONTENT=$(for x in "${ED}${CALIBRE_LIB_DIR}"/*; do
|
|
||||||
printf -- "${x##*/} "; done) || die "Failed to list ${ED}${CALIBRE_LIB_DIR}"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
[[ -n ${CALIBRE_LIB_DIR} ]] || die "CALIBRE_LIB_DIR is unset"
|
|
||||||
local x
|
|
||||||
for x in "${EROOT}${CALIBRE_LIB_DIR}"/*; do
|
|
||||||
if [[ " ${CALIBRE_LIB_CONTENT} " != *" ${x##*/} "* ]]; then
|
|
||||||
elog "Purging '${x}'"
|
|
||||||
rm -rf "${x}"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
xdg_desktop_database_update
|
|
||||||
xdg_mimeinfo_database_update
|
|
||||||
xdg_icon_cache_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
xdg_desktop_database_update
|
|
||||||
xdg_mimeinfo_database_update
|
|
||||||
xdg_icon_cache_update
|
|
||||||
}
|
|
@ -1,316 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=8
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{8..9} )
|
|
||||||
PYTHON_REQ_USE="ipv6(+),sqlite,ssl"
|
|
||||||
|
|
||||||
inherit toolchain-funcs python-single-r1 xdg-utils
|
|
||||||
|
|
||||||
DESCRIPTION="Ebook management application"
|
|
||||||
HOMEPAGE="https://calibre-ebook.com/"
|
|
||||||
SRC_URI="https://download.calibre-ebook.com/${PV}/${P}.tar.xz"
|
|
||||||
|
|
||||||
LICENSE="
|
|
||||||
GPL-3+
|
|
||||||
GPL-3
|
|
||||||
GPL-2+
|
|
||||||
GPL-2
|
|
||||||
GPL-1+
|
|
||||||
LGPL-3+
|
|
||||||
LGPL-2.1+
|
|
||||||
LGPL-2.1
|
|
||||||
BSD
|
|
||||||
MIT
|
|
||||||
Old-MIT
|
|
||||||
Apache-2.0
|
|
||||||
public-domain
|
|
||||||
|| ( Artistic GPL-1+ )
|
|
||||||
CC-BY-3.0
|
|
||||||
OFL-1.1
|
|
||||||
PSF-2
|
|
||||||
"
|
|
||||||
KEYWORDS="~amd64 ~arm ~x86"
|
|
||||||
SLOT="0"
|
|
||||||
IUSE="ios +udisks"
|
|
||||||
|
|
||||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
|
||||||
|
|
||||||
COMMON_DEPEND="${PYTHON_DEPS}
|
|
||||||
>=app-text/hunspell-1.7:=
|
|
||||||
>=app-text/podofo-0.9.6_pre20171027:=
|
|
||||||
>=app-text/poppler-0.26.5[qt5]
|
|
||||||
dev-libs/glib:2=
|
|
||||||
dev-libs/hyphen:=
|
|
||||||
>=dev-libs/icu-57.1:=
|
|
||||||
dev-libs/libinput:=
|
|
||||||
>=dev-libs/dbus-glib-0.106
|
|
||||||
dev-libs/snowball-stemmer:=
|
|
||||||
>=sys-apps/dbus-1.10.8
|
|
||||||
$(python_gen_cond_dep '
|
|
||||||
app-accessibility/speech-dispatcher[python,${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/apsw-3.25.2_p1[${PYTHON_USEDEP}]
|
|
||||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
|
||||||
dev-python/cchardet[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/chardet-3.0.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/cssselect-0.7.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/css-parser-1.0.4[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/dbus-python-1.2.4[${PYTHON_USEDEP}]
|
|
||||||
dev-python/dnspython[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/feedparser-5.2.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/html2text-2019.8.11[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/html5-parser-0.4.9[${PYTHON_USEDEP}]
|
|
||||||
dev-python/jeepney[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/lxml-3.8.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/markdown-3.0.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/mechanize-0.3.5[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/msgpack-0.6.2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/netifaces-0.10.5[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pillow-3.2.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/psutil-4.3.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pychm-0.8.6[${PYTHON_USEDEP}]
|
|
||||||
dev-python/pycryptodome[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pygments-2.3.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/python-dateutil-2.5.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/PyQt5-5.15.5_pre2107091435[gui,svg,widgets,network,printsupport,${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/PyQt-builder-1.10.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/PyQtWebEngine-5.15.5_pre2108100905[${PYTHON_USEDEP}]
|
|
||||||
dev-python/regex[${PYTHON_USEDEP}]
|
|
||||||
dev-python/zeroconf[${PYTHON_USEDEP}]
|
|
||||||
')
|
|
||||||
dev-qt/qtcore:5=
|
|
||||||
dev-qt/qtdbus:5=
|
|
||||||
dev-qt/qtgui:5=[jpeg]
|
|
||||||
>=dev-qt/qtwebengine-5.12
|
|
||||||
dev-qt/qtwidgets:5=
|
|
||||||
dev-util/desktop-file-utils
|
|
||||||
dev-util/gtk-update-icon-cache
|
|
||||||
media-fonts/liberation-fonts
|
|
||||||
media-libs/fontconfig:=
|
|
||||||
>=media-libs/freetype-2:=
|
|
||||||
>=media-libs/libmtp-1.1.11:=
|
|
||||||
>=media-libs/libwmf-0.2.8
|
|
||||||
>=media-gfx/optipng-0.7.6
|
|
||||||
>=sys-libs/zlib-1.2.11:=
|
|
||||||
virtual/libusb:1=
|
|
||||||
x11-libs/libxkbcommon:=
|
|
||||||
x11-libs/libX11:=
|
|
||||||
x11-libs/libXext:=
|
|
||||||
x11-libs/libXrender:=
|
|
||||||
x11-misc/shared-mime-info
|
|
||||||
>=x11-misc/xdg-utils-1.0.2-r2
|
|
||||||
ios? (
|
|
||||||
>=app-pda/usbmuxd-1.0.8
|
|
||||||
>=app-pda/libimobiledevice-1.2.0
|
|
||||||
)
|
|
||||||
udisks? ( virtual/libudev )"
|
|
||||||
RDEPEND="${COMMON_DEPEND}
|
|
||||||
udisks? ( sys-fs/udisks:2 )"
|
|
||||||
DEPEND="${COMMON_DEPEND}"
|
|
||||||
BDEPEND="$(python_gen_cond_dep '
|
|
||||||
>=dev-python/setuptools-23.1.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/sip-5[${PYTHON_USEDEP}]
|
|
||||||
')
|
|
||||||
>=virtual/podofo-build-0.9.6_pre20171027
|
|
||||||
virtual/pkgconfig"
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
# Don't prompt the user for updates - they've installed via
|
|
||||||
# an ebuild.
|
|
||||||
"${FILESDIR}/${PN}-2.9.0-no_updates_dialog.patch"
|
|
||||||
|
|
||||||
# Skip calling a binary (JxrDecApp) from libjxr which is used for tests
|
|
||||||
# We don't (yet?) package libjxr and it seems to be dead upstream
|
|
||||||
# (last commit in 2017)
|
|
||||||
"${FILESDIR}/${PN}-5.35.0-jxr-test.patch"
|
|
||||||
|
|
||||||
# TODO:
|
|
||||||
# test_qt tries to load a bunch of images using Qt and it currently fails
|
|
||||||
# due to some presumably missing dependencies. This is important and
|
|
||||||
# we need to look into it, but at time of writing, none of the tests
|
|
||||||
# are even bring run, so I'd like to return to this later.
|
|
||||||
# We don't want to skip test_qt entirely, so just skip this particular
|
|
||||||
# assert for now.
|
|
||||||
"${FILESDIR}/${PN}-5.31.0-qt-image-test.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
pkg_pretend() {
|
|
||||||
if [[ ${MERGE_TYPE} != binary ]] && tc-is-gcc && [[ $(gcc-major-version) -lt 6 ]]; then
|
|
||||||
eerror "Calibre cannot be built with this version of gcc."
|
|
||||||
eerror "You need at least gcc-6.0"
|
|
||||||
die "Your C compiler is too old for this package."
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# Warning:
|
|
||||||
#
|
|
||||||
# While it might be rather tempting to add yet another sed here,
|
|
||||||
# please don't. There have been several bugs in Gentoo's packaging
|
|
||||||
# of calibre from seds-which-become-stale. Please consider
|
|
||||||
# creating a patch instead, but in any case, run the test suite
|
|
||||||
# and ensure it passes.
|
|
||||||
#
|
|
||||||
# If in doubt about a problem, checking Fedora or Arch Linux's packaging
|
|
||||||
# is recommended, as Arch Linux's PKGBUILD is maintained by a Calibre
|
|
||||||
# contributor. Or just ask them.
|
|
||||||
|
|
||||||
# Fix outdated version constant.
|
|
||||||
#sed -e "s#\\(^numeric_version =\\).*#\\1 (${PV//./, })#" \
|
|
||||||
# -i src/calibre/constants.py || \
|
|
||||||
# die "sed failed to patch constants.py"
|
|
||||||
|
|
||||||
# Avoid sandbox violation in /usr/share/gnome/apps when linux.py
|
|
||||||
# calls xdg-* (bug #258938).
|
|
||||||
sed -e "s|'xdg-desktop-menu', 'install'|\\0, '--mode', 'user'|" \
|
|
||||||
-e "s|check_call(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
|
|
||||||
-e "s|\\(CurrentDir(tdir)\\), \\\\\$|\\1:|" \
|
|
||||||
-e "s|, PreserveMIMEDefaults():|:|" \
|
|
||||||
-e "s|'xdg-icon-resource', 'install'|\\0, '--mode', 'user'|" \
|
|
||||||
-e "s|cmd\[2\]|cmd[4]|" \
|
|
||||||
-e "s|cc(\\['xdg-desktop-menu', 'forceupdate'\\])|#\\0|" \
|
|
||||||
-e "s|'xdg-mime', 'install'|\\0, '--mode', 'user'|" \
|
|
||||||
-i src/calibre/linux.py || die "sed failed to patch linux.py"
|
|
||||||
|
|
||||||
# Disable unnecessary privilege dropping for bug #287067.
|
|
||||||
sed -e "s:if os.geteuid() == 0:if False and os.geteuid() == 0:" \
|
|
||||||
-i setup/install.py || die "sed failed to patch install.py"
|
|
||||||
sed -e "/^ os.chdir(os.path.join(src_dir, 'build'))$/a\
|
|
||||||
\\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ \\ self.check_call(['sed', \
|
|
||||||
'-e', 's|^CFLAGS .*|\\\\\\\\0 ${CFLAGS}|', \
|
|
||||||
'-e', 's|^CXXFLAGS .*|\\\\\\\\0 ${CXXFLAGS}|', \
|
|
||||||
'-e', 's|^LFLAGS .*|\\\\\\\\0 ${LDFLAGS}|', \
|
|
||||||
'-i', os.path.join(os.path.basename(src_dir), 'Makefile')])" \
|
|
||||||
-e "s|open(self.j(bdir, '.qmake.conf'), 'wb').close()|open(self.j(bdir, '.qmake.conf'), 'wb').write(b'QMAKE_LFLAGS += ${LDFLAGS}')|" \
|
|
||||||
-i setup/build.py || die "sed failed to patch build.py"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
# TODO: get qmake called by setup.py to respect CC and CXX too
|
|
||||||
tc-export CC CXX
|
|
||||||
|
|
||||||
# bug 821871
|
|
||||||
local MY_LIBDIR="${ESYSROOT}/usr/$(get_libdir)"
|
|
||||||
export FT_LIB_DIR="${MY_LIBDIR}" HUNSPELL_LIB_DIR="${MY_LIBDIR}" PODOFO_LIB_DIR="${MY_LIBDIR}"
|
|
||||||
|
|
||||||
PATH="${T}/bin:${PATH}" ${EPYTHON} setup.py build || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
# Skipped tests:
|
|
||||||
# - 7z (unpackaged Python dependency: py7zr)
|
|
||||||
# - test_unrar (unpackaged Python dependency: unrardll)
|
|
||||||
#
|
|
||||||
# Note that we currently have a hack to skip one part of test_qt!
|
|
||||||
# See PATCHES for more.
|
|
||||||
CALIBRE_PY3_PORT=1 ${PYTHON} setup.py test \
|
|
||||||
--exclude-test-name 7z \
|
|
||||||
--exclude-test-name test_mem_leaks \
|
|
||||||
--exclude-test-name test_searching \
|
|
||||||
--exclude-test-name test_unrar || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
# calibre works with python 3, so remove the python 2 constraint
|
|
||||||
export CALIBRE_PY3_PORT=1
|
|
||||||
|
|
||||||
# Bypass kbuildsycoca and update-mime-database in order to
|
|
||||||
# avoid sandbox violations if xdg-mime tries to call them.
|
|
||||||
mkdir "${T}/bin" || die
|
|
||||||
cat - > "${T}/bin/kbuildsycoca" <<-EOF
|
|
||||||
#!${BASH}
|
|
||||||
echo $0 : $@
|
|
||||||
exit 0
|
|
||||||
EOF
|
|
||||||
|
|
||||||
cp "${T}"/bin/{kbuildsycoca,update-mime-database} || die
|
|
||||||
chmod +x "${T}"/bin/{kbuildsycoca,update-mime-database} || die
|
|
||||||
|
|
||||||
export QMAKE="${EPREFIX}/usr/$(get_libdir)/qt5/bin/qmake"
|
|
||||||
|
|
||||||
# Unset DISPLAY in order to prevent xdg-mime from triggering a sandbox
|
|
||||||
# violation with kbuildsycoca as in bug #287067, comment #13.
|
|
||||||
export -n DISPLAY
|
|
||||||
|
|
||||||
# Bug #352625 - Some LANGUAGE values can trigger the following ValueError:
|
|
||||||
# File "/usr/lib/python2.6/locale.py", line 486, in getdefaultlocale
|
|
||||||
# return _parse_localename(localename)
|
|
||||||
# File "/usr/lib/python2.6/locale.py", line 418, in _parse_localename
|
|
||||||
# raise ValueError, 'unknown locale: %s' % localename
|
|
||||||
#ValueError: unknown locale: 46
|
|
||||||
export -n LANG LANGUAGE ${!LC_*}
|
|
||||||
export LC_ALL=C.utf8 #709682
|
|
||||||
|
|
||||||
# Bug #295672 - Avoid sandbox violation in ~/.config by forcing
|
|
||||||
# variables to point to our fake temporary $HOME.
|
|
||||||
export HOME="${T}/fake_homedir"
|
|
||||||
export XDG_CONFIG_HOME="${HOME}/.config"
|
|
||||||
export XDG_DATA_HOME="${HOME}/.local/share"
|
|
||||||
export CALIBRE_CONFIG_DIRECTORY="${XDG_CONFIG_HOME}/calibre"
|
|
||||||
mkdir -p "${XDG_DATA_HOME}" "${CALIBRE_CONFIG_DIRECTORY}" || die
|
|
||||||
|
|
||||||
tc-export CC CXX
|
|
||||||
# Bug #334243 - respect LDFLAGS when building extensions
|
|
||||||
export OVERRIDE_CFLAGS="$CFLAGS" OVERRIDE_LDFLAGS="$LDFLAGS"
|
|
||||||
local libdir=$(get_libdir)
|
|
||||||
[[ -n $libdir ]] || die "get_libdir returned an empty string"
|
|
||||||
|
|
||||||
addpredict /dev/dri #665310
|
|
||||||
|
|
||||||
PATH=${T}/bin:${PATH} PYTHONPATH=${S}/src${PYTHONPATH:+:}${PYTHONPATH} \
|
|
||||||
"${PYTHON}" setup.py install \
|
|
||||||
--root="${D}" \
|
|
||||||
--prefix="${EPREFIX}/usr" \
|
|
||||||
--libdir="${EPREFIX}/usr/${libdir}" \
|
|
||||||
--staging-root="${ED}/usr" \
|
|
||||||
--staging-libdir="${ED}/usr/${libdir}" || die
|
|
||||||
|
|
||||||
find "${ED}"/usr/share -type d -empty -delete
|
|
||||||
|
|
||||||
cd "${ED}"/usr/share/calibre/fonts/liberation || die
|
|
||||||
local x
|
|
||||||
for x in * ; do
|
|
||||||
[[ -f ${EPREFIX}/usr/share/fonts/liberation-fonts/${x} ]] || continue
|
|
||||||
ln -sf "../../../fonts/liberation-fonts/${x}" "${x}" || die
|
|
||||||
done
|
|
||||||
|
|
||||||
einfo "Converting python shebangs"
|
|
||||||
python_fix_shebang --force "${ED}"
|
|
||||||
|
|
||||||
einfo "Compiling python modules"
|
|
||||||
python_optimize "${ED}"/usr/$(get_libdir)/calibre "${D}/$(python_get_sitedir)"
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/calibre-server-3.init calibre-server
|
|
||||||
newconfd "${FILESDIR}"/calibre-server-3.conf calibre-server
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_preinst() {
|
|
||||||
# Indentify stray directories from upstream's "Binary install"
|
|
||||||
# method (see bug 622728).
|
|
||||||
CALIBRE_LIB_DIR=/usr/$(get_libdir)/calibre
|
|
||||||
CALIBRE_LIB_CONTENT=$(for x in "${ED}${CALIBRE_LIB_DIR}"/*; do
|
|
||||||
printf -- "${x##*/} "; done) || die "Failed to list ${ED}${CALIBRE_LIB_DIR}"
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postinst() {
|
|
||||||
[[ -n ${CALIBRE_LIB_DIR} ]] || die "CALIBRE_LIB_DIR is unset"
|
|
||||||
local x
|
|
||||||
for x in "${EROOT}${CALIBRE_LIB_DIR}"/*; do
|
|
||||||
if [[ " ${CALIBRE_LIB_CONTENT} " != *" ${x##*/} "* ]]; then
|
|
||||||
elog "Purging '${x}'"
|
|
||||||
rm -rf "${x}"
|
|
||||||
fi
|
|
||||||
done
|
|
||||||
xdg_desktop_database_update
|
|
||||||
xdg_mimeinfo_database_update
|
|
||||||
xdg_icon_cache_update
|
|
||||||
}
|
|
||||||
|
|
||||||
pkg_postrm() {
|
|
||||||
xdg_desktop_database_update
|
|
||||||
xdg_mimeinfo_database_update
|
|
||||||
xdg_icon_cache_update
|
|
||||||
}
|
|
Binary file not shown.
@ -1,6 +1,7 @@
|
|||||||
AUX libgpr-2020-gentoo.patch 321 BLAKE2B fe3affe50712460474125d074936fd9db526c4392e6ecb8bbcb07091e9971042368ee134112d9550ffc9fd2a0ab23371e7bb760b3d8e53cd4ca0e54e0522f604 SHA512 2bcae85d30a41333664f17f097f31cf21b270c43092e823dda256098c928d4ccdab62f9d349b57f941b50bb676649aedf5f978a05f3afaf1ee234e4515c305b5
|
AUX libgpr-2020-gentoo.patch 321 BLAKE2B fe3affe50712460474125d074936fd9db526c4392e6ecb8bbcb07091e9971042368ee134112d9550ffc9fd2a0ab23371e7bb760b3d8e53cd4ca0e54e0522f604 SHA512 2bcae85d30a41333664f17f097f31cf21b270c43092e823dda256098c928d4ccdab62f9d349b57f941b50bb676649aedf5f978a05f3afaf1ee234e4515c305b5
|
||||||
DIST gprbuild-2021-20210519-19A34-src.tar.gz 2572773 BLAKE2B 42244b96b48a10795812865a430a92a75f3e6a58f384a72e6941945707e712d239f2350e00bd94e6161fb19c6469197547f4ddb565e860ae1d08573b7c667997 SHA512 f2fd10cdf8bd2ae553184104a8d29ddf884329946c55e1a199d49358151e9f1ea25f6566d6e00d15e07d26ea4e84377f4ee137a9af4eecb862fc825dd987ada8
|
DIST gprbuild-2021-20210519-19A34-src.tar.gz 2572773 BLAKE2B 42244b96b48a10795812865a430a92a75f3e6a58f384a72e6941945707e712d239f2350e00bd94e6161fb19c6469197547f4ddb565e860ae1d08573b7c667997 SHA512 f2fd10cdf8bd2ae553184104a8d29ddf884329946c55e1a199d49358151e9f1ea25f6566d6e00d15e07d26ea4e84377f4ee137a9af4eecb862fc825dd987ada8
|
||||||
DIST gprbuild-22.0.0.tar.gz 945311 BLAKE2B 4573855667fe6c352a61ac2fd8218619e0c9fa5c5079fe6854988733b7dac27225177f550b58b8d596516e8d3bf9a279f44864fdcb00514ee9e5776415c78f2d SHA512 7e77d9441454670a7b3b14cff97339e654bb82e7321abd9d612a771e1559f3276057e5163b50ca08b6ab77ebb9fcfd36590ba3c9cfd28d07fce43c7673ad254a
|
DIST gprbuild-22.0.0.tar.gz 945311 BLAKE2B 4573855667fe6c352a61ac2fd8218619e0c9fa5c5079fe6854988733b7dac27225177f550b58b8d596516e8d3bf9a279f44864fdcb00514ee9e5776415c78f2d SHA512 7e77d9441454670a7b3b14cff97339e654bb82e7321abd9d612a771e1559f3276057e5163b50ca08b6ab77ebb9fcfd36590ba3c9cfd28d07fce43c7673ad254a
|
||||||
|
EBUILD libgpr-2021-r1.ebuild 1584 BLAKE2B f3926e4debe4045dff5c3634fc2b0f5884dd224c1970ba37619cd25ce8821c1cbf8dc4d1a12c41f13e52c81d0560e208ded359c27dcdd18a92005b3ac03f2512 SHA512 e83a6d0cb69ba39427bc45751c0141acf8d45641f2326eaf52796da9783fd1d0e9cbcfa8252a247b90d7fbbfc7b3b4bcdcae5d48be41361d237096474f9e111b
|
||||||
EBUILD libgpr-2021.ebuild 1493 BLAKE2B eeb451a646144b39ef218eaa5ec0c19fe8e7eef2cc94c761affff9c1fbf27488fb5e018ff432b599b76ab1d5684b993a6585068366b3bc3ffb1853b0b0f2ad68 SHA512 b63cf83d90ccd3d62caa1e758bfe03b2bf5aab199086645817432680bea73625ea3bcfbf2d140d11fd867becd966920f02084dad699e3cb6ddbb7102933f01ac
|
EBUILD libgpr-2021.ebuild 1493 BLAKE2B eeb451a646144b39ef218eaa5ec0c19fe8e7eef2cc94c761affff9c1fbf27488fb5e018ff432b599b76ab1d5684b993a6585068366b3bc3ffb1853b0b0f2ad68 SHA512 b63cf83d90ccd3d62caa1e758bfe03b2bf5aab199086645817432680bea73625ea3bcfbf2d140d11fd867becd966920f02084dad699e3cb6ddbb7102933f01ac
|
||||||
EBUILD libgpr-22.0.0.ebuild 1422 BLAKE2B af1ff166e220abc906168b9f902a3edbc13323d7029ecfadeb1504e2f0cd1a20a8eb88c7baaf9288e8b763c471bcd312b4510a2d575a14e05f60952c04a516e6 SHA512 0efc8da09a1736fe55e9d202dcde3211bd8baee1ac679956ab53d0a035d93934bf1ea8440e5d8e43d7b846d0f0c04b52825ce846fcccfdc0e652db5bcbbb1c5b
|
EBUILD libgpr-22.0.0-r1.ebuild 1511 BLAKE2B a10ab38f1916e0ccf62c6b4edeba14c4597d5e114461dd299a6e53e780ab34420a9b7a2634ac8f19844b76363ffb41af1a06286c928151bd6bd83d170e344ace SHA512 356a0b5b186d78e157a0ba69aa8eae4c5024825e201f5e5b12b2310e98b8fe3c654e56eaa22447d2a62ee1d1d2b0f12bc6021f965f661e55387e25c369c07971
|
||||||
MISC metadata.xml 940 BLAKE2B aaa252e5e7455d29591e45927ccbefc9f7a21367af3f1da9a9341695f722dc6cfbf7f52ea6630e392439684fc8ecba06f2de6372c6624c2f53b2712533772490 SHA512 8bc90bfb6ae6ed3847b8809ef1e1d35ec8a1abf4a0b0353dac86c62c5fe5593a9523984988b723a3f9c9424285b2ab30bd45ef3b746956bc8be7751b63a35704
|
MISC metadata.xml 940 BLAKE2B aaa252e5e7455d29591e45927ccbefc9f7a21367af3f1da9a9341695f722dc6cfbf7f52ea6630e392439684fc8ecba06f2de6372c6624c2f53b2712533772490 SHA512 8bc90bfb6ae6ed3847b8809ef1e1d35ec8a1abf4a0b0353dac86c62c5fe5593a9523984988b723a3f9c9424285b2ab30bd45ef3b746956bc8be7751b63a35704
|
||||||
|
@ -0,0 +1,69 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
ADA_COMPAT=( gnat_202{0..1} )
|
||||||
|
inherit ada multiprocessing
|
||||||
|
|
||||||
|
MYP=gprbuild-${PV}-${PV}0519-19A34-src
|
||||||
|
ID=23a77a37247ff811609e23a0a271f445c299fc8f
|
||||||
|
ADAMIRROR=https://community.download.adacore.com/v1
|
||||||
|
|
||||||
|
DESCRIPTION="Ada library to handle GPRbuild project files"
|
||||||
|
HOMEPAGE="http://libre.adacore.com/"
|
||||||
|
SRC_URI="${ADAMIRROR}/${ID}?filename=${MYP}.tar.gz -> ${MYP}.tar.gz"
|
||||||
|
LICENSE="GPL-3"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
IUSE="+shared static-libs static-pic"
|
||||||
|
|
||||||
|
RDEPEND="dev-ada/xmlada[shared?,static-libs?,static-pic?,${ADA_USEDEP}]
|
||||||
|
!net-libs/grpc"
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
dev-ada/gprbuild[${ADA_USEDEP}]"
|
||||||
|
REQUIRED_USE="${ADA_REQUIRED_USE}
|
||||||
|
|| ( shared static-libs static-pic )"
|
||||||
|
|
||||||
|
S="${WORKDIR}"/${MYP}
|
||||||
|
|
||||||
|
PATCHES=( "${FILESDIR}"/${PN}-2020-gentoo.patch )
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
sed -i -e '/Library_Name/s|gpr|gnatgpr|' gpr/gpr.gpr || die
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
emake setup
|
||||||
|
}
|
||||||
|
|
||||||
|
src_compile() {
|
||||||
|
build () {
|
||||||
|
gprbuild -p -m -j$(makeopts_jobs) -XBUILD=production -v \
|
||||||
|
-XLIBRARY_TYPE=$1 -XXMLADA_BUILD=$1 \
|
||||||
|
gpr/gpr.gpr -cargs:C ${CFLAGS} -cargs:Ada ${ADAFLAGS} || die
|
||||||
|
}
|
||||||
|
if use shared; then
|
||||||
|
build relocatable
|
||||||
|
fi
|
||||||
|
if use static-libs; then
|
||||||
|
build static
|
||||||
|
fi
|
||||||
|
if use static-pic; then
|
||||||
|
build static-pic
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
if use static-libs; then
|
||||||
|
emake prefix="${D}"/usr libgpr.install.static
|
||||||
|
fi
|
||||||
|
for kind in shared static-pic; do
|
||||||
|
if use ${kind}; then
|
||||||
|
emake prefix="${D}"/usr libgpr.install.${kind}
|
||||||
|
fi
|
||||||
|
done
|
||||||
|
rm -r "${D}"/usr/share/gpr/manifests || die
|
||||||
|
einstalldocs
|
||||||
|
}
|
Binary file not shown.
@ -1,5 +1,7 @@
|
|||||||
DIST folly-2022.02.28.00.tar.gz 3600258 BLAKE2B 5943b0e4b6178c8293714f673ed289daed26b1dad22dcb52dc80475f385961cf0a690accc44139f245f2df5cf10c0bdb5638c8bed52cb97fefd3ad6d8dc147b8 SHA512 91ee21e463ffc6eee3b0e5e0244721a9612337b9afe92645556a154f521aec1070f4f381962247bb9bf11592efb5b8bb01f70d1a66acd3444967538062dfe826
|
DIST folly-2022.02.28.00.tar.gz 3600258 BLAKE2B 5943b0e4b6178c8293714f673ed289daed26b1dad22dcb52dc80475f385961cf0a690accc44139f245f2df5cf10c0bdb5638c8bed52cb97fefd3ad6d8dc147b8 SHA512 91ee21e463ffc6eee3b0e5e0244721a9612337b9afe92645556a154f521aec1070f4f381962247bb9bf11592efb5b8bb01f70d1a66acd3444967538062dfe826
|
||||||
DIST folly-2022.03.07.00.tar.gz 3604306 BLAKE2B fe255678d6f827c82ada3e136742d07bd62dfb81c1250ca6bae9a4f3e1f015904032da8de1488342da1326fa520b448c63a59ef7e0139ecb0844a1ae19c1dfed SHA512 e63eff137711ca71b5a78469e4feff1b4e7b65465413eefb91b7c0cb26b94e1d581a305a9df9937ce05bcd8af3dc465adb816ad95538689811d8ab5b5b9f269f
|
DIST folly-2022.03.07.00.tar.gz 3604306 BLAKE2B fe255678d6f827c82ada3e136742d07bd62dfb81c1250ca6bae9a4f3e1f015904032da8de1488342da1326fa520b448c63a59ef7e0139ecb0844a1ae19c1dfed SHA512 e63eff137711ca71b5a78469e4feff1b4e7b65465413eefb91b7c0cb26b94e1d581a305a9df9937ce05bcd8af3dc465adb816ad95538689811d8ab5b5b9f269f
|
||||||
|
DIST folly-2022.03.14.00.tar.gz 3605018 BLAKE2B 11a58e3c23c1e1299c16821e552d500f8215d2fb2fbdee3699b8487e1073196dfc322461e7670d3968c703d84b0b526d2479bcb74005b763f195ce48f04a419d SHA512 0b3710862360788eb55dc40703e3862f57819acf217287f13ce125b56692c4e5b1de12289f02520ecca9007fa872a69e8936df0ec9260adf974a88286489a9b1
|
||||||
EBUILD folly-2022.02.28.00.ebuild 1485 BLAKE2B 0696360aaa605a07df06bec136bf49bc1a22ffcb41bb2bf7e1b2368e3e54903ee00c3e154cd4149b3095c2d61a3613af692b6b21db2817add77dd1412a5a2cbc SHA512 b14b3324d6b5581b3d0e9c0db630c8fc0708e13a52c8e9212dae6f87a0676cbbc5f94f1f2d8f2509953e9b587bcfda052f536289f7ea4ff6b657d1cf2fe471f5
|
EBUILD folly-2022.02.28.00.ebuild 1485 BLAKE2B 0696360aaa605a07df06bec136bf49bc1a22ffcb41bb2bf7e1b2368e3e54903ee00c3e154cd4149b3095c2d61a3613af692b6b21db2817add77dd1412a5a2cbc SHA512 b14b3324d6b5581b3d0e9c0db630c8fc0708e13a52c8e9212dae6f87a0676cbbc5f94f1f2d8f2509953e9b587bcfda052f536289f7ea4ff6b657d1cf2fe471f5
|
||||||
EBUILD folly-2022.03.07.00.ebuild 1485 BLAKE2B 0696360aaa605a07df06bec136bf49bc1a22ffcb41bb2bf7e1b2368e3e54903ee00c3e154cd4149b3095c2d61a3613af692b6b21db2817add77dd1412a5a2cbc SHA512 b14b3324d6b5581b3d0e9c0db630c8fc0708e13a52c8e9212dae6f87a0676cbbc5f94f1f2d8f2509953e9b587bcfda052f536289f7ea4ff6b657d1cf2fe471f5
|
EBUILD folly-2022.03.07.00.ebuild 1485 BLAKE2B 0696360aaa605a07df06bec136bf49bc1a22ffcb41bb2bf7e1b2368e3e54903ee00c3e154cd4149b3095c2d61a3613af692b6b21db2817add77dd1412a5a2cbc SHA512 b14b3324d6b5581b3d0e9c0db630c8fc0708e13a52c8e9212dae6f87a0676cbbc5f94f1f2d8f2509953e9b587bcfda052f536289f7ea4ff6b657d1cf2fe471f5
|
||||||
|
EBUILD folly-2022.03.14.00.ebuild 1485 BLAKE2B 0696360aaa605a07df06bec136bf49bc1a22ffcb41bb2bf7e1b2368e3e54903ee00c3e154cd4149b3095c2d61a3613af692b6b21db2817add77dd1412a5a2cbc SHA512 b14b3324d6b5581b3d0e9c0db630c8fc0708e13a52c8e9212dae6f87a0676cbbc5f94f1f2d8f2509953e9b587bcfda052f536289f7ea4ff6b657d1cf2fe471f5
|
||||||
MISC metadata.xml 319 BLAKE2B 0c8d18b906a50ee77fef7db1f99206b1c4d38dfa7913de363474609bcce38956be8d0958bc400c704ad743396db7230fb0098c83f1caa16ca998d6fd5576369c SHA512 8b077d5d5bf60f0ed5b36aef48188f431ca0675f80190beb407a58fa48fc6f8a48db161b8cde775ab6cfb54a01438fa5edddf0098e80a65b29a403a7f3a2c027
|
MISC metadata.xml 319 BLAKE2B 0c8d18b906a50ee77fef7db1f99206b1c4d38dfa7913de363474609bcce38956be8d0958bc400c704ad743396db7230fb0098c83f1caa16ca998d6fd5576369c SHA512 8b077d5d5bf60f0ed5b36aef48188f431ca0675f80190beb407a58fa48fc6f8a48db161b8cde775ab6cfb54a01438fa5edddf0098e80a65b29a403a7f3a2c027
|
||||||
|
@ -0,0 +1,61 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
inherit cmake toolchain-funcs
|
||||||
|
|
||||||
|
DESCRIPTION="An open-source C++ library developed and used at Facebook"
|
||||||
|
HOMEPAGE="https://github.com/facebook/folly"
|
||||||
|
SRC_URI="https://github.com/facebook/folly/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="Apache-2.0"
|
||||||
|
SLOT="0/${PV}"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE="llvm-libunwind test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND="app-arch/bzip2
|
||||||
|
app-arch/lz4:=
|
||||||
|
app-arch/snappy:=
|
||||||
|
app-arch/xz-utils
|
||||||
|
app-arch/zstd:=
|
||||||
|
dev-cpp/gflags:=
|
||||||
|
dev-cpp/glog[gflags]
|
||||||
|
dev-libs/boost:=[context,threads(+)]
|
||||||
|
dev-libs/double-conversion:=
|
||||||
|
dev-libs/libaio
|
||||||
|
dev-libs/libevent:=
|
||||||
|
dev-libs/libfmt:=
|
||||||
|
dev-libs/libsodium:=
|
||||||
|
dev-libs/openssl:=
|
||||||
|
sys-libs/liburing:=
|
||||||
|
sys-libs/zlib
|
||||||
|
llvm-libunwind? ( sys-libs/llvm-libunwind:= )
|
||||||
|
!llvm-libunwind? ( sys-libs/libunwind:= )"
|
||||||
|
# libiberty is linked statically
|
||||||
|
DEPEND="${RDEPEND}
|
||||||
|
sys-libs/binutils-libs"
|
||||||
|
BDEPEND="test? ( sys-devel/clang )"
|
||||||
|
|
||||||
|
pkg_setup() {
|
||||||
|
if use test && [[ ${BUILD_TYPE} != "binary" ]] && ! tc-is-clang ; then
|
||||||
|
ewarn "Forcing build with Clang due to GCC bug (because tests are enabled)"
|
||||||
|
ewarn "(https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104008)"
|
||||||
|
|
||||||
|
export CC=${CHOST}-clang
|
||||||
|
export CXX=${CHOST}-clang++
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
# TODO: liburing could in theory be optional but fails to link
|
||||||
|
|
||||||
|
local mycmakeargs=(
|
||||||
|
-DLIB_INSTALL_DIR="$(get_libdir)"
|
||||||
|
|
||||||
|
-DBUILD_TESTS=$(usex test)
|
||||||
|
)
|
||||||
|
|
||||||
|
cmake_src_configure
|
||||||
|
}
|
Binary file not shown.
@ -0,0 +1,38 @@
|
|||||||
|
# Copyright 1999-2022 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
POSTGRES_COMPAT=( 9.6 {10..14} )
|
||||||
|
|
||||||
|
inherit postgres-multi
|
||||||
|
|
||||||
|
DESCRIPTION="Unit testing for PostgreSQL"
|
||||||
|
HOMEPAGE="https://pgtap.org/"
|
||||||
|
SRC_URI="https://api.pgxn.org/dist/${PN}/${PV}/${P}.zip"
|
||||||
|
|
||||||
|
LICENSE="POSTGRESQL"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64"
|
||||||
|
IUSE=""
|
||||||
|
|
||||||
|
DEPEND="${POSTGRES_DEP}
|
||||||
|
app-arch/unzip
|
||||||
|
dev-perl/TAP-Parser-SourceHandler-pgTAP
|
||||||
|
"
|
||||||
|
RDEPEND="${DEPEND}"
|
||||||
|
|
||||||
|
# Tests requires a running database that match up with the current
|
||||||
|
# testing slot. Won't run from ${ED}, want's to install too early.
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
src_configure() {
|
||||||
|
:
|
||||||
|
}
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
default
|
||||||
|
|
||||||
|
rm -r ${ED}/usr/share/doc/postgresql* || die "Failed to remove improper doc locations"
|
||||||
|
dodoc doc/pgtap.mmd
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
@ -1,21 +1,12 @@
|
|||||||
AUX 3.2-java-8.patch 1318 BLAKE2B f7cf19e6da346c50ed066782905fffeac9b9f42c9988bc3ba0d18bc434fecfaa6d4ad3e74d2c84c87854716435be4a596c47b919ce42b310e48dc70d184bc7f5 SHA512 70c9dc23ec64ba75bfcfc0597544b13c2c35c523c6f2c9d82dbc54a44c30a5432a56b6193db74ca9c3d92235bdadc5427857c364abc4df79ffdc1d2b55221d32
|
AUX 3.2-java-8.patch 1318 BLAKE2B f7cf19e6da346c50ed066782905fffeac9b9f42c9988bc3ba0d18bc434fecfaa6d4ad3e74d2c84c87854716435be4a596c47b919ce42b310e48dc70d184bc7f5 SHA512 70c9dc23ec64ba75bfcfc0597544b13c2c35c523c6f2c9d82dbc54a44c30a5432a56b6193db74ca9c3d92235bdadc5427857c364abc4df79ffdc1d2b55221d32
|
||||||
AUX 3.2-test-fixes.patch 10294 BLAKE2B e2bed0bc4acd8c7de9eacfa6755f81db2cab78fb20518a51051d5a38fb33e25442e5e39ced3a94b525f3dcb5d0bad4c640c3df9da5b431efdf6d76764b11c5bd SHA512 0af15f7e315182f54c65ebcd298ebc02d6715f2233996d0effe7f44eb433e73ed7a33ee12e96d29f72b4437cead864c99150fee60c3c1740b6451619396be72b
|
AUX 3.2-test-fixes.patch 10294 BLAKE2B e2bed0bc4acd8c7de9eacfa6755f81db2cab78fb20518a51051d5a38fb33e25442e5e39ced3a94b525f3dcb5d0bad4c640c3df9da5b431efdf6d76764b11c5bd SHA512 0af15f7e315182f54c65ebcd298ebc02d6715f2233996d0effe7f44eb433e73ed7a33ee12e96d29f72b4437cead864c99150fee60c3c1740b6451619396be72b
|
||||||
AUX 3.5.2-test-fixes.patch 2093 BLAKE2B 4016d770a226f1fb86f7f6e630df38c0d2ed0b4a025991f6b88e88506d2a44838c17097fc4ad5f63e506a839ebce0fcfa8e57f22415f777b0bd4c37afc93a0b1 SHA512 dcdde9daabfb3379f85d831a594259b21e1cc0283f7f0972d42801cb144d6932fe5cccff576cc885614db3f9e07b98782c4932a03687658df35f698455588533
|
|
||||||
DIST antlr-2.7.7.tar.gz 1816180 BLAKE2B 3a9a51070f8651befeb4d22be344b544e119db34a78522828c2ffc3c481c14b9c7784f0a9997a61f6faedde5b6d1fe12214cfd84fb274f7065f3ffe6a44abf1c SHA512 faa72d2ddcba434ef1233e70c1549e63eba67c00793966322e821cf7f015cccb804448cb92d8fbef0429f59928fad65ec954f8ffbda0acbb8e983de0806d349d
|
DIST antlr-2.7.7.tar.gz 1816180 BLAKE2B 3a9a51070f8651befeb4d22be344b544e119db34a78522828c2ffc3c481c14b9c7784f0a9997a61f6faedde5b6d1fe12214cfd84fb274f7065f3ffe6a44abf1c SHA512 faa72d2ddcba434ef1233e70c1549e63eba67c00793966322e821cf7f015cccb804448cb92d8fbef0429f59928fad65ec954f8ffbda0acbb8e983de0806d349d
|
||||||
DIST antlr-3.2.jar 1928009 BLAKE2B 9c56b0142abdb7d0caabebbae12618a665f91001e2f472519549a65b8601b81fcca485898c7420087a7b631351eb26e4b98589d7284960efcc3c65155919fd2a SHA512 25a61404c4b41e48eeaed49d41122f9400092248a10eb776d75ce3513295870eca1acc4b06c74925284a27cc64ca0506e34de39fb91996f09727cc5cc72dd9a6
|
DIST antlr-3.2.jar 1928009 BLAKE2B 9c56b0142abdb7d0caabebbae12618a665f91001e2f472519549a65b8601b81fcca485898c7420087a7b631351eb26e4b98589d7284960efcc3c65155919fd2a SHA512 25a61404c4b41e48eeaed49d41122f9400092248a10eb776d75ce3513295870eca1acc4b06c74925284a27cc64ca0506e34de39fb91996f09727cc5cc72dd9a6
|
||||||
DIST antlr-3.2.tar.gz 837320 BLAKE2B 3addcfed45e67a7f8f3841a890be418626d93229dc326fe4670c6b145a457203a26f01723695573692c65bb6c376349a8d8cd852b339b1f6da7b71a52e14bb4f SHA512 8984221cd89253c033a4596dd56cd51b297393a53b4682f5ab401172745d343371bf0d45417fa286ce972add1b4e474f1f3091fa1345158dbfc040702d61607c
|
DIST antlr-3.2.tar.gz 837320 BLAKE2B 3addcfed45e67a7f8f3841a890be418626d93229dc326fe4670c6b145a457203a26f01723695573692c65bb6c376349a8d8cd852b339b1f6da7b71a52e14bb4f SHA512 8984221cd89253c033a4596dd56cd51b297393a53b4682f5ab401172745d343371bf0d45417fa286ce972add1b4e474f1f3091fa1345158dbfc040702d61607c
|
||||||
DIST antlr-3.5.2-complete.jar 2456317 BLAKE2B d9afa08ad98dbff16d30425b97a0ddac7402055916e6a7dd290c3b9a2b26a4751c02f405d8d13c186333430c370c94bd73419b14c8e46df2971f68536cc484a0 SHA512 560f208e38759b5e626de56816e1fce9c191c526c04ca782513859d468ac444d1e8e62c03870a68f8f9d8daee0f45fca465150e2bbfc71b46e46b952519044b1
|
|
||||||
DIST antlr-3.5.2.tar.gz 6927126 BLAKE2B 1907229549434dfea6ef1fa915137a2f733bd61f0a40aacb131689df619d1c92e125453ec3d1febc5d92da1841ffbde060af196cff1ca8fb6f4684600375e161 SHA512 e2a0520093fb2a77dcd9d44f26a9fdd612dceaffb398c53b2b8cd29f4630830647ede29e8dd55b434cb2c165b0fd1d77968ec6e6de0798f14d9cdfd9e6fccd99
|
DIST antlr-3.5.2.tar.gz 6927126 BLAKE2B 1907229549434dfea6ef1fa915137a2f733bd61f0a40aacb131689df619d1c92e125453ec3d1febc5d92da1841ffbde060af196cff1ca8fb6f4684600375e161 SHA512 e2a0520093fb2a77dcd9d44f26a9fdd612dceaffb398c53b2b8cd29f4630830647ede29e8dd55b434cb2c165b0fd1d77968ec6e6de0798f14d9cdfd9e6fccd99
|
||||||
DIST antlr-4.5.1-complete.jar 1478820 BLAKE2B 7f6ab8d1bad6b75ede4930fe594a3302bd2bdeac8426d65d0a16610a8da4dd3bda23db68b7feafc90449bda5032115ad0f0dbe7c376c4095cb4ccac3e7a70e84 SHA512 1109087c44706694d75a7f88f6ce96e8653467d5721505db747e7e70a4f40a24469b1fb3ffcb327819bba1548b0025412e46a11a41e329b0ecf847cb1094238c
|
|
||||||
DIST antlr-4.5.1.tar.gz 6158475 BLAKE2B 17cf84a60393c786d8b8addd93b87998178cea55f2a6bcc4ca244655a6d2aacc15226111b00fc0a8a6424f8a7c6eb3bfa49172e3b2149714a5c0c6ad69943cd9 SHA512 949306b0ee87a0c002664ee7ac0f32c43385c501b4e28f181417559ce09b07cc12a8441c3bb81f8a72feba3d4ccc693a3c03bcccad7fc81223cddb19e10468a9
|
|
||||||
DIST antlr-4.5.3-complete.jar 1485121 BLAKE2B 84d41b17bd30dfad7a79e9759802c76d986299cc592c7b2c859225ed00989bb2709b14635ee40c8ecfe79e2441ecb697b2d17b7e6e789a7549868b93a3876f77 SHA512 53dcadf3007c9bdbeb391ea72fb9bab7c086fa0b9d1d93b83050b2ebb726c2f52743b5ba944c68f6da513d915ab5e8721676d74d823c32484928ccad2a28f1e4
|
|
||||||
DIST antlr-4.5.3.tar.gz 6760401 BLAKE2B d436b4a964c527e230912a0ba23146af199478570cf5491eadeb5025e814642658cc71d71e6a09b5df3cc18e9b8991abf930cab70677d117a112e0922e046e07 SHA512 d0e61baebb338e5e4e8eaf87aa6ef52a568ec51bc86bc07acf8f82be0c173ea4f0f85978dfd034c2642505888c0849663f6b6fb030c4c19e0571f29277fb54f7
|
|
||||||
DIST antlr-4.9.3.tar.gz 4640242 BLAKE2B fb58f5e533051cb2c439c32f0462c1d463c99df862ba7e1a37a1c61378ab36a9edb9525c2a342de5b517da6f02d8291de5976c550932314f3464aad1a778afb9 SHA512 61452404c9639b5a0908cda16605f17c0fed0c9adfc3278c7408f9971420e9d1fe8f9e974e0826c2e3e780fdd83324094c0246cd5b28fa63f5686b094ea08127
|
DIST antlr-4.9.3.tar.gz 4640242 BLAKE2B fb58f5e533051cb2c439c32f0462c1d463c99df862ba7e1a37a1c61378ab36a9edb9525c2a342de5b517da6f02d8291de5976c550932314f3464aad1a778afb9 SHA512 61452404c9639b5a0908cda16605f17c0fed0c9adfc3278c7408f9971420e9d1fe8f9e974e0826c2e3e780fdd83324094c0246cd5b28fa63f5686b094ea08127
|
||||||
EBUILD antlr-2.7.7-r9.ebuild 1151 BLAKE2B c5e4df7a9ddc43f3e1b490dbc9e05d252cfef1350a96ef9d4f8cf01dff06953e949a192d5bd36ba80d0315f33e32d91cab07176a4f0d5e7f368088342751891d SHA512 faf7da062bfbd5558d29d9d4fa2036f1cba91d4921e2b83ea3bf30f966a41536de0d657ef14ec19e45c8ed460e28778bc90e55edc4940b3331eac5ea2e3d4056
|
EBUILD antlr-2.7.7-r9.ebuild 1151 BLAKE2B c5e4df7a9ddc43f3e1b490dbc9e05d252cfef1350a96ef9d4f8cf01dff06953e949a192d5bd36ba80d0315f33e32d91cab07176a4f0d5e7f368088342751891d SHA512 faf7da062bfbd5558d29d9d4fa2036f1cba91d4921e2b83ea3bf30f966a41536de0d657ef14ec19e45c8ed460e28778bc90e55edc4940b3331eac5ea2e3d4056
|
||||||
EBUILD antlr-3.2-r1.ebuild 3249 BLAKE2B d0c72e2b8052f426e5c001f2860d7af1ca1c1bc213451507fbab4ea6570e3045e1c55307dc1b1dd0820d97d16347ae794d93b64e1b9049976c3b02f56b2ff29d SHA512 5f21e8ab24d2040299e7638d74a2f764a165c31c36128c07414960c317d1895804bc79dffe2c6ea760b21cd1e4a27aa01a8ebb44c4ef21dfae42edc51e4a6080
|
EBUILD antlr-3.2-r1.ebuild 3249 BLAKE2B d0c72e2b8052f426e5c001f2860d7af1ca1c1bc213451507fbab4ea6570e3045e1c55307dc1b1dd0820d97d16347ae794d93b64e1b9049976c3b02f56b2ff29d SHA512 5f21e8ab24d2040299e7638d74a2f764a165c31c36128c07414960c317d1895804bc79dffe2c6ea760b21cd1e4a27aa01a8ebb44c4ef21dfae42edc51e4a6080
|
||||||
EBUILD antlr-3.5.2-r1.ebuild 3022 BLAKE2B 6f3a8b1716d3206391d5f657f732ee1ffe9a02075560afb39ba33b452b03f70b75d953ead0b09a8fd0e96262ef470a39cdb9f852be2e31cfede284d2982d3b0d SHA512 9f19d2fa54a8cfcd0c3d7bc8d6fb0d23886435e0ca6b78da5db97a84598224d9e1a5b68db2d4a4521a3afa60f1e4faa15085d17507e87abe3cfff17417302f74
|
|
||||||
EBUILD antlr-3.5.2-r2.ebuild 1604 BLAKE2B 8e9c84841818f52589ca22790f7e61c5c8b78b018e1f78dfa45b0bc3245f3c1a10a48f5fa96f1a45c6b5a2d1640ebe24683bd41d705f18e9ddab41a0ee0da5bc SHA512 46ff86ab7b47a783b8080ab7957fda04d8765da069d2e5daed6e9a39b921ed9bc56c21b32807b29ebdb3240282515e355a8ec3ec5d0e15a1ca5fbe997c9a7199
|
EBUILD antlr-3.5.2-r2.ebuild 1604 BLAKE2B 8e9c84841818f52589ca22790f7e61c5c8b78b018e1f78dfa45b0bc3245f3c1a10a48f5fa96f1a45c6b5a2d1640ebe24683bd41d705f18e9ddab41a0ee0da5bc SHA512 46ff86ab7b47a783b8080ab7957fda04d8765da069d2e5daed6e9a39b921ed9bc56c21b32807b29ebdb3240282515e355a8ec3ec5d0e15a1ca5fbe997c9a7199
|
||||||
EBUILD antlr-4.5.1.ebuild 2467 BLAKE2B 176f21576d433466f221190f71bb27a7600904efef43d182a025698e30420345b244f5c2e353d49fb25937bceca683aa30e18d5ee3b0b44c5f89baf1e8bc742c SHA512 74174f4ee6fe803c4e243be51562339e530934a6aed38a8024ed687fbc888b2f01c942558e8de90d42f28a5ae0801d95b148497310304466686c087cd4eb8d7a
|
|
||||||
EBUILD antlr-4.5.3-r1.ebuild 2520 BLAKE2B 06e4802219537acacb7f808d47243860f093c437c3f267135f3fd8c5fe6cf16ecbbb84b314f85141f3dcfbfbf12dde02844cf36e534aacc04884c914126b429f SHA512 a630a36dc69c20b07efa9a96e2dddc355c2438adb0b5ba9d8e612b4c1e0739e9f649ba4480821c735f791afe16421c62b8a936e070fcfae8e9dfeb76d2a6711f
|
|
||||||
EBUILD antlr-4.9.3.ebuild 1640 BLAKE2B 408eb5fda7d1598621e34462f177fd641ad36d8e7906e508227377eeea2dd7e55ad3cb71af2a603de6a38cb0da85065ee7b71db42af4309c3ee251e10f5c4bd0 SHA512 485130449328d364975926fc0374e0ed9e12ca2c7d619c9d1af0daaa3dd5879a491bb953d41ffe84ef653702863f7da950b38766414ce9e1823fa1c909ce3174
|
EBUILD antlr-4.9.3.ebuild 1640 BLAKE2B 408eb5fda7d1598621e34462f177fd641ad36d8e7906e508227377eeea2dd7e55ad3cb71af2a603de6a38cb0da85065ee7b71db42af4309c3ee251e10f5c4bd0 SHA512 485130449328d364975926fc0374e0ed9e12ca2c7d619c9d1af0daaa3dd5879a491bb953d41ffe84ef653702863f7da950b38766414ce9e1823fa1c909ce3174
|
||||||
MISC metadata.xml 314 BLAKE2B 997f9c85d72f9b4cae21a3ecd063374f769f369d66ce8531fb158a17b9408ae3d35f117386acd08b89c16d5e0e8130b26ddada87b448529bf41a02deb5c1cdf2 SHA512 ad99513f6581ce95415e908eeba185cd4b6d03a8297e99735c7e79bf3dca1fa0c61a7ae03e47d8ba7429269a29558fae7321583b4f7d328e1da6a091237d9fde
|
MISC metadata.xml 314 BLAKE2B 997f9c85d72f9b4cae21a3ecd063374f769f369d66ce8531fb158a17b9408ae3d35f117386acd08b89c16d5e0e8130b26ddada87b448529bf41a02deb5c1cdf2 SHA512 ad99513f6581ce95415e908eeba185cd4b6d03a8297e99735c7e79bf3dca1fa0c61a7ae03e47d8ba7429269a29558fae7321583b4f7d328e1da6a091237d9fde
|
||||||
|
@ -1,91 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit java-pkg-2 java-pkg-simple
|
|
||||||
|
|
||||||
DESCRIPTION="A parser generator for many languages"
|
|
||||||
HOMEPAGE="https://www.antlr3.org/"
|
|
||||||
SRC_URI="https://github.com/${PN}/${PN}3/archive/${PV}.tar.gz -> ${P}.tar.gz
|
|
||||||
https://www.antlr3.org/download/${P}-complete.jar" # Prebuilt version needed.
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="3.5"
|
|
||||||
KEYWORDS="amd64 ~arm ~arm64 ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
IUSE="doc test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
CDEPEND="dev-java/stringtemplate:4"
|
|
||||||
|
|
||||||
RDEPEND="${CDEPEND}
|
|
||||||
>=virtual/jre-1.8"
|
|
||||||
|
|
||||||
DEPEND="${CDEPEND}
|
|
||||||
>=virtual/jdk-1.8
|
|
||||||
test? ( dev-java/junit:4 )"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${PN}3-${PV}"
|
|
||||||
JAVA_GENTOO_CLASSPATH_EXTRA="${S}/${PN}-runtime.jar"
|
|
||||||
JAVA_GENTOO_CLASSPATH="stringtemplate-4"
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/${PV}-test-fixes.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
unpack ${P}.tar.gz
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
java-pkg_clean
|
|
||||||
|
|
||||||
# This requires StringTemplate v3 and is only needed for
|
|
||||||
# output=template. Nothing in the tree currently needs that and the
|
|
||||||
# dependency situation is already hairy enough as it is.
|
|
||||||
rm -v runtime/Java/src/main/java/org/antlr/runtime/tree/DOTTreeGenerator.java || die
|
|
||||||
|
|
||||||
# Some tests have to be removed as a result.
|
|
||||||
rm -v tool/src/test/java/org/antlr/test/Test{RewriteTemplates,Templates}.java || die
|
|
||||||
|
|
||||||
# Some tests fail under Java 8 in ways that probably aren't limited
|
|
||||||
# to the tests. This is bad but upstream is never going to update
|
|
||||||
# 3.5. At the time of writing, we only use it to build 4 anyway.
|
|
||||||
if java-pkg_is-vm-version-ge 1.8; then
|
|
||||||
rm -v tool/src/test/java/org/antlr/test/Test{DFAConversion,SemanticPredicates,TopologicalSort}.java || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
cd "${S}/runtime/Java/src/main" || die
|
|
||||||
JAVA_JAR_FILENAME="${S}/${PN}-runtime.jar" JAVA_PKG_IUSE="doc" java-pkg-simple_src_compile
|
|
||||||
|
|
||||||
cd "${S}/tool/src/main" || die
|
|
||||||
java -jar "${DISTDIR}/${P}-complete.jar" $(find antlr3 -name "*.g") || die
|
|
||||||
JAVA_JAR_FILENAME="${S}/${PN}-tool.jar" java-pkg-simple_src_compile
|
|
||||||
java-pkg_addres "${S}/${PN}-tool.jar" resources
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
java-pkg_dojar ${PN}-{runtime,tool}.jar
|
|
||||||
java-pkg_dolauncher ${PN}${SLOT} --main org.antlr.Tool
|
|
||||||
use doc && java-pkg_dojavadoc runtime/Java/src/main/target/api
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
cd tool/src/test/java || die
|
|
||||||
local CP=".:${S}/${PN}-runtime.jar:${S}/${PN}-tool.jar:$(java-pkg_getjars junit-4,${JAVA_GENTOO_CLASSPATH})"
|
|
||||||
|
|
||||||
local TESTS=$(find * -name "Test*.java")
|
|
||||||
TESTS="${TESTS//.java}"
|
|
||||||
TESTS="${TESTS//\//.}"
|
|
||||||
|
|
||||||
ejavac -classpath "${CP}" $(find -name "*.java")
|
|
||||||
|
|
||||||
# ejunit automatically adds all registered subdependencies to the
|
|
||||||
# classpath, which is annoying in this case because of the cyclic
|
|
||||||
# dependency on stringtemplate. It will blow up when trying to find
|
|
||||||
# antlr-3.5 on the system before it is installed. The easiest but
|
|
||||||
# somewhat ugly way to avoid this is to unset JAVA_PKG_DEPEND_FILE.
|
|
||||||
JAVA_PKG_DEPEND_FILE= ejunit4 -classpath "${CP}" ${TESTS}
|
|
||||||
}
|
|
@ -1,91 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="5"
|
|
||||||
|
|
||||||
JAVA_PKG_IUSE="source"
|
|
||||||
|
|
||||||
inherit java-pkg-2 java-pkg-simple
|
|
||||||
|
|
||||||
DESCRIPTION="A parser generator for many languages"
|
|
||||||
HOMEPAGE="https://www.antlr.org/"
|
|
||||||
SRC_URI="https://github.com/${PN}/${PN}4/archive/${PV}.tar.gz -> ${P}.tar.gz
|
|
||||||
https://www.antlr.org/download/${P}-complete.jar" # Prebuilt version needed.
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="4"
|
|
||||||
KEYWORDS="amd64 ~arm ppc64 x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
IUSE="doc test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
CDEPEND="dev-java/antlr:3.5
|
|
||||||
dev-java/stringtemplate:4
|
|
||||||
dev-java/treelayout:0"
|
|
||||||
|
|
||||||
RDEPEND="${CDEPEND}
|
|
||||||
>=virtual/jre-1.6"
|
|
||||||
|
|
||||||
DEPEND="${CDEPEND}
|
|
||||||
>=virtual/jdk-1.6
|
|
||||||
test? (
|
|
||||||
dev-java/hamcrest-core:1.3
|
|
||||||
dev-java/junit:4
|
|
||||||
)"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${PN}4-${PV}"
|
|
||||||
JAVA_GENTOO_CLASSPATH="stringtemplate-4,treelayout"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
unpack ${P}.tar.gz
|
|
||||||
}
|
|
||||||
|
|
||||||
java_prepare() {
|
|
||||||
java-pkg_clean
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# TODO: Make java-config accept a jar@package query.
|
|
||||||
JAVA_GENTOO_CLASSPATH_EXTRA="${S}/${PN}-runtime.jar:$(java-pkg_getjar antlr-3.5 antlr-runtime.jar)"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
cd "${S}/runtime/Java/src"
|
|
||||||
local G PKG
|
|
||||||
|
|
||||||
for G in $(find * -name "*.g4"); do
|
|
||||||
PKG="${G%/*}"
|
|
||||||
PKG="${PKG//\//.}"
|
|
||||||
java -jar "${DISTDIR}/${P}-complete.jar" -package "${PKG}" "${G}" || die
|
|
||||||
done
|
|
||||||
|
|
||||||
JAVA_JAR_FILENAME="${S}/${PN}-runtime.jar" JAVA_PKG_IUSE="doc" java-pkg-simple_src_compile
|
|
||||||
|
|
||||||
cd "${S}/tool/src"
|
|
||||||
antlr3.5 $(find -name "*.g") || die
|
|
||||||
JAVA_JAR_FILENAME="${S}/${PN}-tool.jar" java-pkg-simple_src_compile
|
|
||||||
java-pkg_addres "${S}/${PN}-tool.jar" ../resources
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
java-pkg_dojar ${PN}-{runtime,tool}.jar
|
|
||||||
java-pkg_dolauncher ${PN}${SLOT} --main org.antlr.v4.Tool
|
|
||||||
use doc && java-pkg_dojavadoc runtime/Java/src/target/api
|
|
||||||
use source && java-pkg_dosrc runtime/Java/src/org tool/src/org
|
|
||||||
}
|
|
||||||
|
|
||||||
junit_suite() {
|
|
||||||
cd "${S}/$1-testsuite/test" || die
|
|
||||||
local CP=".:${S}/runtime-testsuite/test:${S}/${PN}-tool.jar:$(java-pkg_getjars hamcrest-core-1.3,junit-4,${JAVA_GENTOO_CLASSPATH}):${JAVA_GENTOO_CLASSPATH_EXTRA}"
|
|
||||||
|
|
||||||
local TESTS=$(find ${2:-*} -name "Test*.java")
|
|
||||||
TESTS="${TESTS//.java}"
|
|
||||||
TESTS="${TESTS//\//.}"
|
|
||||||
|
|
||||||
ejavac -classpath "${CP}" $(find ${2:-*} -name "*.java")
|
|
||||||
ejunit4 -classpath "${CP}" ${TESTS}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
# Only run Java runtime tests as we haven't built other languages.
|
|
||||||
junit_suite runtime org/antlr/v4/test/runtime/java
|
|
||||||
junit_suite tool
|
|
||||||
}
|
|
@ -1,94 +0,0 @@
|
|||||||
# Copyright 1999-2022 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
JAVA_PKG_IUSE="source"
|
|
||||||
MAVEN_ID="org.antlr:antlr4:4.5.3"
|
|
||||||
|
|
||||||
inherit java-pkg-2 java-pkg-simple
|
|
||||||
|
|
||||||
DESCRIPTION="A parser generator for many languages"
|
|
||||||
HOMEPAGE="https://www.antlr.org/"
|
|
||||||
SRC_URI="https://github.com/${PN}/${PN}4/archive/${PV}.tar.gz -> ${P}.tar.gz
|
|
||||||
https://www.antlr.org/download/${P}-complete.jar" # Prebuilt version needed.
|
|
||||||
|
|
||||||
LICENSE="BSD"
|
|
||||||
SLOT="4"
|
|
||||||
KEYWORDS="amd64 ~arm ~arm64 ppc64 ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
IUSE="doc test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
CDEPEND="dev-java/antlr:3.5
|
|
||||||
dev-java/stringtemplate:4
|
|
||||||
dev-java/treelayout:0"
|
|
||||||
|
|
||||||
RDEPEND="${CDEPEND}
|
|
||||||
>=virtual/jre-1.8:*"
|
|
||||||
|
|
||||||
DEPEND="${CDEPEND}
|
|
||||||
>=virtual/jdk-1.8:*
|
|
||||||
test? (
|
|
||||||
dev-java/hamcrest-core:1.3
|
|
||||||
dev-java/junit:4
|
|
||||||
)"
|
|
||||||
|
|
||||||
S="${WORKDIR}/${PN}4-${PV}"
|
|
||||||
JAVA_GENTOO_CLASSPATH="stringtemplate-4,treelayout"
|
|
||||||
|
|
||||||
src_unpack() {
|
|
||||||
unpack ${P}.tar.gz
|
|
||||||
}
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
java-pkg_clean
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# TODO: Make java-config accept a jar@package query.
|
|
||||||
JAVA_GENTOO_CLASSPATH_EXTRA="${S}/${PN}-runtime.jar:$(java-pkg_getjar antlr-3.5 antlr-runtime.jar)"
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
cd "${S}/runtime/Java/src"
|
|
||||||
local G PKG
|
|
||||||
|
|
||||||
for G in $(find * -name "*.g4"); do
|
|
||||||
PKG="${G%/*}"
|
|
||||||
PKG="${PKG//\//.}"
|
|
||||||
java -jar "${DISTDIR}/${P}-complete.jar" -package "${PKG}" "${G}" || die
|
|
||||||
done
|
|
||||||
|
|
||||||
JAVA_JAR_FILENAME="${S}/${PN}-runtime.jar" JAVA_PKG_IUSE="doc" java-pkg-simple_src_compile
|
|
||||||
|
|
||||||
cd "${S}/tool/src"
|
|
||||||
antlr3.5 $(find -name "*.g") || die
|
|
||||||
JAVA_JAR_FILENAME="${S}/${PN}-tool.jar" java-pkg-simple_src_compile
|
|
||||||
java-pkg_addres "${S}/${PN}-tool.jar" ../resources
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
java-pkg_dojar ${PN}-{runtime,tool}.jar
|
|
||||||
java-pkg_dolauncher ${PN}${SLOT} --main org.antlr.v4.Tool
|
|
||||||
use doc && java-pkg_dojavadoc runtime/Java/src/target/api
|
|
||||||
use source && java-pkg_dosrc runtime/Java/src/org tool/src/org
|
|
||||||
}
|
|
||||||
|
|
||||||
junit_suite() {
|
|
||||||
cd "${S}/$1-testsuite/test" || die
|
|
||||||
local CP=".:${S}/runtime-testsuite/test:${S}/${PN}-tool.jar:$(java-pkg_getjars hamcrest-core-1.3,junit-4,${JAVA_GENTOO_CLASSPATH}):${JAVA_GENTOO_CLASSPATH_EXTRA}"
|
|
||||||
|
|
||||||
local TESTS=$(find ${2:-*} -name "Test*.java")
|
|
||||||
TESTS="${TESTS//.java}"
|
|
||||||
TESTS="${TESTS//\//.}"
|
|
||||||
|
|
||||||
ejavac -classpath "${CP}" $(find ${2:-*} -name "*.java")
|
|
||||||
ejunit4 -classpath "${CP}" ${TESTS}
|
|
||||||
}
|
|
||||||
|
|
||||||
src_test() {
|
|
||||||
# Only run Java runtime tests as we haven't built other languages.
|
|
||||||
junit_suite runtime org/antlr/v4/test/runtime/java
|
|
||||||
junit_suite tool
|
|
||||||
}
|
|
@ -1,36 +0,0 @@
|
|||||||
diff -Naur antlr3-3.5.2.orig/tool/src/test/java/org/antlr/test/TestAttributes.java antlr3-3.5.2/tool/src/test/java/org/antlr/test/TestAttributes.java
|
|
||||||
--- antlr3-3.5.2.orig/tool/src/test/java/org/antlr/test/TestAttributes.java 2014-03-25 11:47:54.000000000 +0000
|
|
||||||
+++ antlr3-3.5.2/tool/src/test/java/org/antlr/test/TestAttributes.java 2015-10-02 22:42:56.921263410 +0100
|
|
||||||
@@ -2131,7 +2132,7 @@
|
|
||||||
assertEquals(expecting, found);
|
|
||||||
}
|
|
||||||
|
|
||||||
- @Test public void testRuleLabelOnTwoDifferentRulesTemplate() throws Exception {
|
|
||||||
+ @org.junit.Ignore @Test public void testRuleLabelOnTwoDifferentRulesTemplate() throws Exception {
|
|
||||||
String grammar =
|
|
||||||
"grammar T;\n"+
|
|
||||||
"options {output=template;}\n"+
|
|
||||||
diff -Naur antlr3-3.5.2.orig/tool/src/test/java/org/antlr/test/TestSyntacticPredicateEvaluation.java antlr3-3.5.2/tool/src/test/java/org/antlr/test/TestSyntacticPredicateEvaluation.java
|
|
||||||
--- antlr3-3.5.2.orig/tool/src/test/java/org/antlr/test/TestSyntacticPredicateEvaluation.java 2014-03-25 11:47:54.000000000 +0000
|
|
||||||
+++ antlr3-3.5.2/tool/src/test/java/org/antlr/test/TestSyntacticPredicateEvaluation.java 2015-10-02 22:43:07.303105023 +0100
|
|
||||||
@@ -339,7 +340,7 @@
|
|
||||||
assertEquals("b:alt 2 a:alt 1\n", found);
|
|
||||||
}
|
|
||||||
|
|
||||||
- @Test public void testSynPredWithOutputTemplate() throws Exception {
|
|
||||||
+ @org.junit.Ignore @Test public void testSynPredWithOutputTemplate() throws Exception {
|
|
||||||
// really just seeing if it will compile
|
|
||||||
String grammar =
|
|
||||||
"grammar T;\n" +
|
|
||||||
diff -Naur antlr3-3.5.2.orig/tool/src/test/java/org/antlr/test/TestTreeParsing.java antlr3-3.5.2/tool/src/test/java/org/antlr/test/TestTreeParsing.java
|
|
||||||
--- antlr3-3.5.2.orig/tool/src/test/java/org/antlr/test/TestTreeParsing.java 2014-03-25 11:47:54.000000000 +0000
|
|
||||||
+++ antlr3-3.5.2/tool/src/test/java/org/antlr/test/TestTreeParsing.java 2015-10-02 22:41:32.235554776 +0100
|
|
||||||
@@ -141,7 +142,7 @@
|
|
||||||
assertEquals("alt 1\n", found);
|
|
||||||
}
|
|
||||||
|
|
||||||
- @Test public void testTemplateOutput() throws Exception {
|
|
||||||
+ @org.junit.Ignore @Test public void testTemplateOutput() throws Exception {
|
|
||||||
String grammar =
|
|
||||||
"grammar T;\n" +
|
|
||||||
"options {output=AST;}\n" +
|
|
@ -1,3 +1,3 @@
|
|||||||
DIST cal10n-0.8.1.tar.gz 358264 BLAKE2B 1561d2ea7309e470b5bf5990d166af1974ddbfc766ee14101bef33d3b41e5d18bcadbe1ba769eb028d6a41c43b7498c29118a5d7c7b4a93bd55d0a9db5d42eb4 SHA512 882146cddcc8489f08c7354b2029448cc084932fbb6c448271dbfc9ddb11740744bfe161a4e4d58071fc010bc3891d094681584a7a559514d443dcceedafbca2
|
DIST cal10n-0.8.1.tar.gz 358264 BLAKE2B 1561d2ea7309e470b5bf5990d166af1974ddbfc766ee14101bef33d3b41e5d18bcadbe1ba769eb028d6a41c43b7498c29118a5d7c7b4a93bd55d0a9db5d42eb4 SHA512 882146cddcc8489f08c7354b2029448cc084932fbb6c448271dbfc9ddb11740744bfe161a4e4d58071fc010bc3891d094681584a7a559514d443dcceedafbca2
|
||||||
EBUILD cal10n-0.8.1.ebuild 3461 BLAKE2B 5fa50f46a378a5c62b29fd3cfeb84c78c0466beb9936dadfb4be4568d17ed6671bbbfb9c52ad2d3c2f0766ef174be24e43d27bcc3a01e9f67bc3df2d5da68cdd SHA512 3a4ac9b39c69a7c39730f766d8b0b947a9149f390ef3dcca53f17fa64b109881d4a8488ba04aaf4533327be6efdb867f270837c3217ff913c07ea6160bc2a33d
|
EBUILD cal10n-0.8.1.ebuild 3473 BLAKE2B a70ec82aad9db833b632f467f70ebf7a515ed540d1ef5a0fe0f3dfb44b509c426f7743d2d05175bcab696cb2cb2cc883d0c45f179a9b3ebdbcc784dfa267d9da SHA512 8876562daf2a1eab67e451678fc9ab195a3635a4305895b7bcbab0797633298ca5c0b2c0e826cf8d3231b085bcdc6affb0918a443ccbfe4eddbcae91763e3a99
|
||||||
MISC metadata.xml 314 BLAKE2B 9a158ffea633bbed9cd2f7d24c6783bed4c200214d8ab6b7463b7093f9aab9e545cd86a8723d89b7466172e4d50be85acd800ef5f48ec407e773256e35454071 SHA512 6e703050f8faa8ed9c3b4b8b85cb503876ac1b9cf06ff248b70dd4416f06803110f54ba412fcd5cb5ebea38a6aff8d1369520539decfb5a5c75d34442812a1c6
|
MISC metadata.xml 314 BLAKE2B 9a158ffea633bbed9cd2f7d24c6783bed4c200214d8ab6b7463b7093f9aab9e545cd86a8723d89b7466172e4d50be85acd800ef5f48ec407e773256e35454071 SHA512 6e703050f8faa8ed9c3b4b8b85cb503876ac1b9cf06ff248b70dd4416f06803110f54ba412fcd5cb5ebea38a6aff8d1369520539decfb5a5c75d34442812a1c6
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue