parent
9724cfe168
commit
7585239b11
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,4 +1 @@
|
|||||||
DIST krb5-1.18.2.tar.gz 8713927 BLAKE2B f0eb34e67adcb86f347c59ec6ef74970a57530cc56336a84909f852cd6135079ea89828e77c906a272f54e0faf6a4a0497f2b648446eb9d048d1c51e4ec513af SHA512 7cbb1b28e677fea3e0794e93951f3caaa2c49bb1175dd187951e72a466cc69d96c3b833d838000fe911c1a437d96a558e550f27c53a8b332fb9dfc7cbb7ec44c
|
|
||||||
DIST krb5-1.18.3.tar.gz 8715312 BLAKE2B 4f6ad4a529e7578e83d82b43c2cada33bce1dca5081ec826ee06a713f82520b783f72ec56d2ce289e10d1ddcfaa079491e43f21c035b214d244bb80e6b2a1c9f SHA512 cf0bf6cf8f622fa085954e6da998d952cf64dc7ccc319972ed81ea0542089cabf2d0e8243df84da01ad6f40584768ca2f02d108630c6741fa7b3d7d98c887c01
|
|
||||||
DIST krb5-1.19.1.tar.gz 8738142 BLAKE2B 902dd08fe4b81b1cb0ec2bf1b95eeece0f8a87b87bae865272c7bf5dd028c01997ec4c5d24df605328db85e7cbfe9a38dd804b363b651aefa7b4eaec958a280c SHA512 36bf33802119ada4650a8f69f1daca95aaf882dc96bfa7061f0340a5decd588c31fc10108ddadf1042934e0e2c3bbd975deec565b0a7f0fc2baf8b8cc6d97491
|
|
||||||
DIST krb5-1.19.2.tar.gz 8741053 BLAKE2B 963722721201e75381c91a2af6e982f569a5b1602beb2d1ded83d35f6f914235a6ed91e5d54f56c97e94921a32ed27c49aded258327966ee13d39485208c38d8 SHA512 b90d6ed0e1e8a87eb5cb2c36d88b823a6a6caabf85e5d419adb8a930f7eea09a5f8491464e7e454cca7ba88be09d19415962fe0036ad2e31fc584f9fc0bbd470
|
DIST krb5-1.19.2.tar.gz 8741053 BLAKE2B 963722721201e75381c91a2af6e982f569a5b1602beb2d1ded83d35f6f914235a6ed91e5d54f56c97e94921a32ed27c49aded258327966ee13d39485208c38d8 SHA512 b90d6ed0e1e8a87eb5cb2c36d88b823a6a6caabf85e5d419adb8a930f7eea09a5f8491464e7e454cca7ba88be09d19415962fe0036ad2e31fc584f9fc0bbd470
|
||||||
|
@ -1,71 +0,0 @@
|
|||||||
diff --git a/src/lib/krb5/asn.1/asn1_encode.c b/src/lib/krb5/asn.1/asn1_encode.c
|
|
||||||
index a160cf4fe8..cd6b879f77 100644
|
|
||||||
--- a/lib/krb5/asn.1/asn1_encode.c
|
|
||||||
+++ b/lib/krb5/asn.1/asn1_encode.c
|
|
||||||
@@ -356,7 +356,7 @@ make_tag(asn1buf *buf, const taginfo *t, size_t len)
|
|
||||||
static krb5_error_code
|
|
||||||
get_tag(const uint8_t *asn1, size_t len, taginfo *tag_out,
|
|
||||||
const uint8_t **contents_out, size_t *clen_out,
|
|
||||||
- const uint8_t **remainder_out, size_t *rlen_out)
|
|
||||||
+ const uint8_t **remainder_out, size_t *rlen_out, int recursion)
|
|
||||||
{
|
|
||||||
krb5_error_code ret;
|
|
||||||
uint8_t o;
|
|
||||||
@@ -394,9 +394,11 @@ get_tag(const uint8_t *asn1, size_t len, taginfo *tag_out,
|
|
||||||
/* Indefinite form (should not be present in DER, but we accept it). */
|
|
||||||
if (tag_out->construction != CONSTRUCTED)
|
|
||||||
return ASN1_MISMATCH_INDEF;
|
|
||||||
+ if (recursion >= 32)
|
|
||||||
+ return ASN1_OVERFLOW;
|
|
||||||
p = asn1;
|
|
||||||
while (!(len >= 2 && p[0] == 0 && p[1] == 0)) {
|
|
||||||
- ret = get_tag(p, len, &t, &c, &clen, &p, &len);
|
|
||||||
+ ret = get_tag(p, len, &t, &c, &clen, &p, &len, recursion + 1);
|
|
||||||
if (ret)
|
|
||||||
return ret;
|
|
||||||
}
|
|
||||||
@@ -613,7 +615,7 @@ split_der(asn1buf *buf, uint8_t *const *der, size_t len, taginfo *tag_out)
|
|
||||||
const uint8_t *contents, *remainder;
|
|
||||||
size_t clen, rlen;
|
|
||||||
|
|
||||||
- ret = get_tag(*der, len, tag_out, &contents, &clen, &remainder, &rlen);
|
|
||||||
+ ret = get_tag(*der, len, tag_out, &contents, &clen, &remainder, &rlen, 0);
|
|
||||||
if (ret)
|
|
||||||
return ret;
|
|
||||||
if (rlen != 0)
|
|
||||||
@@ -1199,7 +1201,7 @@ decode_atype(const taginfo *t, const uint8_t *asn1, size_t len,
|
|
||||||
const uint8_t *rem;
|
|
||||||
size_t rlen;
|
|
||||||
if (!tag->implicit) {
|
|
||||||
- ret = get_tag(asn1, len, &inner_tag, &asn1, &len, &rem, &rlen);
|
|
||||||
+ ret = get_tag(asn1, len, &inner_tag, &asn1, &len, &rem, &rlen, 0);
|
|
||||||
if (ret)
|
|
||||||
return ret;
|
|
||||||
/* Note: we don't check rlen (it should be 0). */
|
|
||||||
@@ -1420,7 +1422,7 @@ decode_sequence(const uint8_t *asn1, size_t len, const struct seq_info *seq,
|
|
||||||
for (i = 0; i < seq->n_fields; i++) {
|
|
||||||
if (len == 0)
|
|
||||||
break;
|
|
||||||
- ret = get_tag(asn1, len, &t, &contents, &clen, &asn1, &len);
|
|
||||||
+ ret = get_tag(asn1, len, &t, &contents, &clen, &asn1, &len, 0);
|
|
||||||
if (ret)
|
|
||||||
goto error;
|
|
||||||
/*
|
|
||||||
@@ -1478,7 +1480,7 @@ decode_sequence_of(const uint8_t *asn1, size_t len,
|
|
||||||
*seq_out = NULL;
|
|
||||||
*count_out = 0;
|
|
||||||
while (len > 0) {
|
|
||||||
- ret = get_tag(asn1, len, &t, &contents, &clen, &asn1, &len);
|
|
||||||
+ ret = get_tag(asn1, len, &t, &contents, &clen, &asn1, &len, 0);
|
|
||||||
if (ret)
|
|
||||||
goto error;
|
|
||||||
if (!check_atype_tag(elemtype, &t)) {
|
|
||||||
@@ -1584,7 +1586,7 @@ k5_asn1_full_decode(const krb5_data *code, const struct atype_info *a,
|
|
||||||
|
|
||||||
*retrep = NULL;
|
|
||||||
ret = get_tag((uint8_t *)code->data, code->length, &t, &contents,
|
|
||||||
- &clen, &remainder, &rlen);
|
|
||||||
+ &clen, &remainder, &rlen, 0);
|
|
||||||
if (ret)
|
|
||||||
return ret;
|
|
||||||
/* rlen should be 0, but we don't check it (and due to padding in
|
|
@ -1,35 +0,0 @@
|
|||||||
https://bugs.gentoo.org/778167
|
|
||||||
|
|
||||||
From f78edbe30816f049e1360cb6e203fabfdf7b98df Mon Sep 17 00:00:00 2001
|
|
||||||
From: Sergei Trofimovich <slyfox@gentoo.org>
|
|
||||||
Date: Fri, 6 Nov 2020 08:14:57 +0000
|
|
||||||
Subject: [PATCH] Fix compatibility with upcoming autoconf 2.70
|
|
||||||
|
|
||||||
Mainline autoconf generates no shell code for AC_CONFIG_AUX_DIR().
|
|
||||||
Call it unconditionally to avoid a syntax error.
|
|
||||||
|
|
||||||
[ghudson@mit.edu: rewrote commit message]
|
|
||||||
|
|
||||||
ticket: 8960 (new)
|
|
||||||
tags: pullup
|
|
||||||
target_version: 1.18-next
|
|
||||||
target_version: 1.17-next
|
|
||||||
---
|
|
||||||
src/aclocal.m4 | 6 +-----
|
|
||||||
1 file changed, 1 insertion(+), 5 deletions(-)
|
|
||||||
|
|
||||||
--- src/aclocal.m4
|
|
||||||
+++ src/aclocal.m4
|
|
||||||
@@ -13,11 +13,7 @@ fi
|
|
||||||
ac_topdir=$srcdir/$ac_reltopdir
|
|
||||||
ac_config_fragdir=$ac_reltopdir/config
|
|
||||||
# echo "Looking for $srcdir/$ac_config_fragdir"
|
|
||||||
-if test -d "$srcdir/$ac_config_fragdir"; then
|
|
||||||
- AC_CONFIG_AUX_DIR(K5_TOPDIR/config)
|
|
||||||
-else
|
|
||||||
- AC_MSG_ERROR([can not find config/ directory in $ac_reltopdir])
|
|
||||||
-fi
|
|
||||||
+AC_CONFIG_AUX_DIR(K5_TOPDIR/config)
|
|
||||||
])dnl
|
|
||||||
dnl
|
|
||||||
dnl Version info.
|
|
@ -1,10 +0,0 @@
|
|||||||
--- src/Makefile.in 2019-12-12 10:15:51.674552983 +0300
|
|
||||||
+++ src/Makefile.in 2019-12-12 10:16:33.205543490 +0300
|
|
||||||
@@ -71,7 +71,6 @@
|
|
||||||
$(KRB5_AD_MODULE_DIR) \
|
|
||||||
$(KRB5_LIBKRB5_MODULE_DIR) $(KRB5_TLS_MODULE_DIR) \
|
|
||||||
@localstatedir@ @localstatedir@/krb5kdc \
|
|
||||||
- @runstatedir@ @runstatedir@/krb5kdc \
|
|
||||||
$(KRB5_INCSUBDIRS) $(datadir) $(EXAMPLEDIR) \
|
|
||||||
$(PKGCONFIG_DIR)
|
|
||||||
|
|
@ -1,166 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7,8,9} )
|
|
||||||
inherit autotools flag-o-matic multilib-minimal python-any-r1 systemd toolchain-funcs
|
|
||||||
|
|
||||||
MY_P="${P/mit-}"
|
|
||||||
P_DIR=$(ver_cut 1-2)
|
|
||||||
DESCRIPTION="MIT Kerberos V"
|
|
||||||
HOMEPAGE="https://web.mit.edu/kerberos/www/"
|
|
||||||
SRC_URI="https://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86"
|
|
||||||
IUSE="cpu_flags_x86_aes doc +keyutils lmdb nls openldap +pkinit selinux +threads test xinetd"
|
|
||||||
|
|
||||||
# Test suite requires network access
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
!!app-crypt/heimdal
|
|
||||||
>=sys-libs/e2fsprogs-libs-1.42.9[${MULTILIB_USEDEP}]
|
|
||||||
|| (
|
|
||||||
>=dev-libs/libverto-0.2.5[libev,${MULTILIB_USEDEP}]
|
|
||||||
>=dev-libs/libverto-0.2.5[libevent,${MULTILIB_USEDEP}]
|
|
||||||
)
|
|
||||||
keyutils? ( >=sys-apps/keyutils-1.5.8:=[${MULTILIB_USEDEP}] )
|
|
||||||
lmdb? ( dev-db/lmdb )
|
|
||||||
nls? ( sys-devel/gettext[${MULTILIB_USEDEP}] )
|
|
||||||
openldap? ( >=net-nds/openldap-2.4.38-r1[${MULTILIB_USEDEP}] )
|
|
||||||
pkinit? (
|
|
||||||
>=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}]
|
|
||||||
)
|
|
||||||
xinetd? ( sys-apps/xinetd )
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
virtual/yacc
|
|
||||||
cpu_flags_x86_aes? (
|
|
||||||
amd64? ( dev-lang/yasm )
|
|
||||||
x86? ( dev-lang/yasm )
|
|
||||||
)
|
|
||||||
doc? ( virtual/latex-base )
|
|
||||||
test? (
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
dev-lang/tcl:0
|
|
||||||
dev-util/dejagnu
|
|
||||||
dev-util/cmocka
|
|
||||||
)"
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
selinux? ( sec-policy/selinux-kerberos )"
|
|
||||||
|
|
||||||
S=${WORKDIR}/${MY_P}/src
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/${PN}-1.12_warn_cflags.patch"
|
|
||||||
"${FILESDIR}/${PN}-config_LDFLAGS-r1.patch"
|
|
||||||
"${FILESDIR}/${PN}_dont_create_run.patch"
|
|
||||||
"${FILESDIR}/CVE-2020-28196.patch"
|
|
||||||
"${FILESDIR}/${PN}-1.18.2-krb5-config.patch"
|
|
||||||
"${FILESDIR}/${PN}-1.18.2-autoconf-2.70.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
MULTILIB_CHOST_TOOLS=(
|
|
||||||
/usr/bin/krb5-config
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
# Make sure we always use the system copies.
|
|
||||||
rm -rf util/{et,ss,verto}
|
|
||||||
sed -i 's:^[[:space:]]*util/verto$::' configure.ac || die
|
|
||||||
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# QA
|
|
||||||
append-flags -fno-strict-aliasing
|
|
||||||
append-flags -fno-strict-overflow
|
|
||||||
|
|
||||||
multilib-minimal_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
ECONF_SOURCE=${S} \
|
|
||||||
WARN_CFLAGS="set" \
|
|
||||||
econf \
|
|
||||||
$(use_with openldap ldap) \
|
|
||||||
"$(multilib_native_use_with test tcl "${EPREFIX}/usr")" \
|
|
||||||
$(use_enable nls) \
|
|
||||||
$(use_enable pkinit) \
|
|
||||||
$(use_enable threads thread-support) \
|
|
||||||
$(use_with lmdb) \
|
|
||||||
$(use_with keyutils) \
|
|
||||||
--without-hesiod \
|
|
||||||
--enable-shared \
|
|
||||||
--with-system-et \
|
|
||||||
--with-system-ss \
|
|
||||||
--enable-dns-for-realm \
|
|
||||||
--enable-kdc-lookaside-cache \
|
|
||||||
--with-system-verto \
|
|
||||||
--disable-rpath \
|
|
||||||
\
|
|
||||||
AR="$(tc-getAR)"
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_compile() {
|
|
||||||
emake -j1
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_test() {
|
|
||||||
multilib_is_native_abi && emake -j1 check
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install() {
|
|
||||||
emake \
|
|
||||||
DESTDIR="${D}" \
|
|
||||||
EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \
|
|
||||||
install
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install_all() {
|
|
||||||
# default database dir
|
|
||||||
keepdir /var/lib/krb5kdc
|
|
||||||
|
|
||||||
cd ..
|
|
||||||
dodoc README
|
|
||||||
|
|
||||||
if use doc; then
|
|
||||||
dodoc -r doc/html
|
|
||||||
docinto pdf
|
|
||||||
dodoc doc/pdf/*.pdf
|
|
||||||
fi
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/mit-krb5kadmind.initd-r2 mit-krb5kadmind
|
|
||||||
newinitd "${FILESDIR}"/mit-krb5kdc.initd-r2 mit-krb5kdc
|
|
||||||
newinitd "${FILESDIR}"/mit-krb5kpropd.initd-r2 mit-krb5kpropd
|
|
||||||
newconfd "${FILESDIR}"/mit-krb5kadmind.confd mit-krb5kadmind
|
|
||||||
newconfd "${FILESDIR}"/mit-krb5kdc.confd mit-krb5kdc
|
|
||||||
newconfd "${FILESDIR}"/mit-krb5kpropd.confd mit-krb5kpropd
|
|
||||||
|
|
||||||
systemd_newunit "${FILESDIR}"/mit-krb5kadmind.service mit-krb5kadmind.service
|
|
||||||
systemd_newunit "${FILESDIR}"/mit-krb5kdc.service mit-krb5kdc.service
|
|
||||||
systemd_newunit "${FILESDIR}"/mit-krb5kpropd.service mit-krb5kpropd.service
|
|
||||||
systemd_newunit "${FILESDIR}"/mit-krb5kpropd_at.service "mit-krb5kpropd@.service"
|
|
||||||
systemd_newunit "${FILESDIR}"/mit-krb5kpropd.socket mit-krb5kpropd.socket
|
|
||||||
|
|
||||||
insinto /etc
|
|
||||||
newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example
|
|
||||||
insinto /var/lib/krb5kdc
|
|
||||||
newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example
|
|
||||||
|
|
||||||
if use openldap ; then
|
|
||||||
insinto /etc/openldap/schema
|
|
||||||
doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use xinetd ; then
|
|
||||||
insinto /etc/xinetd.d
|
|
||||||
newins "${FILESDIR}/kpropd.xinetd" kpropd
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,164 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7,8,9} )
|
|
||||||
inherit autotools flag-o-matic multilib-minimal python-any-r1 systemd toolchain-funcs
|
|
||||||
|
|
||||||
MY_P="${P/mit-}"
|
|
||||||
P_DIR=$(ver_cut 1-2)
|
|
||||||
DESCRIPTION="MIT Kerberos V"
|
|
||||||
HOMEPAGE="https://web.mit.edu/kerberos/www/"
|
|
||||||
SRC_URI="https://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
|
|
||||||
IUSE="cpu_flags_x86_aes doc +keyutils lmdb nls openldap +pkinit selinux +threads test xinetd"
|
|
||||||
|
|
||||||
# Test suite requires network access
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
!!app-crypt/heimdal
|
|
||||||
>=sys-libs/e2fsprogs-libs-1.42.9[${MULTILIB_USEDEP}]
|
|
||||||
|| (
|
|
||||||
>=dev-libs/libverto-0.2.5[libev,${MULTILIB_USEDEP}]
|
|
||||||
>=dev-libs/libverto-0.2.5[libevent,${MULTILIB_USEDEP}]
|
|
||||||
)
|
|
||||||
keyutils? ( >=sys-apps/keyutils-1.5.8:=[${MULTILIB_USEDEP}] )
|
|
||||||
lmdb? ( dev-db/lmdb )
|
|
||||||
nls? ( sys-devel/gettext[${MULTILIB_USEDEP}] )
|
|
||||||
openldap? ( >=net-nds/openldap-2.4.38-r1[${MULTILIB_USEDEP}] )
|
|
||||||
pkinit? (
|
|
||||||
>=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}]
|
|
||||||
)
|
|
||||||
xinetd? ( sys-apps/xinetd )
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
virtual/yacc
|
|
||||||
cpu_flags_x86_aes? (
|
|
||||||
amd64? ( dev-lang/yasm )
|
|
||||||
x86? ( dev-lang/yasm )
|
|
||||||
)
|
|
||||||
doc? ( virtual/latex-base )
|
|
||||||
test? (
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
dev-lang/tcl:0
|
|
||||||
dev-util/dejagnu
|
|
||||||
dev-util/cmocka
|
|
||||||
)"
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
selinux? ( sec-policy/selinux-kerberos )"
|
|
||||||
|
|
||||||
S=${WORKDIR}/${MY_P}/src
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/${PN}-1.12_warn_cflags.patch"
|
|
||||||
"${FILESDIR}/${PN}-config_LDFLAGS-r1.patch"
|
|
||||||
"${FILESDIR}/${PN}_dont_create_run.patch"
|
|
||||||
"${FILESDIR}/${PN}-1.18.2-krb5-config.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
MULTILIB_CHOST_TOOLS=(
|
|
||||||
/usr/bin/krb5-config
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
# Make sure we always use the system copies.
|
|
||||||
rm -rf util/{et,ss,verto}
|
|
||||||
sed -i 's:^[[:space:]]*util/verto$::' configure.ac || die
|
|
||||||
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# QA
|
|
||||||
append-flags -fno-strict-aliasing
|
|
||||||
append-flags -fno-strict-overflow
|
|
||||||
|
|
||||||
multilib-minimal_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
ECONF_SOURCE=${S} \
|
|
||||||
WARN_CFLAGS="set" \
|
|
||||||
econf \
|
|
||||||
$(use_with openldap ldap) \
|
|
||||||
"$(multilib_native_use_with test tcl "${EPREFIX}/usr")" \
|
|
||||||
$(use_enable nls) \
|
|
||||||
$(use_enable pkinit) \
|
|
||||||
$(use_enable threads thread-support) \
|
|
||||||
$(use_with lmdb) \
|
|
||||||
$(use_with keyutils) \
|
|
||||||
--without-hesiod \
|
|
||||||
--enable-shared \
|
|
||||||
--with-system-et \
|
|
||||||
--with-system-ss \
|
|
||||||
--enable-dns-for-realm \
|
|
||||||
--enable-kdc-lookaside-cache \
|
|
||||||
--with-system-verto \
|
|
||||||
--disable-rpath \
|
|
||||||
\
|
|
||||||
AR="$(tc-getAR)"
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_compile() {
|
|
||||||
emake -j1
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_test() {
|
|
||||||
multilib_is_native_abi && emake -j1 check
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install() {
|
|
||||||
emake \
|
|
||||||
DESTDIR="${D}" \
|
|
||||||
EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \
|
|
||||||
install
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install_all() {
|
|
||||||
# default database dir
|
|
||||||
keepdir /var/lib/krb5kdc
|
|
||||||
|
|
||||||
cd ..
|
|
||||||
dodoc README
|
|
||||||
|
|
||||||
if use doc; then
|
|
||||||
dodoc -r doc/html
|
|
||||||
docinto pdf
|
|
||||||
dodoc doc/pdf/*.pdf
|
|
||||||
fi
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/mit-krb5kadmind.initd-r2 mit-krb5kadmind
|
|
||||||
newinitd "${FILESDIR}"/mit-krb5kdc.initd-r2 mit-krb5kdc
|
|
||||||
newinitd "${FILESDIR}"/mit-krb5kpropd.initd-r2 mit-krb5kpropd
|
|
||||||
newconfd "${FILESDIR}"/mit-krb5kadmind.confd mit-krb5kadmind
|
|
||||||
newconfd "${FILESDIR}"/mit-krb5kdc.confd mit-krb5kdc
|
|
||||||
newconfd "${FILESDIR}"/mit-krb5kpropd.confd mit-krb5kpropd
|
|
||||||
|
|
||||||
systemd_newunit "${FILESDIR}"/mit-krb5kadmind.service mit-krb5kadmind.service
|
|
||||||
systemd_newunit "${FILESDIR}"/mit-krb5kdc.service mit-krb5kdc.service
|
|
||||||
systemd_newunit "${FILESDIR}"/mit-krb5kpropd.service mit-krb5kpropd.service
|
|
||||||
systemd_newunit "${FILESDIR}"/mit-krb5kpropd_at.service "mit-krb5kpropd@.service"
|
|
||||||
systemd_newunit "${FILESDIR}"/mit-krb5kpropd.socket mit-krb5kpropd.socket
|
|
||||||
|
|
||||||
insinto /etc
|
|
||||||
newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example
|
|
||||||
insinto /var/lib/krb5kdc
|
|
||||||
newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example
|
|
||||||
|
|
||||||
if use openldap ; then
|
|
||||||
insinto /etc/openldap/schema
|
|
||||||
doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use xinetd ; then
|
|
||||||
insinto /etc/xinetd.d
|
|
||||||
newins "${FILESDIR}/kpropd.xinetd" kpropd
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,161 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7,8,9} )
|
|
||||||
inherit autotools flag-o-matic multilib-minimal python-any-r1 systemd toolchain-funcs
|
|
||||||
|
|
||||||
MY_P="${P/mit-}"
|
|
||||||
P_DIR=$(ver_cut 1-2)
|
|
||||||
DESCRIPTION="MIT Kerberos V"
|
|
||||||
HOMEPAGE="https://web.mit.edu/kerberos/www/"
|
|
||||||
SRC_URI="https://web.mit.edu/kerberos/dist/krb5/${P_DIR}/${MY_P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="openafs-krb5-a BSD MIT OPENLDAP BSD-2 HPND BSD-4 ISC RSA CC-BY-SA-3.0 || ( BSD-2 GPL-2+ )"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
|
||||||
IUSE="cpu_flags_x86_aes doc +keyutils lmdb nls openldap +pkinit selinux +threads test xinetd"
|
|
||||||
|
|
||||||
# Test suite requires network access
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
DEPEND="
|
|
||||||
!!app-crypt/heimdal
|
|
||||||
>=sys-libs/e2fsprogs-libs-1.42.9[${MULTILIB_USEDEP}]
|
|
||||||
|| (
|
|
||||||
>=dev-libs/libverto-0.2.5[libev,${MULTILIB_USEDEP}]
|
|
||||||
>=dev-libs/libverto-0.2.5[libevent,${MULTILIB_USEDEP}]
|
|
||||||
)
|
|
||||||
keyutils? ( >=sys-apps/keyutils-1.5.8:=[${MULTILIB_USEDEP}] )
|
|
||||||
lmdb? ( dev-db/lmdb )
|
|
||||||
nls? ( sys-devel/gettext[${MULTILIB_USEDEP}] )
|
|
||||||
openldap? ( >=net-nds/openldap-2.4.38-r1[${MULTILIB_USEDEP}] )
|
|
||||||
pkinit? ( >=dev-libs/openssl-1.0.1h-r2:0=[${MULTILIB_USEDEP}] )
|
|
||||||
xinetd? ( sys-apps/xinetd )
|
|
||||||
"
|
|
||||||
BDEPEND="
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
virtual/yacc
|
|
||||||
cpu_flags_x86_aes? (
|
|
||||||
amd64? ( dev-lang/yasm )
|
|
||||||
x86? ( dev-lang/yasm )
|
|
||||||
)
|
|
||||||
doc? ( virtual/latex-base )
|
|
||||||
test? (
|
|
||||||
${PYTHON_DEPS}
|
|
||||||
dev-lang/tcl:0
|
|
||||||
dev-util/dejagnu
|
|
||||||
dev-util/cmocka
|
|
||||||
)"
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
selinux? ( sec-policy/selinux-kerberos )"
|
|
||||||
|
|
||||||
S=${WORKDIR}/${MY_P}/src
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/${PN}-1.12_warn_cflags.patch"
|
|
||||||
"${FILESDIR}/${PN}-config_LDFLAGS-r1.patch"
|
|
||||||
"${FILESDIR}/${PN}_dont_create_rundir.patch"
|
|
||||||
"${FILESDIR}/${PN}-1.18.2-krb5-config.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
MULTILIB_CHOST_TOOLS=(
|
|
||||||
/usr/bin/krb5-config
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
# Make sure we always use the system copies.
|
|
||||||
rm -rf util/{et,ss,verto}
|
|
||||||
sed -i 's:^[[:space:]]*util/verto$::' configure.ac || die
|
|
||||||
|
|
||||||
eautoreconf
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
# QA
|
|
||||||
append-flags -fno-strict-aliasing
|
|
||||||
append-flags -fno-strict-overflow
|
|
||||||
|
|
||||||
multilib-minimal_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_configure() {
|
|
||||||
ECONF_SOURCE=${S} \
|
|
||||||
AR="$(tc-getAR)" \
|
|
||||||
WARN_CFLAGS="set" \
|
|
||||||
econf \
|
|
||||||
$(use_with openldap ldap) \
|
|
||||||
"$(multilib_native_use_with test tcl "${EPREFIX}/usr")" \
|
|
||||||
$(use_enable nls) \
|
|
||||||
$(use_enable pkinit) \
|
|
||||||
$(use_enable threads thread-support) \
|
|
||||||
$(use_with lmdb) \
|
|
||||||
$(use_with keyutils) \
|
|
||||||
--without-hesiod \
|
|
||||||
--enable-shared \
|
|
||||||
--with-system-et \
|
|
||||||
--with-system-ss \
|
|
||||||
--enable-dns-for-realm \
|
|
||||||
--enable-kdc-lookaside-cache \
|
|
||||||
--with-system-verto \
|
|
||||||
--disable-rpath
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_compile() {
|
|
||||||
emake -j1
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_test() {
|
|
||||||
multilib_is_native_abi && emake -j1 check
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install() {
|
|
||||||
emake \
|
|
||||||
DESTDIR="${D}" \
|
|
||||||
EXAMPLEDIR="${EPREFIX}/usr/share/doc/${PF}/examples" \
|
|
||||||
install
|
|
||||||
}
|
|
||||||
|
|
||||||
multilib_src_install_all() {
|
|
||||||
# default database dir
|
|
||||||
keepdir /var/lib/krb5kdc
|
|
||||||
|
|
||||||
cd ..
|
|
||||||
dodoc README
|
|
||||||
|
|
||||||
if use doc; then
|
|
||||||
dodoc -r doc/html
|
|
||||||
docinto pdf
|
|
||||||
dodoc doc/pdf/*.pdf
|
|
||||||
fi
|
|
||||||
|
|
||||||
newinitd "${FILESDIR}"/mit-krb5kadmind.initd-r2 mit-krb5kadmind
|
|
||||||
newinitd "${FILESDIR}"/mit-krb5kdc.initd-r2 mit-krb5kdc
|
|
||||||
newinitd "${FILESDIR}"/mit-krb5kpropd.initd-r2 mit-krb5kpropd
|
|
||||||
newconfd "${FILESDIR}"/mit-krb5kadmind.confd mit-krb5kadmind
|
|
||||||
newconfd "${FILESDIR}"/mit-krb5kdc.confd mit-krb5kdc
|
|
||||||
newconfd "${FILESDIR}"/mit-krb5kpropd.confd mit-krb5kpropd
|
|
||||||
|
|
||||||
systemd_newunit "${FILESDIR}"/mit-krb5kadmind.service mit-krb5kadmind.service
|
|
||||||
systemd_newunit "${FILESDIR}"/mit-krb5kdc.service mit-krb5kdc.service
|
|
||||||
systemd_newunit "${FILESDIR}"/mit-krb5kpropd.service mit-krb5kpropd.service
|
|
||||||
systemd_newunit "${FILESDIR}"/mit-krb5kpropd_at.service "mit-krb5kpropd@.service"
|
|
||||||
systemd_newunit "${FILESDIR}"/mit-krb5kpropd.socket mit-krb5kpropd.socket
|
|
||||||
|
|
||||||
insinto /etc
|
|
||||||
newins "${ED}/usr/share/doc/${PF}/examples/krb5.conf" krb5.conf.example
|
|
||||||
insinto /var/lib/krb5kdc
|
|
||||||
newins "${ED}/usr/share/doc/${PF}/examples/kdc.conf" kdc.conf.example
|
|
||||||
|
|
||||||
if use openldap ; then
|
|
||||||
insinto /etc/openldap/schema
|
|
||||||
doins "${S}/plugins/kdb/ldap/libkdb_ldap/kerberos.schema"
|
|
||||||
fi
|
|
||||||
|
|
||||||
if use xinetd ; then
|
|
||||||
insinto /etc/xinetd.d
|
|
||||||
newins "${FILESDIR}/kpropd.xinetd" kpropd
|
|
||||||
fi
|
|
||||||
}
|
|
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST eselect-emacs-1.18.tar.xz 8964 BLAKE2B 218a9cb043bb00b853e3c51230632f9cdd28a0d2f0ca96bfb9f6840615059993edadd1ea3447d3c6b6411a6a4edda6c1ff34428659f3fa09ab306e53b5501885 SHA512 9e346dc2331e577716945360de199848606d6b67776c1e7875d1437ff7e03796ac64cd0a3656109be87c0578b45bee1175f0ba4af2be96d0e27442d51bf182aa
|
DIST eselect-emacs-1.18.tar.xz 8964 BLAKE2B 218a9cb043bb00b853e3c51230632f9cdd28a0d2f0ca96bfb9f6840615059993edadd1ea3447d3c6b6411a6a4edda6c1ff34428659f3fa09ab306e53b5501885 SHA512 9e346dc2331e577716945360de199848606d6b67776c1e7875d1437ff7e03796ac64cd0a3656109be87c0578b45bee1175f0ba4af2be96d0e27442d51bf182aa
|
||||||
|
DIST eselect-emacs-1.19.tar.xz 9072 BLAKE2B 6921200085df464bac84510bea414a3c68ef978999d9f49cef9d059e0391d237506bdb35c3379a810307dbc188bba1062ff08c9136d2b331c4aa299cca91befd SHA512 269c7ab5402f2507255c36c62f036a9daddaaf9ee399e2566ecd819c8bec234177a274ebcf397414050f9adfd2c61fde64e22bab0f6dc7e03f7b8a54e38564b0
|
||||||
|
@ -0,0 +1,23 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
MY_P="eselect-emacs-${PV}"
|
||||||
|
DESCRIPTION="Manages ctags implementations"
|
||||||
|
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs"
|
||||||
|
SRC_URI="https://dev.gentoo.org/~ulm/emacs/${MY_P}.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
||||||
|
|
||||||
|
RDEPEND=">=app-admin/eselect-1.2.3"
|
||||||
|
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
insinto /usr/share/eselect/modules
|
||||||
|
doins {ctags,etags}.eselect
|
||||||
|
doman {ctags,etags}.eselect.5
|
||||||
|
}
|
@ -1 +1,2 @@
|
|||||||
DIST eselect-emacs-1.18.tar.xz 8964 BLAKE2B 218a9cb043bb00b853e3c51230632f9cdd28a0d2f0ca96bfb9f6840615059993edadd1ea3447d3c6b6411a6a4edda6c1ff34428659f3fa09ab306e53b5501885 SHA512 9e346dc2331e577716945360de199848606d6b67776c1e7875d1437ff7e03796ac64cd0a3656109be87c0578b45bee1175f0ba4af2be96d0e27442d51bf182aa
|
DIST eselect-emacs-1.18.tar.xz 8964 BLAKE2B 218a9cb043bb00b853e3c51230632f9cdd28a0d2f0ca96bfb9f6840615059993edadd1ea3447d3c6b6411a6a4edda6c1ff34428659f3fa09ab306e53b5501885 SHA512 9e346dc2331e577716945360de199848606d6b67776c1e7875d1437ff7e03796ac64cd0a3656109be87c0578b45bee1175f0ba4af2be96d0e27442d51bf182aa
|
||||||
|
DIST eselect-emacs-1.19.tar.xz 9072 BLAKE2B 6921200085df464bac84510bea414a3c68ef978999d9f49cef9d059e0391d237506bdb35c3379a810307dbc188bba1062ff08c9136d2b331c4aa299cca91befd SHA512 269c7ab5402f2507255c36c62f036a9daddaaf9ee399e2566ecd819c8bec234177a274ebcf397414050f9adfd2c61fde64e22bab0f6dc7e03f7b8a54e38564b0
|
||||||
|
@ -0,0 +1,35 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
DESCRIPTION="Manage multiple Emacs versions on one system"
|
||||||
|
HOMEPAGE="https://wiki.gentoo.org/wiki/Project:Emacs"
|
||||||
|
SRC_URI="https://dev.gentoo.org/~ulm/emacs/${P}.tar.xz"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~x86-solaris"
|
||||||
|
|
||||||
|
RDEPEND=">=app-admin/eselect-1.2.6
|
||||||
|
~app-eselect/eselect-ctags-${PV}"
|
||||||
|
|
||||||
|
src_compile() { :; }
|
||||||
|
|
||||||
|
src_install() {
|
||||||
|
insinto /usr/share/eselect/modules
|
||||||
|
doins {emacs,gnuclient}.eselect
|
||||||
|
doman {emacs,gnuclient}.eselect.5
|
||||||
|
dodoc ChangeLog
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
local v
|
||||||
|
for v in ${REPLACING_VERSIONS}; do
|
||||||
|
ver_test "${v}" -ge 1.19 && continue
|
||||||
|
# Refresh, 1.19 introduced a symlink in /usr/include
|
||||||
|
local target=$(eselect --brief emacs show)
|
||||||
|
[[ ${target// } == emacs* ]] && eselect emacs set "${target// }"
|
||||||
|
break
|
||||||
|
done
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
|||||||
DIST ansifilter-2.17.tar.bz2 436116 BLAKE2B 94a1788cffa66343643f48a18748d5359b090803cde723a02bc38f908c262631f1cd2eb150b6a743d66caa04983ea444ba150cf34ce07bdb456979e19631582f SHA512 ab9d590189482f2a27affd62b456c96b947b04d8c8b1214f1ea967971c8ed7df8a7c15d1079f957164d01916d144dcd5dc4b0ac05b452f9f4b8095273d3d3162
|
|
||||||
DIST ansifilter-2.18.tar.bz2 436432 BLAKE2B 43c592e83a967ee86404332a464d57d202a73651b2e29da2d1d21163d295b6efba96ecb5861dacfa89b8f567c0367f7a32b8e658f8cefad82c5982f2f2bf70bb SHA512 ef7febed1fc31f5c7503648e4fc0a7aefc3da8e30ea649bd6f03eac2904667fb779049106ccb77ad16fbf655e979f6651b25b84ab126c940c66bedee115a28e2
|
DIST ansifilter-2.18.tar.bz2 436432 BLAKE2B 43c592e83a967ee86404332a464d57d202a73651b2e29da2d1d21163d295b6efba96ecb5861dacfa89b8f567c0367f7a32b8e658f8cefad82c5982f2f2bf70bb SHA512 ef7febed1fc31f5c7503648e4fc0a7aefc3da8e30ea649bd6f03eac2904667fb779049106ccb77ad16fbf655e979f6651b25b84ab126c940c66bedee115a28e2
|
||||||
|
@ -1,64 +0,0 @@
|
|||||||
# Copyright 1999-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit toolchain-funcs qmake-utils
|
|
||||||
|
|
||||||
DESCRIPTION="Handles text files containing ANSI terminal escape codes"
|
|
||||||
HOMEPAGE="http://www.andre-simon.de/"
|
|
||||||
SRC_URI="http://www.andre-simon.de/zip/${P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="GPL-3+"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="amd64 arm arm64 ppc ppc64 ~s390 sparc x86 ~x64-macos"
|
|
||||||
IUSE="qt5"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
qt5? (
|
|
||||||
dev-qt/qtcore:5
|
|
||||||
dev-qt/qtgui:5
|
|
||||||
dev-qt/qtwidgets:5
|
|
||||||
)"
|
|
||||||
DEPEND="${RDEPEND}"
|
|
||||||
|
|
||||||
DOCS=( ChangeLog.adoc README.adoc )
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
default
|
|
||||||
|
|
||||||
# bug 431452
|
|
||||||
rm src/qt-gui/moc_mydialog.cpp || die
|
|
||||||
|
|
||||||
sed -e "s/-O2//" -i src/makefile || die
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
if use qt5 ; then
|
|
||||||
pushd src/qt-gui > /dev/null || die
|
|
||||||
eqmake5
|
|
||||||
popd > /dev/null || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_compile() {
|
|
||||||
emake -f makefile CXX="$(tc-getCXX)"
|
|
||||||
|
|
||||||
if use qt5 ; then
|
|
||||||
pushd src/qt-gui > /dev/null || die
|
|
||||||
emake
|
|
||||||
popd > /dev/null || die
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
dobin src/${PN}
|
|
||||||
if use qt5 ; then
|
|
||||||
dobin src/qt-gui/${PN}-gui
|
|
||||||
insinto /usr/share/applications
|
|
||||||
doins ${PN}.desktop
|
|
||||||
fi
|
|
||||||
|
|
||||||
doman man/${PN}.1
|
|
||||||
einstalldocs
|
|
||||||
}
|
|
@ -1,3 +1 @@
|
|||||||
DIST poppler-21.05.0.tar.xz 1700632 BLAKE2B 5e277f3d9d6fafbd39b395d7730182ec028c0ccdbb59e0b9d6ea93e079eb6dc8ff6e46a2b378ec4502055e8748973d353e1f947d734cdee4c5abb9f1bb6dba2c SHA512 428f63a85fc8a227efebcd64ca7e89fec487fea07c93f9dd990fae343532547bcfec29a3288dd9ffce698cf994ccc2ce5055e4fa677ebceb216c1caaa3e0cdae
|
|
||||||
DIST poppler-21.06.1.tar.xz 1708344 BLAKE2B 424888e16c72e9ad37fcb0aa3ecc7bef8c6150f3ca51b205407f9db51a5800bf76c703ad7a7e642e5ce60edc0ab3506d29bd18c8424425da7d4270bb2adb3025 SHA512 6e447d09421b7729d83a59a24deaaaea15103240cac0eaf41ddcdd64ac2c8f08a6902b95d56bbbcfd9e229054bd0a4f1769ea05c7e20691bc8f995e3f959f0e9
|
|
||||||
DIST poppler-21.07.0.tar.xz 1709664 BLAKE2B 22c411c44a7f61344a0ea747fd435ad2b0180979d8117425167338b7f5cf963eefac19d38b5630df03b4ef978a113c9f031966d3bd8b0c1d86a5bdecd526d191 SHA512 ce1d8a5dd4a300a24aa71aea4919262e108ce1717dee04863da41de0962e4c0067e9c703c190386bd66d9c4ef54d04513cc8509f4beaf76e996576912d2583e8
|
DIST poppler-21.07.0.tar.xz 1709664 BLAKE2B 22c411c44a7f61344a0ea747fd435ad2b0180979d8117425167338b7f5cf963eefac19d38b5630df03b4ef978a113c9f031966d3bd8b0c1d86a5bdecd526d191 SHA512 ce1d8a5dd4a300a24aa71aea4919262e108ce1717dee04863da41de0962e4c0067e9c703c190386bd66d9c4ef54d04513cc8509f4beaf76e996576912d2583e8
|
||||||
|
@ -1,123 +0,0 @@
|
|||||||
# Copyright 2005-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit cmake toolchain-funcs xdg-utils
|
|
||||||
|
|
||||||
if [[ ${PV} == *9999* ]] ; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://anongit.freedesktop.org/git/poppler/poppler.git"
|
|
||||||
SLOT="0/9999"
|
|
||||||
else
|
|
||||||
SRC_URI="https://poppler.freedesktop.org/${P}.tar.xz"
|
|
||||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~s390 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
SLOT="0/110" # CHECK THIS WHEN BUMPING!!! SUBSLOT IS libpoppler.so SOVERSION
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base"
|
|
||||||
HOMEPAGE="https://poppler.freedesktop.org/"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
IUSE="cairo cjk curl +cxx debug doc +introspection +jpeg +jpeg2k +lcms nss png qt5 tiff +utils"
|
|
||||||
|
|
||||||
# No test data provided
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
dev-util/glib-utils
|
|
||||||
virtual/pkgconfig
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
media-libs/fontconfig
|
|
||||||
media-libs/freetype
|
|
||||||
sys-libs/zlib
|
|
||||||
cairo? (
|
|
||||||
dev-libs/glib:2
|
|
||||||
x11-libs/cairo
|
|
||||||
introspection? ( dev-libs/gobject-introspection:= )
|
|
||||||
)
|
|
||||||
curl? ( net-misc/curl )
|
|
||||||
jpeg? ( virtual/jpeg:0 )
|
|
||||||
jpeg2k? ( >=media-libs/openjpeg-2.3.0-r1:2= )
|
|
||||||
lcms? ( media-libs/lcms:2 )
|
|
||||||
nss? ( >=dev-libs/nss-3.19:0 )
|
|
||||||
png? ( media-libs/libpng:0= )
|
|
||||||
qt5? (
|
|
||||||
dev-qt/qtcore:5
|
|
||||||
dev-qt/qtgui:5
|
|
||||||
dev-qt/qtxml:5
|
|
||||||
)
|
|
||||||
tiff? ( media-libs/tiff:0 )
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
cjk? ( app-text/poppler-data )
|
|
||||||
"
|
|
||||||
|
|
||||||
DOCS=( AUTHORS NEWS README.md README-XPDF )
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/${PN}-20.12.1-qt5-deps.patch"
|
|
||||||
"${FILESDIR}/${PN}-21.04.0-respect-cflags.patch"
|
|
||||||
"${FILESDIR}/${PN}-0.57.0-disable-internal-jpx.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
cmake_src_prepare
|
|
||||||
|
|
||||||
# Clang doesn't grok this flag, the configure nicely tests that, but
|
|
||||||
# cmake just uses it, so remove it if we use clang
|
|
||||||
if [[ ${CC} == clang ]] ; then
|
|
||||||
sed -e 's/-fno-check-new//' -i cmake/modules/PopplerMacros.cmake || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! grep -Fq 'cmake_policy(SET CMP0002 OLD)' CMakeLists.txt ; then
|
|
||||||
sed -e '/^cmake_minimum_required/acmake_policy(SET CMP0002 OLD)' \
|
|
||||||
-i CMakeLists.txt || die
|
|
||||||
else
|
|
||||||
einfo "policy(SET CMP0002 OLD) - workaround can be removed"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
xdg_environment_reset
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DBUILD_GTK_TESTS=OFF
|
|
||||||
-DBUILD_QT5_TESTS=OFF
|
|
||||||
-DBUILD_CPP_TESTS=OFF
|
|
||||||
-DBUILD_MANUAL_TESTS=OFF
|
|
||||||
-DRUN_GPERF_IF_PRESENT=OFF
|
|
||||||
-DENABLE_SPLASH=ON
|
|
||||||
-DENABLE_ZLIB=ON
|
|
||||||
-DENABLE_ZLIB_UNCOMPRESS=OFF
|
|
||||||
-DENABLE_UNSTABLE_API_ABI_HEADERS=ON
|
|
||||||
-DUSE_FLOAT=OFF
|
|
||||||
-DWITH_Cairo=$(usex cairo)
|
|
||||||
-DENABLE_LIBCURL=$(usex curl)
|
|
||||||
-DENABLE_CPP=$(usex cxx)
|
|
||||||
-DWITH_JPEG=$(usex jpeg)
|
|
||||||
-DENABLE_DCTDECODER=$(usex jpeg libjpeg none)
|
|
||||||
-DENABLE_LIBOPENJPEG=$(usex jpeg2k openjpeg2 none)
|
|
||||||
-DENABLE_CMS=$(usex lcms lcms2 none)
|
|
||||||
-DWITH_NSS3=$(usex nss)
|
|
||||||
-DWITH_PNG=$(usex png)
|
|
||||||
$(cmake_use_find_package qt5 Qt5Core)
|
|
||||||
-DWITH_TIFF=$(usex tiff)
|
|
||||||
-DENABLE_UTILS=$(usex utils)
|
|
||||||
-DENABLE_QT6=OFF
|
|
||||||
)
|
|
||||||
use cairo && mycmakeargs+=( -DWITH_GObjectIntrospection=$(usex introspection) )
|
|
||||||
|
|
||||||
cmake_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
cmake_src_install
|
|
||||||
|
|
||||||
# live version doesn't provide html documentation
|
|
||||||
if use cairo && use doc && [[ ${PV} != *9999* ]]; then
|
|
||||||
# For now install gtk-doc there
|
|
||||||
insinto /usr/share/gtk-doc/html/poppler
|
|
||||||
doins -r "${S}"/glib/reference/html/*
|
|
||||||
fi
|
|
||||||
}
|
|
@ -1,127 +0,0 @@
|
|||||||
# Copyright 2005-2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
|
|
||||||
inherit cmake toolchain-funcs xdg-utils
|
|
||||||
|
|
||||||
if [[ ${PV} == *9999* ]] ; then
|
|
||||||
inherit git-r3
|
|
||||||
EGIT_REPO_URI="https://anongit.freedesktop.org/git/poppler/poppler.git"
|
|
||||||
SLOT="0/9999"
|
|
||||||
else
|
|
||||||
SRC_URI="https://poppler.freedesktop.org/${P}.tar.xz"
|
|
||||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
|
|
||||||
SLOT="0/111" # CHECK THIS WHEN BUMPING!!! SUBSLOT IS libpoppler.so SOVERSION
|
|
||||||
fi
|
|
||||||
|
|
||||||
DESCRIPTION="PDF rendering library based on the xpdf-3.0 code base"
|
|
||||||
HOMEPAGE="https://poppler.freedesktop.org/"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
|
||||||
IUSE="boost cairo cjk curl +cxx debug doc +introspection +jpeg +jpeg2k +lcms nss png qt5 tiff +utils"
|
|
||||||
|
|
||||||
# No test data provided
|
|
||||||
RESTRICT="test"
|
|
||||||
|
|
||||||
BDEPEND="
|
|
||||||
dev-util/glib-utils
|
|
||||||
virtual/pkgconfig
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
media-libs/fontconfig
|
|
||||||
media-libs/freetype
|
|
||||||
sys-libs/zlib
|
|
||||||
cairo? (
|
|
||||||
dev-libs/glib:2
|
|
||||||
x11-libs/cairo
|
|
||||||
introspection? ( dev-libs/gobject-introspection:= )
|
|
||||||
)
|
|
||||||
curl? ( net-misc/curl )
|
|
||||||
jpeg? ( virtual/jpeg:0 )
|
|
||||||
jpeg2k? ( >=media-libs/openjpeg-2.3.0-r1:2= )
|
|
||||||
lcms? ( media-libs/lcms:2 )
|
|
||||||
nss? ( >=dev-libs/nss-3.19:0 )
|
|
||||||
png? ( media-libs/libpng:0= )
|
|
||||||
qt5? (
|
|
||||||
dev-qt/qtcore:5
|
|
||||||
dev-qt/qtgui:5
|
|
||||||
dev-qt/qtxml:5
|
|
||||||
)
|
|
||||||
tiff? ( media-libs/tiff:0 )
|
|
||||||
"
|
|
||||||
RDEPEND="${DEPEND}
|
|
||||||
cjk? ( app-text/poppler-data )
|
|
||||||
"
|
|
||||||
DEPEND+="
|
|
||||||
boost? ( dev-libs/boost )
|
|
||||||
"
|
|
||||||
|
|
||||||
DOCS=( AUTHORS NEWS README.md README-XPDF )
|
|
||||||
|
|
||||||
PATCHES=(
|
|
||||||
"${FILESDIR}/${PN}-20.12.1-qt5-deps.patch"
|
|
||||||
"${FILESDIR}/${PN}-21.04.0-respect-cflags.patch"
|
|
||||||
"${FILESDIR}/${PN}-0.57.0-disable-internal-jpx.patch"
|
|
||||||
)
|
|
||||||
|
|
||||||
src_prepare() {
|
|
||||||
cmake_src_prepare
|
|
||||||
|
|
||||||
# Clang doesn't grok this flag, the configure nicely tests that, but
|
|
||||||
# cmake just uses it, so remove it if we use clang
|
|
||||||
if [[ ${CC} == clang ]] ; then
|
|
||||||
sed -e 's/-fno-check-new//' -i cmake/modules/PopplerMacros.cmake || die
|
|
||||||
fi
|
|
||||||
|
|
||||||
if ! grep -Fq 'cmake_policy(SET CMP0002 OLD)' CMakeLists.txt ; then
|
|
||||||
sed -e '/^cmake_minimum_required/acmake_policy(SET CMP0002 OLD)' \
|
|
||||||
-i CMakeLists.txt || die
|
|
||||||
else
|
|
||||||
einfo "policy(SET CMP0002 OLD) - workaround can be removed"
|
|
||||||
fi
|
|
||||||
}
|
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
xdg_environment_reset
|
|
||||||
local mycmakeargs=(
|
|
||||||
-DBUILD_GTK_TESTS=OFF
|
|
||||||
-DBUILD_QT5_TESTS=OFF
|
|
||||||
-DBUILD_CPP_TESTS=OFF
|
|
||||||
-DBUILD_MANUAL_TESTS=OFF
|
|
||||||
-DRUN_GPERF_IF_PRESENT=OFF
|
|
||||||
-DENABLE_BOOST="$(usex boost)"
|
|
||||||
-DENABLE_SPLASH=ON
|
|
||||||
-DENABLE_ZLIB=ON
|
|
||||||
-DENABLE_ZLIB_UNCOMPRESS=OFF
|
|
||||||
-DENABLE_UNSTABLE_API_ABI_HEADERS=ON
|
|
||||||
-DUSE_FLOAT=OFF
|
|
||||||
-DWITH_Cairo=$(usex cairo)
|
|
||||||
-DENABLE_LIBCURL=$(usex curl)
|
|
||||||
-DENABLE_CPP=$(usex cxx)
|
|
||||||
-DWITH_JPEG=$(usex jpeg)
|
|
||||||
-DENABLE_DCTDECODER=$(usex jpeg libjpeg none)
|
|
||||||
-DENABLE_LIBOPENJPEG=$(usex jpeg2k openjpeg2 none)
|
|
||||||
-DENABLE_CMS=$(usex lcms lcms2 none)
|
|
||||||
-DWITH_NSS3=$(usex nss)
|
|
||||||
-DWITH_PNG=$(usex png)
|
|
||||||
$(cmake_use_find_package qt5 Qt5Core)
|
|
||||||
-DWITH_TIFF=$(usex tiff)
|
|
||||||
-DENABLE_UTILS=$(usex utils)
|
|
||||||
-DENABLE_QT6=OFF
|
|
||||||
)
|
|
||||||
use cairo && mycmakeargs+=( -DWITH_GObjectIntrospection=$(usex introspection) )
|
|
||||||
|
|
||||||
cmake_src_configure
|
|
||||||
}
|
|
||||||
|
|
||||||
src_install() {
|
|
||||||
cmake_src_install
|
|
||||||
|
|
||||||
# live version doesn't provide html documentation
|
|
||||||
if use cairo && use doc && [[ ${PV} != *9999* ]]; then
|
|
||||||
# For now install gtk-doc there
|
|
||||||
insinto /usr/share/gtk-doc/html/poppler
|
|
||||||
doins -r "${S}"/glib/reference/html/*
|
|
||||||
fi
|
|
||||||
}
|
|
Binary file not shown.
@ -1,2 +1,3 @@
|
|||||||
DIST ell-0.40.tar.xz 524256 BLAKE2B de7326cfc7d00970fdeb5f19e38b9c68e6443544f5a6397aa031a7dcd0d61c77ab72303ad51d36e8fbc2c34c954631636f7f42bae0c40cd75498882ab78e2c85 SHA512 bc721e300e5b689dc51f794019e731eb252ad74dd199bec7685373ffa32ad42950aae9e36cb74d3b6590016c046589acb3ae8c009c4a14bd89331913392e923e
|
DIST ell-0.40.tar.xz 524256 BLAKE2B de7326cfc7d00970fdeb5f19e38b9c68e6443544f5a6397aa031a7dcd0d61c77ab72303ad51d36e8fbc2c34c954631636f7f42bae0c40cd75498882ab78e2c85 SHA512 bc721e300e5b689dc51f794019e731eb252ad74dd199bec7685373ffa32ad42950aae9e36cb74d3b6590016c046589acb3ae8c009c4a14bd89331913392e923e
|
||||||
DIST ell-0.41.tar.xz 525240 BLAKE2B 80614190c1237fdbb867300418d474d50e163fba7ca15f4c74c3019b4d407da8319b67be5a88886894dd8869620bae1338e91d28993077690e93260ed1dc3cf6 SHA512 bfbc18195126196776a0d00b4ae8bd8358a6cd1d2f8221132fdae1f323172f148a3faad84a951774ca38a3a72e8d96512b9cac84d9ef3a6cddf4b1490b34453e
|
DIST ell-0.41.tar.xz 525240 BLAKE2B 80614190c1237fdbb867300418d474d50e163fba7ca15f4c74c3019b4d407da8319b67be5a88886894dd8869620bae1338e91d28993077690e93260ed1dc3cf6 SHA512 bfbc18195126196776a0d00b4ae8bd8358a6cd1d2f8221132fdae1f323172f148a3faad84a951774ca38a3a72e8d96512b9cac84d9ef3a6cddf4b1490b34453e
|
||||||
|
DIST ell-0.42.tar.xz 527724 BLAKE2B fee51c2a44afcd5e40ee38f8d0e24fefab6c98ff0b58c842169d7957e1aeaa89bdcb2aecbe14b3558820c3226c5884e6512045e3f1b9bfcf2f77c953d9674936 SHA512 a859cf0b6b2e5e91fcd9718bb0ea8073b819c264d914eca8a2c67b27f170a830df1b2256184df03010d836da3a081020ee1a4fac88d39c0794da88824dc39b71
|
||||||
|
@ -0,0 +1,54 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
inherit flag-o-matic linux-info multilib-minimal
|
||||||
|
|
||||||
|
DESCRIPTION="Embedded Linux Library provides core, low-level functionality for system daemons"
|
||||||
|
HOMEPAGE="https://01.org/ell"
|
||||||
|
if [[ "${PV}" == *9999 ]] ; then
|
||||||
|
inherit autotools git-r3
|
||||||
|
EGIT_REPO_URI="https://git.kernel.org/pub/scm/libs/ell/ell.git"
|
||||||
|
else
|
||||||
|
SRC_URI="https://mirrors.edge.kernel.org/pub/linux/libs/${PN}/${P}.tar.xz"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
|
||||||
|
fi
|
||||||
|
LICENSE="LGPL-2.1"
|
||||||
|
SLOT="0"
|
||||||
|
|
||||||
|
IUSE="pie test"
|
||||||
|
RESTRICT="!test? ( test )"
|
||||||
|
|
||||||
|
RDEPEND=""
|
||||||
|
DEPEND="test? ( sys-apps/dbus )"
|
||||||
|
|
||||||
|
CONFIG_CHECK="
|
||||||
|
~TIMERFD
|
||||||
|
~EVENTFD
|
||||||
|
~CRYPTO_USER_API
|
||||||
|
~CRYPTO_USER_API_HASH
|
||||||
|
~CRYPTO_MD5
|
||||||
|
~CRYPTO_SHA1
|
||||||
|
~KEY_DH_OPERATIONS
|
||||||
|
"
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
default
|
||||||
|
[[ "${PV}" == *9999 ]] && eautoreconf
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_configure() {
|
||||||
|
append-cflags "-fsigned-char" #662694
|
||||||
|
local myeconfargs=(
|
||||||
|
$(use_enable pie)
|
||||||
|
)
|
||||||
|
ECONF_SOURCE="${S}" econf "${myeconfargs[@]}"
|
||||||
|
}
|
||||||
|
|
||||||
|
multilib_src_install_all() {
|
||||||
|
local DOCS=( ChangeLog README )
|
||||||
|
einstalldocs
|
||||||
|
|
||||||
|
find "${ED}" -name "*.la" -delete || die
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1 @@
|
|||||||
DIST agate-sql-0.5.6.tar.gz 9091 BLAKE2B 9094a2bfb500422e7fe75d1c83182af698aa92942a305a69301d45d92f01960a7ffc7908f0eb2b66556a856be0f7388e222034428afd269d402488c6c05abd36 SHA512 b4234a86f8bcd5b22bcb1e18d0cec0ba21c8a3521e15f767886241e16285cbd296683f83bd366a82d1e549679b3712663adc080950dedb24a0e6db5b2541050a
|
|
||||||
DIST agate-sql-0.5.7.tar.gz 14975 BLAKE2B 7890d5c21d89dd216a7a4c906189e1e44111bd96ef3476f0e6dc4c842dc3f25d537ee398f3c8e720d43e64001fa0ea93940d4a54ee31605eea9e8ae9aa4dec37 SHA512 df7e1d5975d9af0722f4bfa67f1e8679ed46759f8aaa5c76614ed5280c8347f727517568ba377c21dd8eb349f93b7a6d308959ae69bfedd125e6d99bd7bd9dcf
|
DIST agate-sql-0.5.7.tar.gz 14975 BLAKE2B 7890d5c21d89dd216a7a4c906189e1e44111bd96ef3476f0e6dc4c842dc3f25d537ee398f3c8e720d43e64001fa0ea93940d4a54ee31605eea9e8ae9aa4dec37 SHA512 df7e1d5975d9af0722f4bfa67f1e8679ed46759f8aaa5c76614ed5280c8347f727517568ba377c21dd8eb349f93b7a6d308959ae69bfedd125e6d99bd7bd9dcf
|
||||||
|
@ -1,58 +0,0 @@
|
|||||||
# Copyright 2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
PYTHON_COMPAT=( python3_{8..9} )
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=bdepend
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="Adds SQL read/write support to agate."
|
|
||||||
HOMEPAGE="https://github.com/wireservice/agate-sql https://pypi.org/project/agate-sql/"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
IUSE="test +xml"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
# Other packages have BDEPEND="test? ( dev-python/agate-sql[xml] )"
|
|
||||||
AGATE_VERSION_DEP=">=dev-python/agate-1.5.0"
|
|
||||||
TEST_AGAINST_RDEPEND="xml? ( ${AGATE_VERSION_DEP}[xml,${PYTHON_USEDEP}] )"
|
|
||||||
RDEPEND="
|
|
||||||
${AGATE_VERSION_DEP}[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/sqlalchemy-1.0.8[${PYTHON_USEDEP}]
|
|
||||||
|
|
||||||
${TEST_AGAINST_RDEPEND}
|
|
||||||
"
|
|
||||||
BDEPEND="test? ( ${AGATE_VERSION_DEP}[xml,${PYTHON_USEDEP}] )"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
python_prepare_all() {
|
|
||||||
local sed_args=(
|
|
||||||
-e "/crate/d"
|
|
||||||
-e "/nose/d"
|
|
||||||
-e "/geojson/d"
|
|
||||||
-e "/Sphinx/d"
|
|
||||||
-e "/sphinx_rtd_theme/d"
|
|
||||||
)
|
|
||||||
|
|
||||||
sed "${sed_args[@]}" -i setup.py agate_sql.egg-info/requires.txt || die
|
|
||||||
distutils-r1_python_prepare_all
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
local pytest_args test_name xfails
|
|
||||||
|
|
||||||
xfails=(
|
|
||||||
tests/test_agatesql.py::TestSQL::test_to_sql_create_statement_with_dialects
|
|
||||||
tests/test_agatesql.py::TestSQL::test_to_sql_create_statement_with_schema
|
|
||||||
)
|
|
||||||
|
|
||||||
for test_name in "${xfails[@]}"; do
|
|
||||||
pytest_args+=(--deselect "${test_name}")
|
|
||||||
done
|
|
||||||
|
|
||||||
epytest "${pytest_args[@]}" || die
|
|
||||||
}
|
|
@ -1,2 +1 @@
|
|||||||
DIST agate-1.6.2.tar.gz 191216 BLAKE2B 63e89f6815a36dea956e8a919aeb926291eaf1f4d5eaac7f96dab97c6958dfee4788e18a4c1325a5b8cebf15df27b32e75409ddeab1289c1e8e548088fdc0ea7 SHA512 34d9e45d162bce69d28ad0ec07f5b410b2cdac831e5bd986ca8cb8902fd0ca1ec67663b2f956f42acaf18b8ca0fa169d5236aa4cee7457765e4e86d837e7794e
|
|
||||||
DIST agate-1.6.3.tar.gz 202102 BLAKE2B b1a5624b4744b8f3ed266470da580cef2f2e1cf6159e1b33fcd461e4abd235c5e3fe0da35408a42c92fd4abf14a1f841a1ab9eb6cd31545d826a5223e85b4904 SHA512 e83a03c5a3e4b7fa9997030ce0d33e7b59b397e2ae07ee6a723eb7fb708a7fa8b8c4322dd034f42bf664bf2911d89731fd060e4ff33a237f83114a83312ac5ed
|
DIST agate-1.6.3.tar.gz 202102 BLAKE2B b1a5624b4744b8f3ed266470da580cef2f2e1cf6159e1b33fcd461e4abd235c5e3fe0da35408a42c92fd4abf14a1f841a1ab9eb6cd31545d826a5223e85b4904 SHA512 e83a03c5a3e4b7fa9997030ce0d33e7b59b397e2ae07ee6a723eb7fb708a7fa8b8c4322dd034f42bf664bf2911d89731fd060e4ff33a237f83114a83312ac5ed
|
||||||
|
@ -1,71 +0,0 @@
|
|||||||
# Copyright 2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
PYTHON_COMPAT=( python3_{8..9} )
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=bdepend
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="A Python data analysis library that is optimized for humans instead of machines"
|
|
||||||
HOMEPAGE="https://github.com/wireservice/agate https://pypi.org/project/agate/"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
IUSE="test +xml"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
# Other packages have BDEPEND="test? ( dev-python/agate[xml] )"
|
|
||||||
LEATHER_VERSION_DEP=">=dev-python/leather-0.3.3-r2"
|
|
||||||
TEST_AGAINST_RDEPEND="xml? ( ${LEATHER_VERSION_DEP}[xml,${PYTHON_USEDEP}] )"
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/six-1.9.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pytimeparse-1.1.5[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/parsedatetime-2.1[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/Babel-2.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/isodate-0.5.4[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pyicu-2.4.2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/python-slugify-1.2.1[${PYTHON_USEDEP}]
|
|
||||||
${LEATHER_VERSION_DEP}[${PYTHON_USEDEP}]
|
|
||||||
|
|
||||||
${TEST_AGAINST_RDEPEND}
|
|
||||||
"
|
|
||||||
BDEPEND="test? ( ${LEATHER_VERSION_DEP}[xml,${PYTHON_USEDEP}] )"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
# @FUNCTION: pytest-expect-to-deselect
|
|
||||||
# @USAGE: readarray -t pytest_args < <(pytest-expect-to-deselect <<<PYTEST_EXPECT_CONTENT)
|
|
||||||
# @DESCRIPTION:
|
|
||||||
# Read a pytest-expect pytest --xfail-file file from stdin and write
|
|
||||||
# equivalent pytest --deselect arguments to stdout for consumption by
|
|
||||||
# readarray -t. The generated pytest --deselect arguments are appropriate
|
|
||||||
# for use as described here:
|
|
||||||
# https://dev.gentoo.org/~mgorny/python-guide/pytest.html#skipping-tests-based-on-paths-names
|
|
||||||
pytest-expect-to-deselect() {
|
|
||||||
while read -r; do
|
|
||||||
[[ ${REPLY} =~ ^[u]?\'([^\']*) ]] || continue
|
|
||||||
printf -- '%s\n' --deselect "${BASH_REMATCH[1]}" || return
|
|
||||||
done
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
# test_cast_format_locale fails with "locale.Error: unsupported locale setting"
|
|
||||||
# which appears to be triggered by these locale settings in the unit tests:
|
|
||||||
#
|
|
||||||
# agate-1.6.2/tests/test_data_types.py:257: def test_cast_format_locale(self):
|
|
||||||
# agate-1.6.2/tests/test_data_types.py-258- date_type = Date(date_format='%d-%b-%Y', locale='de_DE')
|
|
||||||
# agate-1.6.2/tests/test_data_types.py:381: def test_cast_format_locale(self):
|
|
||||||
# agate-1.6.2/tests/test_data_types.py-382- date_type = DateTime(datetime_format='%Y-%m-%d %I:%M %p', locale='ko_KR')
|
|
||||||
|
|
||||||
local -a pytest_args
|
|
||||||
readarray -t pytest_args < <(pytest-expect-to-deselect <<<"
|
|
||||||
pytest-expect file v1
|
|
||||||
(3, 8, 10, 'final', 0)
|
|
||||||
u'tests/test_data_types.py::TestDate::test_cast_format_locale': FAIL
|
|
||||||
u'tests/test_data_types.py::TestDateTime::test_cast_format_locale': FAIL
|
|
||||||
")
|
|
||||||
|
|
||||||
epytest "${pytest_args[@]}" || die
|
|
||||||
}
|
|
@ -1,2 +1 @@
|
|||||||
DIST aiohttp-jinja2-0.15.0.tar.gz 51183 BLAKE2B e19ca813f36ac746a84812ec278a3de43e6e24eaafcf949fd18a32c99f460ded03f4dc97171fe1493174a8e2c51543b8c1afcdec51c4688f4fb0b7781287cc03 SHA512 084714cd2376b93f32cdcebc1971d4aaa704a177524b00f322e0347c15ab8085960a68a3760be056e391410f01b6b637eb59db54fccf54d09ba53a9ea03a01db
|
|
||||||
DIST aiohttp-jinja2-1.4.2.tar.gz 54328 BLAKE2B 3d6aaeb03bbb89516a92fa877ee95a2fd27ab83666a03ca12e78f1744b82797faf2547bf55118618cbd979d80779a9571dfcfe9036bc84142563ede55cfbc1a1 SHA512 7bdaee97efe90a0009cd78a4e46dc80cfeb661c2d5561fdb1b1a1ff098abba8667260bb908e3227edd6601c2412812d0311461942568a8aabf07a164ea2f290e
|
DIST aiohttp-jinja2-1.4.2.tar.gz 54328 BLAKE2B 3d6aaeb03bbb89516a92fa877ee95a2fd27ab83666a03ca12e78f1744b82797faf2547bf55118618cbd979d80779a9571dfcfe9036bc84142563ede55cfbc1a1 SHA512 7bdaee97efe90a0009cd78a4e46dc80cfeb661c2d5561fdb1b1a1ff098abba8667260bb908e3227edd6601c2412812d0311461942568a8aabf07a164ea2f290e
|
||||||
|
@ -1,51 +0,0 @@
|
|||||||
# Copyright 1999-2020 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI="6"
|
|
||||||
|
|
||||||
PYTHON_COMPAT=( python3_{7,8} )
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="jinja2 template renderer for aiohttp.web"
|
|
||||||
HOMEPAGE="https://github.com/aio-libs/aiohttp-jinja2"
|
|
||||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
|
|
||||||
LICENSE="Apache-2.0"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64 ~x86"
|
|
||||||
IUSE="doc test"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
RDEPEND="
|
|
||||||
>=dev-python/aiohttp-2.3.9[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/jinja-2.10[${PYTHON_USEDEP}]
|
|
||||||
"
|
|
||||||
DEPEND="
|
|
||||||
${RDEPEND}
|
|
||||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
|
||||||
doc? (
|
|
||||||
>=dev-python/alabaster-0.6.2[${PYTHON_USEDEP}]
|
|
||||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
test? (
|
|
||||||
>=dev-python/pytest-3.2.2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/pytest-aiohttp-0.3.0[${PYTHON_USEDEP}]
|
|
||||||
)
|
|
||||||
"
|
|
||||||
|
|
||||||
DOCS=( CHANGES.txt README.rst )
|
|
||||||
|
|
||||||
python_compile_all() {
|
|
||||||
use doc && emake -C docs html
|
|
||||||
}
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
pytest -vv tests || die "Tests failed under ${EPYTHON}"
|
|
||||||
}
|
|
||||||
|
|
||||||
python_install_all() {
|
|
||||||
use doc && local HTML_DOCS=( docs/_build/html/. )
|
|
||||||
|
|
||||||
distutils-r1_python_install_all
|
|
||||||
}
|
|
@ -1,2 +1 @@
|
|||||||
DIST csvkit-1.0.5.tar.gz 3783495 BLAKE2B 19210c23480cb3068af74c922a3495612f40bbf5c4985f7018c9c185564dd0c101292f165ddd03440220f582bfdc1590e2f75e8e5c92edd71e76e46a73b26547 SHA512 62dc7a5eefeda9c8824b24f8844b6c1ead5449797d9d004111885b03a1989ad89d1f48b3b7d4a69130885b85cc3c1352910737e416fc19f2038525632b1569f6
|
|
||||||
DIST csvkit-1.0.6.tar.gz 3784737 BLAKE2B b1e4583443cbfc62f713d3b311bbe313cf4e69b7aa5aa13dc6970375a727a804ba1dbd176b25487027d3bc1a5696f2ce649a460c91ef7c5591c33bb3c6f48c33 SHA512 fb37404405f2f2c0bf803a1df8186aa9e3b11cbf3c4f6e1fe6dc06d53730aa91d462bebcca3917e9a451f1d81df053abd9ceedfaab085ab696f9ba701c873323
|
DIST csvkit-1.0.6.tar.gz 3784737 BLAKE2B b1e4583443cbfc62f713d3b311bbe313cf4e69b7aa5aa13dc6970375a727a804ba1dbd176b25487027d3bc1a5696f2ce649a460c91ef7c5591c33bb3c6f48c33 SHA512 fb37404405f2f2c0bf803a1df8186aa9e3b11cbf3c4f6e1fe6dc06d53730aa91d462bebcca3917e9a451f1d81df053abd9ceedfaab085ab696f9ba701c873323
|
||||||
|
@ -1,47 +0,0 @@
|
|||||||
# Copyright 2021 Gentoo Authors
|
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
|
||||||
|
|
||||||
EAPI=7
|
|
||||||
PYTHON_COMPAT=( python3_{8..9} )
|
|
||||||
DISTUTILS_USE_SETUPTOOLS=bdepend
|
|
||||||
|
|
||||||
inherit distutils-r1
|
|
||||||
|
|
||||||
DESCRIPTION="A suite of utilities for converting to and working with CSV."
|
|
||||||
HOMEPAGE="https://github.com/wireservice/csvkit https://pypi.org/project/csvkit/"
|
|
||||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
|
||||||
LICENSE="MIT"
|
|
||||||
SLOT="0"
|
|
||||||
KEYWORDS="~amd64"
|
|
||||||
IUSE="test +xml"
|
|
||||||
RESTRICT="!test? ( test )"
|
|
||||||
|
|
||||||
# Other packages have BDEPEND="test? ( dev-python/csvkit[xml] )"
|
|
||||||
AGATE_VERSION_DEP=">=dev-python/agate-1.6.1"
|
|
||||||
TEST_AGAINST_RDEPEND="xml? ( ${AGATE_VERSION_DEP}[xml,${PYTHON_USEDEP}] )"
|
|
||||||
RDEPEND="
|
|
||||||
${AGATE_VERSION_DEP}[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/agate-excel-0.2.2[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/agate-dbf-0.2.0[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/agate-sql-0.5.3[${PYTHON_USEDEP}]
|
|
||||||
>=dev-python/six-1.6.1[${PYTHON_USEDEP}]
|
|
||||||
|
|
||||||
${TEST_AGAINST_RDEPEND}
|
|
||||||
"
|
|
||||||
BDEPEND="test? ( ${AGATE_VERSION_DEP}[xml,${PYTHON_USEDEP}] )"
|
|
||||||
|
|
||||||
distutils_enable_tests pytest
|
|
||||||
|
|
||||||
python_test() {
|
|
||||||
local pytest_args test_name xfails
|
|
||||||
|
|
||||||
xfails=(
|
|
||||||
tests/test_utilities/test_in2csv.py::TestIn2CSV::test_convert_dbf
|
|
||||||
)
|
|
||||||
|
|
||||||
for test_name in "${xfails[@]}"; do
|
|
||||||
pytest_args+=(--deselect "${test_name}")
|
|
||||||
done
|
|
||||||
|
|
||||||
epytest "${pytest_args[@]}" || die
|
|
||||||
}
|
|
@ -1,2 +1,3 @@
|
|||||||
DIST jeepney-0.6.0.tar.gz 49513 BLAKE2B e5f9b5104cf07dbcd2d40c2d22b690dfd56c456ab56daf44f4abee83f0bfe7e1dfbad797348044d51e3dc20fbc6ce68bf8df54f9c1e46d7a86ceb22d3ab30f8d SHA512 140be9dd28ed853d2d41b6a8bbeb2f22c0270ce7bf33b943ec2ac010db17d4f06e253fa8637fbbb3044fe9ffdbfa1e15f0c663eb44bdd538f8c47c2e7dab3ca5
|
DIST jeepney-0.6.0.tar.gz 49513 BLAKE2B e5f9b5104cf07dbcd2d40c2d22b690dfd56c456ab56daf44f4abee83f0bfe7e1dfbad797348044d51e3dc20fbc6ce68bf8df54f9c1e46d7a86ceb22d3ab30f8d SHA512 140be9dd28ed853d2d41b6a8bbeb2f22c0270ce7bf33b943ec2ac010db17d4f06e253fa8637fbbb3044fe9ffdbfa1e15f0c663eb44bdd538f8c47c2e7dab3ca5
|
||||||
DIST jeepney-0.7.0.tar.gz 61236 BLAKE2B ec477ed0d96d7d82a256c7f62900eff0282ebec4545e30807fd62cffb419ed763fd8042bdd4d72c6cf43ac09d24af9cd86797b1baec61ad5965e51b3d669175d SHA512 b1fac480da0d8798b28eae30cb22ee97d4f73a11922f7b1bce86eebf938c2980414c2d026ef5a1cdcd95813724873700d348b04ba337aaac0706b2c8b38ea6c2
|
DIST jeepney-0.7.0.tar.gz 61236 BLAKE2B ec477ed0d96d7d82a256c7f62900eff0282ebec4545e30807fd62cffb419ed763fd8042bdd4d72c6cf43ac09d24af9cd86797b1baec61ad5965e51b3d669175d SHA512 b1fac480da0d8798b28eae30cb22ee97d4f73a11922f7b1bce86eebf938c2980414c2d026ef5a1cdcd95813724873700d348b04ba337aaac0706b2c8b38ea6c2
|
||||||
|
DIST jeepney-0.7.1.tar.gz 61833 BLAKE2B 626d4c921d0548ea898197ac5459f20b4c73fd52d3579c5b74f257158c82803011655c1d418d7d10afe8ba803100530bc08dbcce41e12727888de5be5995adb3 SHA512 f0af5a18a669f1a6322925201cad83ee01bc5a1b91577565042fd8a18b506a3650ff67b0ba333c8fb3b179f43ef243d16b07a9a1f7a7e5baec825dda0e6b0571
|
||||||
|
@ -0,0 +1,55 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
DISTUTILS_USE_SETUPTOOLS=no
|
||||||
|
PYTHON_COMPAT=( pypy3 python3_{8..10} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Low-level, pure Python DBus protocol wrapper"
|
||||||
|
HOMEPAGE="https://gitlab.com/takluyver/jeepney"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~sparc ~x86"
|
||||||
|
IUSE="examples"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/async_timeout[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
||||||
|
dev-python/testpath[${PYTHON_USEDEP}]
|
||||||
|
sys-apps/dbus
|
||||||
|
$(python_gen_cond_dep '
|
||||||
|
dev-python/pytest-trio[${PYTHON_USEDEP}]
|
||||||
|
dev-python/trio[${PYTHON_USEDEP}]
|
||||||
|
' python3_{8..9})
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
distutils_enable_sphinx docs \
|
||||||
|
dev-python/sphinx_rtd_theme
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
local ignore=()
|
||||||
|
# keep in sync with python_gen_cond_dep!
|
||||||
|
if ! has "${EPYTHON}" python3.{8..9}; then
|
||||||
|
ignore+=( jeepney/io/tests/test_trio.py )
|
||||||
|
fi
|
||||||
|
|
||||||
|
dbus-run-session pytest -vv -ra -l ${ignore[@]/#/--ignore } ||
|
||||||
|
die "tests failed with ${EPYTHON}"
|
||||||
|
}
|
||||||
|
|
||||||
|
python_install_all() {
|
||||||
|
if use examples; then
|
||||||
|
docompress -x "/usr/share/doc/${PF}/examples"
|
||||||
|
dodoc -r examples
|
||||||
|
fi
|
||||||
|
distutils-r1_python_install_all
|
||||||
|
}
|
@ -0,0 +1,40 @@
|
|||||||
|
From 5dd1d3cc82d426388c66db8e3761ca2bf99a3991 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Brian <brian@quantrocket.com>
|
||||||
|
Date: Fri, 27 Mar 2020 17:08:50 -0400
|
||||||
|
Subject: [PATCH] import from collections.abc to suppress python 3.7 warning
|
||||||
|
|
||||||
|
---
|
||||||
|
leather/series/base.py | 5 ++++-
|
||||||
|
leather/series/category.py | 5 ++++-
|
||||||
|
2 files changed, 8 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/leather/series/base.py b/leather/series/base.py
|
||||||
|
index c5790e5..959e827 100644
|
||||||
|
--- a/leather/series/base.py
|
||||||
|
+++ b/leather/series/base.py
|
||||||
|
@@ -1,6 +1,9 @@
|
||||||
|
#!/usr/bin/env python
|
||||||
|
|
||||||
|
-from collections import Iterable, Sequence, Mapping
|
||||||
|
+try:
|
||||||
|
+ from collections.abc import Iterable, Sequence, Mapping
|
||||||
|
+except ImportError:
|
||||||
|
+ from collections import Iterable, Sequence, Mapping
|
||||||
|
from functools import partial
|
||||||
|
|
||||||
|
import six
|
||||||
|
diff --git a/leather/series/category.py b/leather/series/category.py
|
||||||
|
index c575308..3678377 100644
|
||||||
|
--- a/leather/series/category.py
|
||||||
|
+++ b/leather/series/category.py
|
||||||
|
@@ -1,6 +1,9 @@
|
||||||
|
#!/usr/bin/env python
|
||||||
|
|
||||||
|
-from collections import Iterable, Sequence, Mapping
|
||||||
|
+try:
|
||||||
|
+ from collections.abc import Iterable, Sequence, Mapping
|
||||||
|
+except ImportError:
|
||||||
|
+ from collections import Iterable, Sequence, Mapping
|
||||||
|
from functools import partial
|
||||||
|
|
||||||
|
import six
|
@ -1,2 +1,3 @@
|
|||||||
DIST python-lsp-server-1.0.1.tar.gz 56835 BLAKE2B 430e215b7d65bff2008136783539c262ee201d651bf83750333d41353483882fe7a603208c2725c89530a34cef22e73fe1ef26ec80fe7fb42d2df79eae511528 SHA512 bf116d92bdebea41e4f6647673d390887d84be70d612b92b8c3973aa55db4b151c1188b06fb8e3b6dccb814fd22f938572e998f0b1329bf0b69d0e4750b8f5f6
|
DIST python-lsp-server-1.0.1.tar.gz 56835 BLAKE2B 430e215b7d65bff2008136783539c262ee201d651bf83750333d41353483882fe7a603208c2725c89530a34cef22e73fe1ef26ec80fe7fb42d2df79eae511528 SHA512 bf116d92bdebea41e4f6647673d390887d84be70d612b92b8c3973aa55db4b151c1188b06fb8e3b6dccb814fd22f938572e998f0b1329bf0b69d0e4750b8f5f6
|
||||||
DIST python-lsp-server-1.1.0.tar.gz 58194 BLAKE2B bc1d542e90a1295e7bddf68d366a738b371895a453e8fb7de5b0d688c49b45b9c3441d479c1f760291e32eedc6fd42cb5ee0966ed32a10ee7f883dee3559932f SHA512 fd9f1985bd55f93740671e83696b02567b12b9b77db14c495482494d23f0a73b2048d99fce9c1be0b7d7c847f213a681d379c342d128a95cf40bd3ffeca9766f
|
DIST python-lsp-server-1.1.0.tar.gz 58194 BLAKE2B bc1d542e90a1295e7bddf68d366a738b371895a453e8fb7de5b0d688c49b45b9c3441d479c1f760291e32eedc6fd42cb5ee0966ed32a10ee7f883dee3559932f SHA512 fd9f1985bd55f93740671e83696b02567b12b9b77db14c495482494d23f0a73b2048d99fce9c1be0b7d7c847f213a681d379c342d128a95cf40bd3ffeca9766f
|
||||||
|
DIST python-lsp-server-1.2.0.tar.gz 61430 BLAKE2B 2fa893eb4318a1e80d14a63c2db1aff240cfefe431d934d0536d4d55b793d0365ba4b1cce820beb8a451a2a846024a08f576e54e2a503ef850fcd4334d38b770 SHA512 5d6266ceb12ad8fe0426f29353bf574705c929c30cf1adf439d5d3a2023d00b077e23ae21cafc46f7ac4c32c9362c545be6193a585d564cfdfc9c51785c8c805
|
||||||
|
@ -0,0 +1,83 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{7..9} )
|
||||||
|
|
||||||
|
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||||
|
inherit distutils-r1 optfeature
|
||||||
|
|
||||||
|
DESCRIPTION="Python Language Server for the Language Server Protocol"
|
||||||
|
HOMEPAGE="https://github.com/python-lsp/python-lsp-server"
|
||||||
|
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||||
|
|
||||||
|
IUSE="all-plugins"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/autopep8[${PYTHON_USEDEP}]
|
||||||
|
dev-python/flaky[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/flake8-3.8.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/mccabe-0.6.0[${PYTHON_USEDEP}]
|
||||||
|
<dev-python/mccabe-0.7.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/numpy[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pandas[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pycodestyle-2.7.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pydocstyle-2.0.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pyflakes-2.3.0[${PYTHON_USEDEP}]
|
||||||
|
<dev-python/pyflakes-2.4.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pylint-2.5.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/QtPy[gui,testlib,${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/rope-0.10.5[${PYTHON_USEDEP}]
|
||||||
|
dev-python/yapf[${PYTHON_USEDEP}]
|
||||||
|
)"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/jedi-0.17.2[${PYTHON_USEDEP}]
|
||||||
|
<dev-python/jedi-0.19.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/python-lsp-jsonrpc-1.0.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pluggy[${PYTHON_USEDEP}]
|
||||||
|
all-plugins? (
|
||||||
|
dev-python/autopep8[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/flake8-3.8.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/mccabe-0.6.0[${PYTHON_USEDEP}]
|
||||||
|
<dev-python/mccabe-0.7.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pycodestyle-2.7.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pydocstyle-2.0.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pyflakes-2.3.0[${PYTHON_USEDEP}]
|
||||||
|
<dev-python/pyflakes-2.4.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pylint-2.5.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/rope-0.10.5[${PYTHON_USEDEP}]
|
||||||
|
dev-python/yapf[${PYTHON_USEDEP}]
|
||||||
|
)
|
||||||
|
"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
python_prepare_all() {
|
||||||
|
# remove pytest-cov dep
|
||||||
|
sed -i -e '0,/addopts/I!d' setup.cfg || die
|
||||||
|
|
||||||
|
# This test is continuously breaking
|
||||||
|
sed -i -e 's/test_folding/_&/' test/plugins/test_folding.py || die
|
||||||
|
|
||||||
|
distutils-r1_python_prepare_all
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
optfeature "Automatically formats Python code to conform to the PEP 8 style guide" dev-python/autopep8
|
||||||
|
optfeature "A wrapper around PyFlakes, pep8 & mccabe" dev-python/flake8
|
||||||
|
optfeature "flake8 plugin: McCabe complexity checker" dev-python/mccabe
|
||||||
|
optfeature "Python style guide checker (fka pep8)" dev-python/pycodestyle
|
||||||
|
optfeature "Python docstring style checker" dev-python/pydocstyle
|
||||||
|
optfeature "Passive checker for Python programs" dev-python/pyflakes
|
||||||
|
optfeature "Python code static checker" dev-python/pylint
|
||||||
|
optfeature "Python refactoring library" dev-python/rope
|
||||||
|
optfeature "A formatter for Python files" dev-python/yapf
|
||||||
|
}
|
@ -0,0 +1,35 @@
|
|||||||
|
From: Arthur Zamarin <arthurzam@gmail.com>
|
||||||
|
Date: Fri, 30 Jul 2021 11:13:41 +0300
|
||||||
|
[PATCH] PyPy3: fix test_empty_array
|
||||||
|
|
||||||
|
As an optimization, PyPy sets empty array.array to use a NULL buffer
|
||||||
|
pointer, while CPython uses empty buffer (but not NULL).
|
||||||
|
Add a very specially crafted fix for PyPy3
|
||||||
|
|
||||||
|
Signed-off-by: Arthur Zamarin <arthurzam@gmail.com>
|
||||||
|
---
|
||||||
|
regex_3/_regex.c | 10 ++++++++++
|
||||||
|
1 file changed, 10 insertions(+)
|
||||||
|
|
||||||
|
--- a/regex_3/_regex.c
|
||||||
|
+++ b/regex_3/_regex.c
|
||||||
|
@@ -18062,9 +18062,19 @@ Py_LOCAL_INLINE(BOOL) get_string(PyObject* string, RE_StringInfo* str_info) {
|
||||||
|
}
|
||||||
|
|
||||||
|
if (!str_info->view.buf) {
|
||||||
|
+#if defined(PYPY_VERSION)
|
||||||
|
+ /* In PyPy3, when the array.array is empty, it's buffer is NULL */
|
||||||
|
+ str_info->characters = NULL;
|
||||||
|
+ str_info->length = 0;
|
||||||
|
+ str_info->charsize = 1;
|
||||||
|
+ str_info->is_unicode = FALSE;
|
||||||
|
+ str_info->should_release = FALSE;
|
||||||
|
+ return TRUE;
|
||||||
|
+#else
|
||||||
|
PyBuffer_Release(&str_info->view);
|
||||||
|
PyErr_SetString(PyExc_ValueError, "buffer is NULL");
|
||||||
|
return FALSE;
|
||||||
|
+#endif
|
||||||
|
}
|
||||||
|
|
||||||
|
str_info->should_release = TRUE;
|
@ -0,0 +1,31 @@
|
|||||||
|
From: Arthur Zamarin <arthurzam@gmail.com>
|
||||||
|
Date: Fri, 30 Jul 2021 11:38:26 +0300
|
||||||
|
[PATCH] PyPy3: fix test_issue_18468
|
||||||
|
|
||||||
|
When using the small subclass classes to test correctness of split
|
||||||
|
results, there are difference between CPython and PyPy3:
|
||||||
|
- CPython returns always the base class (for example str instead
|
||||||
|
of StrSubclass)
|
||||||
|
- PyPy3 returns the same class, so we get an StrSubclass
|
||||||
|
|
||||||
|
Based on the test, it looks like the behaviour of PyPy3 is correct,
|
||||||
|
but the test works based on CPython.
|
||||||
|
|
||||||
|
The fix was to relax the equals type to check that it is a subclass.
|
||||||
|
|
||||||
|
Signed-off-by: Arthur Zamarin <arthurzam@gmail.com>
|
||||||
|
---
|
||||||
|
regex_3/test_regex.py | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
--- a/regex_3/test_regex.py
|
||||||
|
+++ b/regex_3/test_regex.py
|
||||||
|
@@ -52,7 +52,7 @@ class RegexTests(unittest.TestCase):
|
||||||
|
for x, y in zip(actual, expect):
|
||||||
|
recurse(x, y)
|
||||||
|
else:
|
||||||
|
- self.assertIs(type(actual), type(expect), msg)
|
||||||
|
+ self.assertIsInstance(actual, type(expect), msg)
|
||||||
|
|
||||||
|
recurse(actual, expect)
|
||||||
|
|
@ -1,2 +1,3 @@
|
|||||||
DIST spyder-kernels-1.10.2-gh.tar.gz 78924 BLAKE2B 47f0ec284f54590ee9c5a43caeeea61b644fccc6d6222dfbf85187beb9cc141504082dbf50d1d85f5315c8e8e46b9f810253d904b594bb4c52677271b0f7f12d SHA512 4bcbc2646493f384a3f5fad1cc2a42bbe1d06c5225362beb995a73e3c1abe482f3855d844c449b07631b4ffda99492ccbd3cbe69c515ed38d6a98913bea90e2d
|
DIST spyder-kernels-1.10.2-gh.tar.gz 78924 BLAKE2B 47f0ec284f54590ee9c5a43caeeea61b644fccc6d6222dfbf85187beb9cc141504082dbf50d1d85f5315c8e8e46b9f810253d904b594bb4c52677271b0f7f12d SHA512 4bcbc2646493f384a3f5fad1cc2a42bbe1d06c5225362beb995a73e3c1abe482f3855d844c449b07631b4ffda99492ccbd3cbe69c515ed38d6a98913bea90e2d
|
||||||
DIST spyder-kernels-2.0.5-gh.tar.gz 81123 BLAKE2B 390c3c5d8ceee787f6699dd41ecc9e015050db86d0e416e32be28ebe0a62b09c611707ac6427e8cc809303f41a77b7d9289f15d71d0b2a8ce17ff87af79ea5ad SHA512 b44702a0964bde69a9035839e3ca052a4ccc60340de83ccb9f1b0e6b93b73da5554e10b5eb61b8965416130d8f658f1a18fb1164c59cd27134298c16d3442dbe
|
DIST spyder-kernels-2.0.5-gh.tar.gz 81123 BLAKE2B 390c3c5d8ceee787f6699dd41ecc9e015050db86d0e416e32be28ebe0a62b09c611707ac6427e8cc809303f41a77b7d9289f15d71d0b2a8ce17ff87af79ea5ad SHA512 b44702a0964bde69a9035839e3ca052a4ccc60340de83ccb9f1b0e6b93b73da5554e10b5eb61b8965416130d8f658f1a18fb1164c59cd27134298c16d3442dbe
|
||||||
|
DIST spyder-kernels-2.1.0-gh.tar.gz 82069 BLAKE2B 04fdf22f887d43a3c9bdb973588af895f07263ee7fed42d1a8f7b1caa25083c8498c28bbe0cd7f8f744082a94bc2906000b34cd6b5b78cb2ea017d0e2950b5ae SHA512 2261f582de5bff4c28463d4bd056cb64edbadabb352cd39b110d21ea004d3118162ca5f715366235789f41c76e6ccbd9064d7f2f7de77663eda89e583368c8d9
|
||||||
|
@ -0,0 +1,53 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..9} )
|
||||||
|
|
||||||
|
inherit distutils-r1
|
||||||
|
|
||||||
|
DESCRIPTION="Kernels used by spyder on its ipython console"
|
||||||
|
HOMEPAGE="https://github.com/spyder-ide/spyder-kernels/
|
||||||
|
https://pypi.org/project/spyder-kernels/"
|
||||||
|
SRC_URI="https://github.com/spyder-ide/${PN}/archive/v${PV}.tar.gz -> ${P}-gh.tar.gz"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS="~amd64 ~x86"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
dev-python/cloudpickle[${PYTHON_USEDEP}]
|
||||||
|
dev-python/decorator[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/ipykernel-5.3.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/ipython-7.6.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/jupyter_client-5.3.4[${PYTHON_USEDEP}]
|
||||||
|
dev-python/matplotlib-inline[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pyzmq-17[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/wurlitzer-1.0.3[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/cython[${PYTHON_USEDEP}]
|
||||||
|
dev-python/dask[${PYTHON_USEDEP}]
|
||||||
|
dev-python/flaky[${PYTHON_USEDEP}]
|
||||||
|
dev-python/matplotlib[${PYTHON_USEDEP}]
|
||||||
|
dev-python/mock[${PYTHON_USEDEP}]
|
||||||
|
dev-python/numpy[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pandas[${PYTHON_USEDEP}]
|
||||||
|
dev-python/scipy[${PYTHON_USEDEP}]
|
||||||
|
dev-python/xarray[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pillow[${PYTHON_USEDEP}]
|
||||||
|
)"
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
|
||||||
|
python_test() {
|
||||||
|
local deselect=(
|
||||||
|
# we no longer package distributed
|
||||||
|
spyder_kernels/console/tests/test_console_kernel.py::test_dask_multiprocessing
|
||||||
|
)
|
||||||
|
|
||||||
|
epytest ${deselect[@]/#/--deselect }
|
||||||
|
}
|
@ -1,4 +1,6 @@
|
|||||||
DIST spyder-4.2.5.tar.gz 11539071 BLAKE2B 9d7a98da018aae934803d640995fe2dfa6bbb20bfc7140bd00f5e7a00a09c47922fefd8df84f4b217a50176ee190515da6f4cbf498a03cae68e2ac4f5ec70664 SHA512 081b047a45b7522a69b1b21a221ab5cdef47f87f36ed4423ff63297d205f924c1627517c50622acb2d10efa094bc506fed4ec88f861775d3f58e81ac6ef017ac
|
DIST spyder-4.2.5.tar.gz 11539071 BLAKE2B 9d7a98da018aae934803d640995fe2dfa6bbb20bfc7140bd00f5e7a00a09c47922fefd8df84f4b217a50176ee190515da6f4cbf498a03cae68e2ac4f5ec70664 SHA512 081b047a45b7522a69b1b21a221ab5cdef47f87f36ed4423ff63297d205f924c1627517c50622acb2d10efa094bc506fed4ec88f861775d3f58e81ac6ef017ac
|
||||||
DIST spyder-5.0.5.tar.gz 20606379 BLAKE2B 52f05ffcf0b6aabdac23a055af1c674c6aa80a7d4f3608779df1d46e0e51de63a71b4e97db286dc92e071cbb44a0dc827aa750d8ca538e6764b5e780f493d615 SHA512 17654ee76eb51c5f5b9f494d009af3d7813f869f27f22ceb8ad8ca96dcedcbcd6b86c7a3895bb63eba3cc60e4a57ab94128abb8d21f05c4672b8bb8d545fe1ff
|
DIST spyder-5.0.5.tar.gz 20606379 BLAKE2B 52f05ffcf0b6aabdac23a055af1c674c6aa80a7d4f3608779df1d46e0e51de63a71b4e97db286dc92e071cbb44a0dc827aa750d8ca538e6764b5e780f493d615 SHA512 17654ee76eb51c5f5b9f494d009af3d7813f869f27f22ceb8ad8ca96dcedcbcd6b86c7a3895bb63eba3cc60e4a57ab94128abb8d21f05c4672b8bb8d545fe1ff
|
||||||
|
DIST spyder-5.1.0.tar.gz 19777581 BLAKE2B 88b485ebc59f6609b051522c0c28da3ad09956defc22ada3d8db7b4cad46b0dd7445617a92387855d490c3646f1099578a4e2c70deb939d0d5d24516341b10ae SHA512 5bf9a2935cdff4423f1bfa5baadcc6f2eb2a4caf41f1cdf44c02d39199e0a244a3ffbad76f14181f90a844a59df07ee760e5f4bf36cb5f7081b2167f63e88acb
|
||||||
DIST spyder-docs-5eb83118155a3765de4a0f863b936bcbe73bb7aa.tar.gz 85362596 BLAKE2B 7294dcd0f169958da132b141379b9b1cf497095981a86416fb98d98f98e30a425fe2e628a523785f932bbc06a2ba1ecddb45bae0df009887db928f879e08cdef SHA512 45f45546b83afb3036348e89ee3eded4d8ecee36ce58fe697da14677fbff8fa2dfe170be7385ecf10e1989817780c07b5676d545ee34e87a8f252929ad72882e
|
DIST spyder-docs-5eb83118155a3765de4a0f863b936bcbe73bb7aa.tar.gz 85362596 BLAKE2B 7294dcd0f169958da132b141379b9b1cf497095981a86416fb98d98f98e30a425fe2e628a523785f932bbc06a2ba1ecddb45bae0df009887db928f879e08cdef SHA512 45f45546b83afb3036348e89ee3eded4d8ecee36ce58fe697da14677fbff8fa2dfe170be7385ecf10e1989817780c07b5676d545ee34e87a8f252929ad72882e
|
||||||
DIST spyder-docs-78b25754c69a20643258821146e398ad5535c920.tar.gz 69167467 BLAKE2B d2815d552002f329b5fac59329fba3b3b0cd592bcbdacc0878966919e44dbab29548533661e60a1b9b8fd763d57d1e4c2f761782ace1b0a814a5f0cec1f66af9 SHA512 10764367fd5f830d7a3620b9d9e7ec4ab74539c1f48326c0c40f7caff74a50401addc7609fe1558c57dac4649d0a214c0d2d77cecd100bd8574151134e49634d
|
DIST spyder-docs-78b25754c69a20643258821146e398ad5535c920.tar.gz 69167467 BLAKE2B d2815d552002f329b5fac59329fba3b3b0cd592bcbdacc0878966919e44dbab29548533661e60a1b9b8fd763d57d1e4c2f761782ace1b0a814a5f0cec1f66af9 SHA512 10764367fd5f830d7a3620b9d9e7ec4ab74539c1f48326c0c40f7caff74a50401addc7609fe1558c57dac4649d0a214c0d2d77cecd100bd8574151134e49634d
|
||||||
|
DIST spyder-docs-ebf13f362a604c5ac127efcddb74a91610d92f59.tar.gz 85347412 BLAKE2B 3d7ef7a491a974d3255040998716931cf14d88c74af9f44b6a46edea6d75585c4d9683e03dbc4175c237a7baafe409e4a2ba43a0db666c7d4e96b864e2ee58b8 SHA512 c0f50ad9cd721558484c8dce3cd59c503475e814a3d42e8786b4678a449baff46b13c8ec1227fdc8f8b733c856736ecc4652f0a43db36feab27f2fb10355debc
|
||||||
|
@ -0,0 +1,188 @@
|
|||||||
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=7
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{8..9} )
|
||||||
|
DISTUTILS_USE_SETUPTOOLS=rdepend
|
||||||
|
|
||||||
|
inherit optfeature xdg distutils-r1
|
||||||
|
|
||||||
|
# Commit of documentation to fetch
|
||||||
|
DOCS_PV="ebf13f362a604c5ac127efcddb74a91610d92f59"
|
||||||
|
|
||||||
|
DESCRIPTION="The Scientific Python Development Environment"
|
||||||
|
HOMEPAGE="
|
||||||
|
https://www.spyder-ide.org/
|
||||||
|
https://github.com/spyder-ide/spyder/
|
||||||
|
https://pypi.org/project/spyder/
|
||||||
|
"
|
||||||
|
SRC_URI="
|
||||||
|
https://github.com/spyder-ide/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz
|
||||||
|
https://github.com/spyder-ide/${PN}-docs/archive/${DOCS_PV}.tar.gz -> ${PN}-docs-${DOCS_PV}.tar.gz
|
||||||
|
"
|
||||||
|
|
||||||
|
LICENSE="MIT"
|
||||||
|
SLOT="0"
|
||||||
|
KEYWORDS=""
|
||||||
|
|
||||||
|
# The test suite often hangs or does not work. Technically spyder requires
|
||||||
|
# pyqt5<13, which we do not have in ::gentoo any more. Likely this is the reason
|
||||||
|
# many of the tests fail or hang. RESTRICTing because IMO it is not worth the
|
||||||
|
# several hours I spend every single version bump checking which tests do and
|
||||||
|
# do not work. Spyder itself works fine with pyqt5>13.
|
||||||
|
RESTRICT="test"
|
||||||
|
|
||||||
|
RDEPEND="
|
||||||
|
>=dev-python/atomicwrites-1.2.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/chardet-2.0.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-util/cookiecutter-1.6.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/diff-match-patch-20181111[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/intervaltree-3.0.2[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/jsonschema-3.2.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/keyring-17.0.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/nbconvert-4.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/numpydoc-0.6.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pexpect-4.4.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pickleshare-0.4[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/psutil-5.3[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pygments-2.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/python-lsp-black-1.0.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pyls-spyder-0.4.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pyxdg-0.26[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/pyzmq-17[${PYTHON_USEDEP}]
|
||||||
|
~dev-python/qdarkstyle-3.0.2[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/qstylizer-0.1.10[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/qtawesome-1.0.2[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/qtconsole-5.1.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/QtPy-1.5.0[${PYTHON_USEDEP},pyqt5(+),svg,webengine]
|
||||||
|
>=sci-libs/rtree-0.9.7[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/sphinx-0.6.6[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/spyder-kernels-2.1.0[${PYTHON_USEDEP}]
|
||||||
|
<dev-python/spyder-kernels-2.2.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/textdistance-4.2.0[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/three-merge-0.1.1[${PYTHON_USEDEP}]
|
||||||
|
>=dev-python/watchdog-0.10.3[${PYTHON_USEDEP}]
|
||||||
|
"
|
||||||
|
|
||||||
|
BDEPEND="
|
||||||
|
test? (
|
||||||
|
dev-python/cython[${PYTHON_USEDEP}]
|
||||||
|
dev-python/flaky[${PYTHON_USEDEP}]
|
||||||
|
dev-python/matplotlib[tk,${PYTHON_USEDEP}]
|
||||||
|
dev-python/pandas[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pillow[${PYTHON_USEDEP}]
|
||||||
|
<dev-python/pytest-6.0[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-lazy-fixture[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-ordering[${PYTHON_USEDEP}]
|
||||||
|
<dev-python/pytest-qt-4[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pytest-xvfb[${PYTHON_USEDEP}]
|
||||||
|
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||||
|
dev-python/scipy[${PYTHON_USEDEP}]
|
||||||
|
dev-python/sympy[${PYTHON_USEDEP}]
|
||||||
|
)"
|
||||||
|
|
||||||
|
# Based on the courtesy of Arfrever
|
||||||
|
# This patch removes a call to update-desktop-database during build
|
||||||
|
# This fails because access is denied to this command during build
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${PN}-5.0.0-build.patch"
|
||||||
|
"${FILESDIR}/${PN}-5.0.1-doc-theme-renamed.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
DOCS=(
|
||||||
|
"AUTHORS.txt"
|
||||||
|
"Announcements.md"
|
||||||
|
"CHANGELOG.md"
|
||||||
|
"CODE_OF_CONDUCT.md"
|
||||||
|
"CONTRIBUTING.md"
|
||||||
|
"NOTICE.txt"
|
||||||
|
"README.md"
|
||||||
|
"RELEASE.md"
|
||||||
|
)
|
||||||
|
|
||||||
|
distutils_enable_tests pytest
|
||||||
|
distutils_enable_sphinx docs/doc \
|
||||||
|
dev-python/sphinx-panels \
|
||||||
|
dev-python/pydata-sphinx-theme \
|
||||||
|
dev-python/sphinx-multiversion
|
||||||
|
|
||||||
|
python_prepare_all() {
|
||||||
|
# move docs into workdir
|
||||||
|
mv ../spyder-docs-${DOCS_PV}* docs || die
|
||||||
|
|
||||||
|
# these dependencies are packaged separately:
|
||||||
|
# dev-python/spyder-kernels,
|
||||||
|
# dev-python/python-language-server,
|
||||||
|
# dev-python/qdarkstyle
|
||||||
|
rm -r external-deps/* || die
|
||||||
|
# runs against things packaged in external-deps dir
|
||||||
|
rm conftest.py || die
|
||||||
|
|
||||||
|
# Do not depend on pyqt5<5.13, this dependency is carried by QtPy[pyqt5]
|
||||||
|
# Do not depend on pyqtwebengine<5.13, this dependency is carried by QtPy[webengine]
|
||||||
|
# Do not depend on parso and jedi, this is dependency is carried in python-lsp-server
|
||||||
|
# Do not depend on python-lsp-server, this dependency is carried in pyls-spyder
|
||||||
|
# The explicit version requirements only make things more complicated, if e.g.
|
||||||
|
# pyls-spyder gains compatibility with a newer version of python-lsp-server
|
||||||
|
# in a new release it will take time for this information to propagate into
|
||||||
|
# the next spyder release. So just remove the dependency and let the other
|
||||||
|
# ebuilds handle the version requirements to speed things up and prevent
|
||||||
|
# issues such as Bug 803269.
|
||||||
|
sed -i \
|
||||||
|
-e '/pyqt5/d' \
|
||||||
|
-e '/pyqtwebengine/d' \
|
||||||
|
-e '/python-lsp-server/d' \
|
||||||
|
-e '/parso/d' \
|
||||||
|
-e '/jedi/d' \
|
||||||
|
{setup.py,requirements/conda.txt} || die
|
||||||
|
sed -i \
|
||||||
|
-e "/^PYLS_REQVER/c\PYLS_REQVER = '>=0.0.1'" \
|
||||||
|
-e "/^PYLSP_REQVER/c\PYLSP_REQVER = '>=0.0.1'" \
|
||||||
|
-e "/^PARSO_REQVER/c\PARSO_REQVER = '>=0.0.1'" \
|
||||||
|
-e "/^JEDI_REQVER/c\JEDI_REQVER = '>=0.0.1'" \
|
||||||
|
spyder/dependencies.py || die
|
||||||
|
|
||||||
|
# do not check deps, fails because we removed pyqt5 dependency above
|
||||||
|
sed -i -e 's:test_dependencies_for_spyder_setup_install_requires_in_sync:_&:' \
|
||||||
|
spyder/tests/test_dependencies_in_sync.py || die
|
||||||
|
|
||||||
|
# can't check for update, need network
|
||||||
|
rm spyder/workers/tests/test_update.py || die
|
||||||
|
|
||||||
|
# skip online test
|
||||||
|
rm spyder/widgets/github/tests/test_github_backend.py || die
|
||||||
|
|
||||||
|
distutils-r1_python_prepare_all
|
||||||
|
}
|
||||||
|
|
||||||
|
# Calling pytest directly makes the tests freeze after completing even if successful
|
||||||
|
# Exit code is nonzero even upon success, so can't add || die here test results
|
||||||
|
# should be checked for success manually
|
||||||
|
python_test() {
|
||||||
|
"${EPYTHON}" runtests.py
|
||||||
|
}
|
||||||
|
|
||||||
|
pkg_postinst() {
|
||||||
|
xdg_pkg_postinst
|
||||||
|
|
||||||
|
optfeature "2D/3D plotting in the Python and IPython consoles" dev-python/matplotlib
|
||||||
|
optfeature "View and edit DataFrames and Series in the Variable Explorer" dev-python/pandas
|
||||||
|
optfeature "View and edit two or three dimensional arrays in the Variable Explorer" dev-python/numpy
|
||||||
|
optfeature "Symbolic mathematics in the IPython console" dev-python/sympy
|
||||||
|
optfeature "Import Matlab workspace files in the Variable Explorer" dev-python/scipy
|
||||||
|
optfeature "Run Cython files in the IPython console" dev-python/cython
|
||||||
|
optfeature "The hdf5/h5py plugin" dev-python/h5py
|
||||||
|
optfeature "The line profiler plugin" dev-python/spyder-line-profiler
|
||||||
|
optfeature "The memory profiler plugin" dev-python/spyder-memory-profiler
|
||||||
|
# spyder-autopep8 does not have a release (yet)
|
||||||
|
# and are not compatible with >=spyder-4.0.0 at the moment
|
||||||
|
# optfeature "The autopep8 plugin" dev-python/spyder-autopep8
|
||||||
|
optfeature "Vim key bindings" dev-python/spyder-vim
|
||||||
|
optfeature "Unittest support" dev-python/spyder-unittest
|
||||||
|
optfeature "Jupyter notebook support" dev-python/spyder-notebook
|
||||||
|
optfeature "System terminal inside spyder" dev-python/spyder-terminal
|
||||||
|
# spyder-reports not yet updated to >=spyder-4.0.0
|
||||||
|
# optfeature "Markdown reports using Pweave" dev-python/spyder-reports
|
||||||
|
}
|
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
|||||||
DIST gl-117-1.3.2-src.tar.bz2 2411075 BLAKE2B efd2c7b9dd3f71bf0b8b1aac79f90dcc6286301997913346f8ee536b3f5981564438e6a805c658678b5ae0402f84da762b60472ddc553cab49f9ffb421d69993 SHA512 1d2382576c6399d8c84d56ddc7eb2b11b9e1e3ffeebcc1bd30e258ef231626d15d1be649f8c791f30e4f2f78aca2b4290c5d08036c5f482eef01eda8f4f48b5f
|
DIST gl-117-1.3.2-src.tar.bz2 2411075 BLAKE2B efd2c7b9dd3f71bf0b8b1aac79f90dcc6286301997913346f8ee536b3f5981564438e6a805c658678b5ae0402f84da762b60472ddc553cab49f9ffb421d69993 SHA512 1d2382576c6399d8c84d56ddc7eb2b11b9e1e3ffeebcc1bd30e258ef231626d15d1be649f8c791f30e4f2f78aca2b4290c5d08036c5f482eef01eda8f4f48b5f
|
||||||
|
DIST gl117.png 2274 BLAKE2B dfa2b8fe0e858e1f0fa1af27bd8e38d3bba55c31d4c26abe831cd08f01a9d198c2a38ec7c9c1c49af851da24cce692c489220624b93eae0ed4692139c73f8f7d SHA512 374b41af6cb5ec10e3b59b983f28206cb7bc88c3559a24332ef43bd4b135971c0541dbf6f3b5e97c7b7e329bc3d5bbfa5119b9be6cbec243193e5a4ac0220c3b
|
||||||
|
@ -1,37 +1,41 @@
|
|||||||
# Copyright 1999-2016 Gentoo Foundation
|
# Copyright 1999-2021 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=6
|
EAPI=8
|
||||||
inherit eutils
|
|
||||||
|
inherit desktop
|
||||||
|
|
||||||
MY_P="gl-117-${PV}-src"
|
MY_P="gl-117-${PV}-src"
|
||||||
DESCRIPTION="An action flight simulator"
|
|
||||||
HOMEPAGE="http://www.heptargon.de/gl-117/gl-117.html"
|
|
||||||
SRC_URI="mirror://sourceforge/gl-117/${MY_P}.tar.bz2"
|
|
||||||
|
|
||||||
LICENSE="GPL-2"
|
DESCRIPTION="Action flight simulator"
|
||||||
|
HOMEPAGE="https://sourceforge.net/projects/gl-117/"
|
||||||
|
SRC_URI="
|
||||||
|
mirror://sourceforge/gl-117/${MY_P}.tar.bz2
|
||||||
|
https://dev.gentoo.org/~ionen/distfiles/${PN}.png"
|
||||||
|
S="${WORKDIR}/${MY_P}"
|
||||||
|
|
||||||
|
LICENSE="GPL-2+"
|
||||||
SLOT="0"
|
SLOT="0"
|
||||||
KEYWORDS="~amd64 ~x86"
|
KEYWORDS="~amd64 ~x86"
|
||||||
IUSE=""
|
|
||||||
|
|
||||||
DEPEND="
|
RDEPEND="
|
||||||
media-libs/freeglut
|
media-libs/freeglut
|
||||||
media-libs/libsdl[sound,joystick,opengl,video]
|
media-libs/libsdl[joystick,opengl,sound,video]
|
||||||
media-libs/sdl-mixer[mod]
|
media-libs/sdl-mixer[mod]
|
||||||
virtual/glu
|
virtual/glu
|
||||||
virtual/opengl"
|
virtual/opengl"
|
||||||
RDEPEND=${DEPEND}
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
S=${WORKDIR}/${MY_P}
|
|
||||||
|
|
||||||
PATCHES=(
|
PATCHES=(
|
||||||
"${FILESDIR}"/${P}-mode.patch
|
"${FILESDIR}"/${P}-mode.patch
|
||||||
)
|
)
|
||||||
|
|
||||||
src_install() {
|
src_install() {
|
||||||
DOCS="doc/gl-117.pdf AUTHORS ChangeLog FAQ NEWS README" \
|
default
|
||||||
default
|
|
||||||
newicon doc/src/falcon.jpg ${PN}.jpg
|
|
||||||
make_desktop_entry gl-117 GL-117 /usr/share/pixmaps/${PN}.jpg
|
|
||||||
doman doc/gl-117.6
|
doman doc/gl-117.6
|
||||||
|
dodoc doc/gl-117.pdf
|
||||||
|
|
||||||
|
doicon "${DISTDIR}"/${PN}.png
|
||||||
|
make_desktop_entry gl-117 GL-117
|
||||||
}
|
}
|
||||||
|
@ -1 +1,2 @@
|
|||||||
DIST lincity-1.13.1.tar.gz 1064236 BLAKE2B 1172ced3255048f3132f85cd9ae994c7e0558170f7e7a24909af1856669c4ad90d57acd76f330fb556656ed74843dda159005350760fc059c6b184cedf1e9393 SHA512 bc4ee7a1642b1efa25f9edaabd3aeb52d1ca1d016735c5094586f52fda3ec4e9080ff35fe518c1ccbfad9fd54babb370f4b9b6a158b4d2f43b7182155084eefc
|
DIST lincity-1.13.1.tar.gz 1064236 BLAKE2B 1172ced3255048f3132f85cd9ae994c7e0558170f7e7a24909af1856669c4ad90d57acd76f330fb556656ed74843dda159005350760fc059c6b184cedf1e9393 SHA512 bc4ee7a1642b1efa25f9edaabd3aeb52d1ca1d016735c5094586f52fda3ec4e9080ff35fe518c1ccbfad9fd54babb370f4b9b6a158b4d2f43b7182155084eefc
|
||||||
|
DIST lincity.png 5377 BLAKE2B 2238140719a8c1b094fbe6d7b52b9224245f2c36f970e04aa3fcaf6090409145f17dad2c2a83f6528e695fd9d26d9c053c45978502b7e44f73cf25719d7ed3aa SHA512 40a8955fdc8397662ef0d084163e7dcad59e278429792bd7096e193a0d04791c2355a0dbd2c1f72a032bbfc71bc4e27e37a3d0d4e82de8e7170bb70205d983a3
|
||||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue