Sync with portage [Wed Mar 18 22:25:10 MSK 2020].

develop
root 4 years ago
parent d7764395f7
commit 63b7f51276

Binary file not shown.

Binary file not shown.

@ -1 +1,2 @@
DIST xz-5.2.4.tar.gz 1572354 BLAKE2B 877242324afd3c7eb21d3a9414c53843f4d1bb089206e8e545e280b32ff5372f7fb4a1b0c27cb6fdf0d0a27a668e9772ecc3fffc181df95d081ca9c2e987b83b SHA512 e5bf6eb88365d2dbdc774db49261fb9fae0544ed297891fc20f1ed223f4072cb0357cbd98146ac35b6d29410a12b6739bbd111cd57d4a225bef255ed46988578
DIST xz-5.2.5.tar.gz 1791345 BLAKE2B aded57324e129572c41646b3cc3b0b59a459452d9338d9245663b63dac2a463fb1f1b2b1d2d4ad3c09cb71fb8439df52cd94f24db99e782fc899b94a288a3043 SHA512 7443674247deda2935220fbc4dfc7665e5bb5a260be8ad858c8bd7d7b9f0f868f04ea45e62eb17c0a5e6a2de7c7500ad2d201e2d668c48ca29bd9eea5a73a3ce

@ -0,0 +1,89 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Remember: we cannot leverage autotools in this ebuild in order
# to avoid circular deps with autotools
EAPI=7
inherit multilib toolchain-funcs libtool multilib-minimal preserve-libs usr-ldscript
if [[ ${PV} == "9999" ]] ; then
EGIT_REPO_URI="https://git.tukaani.org/xz.git"
inherit git-r3 autotools
SRC_URI=""
BDEPEND="sys-devel/gettext dev-vcs/cvs >=sys-devel/libtool-2" #272880 286068
else
MY_P="${PN/-utils}-${PV/_}"
SRC_URI="https://tukaani.org/xz/${MY_P}.tar.gz"
[[ "${PV}" == *_alpha* ]] || [[ "${PV}" == *_beta* ]] || \
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~ppc-aix ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
S="${WORKDIR}/${MY_P}"
fi
DESCRIPTION="utils for managing LZMA compressed files"
HOMEPAGE="https://tukaani.org/xz/"
# See top-level COPYING file as it outlines the various pieces and their licenses.
LICENSE="public-domain LGPL-2.1+ GPL-2+"
SLOT="0"
IUSE="elibc_FreeBSD +extra-filters nls static-libs +threads"
RDEPEND="!<app-arch/lzma-4.63
!<app-arch/p7zip-4.57"
DEPEND="${RDEPEND}"
# Tests currently do not account for smaller feature set
RESTRICT="!extra-filters? ( test )"
src_prepare() {
default
if [[ ${PV} == "9999" ]] ; then
eautopoint
eautoreconf
else
elibtoolize # to allow building shared libs on Solaris/x64
fi
}
multilib_src_configure() {
local myconf=(
$(use_enable nls)
$(use_enable threads)
$(use_enable static-libs static)
)
multilib_is_native_abi ||
myconf+=( --disable-{xz,xzdec,lzmadec,lzmainfo,lzma-links,scripts} )
if ! use extra-filters; then
myconf+=(
# LZMA1 + LZMA2 for standard .lzma & .xz files
--enable-encoders=lzma1,lzma2
--enable-decoders=lzma1,lzma2
# those are used by default, depending on preset
--enable-match-finders=hc3,hc4,bt4
# CRC64 is used by default, though some (old?) files use CRC32
--enable-checks=crc32,crc64
)
fi
use elibc_FreeBSD && export ac_cv_header_sha256_h=no #545714
ECONF_SOURCE="${S}" econf "${myconf[@]}"
}
multilib_src_install() {
default
gen_usr_ldscript -a lzma
}
multilib_src_install_all() {
find "${ED}" -type f -name '*.la' -delete || die
rm "${ED}"/usr/share/doc/${PF}/COPYING* || die
}
pkg_preinst() {
preserve_old_lib /usr/$(get_libdir)/liblzma$(get_libname 0)
}
pkg_postinst() {
preserve_old_lib_notify /usr/$(get_libdir)/liblzma$(get_libname 0)
}

Binary file not shown.

@ -1,3 +1,2 @@
DIST sysbench-1.0.15.tar.gz 1507930 BLAKE2B d4f18b08a122b8574b916b5ddadf69dd37718ac94642fb8d31582c79788569190a26fad3b3cccaadb695a65a3b9efda59943e32947a709918b3fb6d80aee6cac SHA512 ff68ad15c037006a2a49e3d59062611062336860205816ca6d9cdd20832fc55b631960411caa718dff881e926196046a7317b33e803061868e524a819569d3a2
DIST sysbench-1.0.16.tar.gz 1508595 BLAKE2B 0cd7818097fb617362d79f135a45942ddf3e55435364355b063eea22ec5f1666737d8e887baae237d8a895c1f8d9f0c1dd0d145c6c46f2827d8ce3eba696ca18 SHA512 f86db33dcb46c9a6f696418de6463a597c6635dc66aecb2e2e53948c299dd7d1d4dfcb7c37d78cd024113ae5484dfaf48ff1cc0a4aefbc586976a665b2df1ca6
DIST sysbench-1.0.17.tar.gz 1509044 BLAKE2B 9dcffcd0ee74b75416a5421879c6413b9052d65a63c4c4ef76f6bce620a0df284bcaf67225249b8c549f2ff912dab2a5df224f73153433d359e1245b27d2d715 SHA512 95a6bb7ec9b0fb111bf2844e110b8fb51c006fd68b5bac75c1b80e2ed18e839d6f07f79d55fb5adef67b41d00f67bbf659d129d1cb593d4fd118092b15431815
DIST sysbench-1.0.19.tar.gz 1509412 BLAKE2B ac52c22bad2e7fb38ac53dbcf8df10c8aa2e1ab30cafa4ec747ad7442ed519c15e693314ae60371b2f4d8a9fe455047982121465fe54c3d02524934daca3e387 SHA512 1e88cb8dc679fa2b71dc3310fe058bcce7a154bcbc9d5e9b1936d61a11a27e4b6784157cefb1e3540f6abac5142aad4bbf4b470941cf4f1c6d55a967262c07be

@ -1,61 +0,0 @@
# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit autotools pax-utils
DESCRIPTION="System performance benchmark"
HOMEPAGE="https://github.com/akopytov/sysbench"
SRC_URI="https://github.com/akopytov/sysbench/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="aio mysql postgres test"
RESTRICT="!test? ( test )"
RDEPEND="aio? ( dev-libs/libaio )
mysql? ( dev-db/mysql-connector-c:= )
postgres? ( dev-db/postgresql:= )
dev-lang/luajit:="
DEPEND="${RDEPEND}
dev-libs/concurrencykit
dev-libs/libxslt
sys-devel/libtool
virtual/pkgconfig
test? ( dev-util/cram )"
src_prepare() {
default
# remove bundled libs
rm -r third_party/luajit/luajit third_party/concurrency_kit/ck third_party/cram || die
eautoreconf
}
src_configure() {
local myeconfargs=(
$(use_enable aio)
$(use_with mysql)
$(use_with postgres pgsql)
--without-attachsql
--without-drizzle
--without-oracle
--with-system-luajit
--with-system-ck
)
econf "${myeconfargs[@]}"
}
src_test() {
emake check test
}
src_install() {
default
pax-mark m "${ED}"/usr/bin/${PN}
}

@ -1,4 +1,4 @@
# Copyright 1999-2019 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -18,13 +18,13 @@ RESTRICT="!test? ( test )"
RDEPEND="aio? ( dev-libs/libaio )
mysql? ( dev-db/mysql-connector-c:= )
postgres? ( dev-db/postgresql:= )
dev-lang/luajit:="
dev-lang/luajit:2"
DEPEND="${RDEPEND}
dev-libs/concurrencykit
dev-libs/libxslt
sys-devel/libtool
virtual/pkgconfig
test? ( dev-util/cram )"
BDEPEND="sys-devel/libtool
virtual/pkgconfig"
src_prepare() {
default

Binary file not shown.

@ -1 +1,2 @@
DIST bchunk-1.2.0.tar.gz 15078 BLAKE2B 60d443380ffaa8dd1d025777c91c1374a931f16c8de2219a4ff453ee4d7c6eb235b2380ce1021911636d247a12640214dc40b29f9c9cf917ff4bc4594f189fc4 SHA512 0e1f9daa2dfeff58e2c65ac2767bff804811fa22f70a220747aa873cb01b77b4c6a809736483aa22fb3f2d2a88885469d10fb45af4626069e992a0763a5fcc2d
DIST bchunk-1.2.2.tar.gz 15359 BLAKE2B f3d65392305ea0cc3e8a3b8449beb7bebd23f614445f44350d66fd2104db89e17fcf03f6e01144d0da2c145e2c227bb5385f67dc2d443e38b49754349c549f8f SHA512 94fcc1dea3a38a907b3f209c20f3de54028cc34bf8964d1dccf94faf3ca3851270cc8e052c29a3f04c60e525c029ebfb1c3c04fa85525e20273ac8d72cb317c8

@ -0,0 +1,20 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Convert CD images from bin/cue to iso+wav/cdr"
HOMEPAGE="http://he.fi/bchunk/"
SRC_URI="http://he.fi/bchunk/${P}.tar.gz"
LICENSE="GPL-2+"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~x86-solaris"
DOCS=( "${PN}.spec" README ChangeLog )
src_install() {
dobin "${PN}"
doman "${PN}.1"
einstalldocs
}

Binary file not shown.

@ -6,8 +6,8 @@ EAPI=7
inherit toolchain-funcs
DESCRIPTION="Offline Windows NT Password & Registry Editor"
HOMEPAGE="http://pogostick.net/~pnh/ntpasswd/"
SRC_URI="http://pogostick.net/~pnh/ntpasswd/${PN}-source-${PV}.zip"
HOMEPAGE="https://pogostick.net/~pnh/ntpasswd/"
SRC_URI="https://pogostick.net/~pnh/ntpasswd/${PN}-source-${PV}.zip"
LICENSE="GPL-2 LGPL-2.1"
SLOT="0"

@ -11,7 +11,7 @@ SRC_URI="mirror://kde/stable/${PN}/${PV}/${P}.tar.xz"
LICENSE="LGPL-2.1"
SLOT="2"
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris"
KEYWORDS="amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~sparc-solaris"
IUSE="botan debug doc examples gcrypt gpg logger nss pkcs11 sasl softstore +ssl test"
RESTRICT="!test? ( test )"

@ -1,4 +1,4 @@
# Copyright 1999-2018 Gentoo Authors
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@ -6,8 +6,8 @@ EAPI=7
inherit eutils
DESCRIPTION="Hash cracker that precomputes plaintext - ciphertext pairs in advance"
HOMEPAGE="http://project-rainbowcrack.com/"
SRC_URI="amd64? ( http://project-${PN}.com/${P}-linux64.zip )"
HOMEPAGE="https://project-rainbowcrack.com/"
SRC_URI="amd64? ( https://project-${PN}.com/${P}-linux64.zip )"
LICENSE="all-rights-reserved"
SLOT="0"

Binary file not shown.

@ -1 +0,0 @@
DIST nvi-1.81.6.tar.bz2 1758309 BLAKE2B 7aa9b1a7f5337bb246a4a8779180830efd2fb1cfeda2c0d5fc153393cd683237cdfc2a69ac22b228629561ae2222d4eb36746fae4dfb6b9ff44945265988929a SHA512 7e203f7ea6723427d18ff55361254991f50d395f89aab2ea52d0902c474acb24c289da7c35d9e907d652145f13483d8a8270f5c8ee72bd723a3b1eaeecc4f9fd

@ -1,12 +0,0 @@
diff -uNr nvi-1.81.6.orig/dist/configure.in nvi-1.81.6/dist/configure.in
--- nvi-1.81.6.orig/dist/configure.in 2013-07-09 16:54:56.000000000 -0400
+++ nvi-1.81.6/dist/configure.in 2013-07-09 16:59:35.000000000 -0400
@@ -4,7 +4,7 @@
AC_INIT(../common/main.c)
AC_CONFIG_AUX_DIR(.)
AM_INIT_AUTOMAKE(vi, 1.81.6)
-AM_CONFIG_HEADER(config.h)
+AC_CONFIG_HEADER(config.h)
dnl Configure setup.
AC_PROG_INSTALL()

@ -1,26 +0,0 @@
--- a/common/exf.c
+++ b/common/exf.c
@@ -228,13 +228,18 @@
/*
* XXX
* A seat of the pants calculation: try to keep the file in
- * 15 pages or less. Don't use a page size larger than 10K
+ * 15 pages or less. Don't use a page size larger than 8K
- * (vi should have good locality) or smaller than 1K.
+ * (vi should have good locality) or smaller than 1K. DB asks
+ * for a power of two, so give it one.
*/
psize = ((sb.st_size / 15) + 1023) / 1024;
- if (psize > 10)
+ if (psize >= 8)
- psize = 10;
+ psize = 8;
+ else if (psize >= 4)
+ psize = 4;
+ else if (psize >= 2)
+ psize = 2;
- if (psize == 0)
+ else
psize = 1;
psize *= 1024;

@ -1,38 +0,0 @@
First part is adapted from http://cvsweb.se.netbsd.org/cgi-bin/bsdweb.cgi/pkgsrc/editors/nvi/patches/patch-aa?rev=1.3;content-type=text/plain
--- a/common/db.h
+++ b/common/db.h
@@ -4,7 +4,7 @@
#define DB_BUFFER_SMALL ENOMEM
#endif
-#if DB_VERSION_MAJOR >= 3 && DB_VERSION_MINOR >= 1
+#if (DB_VERSION_MAJOR >= 3 && DB_VERSION_MINOR >= 1) || DB_VERSION_MAJOR > 3
#define db_env_open(env,path,flags,mode) \
(env)->open(env, path, flags, mode)
#define db_env_remove(env,path,flags) \
@@ -16,7 +16,10 @@
(env)->remove(env, path, NULL, flags)
#endif
-#if DB_VERSION_MAJOR >= 4 && DB_VERSION_MINOR >= 1
+# if (DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 4) || DB_VERSION_MAJOR > 4
+#define db_open(db,file,type,flags,mode) \
+ (db)->open(db, NULL, file, NULL, type, flags | DB_CREATE, mode)
+#elif DB_VERSION_MAJOR == 4 && DB_VERSION_MINOR >= 1
#define db_open(db,file,type,flags,mode) \
(db)->open(db, NULL, file, NULL, type, flags, mode)
#else
--- a/common/msg.c
+++ b/common/msg.c
@@ -724,7 +724,8 @@
p = buf;
} else
p = file;
- if ((sp->db_error = db_create(&db, 0, 0)) != 0 ||
+ if (access(p, R_OK) != 0 ||
+ (sp->db_error = db_create(&db, 0, 0)) != 0 ||
(sp->db_error = db->set_re_source(db, p)) != 0 ||
(sp->db_error = db_open(db, NULL, DB_RECNO, 0, 0)) != 0) {
if (first) {

@ -1,94 +0,0 @@
--- a/dist/configure.in
+++ b/dist/configure.in
@@ -105,7 +105,7 @@
dnl A/UX has a broken getopt(3), strpbrk(3).
case "$host_os" in
-aux*) LIBOBJS="getopt.o strpbrk.o $LIBOBJS";;
+aux*) LIBOBJS="libvi_la-getopt.o libvi_la-strpbrk.o $LIBOBJS";;
esac
dnl Ultrix has a broken POSIX.1 VDISABLE value.
@@ -434,7 +434,7 @@
-e 'ldopts'`
perlldflags=`cd $srcdir;$vi_cv_path_perl -MExtUtils::Embed \
-e 'ccdlflags'`
- LIBOBJS="perl.o perlxsi.o perlsfio.o $LIBOBJS"
+ LIBOBJS="libvi_la-perl.o libvi_la-perlxsi.o libvi_la-perlsfio.o $LIBOBJS"
AC_DEFINE(HAVE_PERL_INTERP)
AC_CACHE_CHECK([whether we need to use perl's setenv],
vi_cv_perl_setenv, [
@@ -471,7 +471,7 @@
AC_MSG_ERROR([No Tcl library found;])
fi
. $vi_cv_tclconfig
- LIBOBJS="tcl.o $LIBOBJS"
+ LIBOBJS="libvi_la-tcl.o $LIBOBJS"
LIBS="$TCL_LIB_SPEC $TCL_LIBS $LIBS"
AC_DEFINE(HAVE_TCL_INTERP)
fi
@@ -607,12 +607,12 @@
dnl If we needed setenv or unsetenv, add in the clib/env.c replacement file.
if test "$need_env" = yes; then
- LIBOBJS="env.o $LIBOBJS"
+ LIBOBJS="libvi_la-env.o $LIBOBJS"
fi
dnl If we need strsep, add it and define it so we get a prototype.
if test "$need_strsep" = yes; then
- LIBOBJS="strsep.o $LIBOBJS"
+ LIBOBJS="libvi_la-strsep.o $LIBOBJS"
fi
dnl Check for fcntl/flock
@@ -1003,7 +1003,7 @@
PATH="$OLDPATH"
AC_DEFINE(USE_DYNAMIC_LOADING)
- LIBOBJS="dldb.o $LIBOBJS"
+ LIBOBJS="libvi_la-dldb.o $LIBOBJS"
dl_src=../common/dldb.c
LIBS="-ldl $LIBS"
else
@@ -1046,9 +1046,9 @@
CPPFLAGS="-I$vi_cv_dbsrc/include_auto $CPPFLAGS"
CPPFLAGS="-I$with_db_build $CPPFLAGS"
AC_DEFINE(USE_DB4_LOGGING)
- LIBOBJS="log4.o vi_auto.o vi_rec.o $LIBOBJS"
+ LIBOBJS="libvi_la-log4.o libvi_la-vi_auto.o libvi_la-vi_rec.o $LIBOBJS"
else
- LIBOBJS="log.o $LIBOBJS"
+ LIBOBJS="libvi_la-log.o $LIBOBJS"
fi
dnl We compile in nvi's RE routines unless the user specifies otherwise.
@@ -1064,7 +1064,7 @@
case "$vi_cv_re_lib" in
"bundled RE")
CPPFLAGS="-I\$(visrcdir)/regex $CPPFLAGS"
- LIBOBJS="regcomp.o regerror.o regexec.o regfree.o $LIBOBJS";;
+ LIBOBJS="libvi_la-regcomp.o libvi_la-regerror.o libvi_la-regexec.o libvi_la-regfree.o $LIBOBJS";;
"other RE")
;;
esac
--- a/dist/Makefile.am
+++ b/dist/Makefile.am
@@ -169,12 +169,15 @@
$(visrcdir)/common/pthread.c \
$(visrcdir)/common/vi_auto.c \
$(visrcdir)/common/vi_rec.c \
- $(visrcdir)/perl_api/perl.xs \
+ perl.c \
$(visrcdir)/perl_api/perlsfio.c \
+ perlxsi.c \
$(visrcdir)/tcl_api/tcl.c
# Is this the way to do it ?
libvi_la_DEPENDENCIES = @LTLIBOBJS@
-libvi_la_LIBADD = @LTLIBOBJS@
+libvi_la_LIBADD = @LTLIBOBJS@ @perllibs@
+libvi_la_CPPFLAGS = @perlldflags@ $(AM_CPPFLAGS)
+libvi_la_LDFLAGS = @perlldflags@
bin_PROGRAMS = @vi_programs@ @vi_ipc@
EXTRA_PROGRAMS = vi vi-ipc vi-motif vi-gtk

@ -1,20 +0,0 @@
--- a/perl_api/perlsfio.c
+++ b/perl_api/perlsfio.c
@@ -32,6 +32,7 @@
/* perl redefines them
* avoid warnings
*/
+#undef re_compile
#undef USE_DYNAMIC_LOADING
#undef DEBUG
#undef PACKAGE
--- a/perl_api/perl.xs
+++ b/perl_api/perl.xs
@@ -38,6 +38,7 @@
/* perl redefines them
* avoid warnings
*/
+#undef re_compile
#undef USE_DYNAMIC_LOADING
#undef DEBUG
#undef PACKAGE

@ -1,14 +0,0 @@
lno and last are uint32_t which might be different from unsigned long
--- a/common/msg.c
+++ b/common/msg.c
@@ -640,7 +640,8 @@ msgq_status(SCR *sp, db_recno_t lno, u_i
p += len;
} else {
t = msg_cat(sp, "027|line %lu of %lu [%ld%%]", &len);
- (void)sprintf(p, t, lno, last, (lno * 100) / last);
+ (void)sprintf(p, t, (u_long)lno, (u_long)last,
+ ((long)lno * 100L) / (long)last);
p += strlen(p);
}
} else {

@ -1,499 +0,0 @@
Created by: Karl Hakimian
Added by: Jesus Rivero <neurogeek@gentoo.org>
Added on: Feb 18, 2015
diff -rupN nvi-1.81.6.orig/common/api.c nvi-1.81.6/common/api.c
--- nvi-1.81.6.orig/common/api.c 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/common/api.c 2015-02-17 11:04:50.199111784 -0800
@@ -423,7 +423,7 @@ api_opts_get(SCR *sp, CHAR_T *name, char
switch (op->type) {
case OPT_0BOOL:
case OPT_1BOOL:
- MALLOC_RET(sp, *value, char *, STRLEN(op->name) + 2 + 1);
+ MALLOC_RET(sp, *value, char *, NVI_STRLEN(op->name) + 2 + 1);
(void)sprintf(*value,
"%s"WS, O_ISSET(sp, offset) ? "" : "no", op->name);
if (boolvalue != NULL)
diff -rupN nvi-1.81.6.orig/common/msg.c nvi-1.81.6/common/msg.c
--- nvi-1.81.6.orig/common/msg.c 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/common/msg.c 2015-02-17 11:04:50.203891722 -0800
@@ -378,7 +378,7 @@ msgq_wstr(SCR *sp, mtype_t mtype, CHAR_T
msgq(sp, mtype, fmt);
return;
}
- INT2CHAR(sp, str, STRLEN(str) + 1, nstr, nlen);
+ INT2CHAR(sp, str, NVI_STRLEN(str) + 1, nstr, nlen);
msgq_str(sp, mtype, nstr, fmt);
}
diff -rupN nvi-1.81.6.orig/common/multibyte.h nvi-1.81.6/common/multibyte.h
--- nvi-1.81.6.orig/common/multibyte.h 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/common/multibyte.h 2015-02-17 11:04:50.204262910 -0800
@@ -12,7 +12,7 @@ typedef wchar_t CHAR_T;
typedef u_int UCHAR_T;
#define RCHAR_BIT 24
-#define STRLEN wcslen
+#define NVI_STRLEN wcslen
#define STRTOL wcstol
#define STRTOUL wcstoul
#define SPRINTF swprintf
@@ -31,7 +31,7 @@ typedef u_char CHAR_T;
typedef u_char UCHAR_T;
#define RCHAR_BIT CHAR_BIT
-#define STRLEN strlen
+#define NVI_STRLEN strlen
#define STRTOL strtol
#define STRTOUL strtoul
#define SPRINTF snprintf
diff -rupN nvi-1.81.6.orig/common/options.c nvi-1.81.6/common/options.c
--- nvi-1.81.6.orig/common/options.c 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/common/options.c 2015-02-17 11:04:50.195900457 -0800
@@ -315,7 +315,7 @@ opts_init(SCR *sp, int *oargs)
/* Set numeric and string default values. */
#define OI(indx, str) { \
- a.len = STRLEN(str); \
+ a.len = NVI_STRLEN(str); \
if ((CHAR_T*)str != b2) /* GCC puts strings in text-space. */ \
(void)MEMCPY(b2, str, a.len+1); \
if (opts_set(sp, argv, NULL)) { \
@@ -620,10 +620,10 @@ opts_set(SCR *sp, ARGS **argv, char *usa
goto badnum;
if ((nret =
nget_uslong(sp, &value, sep, &endp, 10)) != NUM_OK) {
- INT2CHAR(sp, name, STRLEN(name) + 1,
+ INT2CHAR(sp, name, NVI_STRLEN(name) + 1,
np, nlen);
p2 = msg_print(sp, np, &nf);
- INT2CHAR(sp, sep, STRLEN(sep) + 1,
+ INT2CHAR(sp, sep, NVI_STRLEN(sep) + 1,
np, nlen);
t2 = msg_print(sp, np, &nf2);
switch (nret) {
@@ -647,10 +647,10 @@ opts_set(SCR *sp, ARGS **argv, char *usa
break;
}
if (*endp && !ISBLANK(*endp)) {
-badnum: INT2CHAR(sp, name, STRLEN(name) + 1,
+badnum: INT2CHAR(sp, name, NVI_STRLEN(name) + 1,
np, nlen);
p2 = msg_print(sp, np, &nf);
- INT2CHAR(sp, sep, STRLEN(sep) + 1,
+ INT2CHAR(sp, sep, NVI_STRLEN(sep) + 1,
np, nlen);
t2 = msg_print(sp, np, &nf2);
msgq(sp, M_ERR,
@@ -680,7 +680,7 @@ badnum: INT2CHAR(sp, name, STRLEN(nam
break;
/* Report to subsystems. */
- INT2CHAR(sp, sep, STRLEN(sep) + 1, np, nlen);
+ INT2CHAR(sp, sep, NVI_STRLEN(sep) + 1, np, nlen);
if (op->func != NULL &&
op->func(sp, spo, np, &value) ||
ex_optchange(sp, offset, np, &value) ||
@@ -712,7 +712,7 @@ badnum: INT2CHAR(sp, name, STRLEN(nam
* Do nothing if the value is unchanged, the underlying
* functions can be expensive.
*/
- INT2CHAR(sp, sep, STRLEN(sep) + 1, np, nlen);
+ INT2CHAR(sp, sep, NVI_STRLEN(sep) + 1, np, nlen);
if (!F_ISSET(op, OPT_ALWAYS) &&
O_STR(sp, offset) != NULL &&
!strcmp(O_STR(sp, offset), np))
@@ -879,7 +879,7 @@ opts_dump(SCR *sp, enum optdisp type)
}
F_CLR(&sp->opts[cnt], OPT_SELECTED);
- curlen = STRLEN(op->name);
+ curlen = NVI_STRLEN(op->name);
switch (op->type) {
case OPT_0BOOL:
case OPT_1BOOL:
@@ -1049,7 +1049,7 @@ opts_search(CHAR_T *name)
* Check to see if the name is the prefix of one (and only one)
* option. If so, return the option.
*/
- len = STRLEN(name);
+ len = NVI_STRLEN(name);
for (found = NULL, op = optlist; op->name != NULL; ++op) {
if (op->name[0] < name[0])
continue;
diff -rupN nvi-1.81.6.orig/dist/tags nvi-1.81.6/dist/tags
--- nvi-1.81.6.orig/dist/tags 2007-11-18 08:43:55.000000000 -0800
+++ nvi-1.81.6/dist/tags 2015-02-17 11:04:50.225314084 -0800
@@ -1068,8 +1068,8 @@ SPRINTF ../common/multibyte.h 37;" d
STANDARD_TAB ../common/key.h 213;" d
STRCMP ../common/multibyte.h 19;" d
STRCMP ../common/multibyte.h 38;" d
-STRLEN ../common/multibyte.h 15;" d
-STRLEN ../common/multibyte.h 34;" d
+NVI_STRLEN ../common/multibyte.h 15;" d
+NVI_STRLEN ../common/multibyte.h 34;" d
STRPBRK ../common/multibyte.h 20;" d
STRPBRK ../common/multibyte.h 39;" d
STRSET ../common/multibyte.h 22;" d
diff -rupN nvi-1.81.6.orig/ex/ex_argv.c nvi-1.81.6/ex/ex_argv.c
--- nvi-1.81.6.orig/ex/ex_argv.c 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/ex/ex_argv.c 2015-02-17 11:04:50.267171388 -0800
@@ -217,7 +217,7 @@ argv_exp2(SCR *sp, EXCMD *excp, CHAR_T *
*p = '\0';
INT2CHAR(sp, bp + SHELLOFFSET,
- STRLEN(bp + SHELLOFFSET) + 1, np, nlen);
+ NVI_STRLEN(bp + SHELLOFFSET) + 1, np, nlen);
d = strdup(np);
rval = argv_lexp(sp, excp, d);
free (d);
@@ -332,7 +332,7 @@ argv_fexp(SCR *sp, EXCMD *excp, CHAR_T *
"115|No previous command to replace \"!\"");
return (1);
}
- len += tlen = STRLEN(exp->lastbcomm);
+ len += tlen = NVI_STRLEN(exp->lastbcomm);
off = p - bp;
ADD_SPACE_RETW(sp, bp, blen, len);
p = bp + off;
@@ -683,7 +683,7 @@ err: if (ifp != NULL)
* XXX
* Assume that all shells have -c.
*/
- INT2CHAR(sp, bp, STRLEN(bp)+1, np, nlen);
+ INT2CHAR(sp, bp, NVI_STRLEN(bp)+1, np, nlen);
execl(sh_path, sh, "-c", np, (char *)NULL);
msgq_str(sp, M_SYSERR, sh_path, "118|Error: execl: %s");
_exit(127);
diff -rupN nvi-1.81.6.orig/ex/ex_cscope.c nvi-1.81.6/ex/ex_cscope.c
--- nvi-1.81.6.orig/ex/ex_cscope.c 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/ex/ex_cscope.c 2015-02-17 11:04:50.261539058 -0800
@@ -140,7 +140,7 @@ ex_cscope(SCR *sp, EXCMD *cmdp)
for (; *p && isspace(*p); ++p);
}
- INT2CHAR(sp, cmd, STRLEN(cmd) + 1, np, nlen);
+ INT2CHAR(sp, cmd, NVI_STRLEN(cmd) + 1, np, nlen);
if ((ccp = lookup_ccmd(np)) == NULL) {
usage: msgq(sp, M_ERR, "309|Use \"cscope help\" for help");
return (1);
@@ -214,7 +214,7 @@ cscope_add(SCR *sp, EXCMD *cmdp, CHAR_T
* >1 additional args: object, too many args.
*/
cur_argc = cmdp->argc;
- if (argv_exp2(sp, cmdp, dname, STRLEN(dname))) {
+ if (argv_exp2(sp, cmdp, dname, NVI_STRLEN(dname))) {
return (1);
}
if (cmdp->argc == cur_argc) {
@@ -228,7 +228,7 @@ cscope_add(SCR *sp, EXCMD *cmdp, CHAR_T
return (1);
}
- INT2CHAR(sp, dname, STRLEN(dname)+1, np, nlen);
+ INT2CHAR(sp, dname, NVI_STRLEN(dname)+1, np, nlen);
/*
* The user can specify a specific file (so they can have multiple
@@ -471,7 +471,7 @@ cscope_find(SCR *sp, EXCMD *cmdp, CHAR_T
}
/* Create the cscope command. */
- INT2CHAR(sp, pattern, STRLEN(pattern) + 1, np, nlen);
+ INT2CHAR(sp, pattern, NVI_STRLEN(pattern) + 1, np, nlen);
np = strdup(np);
if ((tqp = create_cs_cmd(sp, np, &search)) == NULL)
goto err;
@@ -801,7 +801,7 @@ cscope_help(SCR *sp, EXCMD *cmdp, CHAR_T
char *np;
size_t nlen;
- INT2CHAR(sp, subcmd, STRLEN(subcmd) + 1, np, nlen);
+ INT2CHAR(sp, subcmd, NVI_STRLEN(subcmd) + 1, np, nlen);
return (csc_help(sp, np));
}
@@ -842,7 +842,7 @@ cscope_kill(SCR *sp, EXCMD *cmdp, CHAR_T
char *np;
size_t nlen;
- INT2CHAR(sp, cn, STRLEN(cn) + 1, np, nlen);
+ INT2CHAR(sp, cn, NVI_STRLEN(cn) + 1, np, nlen);
return (terminate(sp, NULL, atoi(np)));
}
diff -rupN nvi-1.81.6.orig/ex/ex_filter.c nvi-1.81.6/ex/ex_filter.c
--- nvi-1.81.6.orig/ex/ex_filter.c 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/ex/ex_filter.c 2015-02-17 11:04:50.263257613 -0800
@@ -138,7 +138,7 @@ err: if (input[0] != -1)
else
++name;
- INT2SYS(sp, cmd, STRLEN(cmd)+1, np, nlen);
+ INT2SYS(sp, cmd, NVI_STRLEN(cmd)+1, np, nlen);
execl(O_STR(sp, O_SHELL), name, "-c", np, (char *)NULL);
msgq_str(sp, M_SYSERR, O_STR(sp, O_SHELL), "execl: %s");
_exit (127);
@@ -283,7 +283,7 @@ err: if (input[0] != -1)
* Ignore errors on vi file reads, to make reads prettier. It's
* completely inconsistent, and historic practice.
*/
-uwait: INT2CHAR(sp, cmd, STRLEN(cmd) + 1, np, nlen);
+uwait: INT2CHAR(sp, cmd, NVI_STRLEN(cmd) + 1, np, nlen);
return (proc_wait(sp, (long)utility_pid, np,
ftype == FILTER_READ && F_ISSET(sp, SC_VI) ? 1 : 0, 0) || rval);
}
diff -rupN nvi-1.81.6.orig/ex/ex_init.c nvi-1.81.6/ex/ex_init.c
--- nvi-1.81.6.orig/ex/ex_init.c 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/ex/ex_init.c 2015-02-17 11:04:50.279419412 -0800
@@ -61,7 +61,7 @@ ex_screen_copy(SCR *orig, SCR *sp)
if (oexp->lastbcomm != NULL &&
(nexp->lastbcomm = v_wstrdup(sp, oexp->lastbcomm,
- STRLEN(oexp->lastbcomm))) == NULL) {
+ NVI_STRLEN(oexp->lastbcomm))) == NULL) {
msgq(sp, M_SYSERR, NULL);
return(1);
}
diff -rupN nvi-1.81.6.orig/ex/ex_tag.c nvi-1.81.6/ex/ex_tag.c
--- nvi-1.81.6.orig/ex/ex_tag.c 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/ex/ex_tag.c 2015-02-17 11:04:50.275254557 -0800
@@ -68,7 +68,7 @@ ex_tag_first(SCR *sp, CHAR_T *tagarg)
/* Build an argument for the ex :tag command. */
ex_cinit(sp, &cmd, C_TAG, 0, OOBLNO, OOBLNO, 0);
- argv_exp0(sp, &cmd, tagarg, STRLEN(tagarg));
+ argv_exp0(sp, &cmd, tagarg, NVI_STRLEN(tagarg));
/*
* XXX
@@ -115,7 +115,7 @@ ex_tag_push(SCR *sp, EXCMD *cmdp)
/* Taglength may limit the number of characters. */
if ((tl =
- O_VAL(sp, O_TAGLENGTH)) != 0 && STRLEN(exp->tag_last) > tl)
+ O_VAL(sp, O_TAGLENGTH)) != 0 && NVI_STRLEN(exp->tag_last) > tl)
exp->tag_last[tl] = '\0';
break;
case 0:
@@ -587,7 +587,7 @@ ex_tag_copy(SCR *orig, SCR *sp)
/* Copy the last tag. */
if (oexp->tag_last != NULL &&
(nexp->tag_last = v_wstrdup(sp, oexp->tag_last,
- STRLEN(oexp->tag_last))) == NULL) {
+ NVI_STRLEN(oexp->tag_last))) == NULL) {
msgq(sp, M_SYSERR, NULL);
return (1);
}
@@ -997,7 +997,7 @@ ctag_slist(SCR *sp, CHAR_T *tag)
exp = EXP(sp);
/* Allocate and initialize the tag queue structure. */
- INT2CHAR(sp, tag, STRLEN(tag) + 1, np, nlen);
+ INT2CHAR(sp, tag, NVI_STRLEN(tag) + 1, np, nlen);
len = nlen - 1;
CALLOC_GOTO(sp, tqp, TAGQ *, 1, sizeof(TAGQ) + len + 1);
CIRCLEQ_INIT(&tqp->tagq);
diff -rupN nvi-1.81.6.orig/ex/ex_util.c nvi-1.81.6/ex/ex_util.c
--- nvi-1.81.6.orig/ex/ex_util.c 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/ex/ex_util.c 2015-02-17 11:04:50.268378054 -0800
@@ -153,7 +153,7 @@ ex_wemsg(SCR* sp, CHAR_T *p, exm_t which
char *np;
size_t nlen;
- if (p) INT2CHAR(sp, p, STRLEN(p), np, nlen);
+ if (p) INT2CHAR(sp, p, NVI_STRLEN(p), np, nlen);
else np = NULL;
ex_emsg(sp, np, which);
}
diff -rupN nvi-1.81.6.orig/ex/ex_write.c nvi-1.81.6/ex/ex_write.c
--- nvi-1.81.6.orig/ex/ex_write.c 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/ex/ex_write.c 2015-02-17 11:04:50.277249383 -0800
@@ -158,7 +158,7 @@ exwr(SCR *sp, EXCMD *cmdp, enum which cm
ex_emsg(sp, cmdp->cmd->usage, EXM_USAGE);
return (1);
}
- if (argv_exp1(sp, cmdp, p, STRLEN(p), 1))
+ if (argv_exp1(sp, cmdp, p, NVI_STRLEN(p), 1))
return (1);
/*
@@ -203,7 +203,7 @@ exwr(SCR *sp, EXCMD *cmdp, enum which cm
&cmdp->addr1, &cmdp->addr2, NULL, flags));
/* Build an argv so we get an argument count and file expansion. */
- if (argv_exp2(sp, cmdp, p, STRLEN(p)))
+ if (argv_exp2(sp, cmdp, p, NVI_STRLEN(p)))
return (1);
/*
@@ -255,7 +255,7 @@ exwr(SCR *sp, EXCMD *cmdp, enum which cm
set_alt_name(sp, name);
break;
default:
- INT2CHAR(sp, p, STRLEN(p) + 1, n, nlen);
+ INT2CHAR(sp, p, NVI_STRLEN(p) + 1, n, nlen);
ex_emsg(sp, n, EXM_FILECOUNT);
return (1);
}
diff -rupN nvi-1.81.6.orig/ip/ip_term.c nvi-1.81.6/ip/ip_term.c
--- nvi-1.81.6.orig/ip/ip_term.c 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/ip/ip_term.c 2015-02-17 11:04:50.280203225 -0800
@@ -127,7 +127,7 @@ ip_optchange(SCR *sp, int offset, char *
ipb.code = SI_EDITOPT;
ipb.str1 = (char*)opt->name;
- ipb.len1 = STRLEN(opt->name) * sizeof(CHAR_T);
+ ipb.len1 = NVI_STRLEN(opt->name) * sizeof(CHAR_T);
(void)vi_send(ipp->o_fd, "ab1", &ipb);
return (0);
diff -rupN nvi-1.81.6.orig/perl_api/perl.xs nvi-1.81.6/perl_api/perl.xs
--- nvi-1.81.6.orig/perl_api/perl.xs 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/perl_api/perl.xs 2015-02-17 11:04:50.189684363 -0800
@@ -326,7 +326,7 @@ perl_ex_perl(scrp, cmdp, cmdlen, f_lno,
newVIrv(pp->svid, scrp);
istat = signal(SIGINT, my_sighandler);
- INT2CHAR(scrp, cmdp, STRLEN(cmdp)+1, np, nlen);
+ INT2CHAR(scrp, cmdp, NVI_STRLEN(cmdp)+1, np, nlen);
perl_eval(np);
signal(SIGINT, istat);
@@ -421,7 +421,7 @@ perl_ex_perldo(scrp, cmdp, cmdlen, f_lno
/* Backwards compatibility. */
newVIrv(pp->svid, scrp);
- INT2CHAR(scrp, cmdp, STRLEN(cmdp)+1, np, nlen);
+ INT2CHAR(scrp, cmdp, NVI_STRLEN(cmdp)+1, np, nlen);
if (!(command = malloc(length = nlen - 1 + sizeof("sub {}"))))
return 1;
snprintf(command, length, "sub {%s}", np);
diff -rupN nvi-1.81.6.orig/regex/engine.c nvi-1.81.6/regex/engine.c
--- nvi-1.81.6.orig/regex/engine.c 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/regex/engine.c 2015-02-17 11:04:50.181456859 -0800
@@ -161,7 +161,7 @@ int eflags;
stop = string + pmatch[0].rm_eo;
} else {
start = string;
- stop = start + STRLEN(start);
+ stop = start + NVI_STRLEN(start);
}
if (stop < start)
return(REG_INVARG);
diff -rupN nvi-1.81.6.orig/regex/regcomp.c nvi-1.81.6/regex/regcomp.c
--- nvi-1.81.6.orig/regex/regcomp.c 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/regex/regcomp.c 2015-02-17 11:04:50.175705539 -0800
@@ -198,7 +198,7 @@ regcomp(regex_t *preg, const RCHAR_T *pa
return(REG_INVARG);
len = preg->re_endp - pattern;
} else
- len = STRLEN(pattern);
+ len = NVI_STRLEN(pattern);
/* do the mallocs early so failure handling is easy */
g = (struct re_guts *)malloc(sizeof(struct re_guts) +
@@ -818,7 +818,7 @@ p_b_cclass(register struct parse *p, reg
NEXT();
len = p->next - sp;
for (cp = cclasses; cp->name != NULL; cp++)
- if (STRLEN(cp->name) == len && MEMCMP(cp->name, sp, len))
+ if (NVI_STRLEN(cp->name) == len && MEMCMP(cp->name, sp, len))
break;
if (cp->name == NULL) {
/* oops, didn't find it */
@@ -889,7 +889,7 @@ p_b_coll_elem(register struct parse *p,
}
len = p->next - sp;
for (cp = cnames; cp->name != NULL; cp++)
- if (STRLEN(cp->name) == len && MEMCMP(cp->name, sp, len))
+ if (NVI_STRLEN(cp->name) == len && MEMCMP(cp->name, sp, len))
return(cp->code); /* known name */
if (len == 1)
return(*sp); /* single character */
diff -rupN nvi-1.81.6.orig/vi/v_event.c nvi-1.81.6/vi/v_event.c
--- nvi-1.81.6.orig/vi/v_event.c 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/vi/v_event.c 2015-02-17 11:04:50.242966563 -0800
@@ -97,7 +97,7 @@ v_editopt(SCR *sp, VICMD *vp)
size_t nlen;
char *p2;
- INT2CHAR(sp, vp->ev.e_str2, STRLEN(vp->ev.e_str2)+1, np, nlen);
+ INT2CHAR(sp, vp->ev.e_str2, NVI_STRLEN(vp->ev.e_str2)+1, np, nlen);
p2 = strdup(np);
rval = api_opts_set(sp, vp->ev.e_str1, p2,
vp->ev.e_val1, vp->ev.e_val1);
@@ -135,7 +135,7 @@ v_tag(SCR *sp, VICMD *vp)
return (1);
ex_cinit(sp, &cmd, C_TAG, 0, OOBLNO, OOBLNO, 0);
- argv_exp0(sp, &cmd, VIP(sp)->keyw, STRLEN(VIP(sp)->keyw));
+ argv_exp0(sp, &cmd, VIP(sp)->keyw, NVI_STRLEN(VIP(sp)->keyw));
return (v_exec_ex(sp, vp, &cmd));
}
@@ -167,7 +167,7 @@ v_tagsplit(SCR *sp, VICMD *vp)
ex_cinit(sp, &cmd, C_TAG, 0, OOBLNO, OOBLNO, 0);
F_SET(&cmd, E_NEWSCREEN);
- argv_exp0(sp, &cmd, VIP(sp)->keyw, STRLEN(VIP(sp)->keyw));
+ argv_exp0(sp, &cmd, VIP(sp)->keyw, NVI_STRLEN(VIP(sp)->keyw));
return (v_exec_ex(sp, vp, &cmd));
}
diff -rupN nvi-1.81.6.orig/vi/v_ex.c nvi-1.81.6/vi/v_ex.c
--- nvi-1.81.6.orig/vi/v_ex.c 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/vi/v_ex.c 2015-02-17 11:04:50.246380280 -0800
@@ -210,7 +210,7 @@ v_tagpush(SCR *sp, VICMD *vp)
EXCMD cmd;
ex_cinit(sp, &cmd, C_TAG, 0, OOBLNO, 0, 0);
- argv_exp0(sp, &cmd, VIP(sp)->keyw, STRLEN(VIP(sp)->keyw) + 1);
+ argv_exp0(sp, &cmd, VIP(sp)->keyw, NVI_STRLEN(VIP(sp)->keyw) + 1);
return (v_exec_ex(sp, vp, &cmd));
}
diff -rupN nvi-1.81.6.orig/vi/vs_msg.c nvi-1.81.6/vi/vs_msg.c
--- nvi-1.81.6.orig/vi/vs_msg.c 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/vi/vs_msg.c 2015-02-17 11:04:50.251093618 -0800
@@ -175,7 +175,7 @@ vs_update(SCR *sp, const char *m1, const
*/
if (F_ISSET(sp, SC_SCR_EXWROTE)) {
if (m2 != NULL)
- INT2CHAR(sp, m2, STRLEN(m2) + 1, np, nlen);
+ INT2CHAR(sp, m2, NVI_STRLEN(m2) + 1, np, nlen);
(void)ex_printf(sp,
"%s\n", m1 == NULL? "" : m1, m2 == NULL ? "" : np);
(void)ex_fflush(sp);
@@ -203,7 +203,7 @@ vs_update(SCR *sp, const char *m1, const
} else
len = 0;
if (m2 != NULL) {
- mlen = STRLEN(m2);
+ mlen = NVI_STRLEN(m2);
if (len + mlen > sp->cols - 2)
mlen = (sp->cols - 2) - len;
(void)gp->scr_waddstr(sp, m2, mlen);
diff -rupN nvi-1.81.6.orig/vi/vs_split.c nvi-1.81.6/vi/vs_split.c
--- nvi-1.81.6.orig/vi/vs_split.c 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/vi/vs_split.c 2015-02-17 11:04:50.256136584 -0800
@@ -628,7 +628,7 @@ vs_fg(SCR *sp, SCR **nspp, CHAR_T *name,
wp = sp->wp;
if (name)
- INT2CHAR(sp, name, STRLEN(name) + 1, np, nlen);
+ INT2CHAR(sp, name, NVI_STRLEN(name) + 1, np, nlen);
else
np = NULL;
if (newscreen)
diff -rupN nvi-1.81.6.orig/vi/v_txt.c nvi-1.81.6/vi/v_txt.c
--- nvi-1.81.6.orig/vi/v_txt.c 2007-11-18 08:41:42.000000000 -0800
+++ nvi-1.81.6/vi/v_txt.c 2015-02-17 11:04:50.240596567 -0800
@@ -2049,7 +2049,7 @@ retry: for (len = 0,
return (0);
case 1: /* One match. */
/* If something changed, do the exchange. */
- nlen = STRLEN(cmd.argv[0]->bp);
+ nlen = NVI_STRLEN(cmd.argv[0]->bp);
if (len != nlen || MEMCMP(cmd.argv[0]->bp, p, len))
break;

@ -1,30 +0,0 @@
diff -uNr nvi-1.81.6.orig/dist/configure.in nvi-1.81.6/dist/configure.in
--- nvi-1.81.6.orig/dist/configure.in 2013-07-09 17:17:35.000000000 -0400
+++ nvi-1.81.6/dist/configure.in 2013-07-09 17:18:48.000000000 -0400
@@ -263,11 +263,13 @@
[ --enable-gtk Build a Gtk front-end for vi.],
[vi_cv_gtk=$enableval], [vi_cv_gtk="no"])
AC_MSG_RESULT($vi_cv_gtk)
+
+#
+# Find pkg-config
+#
+AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
+
if test "$vi_cv_gtk" = "yes"; then
- #
- # Find pkg-config
- #
- AC_PATH_PROG(PKG_CONFIG, pkg-config, no)
if test x$PKG_CONFIG = xno ; then
if test "$vi_cv_widechar" = "yes"; then
AC_MSG_ERROR(
@@ -531,7 +533,7 @@
[CURSHEADER=ncursesw/ncurses.h])
fi
vi_programs="vi $vi_programs"
- CURSLIBS="-l$vi_cv_curses"
+ CURSLIBS=`$PKG_CONFIG --libs $vi_cv_curses`
else
AC_MSG_WARN([*** No suitable curses library found.])
if test "$vi_programs"X = X; then

@ -1,12 +0,0 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>felix.janda@posteo.de</email>
<name>Felix Janda</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
</pkgmetadata>

@ -1,89 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit autotools db-use flag-o-matic
DESCRIPTION="Re-implementation of the classic 4BSD ex/vi"
HOMEPAGE="https://sites.google.com/a/bostic.com/keithbostic/vi"
SRC_URI="http://garage.linux.student.kuleuven.be/~skimo/nvi/devel/${P}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm hppa ~mips ppc ppc64 sparc x86 ~x64-macos"
IUSE="perl tcl unicode"
CDEPEND=">=sys-libs/db-4.2.52_p5:=
>=sys-libs/ncurses-5.6-r2:=
perl? ( dev-lang/perl )
tcl? ( >=dev-lang/tcl-8.5:0= )"
DEPEND="${CDEPEND}
virtual/pkgconfig"
RDEPEND="${CDEPEND}
app-eselect/eselect-vi"
REQUIRED_USE="tcl? ( !unicode )"
PATCHES=(
"${FILESDIR}"/${P}-strlen-macro-renaming.patch
"${FILESDIR}"/${P}-db44.patch
"${FILESDIR}"/${P}-db.patch
"${FILESDIR}"/${P}-perl-as-needed.patch
"${FILESDIR}"/${P}-perl-shortnames.patch
"${FILESDIR}"/${P}-ac_config_header.patch
"${FILESDIR}"/${P}-use_pkgconfig_for_ncurses.patch
"${FILESDIR}"/${P}-printf-types.patch
)
src_prepare() {
default
cd dist || die
chmod +x findconfig || die
mv configure.{in,ac} || die
sed -i -e "s@-ldb@-l$(db_libname)@" configure.ac || die
sed -i -e "s@^install-\(.*\)-local:@install-\1-hook:@" Makefile.am || die
eautoreconf -Im4
}
src_configure() {
local myconf
use perl && myconf="${myconf} --enable-perlinterp"
use unicode && myconf="${myconf} --enable-widechar"
use tcl && myconf="${myconf} --enable-tclinterp"
append-cppflags "-D_PATH_MSGCAT=\"\\\"${EPREFIX}/usr/share/vi/catalog/\\\"\""
append-cppflags -I"$(db_includedir)"
# Darwin doesn't have stropts.h, bug #619416
[[ ${CHOST} == *-darwin* ]] && export vi_cv_sys5_pty=no
pushd dist 2>/dev/null || die
econf \
--program-prefix=n \
${myconf}
popd 2>/dev/null || die
}
src_compile() {
emake -C dist
}
src_install() {
emake -C dist DESTDIR="${D}" install
}
pkg_postinst() {
einfo "Setting /usr/bin/vi symlink"
eselect vi update --if-unset
}
pkg_postrm() {
einfo "Updating /usr/bin/vi symlink"
eselect vi update --if-unset
}

Binary file not shown.

@ -0,0 +1 @@
DIST meson-mode-0.2.tar.gz 28194 BLAKE2B a11b7659dfb7883a624706ee3a80ab2de69c3f3830d363a767e2a2fc644a9d1d946269a7d30af4ec93180341807519e5bf0bd55e1500513076e7aa07e0ec888b SHA512 05a9554f2ff1520834648ef6b7c27d09d5f9355fe980d19a67eba39e1e0a4a402e64284e17c6d544b8e95bdee3e204b79d73c6166d6d8c48683036821bad532f

@ -0,0 +1,17 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
NEED_EMACS=24
inherit elisp
DESCRIPTION="A GNU Emacs major mode for Meson build-system files"
HOMEPAGE="https://github.com/wentasah/meson-mode"
SRC_URI="https://github.com/wentasah/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"
DOCS=( README.md )

@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>marecki@gentoo.org</email>
<name>Marek Szuba</name>
</maintainer>
<stabilize-allarches/>
<upstream>
<remote-id type="github">wentasah/meson-mode</remote-id>
</upstream>
</pkgmetadata>

Binary file not shown.

@ -1,2 +1 @@
DIST protontricks-1.3.1.tar.gz 57784 BLAKE2B ed013367a2cc2384e4340379e2c23999a556ed26920ad59dfd7a8f773e490ee76e253a5fe3216e651cdcdb3e225a2e394255500c611d24f6bf9029582d55bb1f SHA512 4e33334e219db2e6679b430ee42408529478834c80c7da3b9bece4756eb27b9331d49a6a884de8a7ced5ec29d78ce831fee4cfbf6d5adcd750666b7e7a1e5607
DIST protontricks-1.4.1.tar.gz 31838 BLAKE2B b8c94a1b96fa7df14eaf1cc6d11cb96e43ae4e8c7bd232687a50cae9c79cf2d0e7864b1af0e1dc4cc20086952e1fcefeb16cb71a9c3a977f6feafad1b17d6857 SHA512 7635c9830afa3c64617514cd86edc7d7f9f33e6e81a1da995ec8bee70adc1cf8b5d9de92036c372134e408d735615b267b46a9afc9246f14ff161cb2ee1fc8f9

@ -1,48 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
DISTUTILS_SINGLE_IMPL=1
inherit distutils-r1
DESCRIPTION="app-emulation/winetricks wrapper for Proton (Steam Play) games"
HOMEPAGE="https://github.com/Matoking/protontricks"
SRC_URI="https://codeload.github.com/Matoking/${PN}/tar.gz/${PV} -> ${P}.tar.gz"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64"
IUSE="+gui"
RDEPEND="${PYTHON_DEPS}
app-emulation/winetricks
$(python_gen_cond_dep '
dev-python/vdf[${PYTHON_MULTI_USEDEP}]
')
gui? ( gnome-extra/zenity
|| (
app-emulation/winetricks[gtk]
app-emulation/winetricks[kde]
)
)"
DOCS=(CHANGELOG.md README.md)
distutils_enable_tests pytest
pkg_postinst() {
elog
if ! use gui; then
ewarn "Please note that disabling USE=gui does *not* presently remove the --gui command-line option,"
ewarn "it just means using this option will fail unless gnome-extra/zenity happens to be installed."
ewarn
fi
elog "Protontricks can only find games for which a Proton prefix already exists."
elog "Make sure to run a Proton game at least once before trying to use protontricks on it."
elog
}

@ -10,7 +10,7 @@ SRC_URI="https://virt-manager.org/download/sources/${PN}/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="amd64 ~x86"
KEYWORDS="amd64 x86"
IUSE="+libvirt sasl +spice +vnc"
RDEPEND=">=dev-libs/libxml2-2.6

Binary file not shown.

@ -14,7 +14,7 @@ SRC_URI="https://github.com/mgorny/gpyutils/archive/v${PV}.tar.gz -> ${P}.tar.gz
LICENSE="BSD"
SLOT="0"
KEYWORDS="amd64 ~x86"
KEYWORDS="amd64 x86"
IUSE=""
RDEPEND=">=app-portage/gentoopm-0.3.1[${PYTHON_USEDEP}]"

Binary file not shown.

@ -14,7 +14,7 @@ HOMEPAGE="https://github.com/rtomayko/ronn/"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
KEYWORDS="amd64 arm ~arm64 hppa ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~x64-macos ~x64-solaris"
IUSE=""

Binary file not shown.

@ -1,3 +1,4 @@
DIST tbb-2018.20180312.tar.gz 2911740 BLAKE2B 5c6dab4a892f3b61ed0b02ea36dc41bebd5b33a22bcc3d5f2960f21e134f2eb9bccf1466193a573489e12638c0bb0bccc2da83f699968ffd62417f2d0f093289 SHA512 7ac74e714122e25f7704630d3d52992dbea54d1e761b5e487251a771f401aa864f78b8ddf11d78f38758088df387abb6987f6a2db562c86cbb28ba8f33a25680
DIST tbb-2019.8.tar.gz 2580540 BLAKE2B 1cddb0c8ade6f6363811b7f9b323a2bb7739a18114acd56e1b4a13f33904ddff8cb6aec9b4b0add995cd307ff7815f0b55ce33fa64b7dd92c0062fbaa13d0833 SHA512 924a8dde011452a2c46c5152942a9835e76fe5610e08b69eb0e985de3fb46bdb49f0f628d10fa7704428f6e61ec63f7002da5399d47da6ee6004fa236d346dc8
DIST tbb-2020.1.tar.gz 2639115 BLAKE2B 058438351738eeab01c230ec10ff0a1dde77e5cc4fd77f292c31ee0320f41d079c8f90fc06f4640ffa375d5f0c0b5fbed13ac5a64a9cb9f1737cb66bc80442ea SHA512 79810c27c84bd3b3432bef471fa1c782f1f162a0d1038e88c03a77499cc7aeaa10d57317729fd23472e2d0f358395955f7570e8c679685a552a833eb45cf5f1d
DIST tbb2017_20161128oss_src.tgz 2965854 BLAKE2B 8c5aed6d8477297922767803617346feebb712d1f4b2df6d71a86f039b5563afc666454985e68a528a812aaad40b5fd0562bb91d357c45156fec46e5389ec542 SHA512 3c48ce196d2d3557e86cea7ede9dea456bbaeb29dbed34210f99c6f380406403a6056ccfa3d5befe6b29c4f8a9ee58ca6da545249cf4ec4ec85b463e04e4518c

@ -0,0 +1,62 @@
--- a/Makefile 2020-01-21 12:26:46.000000000 +0100
+++ b/Makefile 2020-03-18 16:21:37.589262099 +0100
@@ -26,29 +26,29 @@
all: tbb tbbmalloc tbbproxy test examples
tbb: mkdir
- $(MAKE) -C "$(work_dir)_release" -r -f $(tbb_root)/build/Makefile.tbb cfg=release
+ $(MAKE) -C "$(work_dir)_$(cfg)" -r -f $(tbb_root)/build/Makefile.tbb cfg=$(cfg)
tbbmalloc: mkdir
- $(MAKE) -C "$(work_dir)_release" -r -f $(tbb_root)/build/Makefile.tbbmalloc cfg=release malloc
+ $(MAKE) -C "$(work_dir)_$(cfg)" -r -f $(tbb_root)/build/Makefile.tbbmalloc cfg=$(cfg) malloc
tbbproxy: mkdir
- $(MAKE) -C "$(work_dir)_release" -r -f $(tbb_root)/build/Makefile.tbbproxy cfg=release tbbproxy
+ $(MAKE) -C "$(work_dir)_$(cfg)" -r -f $(tbb_root)/build/Makefile.tbbproxy cfg=$(cfg) tbbproxy
tbbbind: mkdir
- $(MAKE) -C "$(work_dir)_release" -r -f $(tbb_root)/build/Makefile.tbbbind cfg=release tbbbind
+ $(MAKE) -C "$(work_dir)_$(cfg)" -r -f $(tbb_root)/build/Makefile.tbbbind cfg=$(cfg) tbbbind
test: tbb tbbmalloc $(if $(use_proxy),tbbproxy)
- -$(MAKE) -C "$(work_dir)_release" -r -f $(tbb_root)/build/Makefile.tbbmalloc cfg=release malloc_test
- -$(MAKE) -C "$(work_dir)_release" -r -f $(tbb_root)/build/Makefile.test cfg=release
+ -$(MAKE) -C "$(work_dir)_$(cfg)" -r -f $(tbb_root)/build/Makefile.tbbmalloc cfg=$(cfg) malloc_test
+ -$(MAKE) -C "$(work_dir)_$(cfg)" -r -f $(tbb_root)/build/Makefile.test cfg=$(cfg)
rml: mkdir
- $(MAKE) -C "$(work_dir)_release" -r -f $(tbb_root)/build/Makefile.rml cfg=release
+ $(MAKE) -C "$(work_dir)_$(cfg)" -r -f $(tbb_root)/build/Makefile.rml cfg=$(cfg)
examples: tbb tbbmalloc
- $(MAKE) -C examples -r -f Makefile tbb_root=.. release test
+ $(MAKE) -C examples -r -f Makefile tbb_root=.. $(cfg) test
python: tbb
- $(MAKE) -C "$(work_dir)_release" -rf $(tbb_root)/python/Makefile install
+ $(MAKE) -C "$(work_dir)_$(cfg)" -rf $(tbb_root)/python/Makefile install
doxygen:
doxygen Doxyfile
@@ -56,16 +56,16 @@
.PHONY: clean clean_examples mkdir info
clean: clean_examples
- $(shell $(RM) $(work_dir)_release$(SLASH)*.* >$(NUL) 2>$(NUL))
- $(shell $(RD) $(work_dir)_release >$(NUL) 2>$(NUL))
+ $(shell $(RM) $(work_dir)_$(cfg)$(SLASH)*.* >$(NUL) 2>$(NUL))
+ $(shell $(RD) $(work_dir)_$(cfg) >$(NUL) 2>$(NUL))
@echo clean done
clean_examples:
$(shell $(MAKE) -s -i -r -C examples -f Makefile tbb_root=.. clean >$(NUL) 2>$(NUL))
mkdir:
- $(shell $(MD) "$(work_dir)_release" >$(NUL) 2>$(NUL))
- @echo Created the $(work_dir)_release directory
+ $(shell $(MD) "$(work_dir)_$(cfg)" >$(NUL) 2>$(NUL))
+ @echo Created the $(work_dir)_$(cfg) directory
info:
@echo OS: $(tbb_os)

@ -0,0 +1,151 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit eutils flag-o-matic multilib-minimal multilib toolchain-funcs
PV1="$(ver_cut 1)"
PV2="$(ver_cut 2)"
MY_PV="${PV1}_U${PV2}"
DESCRIPTION="High level abstract threading library"
HOMEPAGE="https://www.threadingbuildingblocks.org"
SRC_URI="https://github.com/intel/${PN}/archive/${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux"
IUSE="debug examples"
DEPEND=""
RDEPEND="${DEPEND}"
S="${WORKDIR}/oneTBB-${MY_PV}"
DOCS=( CHANGES README README.md doc/Release_Notes.txt )
PATCHES=( "${FILESDIR}"/${P}-makefile-debug.patch )
src_prepare() {
default
find include -name \*.html -delete || die
# Give it a soname on FreeBSD
echo 'LIB_LINK_FLAGS += -Wl,-soname=$(BUILDING_LIBRARY)' >> build/FreeBSD.gcc.inc
# Set proper versionning on FreeBSD
sed -i -e '/.DLL =/s/$/.1/' build/FreeBSD.inc || die
use debug || sed -i -e '/_debug/d' Makefile
}
multilib_src_configure() {
# pc files are for debian and fedora compatibility
# some deps use them
cat <<-EOF > ${PN}.pc.template
prefix=${EPREFIX}/usr
libdir=\${prefix}/$(get_libdir)
includedir=\${prefix}/include
Name: ${PN}
Description: ${DESCRIPTION}
Version: ${PV}
URL: ${HOMEPAGE}
Cflags: -I\${includedir}
EOF
cp ${PN}.pc.template ${PN}.pc || die
cat <<-EOF >> ${PN}.pc
Libs: -L\${libdir} -ltbb
Libs.private: -lm -lrt
EOF
cp ${PN}.pc.template ${PN}malloc.pc || die
cat <<-EOF >> ${PN}malloc.pc
Libs: -L\${libdir} -ltbbmalloc
Libs.private: -lm -lrt
EOF
cp ${PN}.pc.template ${PN}malloc_proxy.pc || die
cat <<-EOF >> ${PN}malloc_proxy.pc
Libs: -L\${libdir} -ltbbmalloc_proxy
Libs.private: -lrt
Requires: tbbmalloc
EOF
}
local_src_compile() {
cd "${S}"
local comp arch
local bt buildtypes
case ${MULTILIB_ABI_FLAG} in
abi_x86_64) arch=x86_64 ;;
abi_x86_32) arch=ia32 ;;
# abi_ppc_64) arch=ppc64 ;;
# abi_ppc_32) arch=ppc32 ;;
esac
case "$(tc-getCXX)" in
*clang*) comp="clang" ;;
*g++*) comp="gcc" ;;
*ic*c) comp="icc" ;;
*) die "compiler $(tc-getCXX) not supported by build system" ;;
esac
if use debug ; then
buildtypes="release debug"
else
buildtypes="release"
fi
for bt in ${buildtypes}; do
CXX="$(tc-getCXX)" \
CC="$(tc-getCC)" \
AS="$(tc-getAS)" \
arch=${arch} \
CPLUS_FLAGS="${CXXFLAGS}" \
emake compiler=${comp} work_dir="${BUILD_DIR}" tbb_root="${S}" cfg=${bt} $@
done
}
multilib_src_compile() {
local_src_compile tbb tbbmalloc
}
multilib_src_test() {
local_src_compile test
}
multilib_src_install() {
local bt
local buildtypes
if use debug ; then
buildtypes="release debug"
else
buildtypes="release"
fi
for bt in ${buildtypes}; do
cd "${BUILD_DIR}_${bt}" || die
local l
for l in $(find . -name lib\*$(get_libname \*)); do
dolib.so ${l}
local bl=$(basename ${l})
dosym ${bl} /usr/$(get_libdir)/${bl%%.*}$(get_libname)
done
done
cd "${BUILD_DIR}" || die
insinto /usr/$(get_libdir)/pkgconfig
doins *.pc
}
multilib_src_install_all() {
doheader -r include/*
einstalldocs
if use examples ; then
insinto /usr/share/doc/${PF}/examples/build
doins build/*.inc
insinto /usr/share/doc/${PF}/examples
doins -r examples
docompress -x "/usr/share/doc/${PF}/examples"
fi
}

Binary file not shown.

@ -11,7 +11,7 @@ PLOCALES="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN
inherit flag-o-matic l10n linux-info multilib pam prefix python-single-r1 \
systemd user
KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-macos ~x86-solaris"
KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~ppc-macos ~x86-solaris"
SLOT=$(ver_cut 1)

@ -11,7 +11,7 @@ PLOCALES="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN
inherit flag-o-matic l10n linux-info multilib pam prefix python-single-r1 \
systemd user
KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
SLOT=$(ver_cut 1)

@ -11,7 +11,7 @@ PLOCALES="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN
inherit flag-o-matic l10n linux-info multilib pam prefix python-single-r1 \
systemd user
KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
SLOT=$(ver_cut 1)

@ -11,7 +11,7 @@ PLOCALES="af cs de en es fa fr hr hu it ko nb pl pt_BR ro ru sk sl sv tr zh_CN
inherit flag-o-matic l10n linux-info multilib pam prefix python-single-r1 \
systemd user
KEYWORDS="~alpha amd64 arm ~arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 arm arm64 hppa ia64 ~mips ppc ppc64 ~s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
SLOT=$(ver_cut 1-2)

Binary file not shown.

@ -3,4 +3,6 @@ DIST apache-tomcat-5.5.36-src.tar.gz 3743113 BLAKE2B dbfcfd123a23b0ceb9f1fdd936e
DIST apache-tomcat-6.0.53-src.tar.gz 3522914 BLAKE2B 054b097c16861abaa8bdbeba713b49bc1dfcff573bb3f4bd0ff5807c33a2a0fb991af618f6e11e5b3ce3fa55c589fc6569342cab5d5a00349c79bc7061d81e40 SHA512 915a0a18f5c2883625c9441eed6465973eff4f6bf41e08e925c7edaea89ef8f6ee9476d3e06fa38228d4bcb4decaf53e3a7bdb7ec7e899e6250db3e12a9f5f2c
DIST apache-tomcat-7.0.100-src.tar.gz 5265444 BLAKE2B 9c706e6a50e13cd8f542669e2d80f8940816976cfb84f62c3e17bbe6f0cc6d76d6fcdd18ec69e706ce27552aa66041833f6ae7bba8e671e187de3246e90a25c5 SHA512 53ef64c64263d0f25d72ed179bd7b7beed3f73cd63010988ba740ff7328b00a5ec09fe1d4575188ecacf258c891e022a0f1ae07d2957d9830a56881170bb1a57
DIST apache-tomcat-8.5.51-src.tar.gz 5661227 BLAKE2B 711de5678903941a5261693972906f2d0fca2c9d3219e62d3186e5d71a2e3cb4da0a5028e62790a26dad2d244246c2f41c74f18e17d52ec0af070f0d5842ca3f SHA512 8529d2e7d83a863fe88ed4ee8ec29b673e5df4bea53231412c0d89e2384d3939b9d1f29350a4ca46966ab5d4a0d3178ed5d2caa50aa766092a3ab8f28dd27592
DIST apache-tomcat-8.5.53-src.tar.gz 5676477 BLAKE2B 284ddc3b3d491a57aac31fc59a9c7d80bdb11efb410ab53eea5d3a0a754507203de287eff0a621d02bfea581b45b860598c8ab95d529ad18790fe381f5518cca SHA512 d78613042a9e4caa5b5eeebd2589383ef10312698e535e2c8f82e40c7b3d793ea6cac50f346316a84f4b47ad330f82c7a4f0e4a3d2f0d449f1d4dad9c6d5e267
DIST apache-tomcat-9.0.31-src.tar.gz 5812430 BLAKE2B 7ef0f989860b046b4ddbacde50013284a623eb9d81e2c3465b0e04ec9c934a5319293677919ab758243a352fc60cb6691b51f946d8c5a36360b9108dafc5dfe3 SHA512 a0ba9e46a3d2a4cf708e6e29b4647c041495e45865ce5c679c9dcfee77181373a2d3034222701d0f15d5c7e71e6aa3cc7db236c66ba069b3e3660a948b44342f
DIST apache-tomcat-9.0.33-src.tar.gz 5831264 BLAKE2B 7ef5b28dfc4f24003075012cfe6403060dfc908386577ea3dbab3d7a4eca1d22cdcaab3f821079a90d9407030bedf657f5abd9829d643f699ba875b7b702f0a3 SHA512 73ffb36dc7331bf9e455b599b128c51da8f90222bd3cb296e211d266c18964bf66004524725acd6d3e29099d2fdc3180892c228b2a00b06544455240bf05c9b0

@ -0,0 +1,39 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
JAVA_PKG_IUSE="source"
inherit eutils java-pkg-2 java-ant-2
MY_A="apache-${P}-src"
MY_P="${MY_A/-servlet-api/}"
DESCRIPTION="Tomcat's Servlet API 3.1/JSP API 2.3/EL API 3.0 implementation"
HOMEPAGE="https://tomcat.apache.org/"
SRC_URI="mirror://apache/tomcat/tomcat-8/v${PV}/src/${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="3.1"
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
IUSE=""
DEPEND=">=virtual/jdk-1.8"
RDEPEND=">=virtual/jre-1.8"
S="${WORKDIR}/${MY_P}/"
src_prepare() {
default
cp "${FILESDIR}/${SLOT}-build.xml" build.xml || die "Could not replace build.xml"
rm -fR */*/build.xml
einfo "Removing bundled jars and classes"
find "${S}" '(' -name '*.class' -o -name '*.jar' ')' -exec rm -frv {} +
java-pkg-2_src_prepare
}
src_install() {
java-pkg_dojar "${S}"/output/build/lib/*.jar
use source && java-pkg_dosrc java/javax/servlet/
}

@ -0,0 +1,39 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
JAVA_PKG_IUSE="source"
inherit eutils java-pkg-2 java-ant-2
MY_A="apache-${PN}-${PV}-src"
MY_P="${MY_A/-servlet-api/}"
DESCRIPTION="Tomcat's Servlet API 4.0/JSP API 2.3/EL API 3.0 implementation"
HOMEPAGE="https://tomcat.apache.org/"
SRC_URI="mirror://apache/tomcat/tomcat-9/v${PV}/src/${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="4.0"
KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x64-solaris ~x86-solaris"
IUSE=""
DEPEND=">=virtual/jdk-1.8"
RDEPEND=">=virtual/jre-1.8"
S="${WORKDIR}/${MY_P}/"
src_prepare() {
default
cp "${FILESDIR}/${SLOT}-build.xml" build.xml || die "Could not replace build.xml"
rm -fR */*/build.xml
einfo "Removing bundled jars and classes"
find "${S}" '(' -name '*.class' -o -name '*.jar' ')' -exec rm -frv {} +
java-pkg-2_src_prepare
}
src_install() {
java-pkg_dojar "${S}"/output/build/lib/*.jar
use source && java-pkg_dosrc java/javax/servlet/
}

Binary file not shown.

@ -0,0 +1 @@
DIST janet-1.7.0.tar.gz 968936 BLAKE2B 49e6381d0f632fe43eefd498b9aaca2ec049e1f0d4fa7b3463bc00ac1ece67c8c3d108515702bfead1934434a8039e7c1f6eaae46aec7340330e5cda78eeaca4 SHA512 c180172f3016d1ca55ac39f2116789027bf622f08f585bf702b17acadd99d07bf91320e09ce21be76c3a1e60d1a8923591d0e07acc90884dac823a2c414f65e7

@ -0,0 +1,11 @@
--- ./Makefile 2020-02-02 06:35:17.000000000 +0100
+++ ./Makefile 2020-03-17 23:14:26.172766381 +0100
@@ -242,7 +242,7 @@
echo "Description: Library for the Janet programming language." >> $@
$(JANET_TARGET) -e '(print "Version: " janet/version)' >> $@
echo 'Cflags: -I$${includedir}' >> $@
- echo 'Libs: -L$${libdir} -ljanet $(LDFLAGS)' >> $@
+ echo 'Libs: -L$${libdir} -ljanet' >> $@
echo 'Libs.private: $(CLIBS)' >> $@
install: $(JANET_TARGET) build/janet.pc

@ -0,0 +1,54 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
inherit flag-o-matic
DESCRIPTION="A dynamic Lisp dialect and bytecode vm"
HOMEPAGE="https://janet-lang.org"
SRC_URI="https://github.com/janet-lang/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="static-libs"
PATCHES=(
"${FILESDIR}/${P}"-fix-ldflags-in-pkgconfig.patch
)
src_configure() {
append-ldflags -Wl,-soname,libjanet.so.0
}
src_compile() {
# janet_build is the git hash of the commit related to the
# current release - it defines a constant which is then shown
# when starting janet
local janet_build='\"f7ee8bd\"'
emake PREFIX="/usr" JANET_BUILD="${janet_build}"
emake PREFIX="/usr" build/janet.pc JANET_BUILD="${janet_build}"
emake PREFIX="/usr" docs JANET_BUILD="${janet_build}"
}
src_install() {
dobin "build/janet"
dobin "auxbin/jpm"
doheader "src/include/janet.h"
doheader "src/conf/janetconf.h"
dolib.so "build/libjanet.so"
dosym libjanet.so /usr/$(get_libdir)/libjanet.so.0
if use static-libs; then
dolib.a "build/libjanet.a"
fi
doman "janet.1"
doman "jpm.1"
insinto /usr/$(get_libdir)/pkgconfig/
doins "build/janet.pc"
dodoc -r examples
dodoc "build/doc.html"
}

@ -0,0 +1,28 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<name>Oz Tiram</name>
<email>oz.tiram@gmail.com</email>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<longdescription lang="en">
Janet is a functional and imperative programming language and bytecode
interpreter. It is a modern lisp, but lists are replaced by other data
structures with better utility and performance
(arrays, tables, structs, tuples).
The language also supports bridging to native code written in C,
meta-programming with macros, and bytecode assembly.
</longdescription>
<upstream>
<remote-id type="github">janet-lang/janet</remote-id>
</upstream>
<use>
<flag name="static-libs">install janet static library archive,
you must enable this flag for using `jpm build`
</flag>
</use>
</pkgmetadata>

Binary file not shown.

@ -1,2 +1,2 @@
DIST hsa-ext-rocr-dev_1.1.9-122-ge5c4efb_amd64.deb 1120322 BLAKE2B 40c60058c2b6d6debf80503c36f6b0ddc72747c7327e411121f99fa2e507e5e9414cb91c80be0acf283bff23a6a029b3ef199577846b694b2e2e11696cc7d225 SHA512 60dad492cc66f249d48fb057b2ecec1719525a871d38f39a403a55de98e8cdea5f00f672fa3ea697490c287ba7e5c3be035f1f2861a7fc97d9b949f575e51ad7
DIST hsa-ext-rocr-dev_1.1.30100.0-rocm-rel-3.1-44-ecafeba1_amd64.deb 1209486 BLAKE2B 7aa44fecde68761916100312a58d4d1fc77e9e88e6e322548f0d603fc7a8be4d202b387a1ab823ff784ea6e365297846cd5630997362f8691baf6a5ed226c942 SHA512 1373931b80b2d830de8b4741159dfa46a5d6608886e87c780090a558c0070020b3efbe227c6c6803afbdc632be7f632e03c1a9bbb377949bd14de2d0d7117351
DIST hsa-ext-rocr-dev_1.1.9-139-g0d1ca36_amd64.deb 1166210 BLAKE2B 3edcc938ec92277a163886df4e83f93f6a38b1ec4e95e719265f7a595d291fe4beef68aeca3fb09f8f56a0abf041a987d57e2469310da8cd16f2352b2af5077c SHA512 dbf7991b404cc371575e5d8c40f438bbead8bfef5c73dfd3b7295d64f800892c1f220a6eff8cc67d99ca4bec819bf1b69e37f85873ec372dca9bdd42542fa320

@ -5,11 +5,12 @@ EAPI=7
inherit unpacker
MY_PV=$(ver_rs 3 '-')
ROCM_VERSION="3.1.0"
MY_PV="${PV}-rocm-rel-$(ver_cut 1-2 ${ROCM_VERSION})-44-ecafeba1"
DESCRIPTION="Proprietary image-support library for Radeon Open Compute"
HOMEPAGE="https://github.com/RadeonOpenCompute/ROCm#closed-source-components"
SRC_URI="http://repo.radeon.com/rocm/apt/debian/pool/main/h/${PN}-dev/${PN}-dev_${MY_PV}-ge5c4efb_amd64.deb"
SRC_URI="http://repo.radeon.com/rocm/apt/debian/pool/main/h/${PN}-dev/${PN}-dev_${MY_PV}_amd64.deb"
LICENSE="AMD-GPU-PRO-EULA"
SLOT="0"
@ -38,8 +39,8 @@ src_install() {
into "${destdir}"
for solib in ${solibs_to_install[@]}; do
dolib.so "opt/rocm/hsa/lib/${solib}.${soversion}"
dosym "../../${destdir}/$(get_libdir)/${solib}.${soversion}" "/usr/$(get_libdir)/${solib}.${soversion}"
dolib.so "opt/rocm-${ROCM_VERSION}/hsa/lib/${solib}.${soversion}"
dosym "../..${destdir}/$(get_libdir)/${solib}.${soversion}" "/usr/$(get_libdir)/${solib}.${soversion}"
dosym "${solib}.${soversion}" "/usr/$(get_libdir)/${solib}.${somajor}"
done
}

@ -12,7 +12,7 @@ SRC_URI="http://dist.schmorp.de/libev/${P}.tar.gz
LICENSE="|| ( BSD GPL-2 )"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~riscv s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
IUSE="elibc_glibc static-libs"
# Bug #283558

@ -1,3 +1,3 @@
DIST libite-2.0.0.tar.xz 259960 BLAKE2B 4c5393daaf2ca6eb830fc5f11b1d38e9c1e2374c5f5d87bb973c7e54b9f81480d4a270a4551689806620cd5a84671d1055d409d6dd090acb64bf7fc454d1c283 SHA512 18516f19d36d81169116562b4b27d76240715424cdde9b87eae831f35adb17d70fb01e2eae5e7e9ce99e2c88344c2c15d2b7d11f4ea2e9ae0deb25ee5ee4c563
DIST libite-2.1.0.tar.xz 265712 BLAKE2B c8a0f2a55bc6e0ae2ad774be67501d2d8ec31927cc107b1b38de409ce78334b9a516727722aa57d615b234edf1057967b2375a96dd947637e987d2583e2efc2a SHA512 dd6b48ed6dc646ce2d17e647179173bf5d3b478db38f05c2133119ce81da9778be8bb277db9beb0e28aeff7f81cb3fc361d3737de31623f6661141efa63d64d3
DIST libite-2.1.2.tar.xz 265524 BLAKE2B 6e89fda5267e9beb8b057d195f1ed7503fc898146e64da2735510ee9fe703a9ee7d1f21e67a7820cd9ae413ee77b66c050d6534553b5a6ce113c113a7fd58f06 SHA512 92c3830344d7816cbcc2a697bf55b53557d4df7bab4d3db5aa6319379c82a14cf021d18402eae724c5b9126ec06df9728ee6ded9599117cc7f3fa7a0b2f997cc
DIST libite-2.2.0.tar.xz 267172 BLAKE2B 6f3e76fca28b72978fd92e2e52234ebeaee764945108c0d3b1049c759bbba3a1e1c6aa6822707ae8323b1fc8d1b56b360b93c58f109ba1072123a27488b54c34 SHA512 56b4d21730b1e31f7c70ec16d0983d5c060866d6579fa69c44d1d3d2a539a7b4691adb4964bfac3f8bc04282537e93f53dc2bb5af2efbca637ddc6442db181af

@ -1,12 +0,0 @@
diff --git a/tests/which.c b/tests/which.c
index cda57c6..3e74867 100644
--- a/tests/which.c
+++ b/tests/which.c
@@ -21,6 +21,7 @@ int main(void)
{ NULL, 0 }
};
+ setenv("PATH", "/bin:/usr/bin:/sbin:/usr/sbin:/usr/local/bin:/usr/local/sbin", 1);
for (i = 0; test[i].cmd; i++) {
char *path;

@ -1,25 +0,0 @@
diff --git a/tests/which.c b/tests/which.c
index 46dcccf..cda57c6 100644
--- a/tests/which.c
+++ b/tests/which.c
@@ -11,13 +11,13 @@ int main(void)
int result = 0;
size_t i;
struct tc test[] = {
- { "ls", 1 },
- { "free", 1 },
- { "modinfo", 1 },
- { "useradd", 1 },
- { "/bin/which", 1 },
- { "/bin/ps aux", 1 },
- { "/etc/passwd", 0 },
+ { "ls", 1 },
+ { "free", 1 },
+ { "modinfo", 1 },
+ { "useradd", 1 },
+ { "/usr/bin/which", 1 },
+ { "/bin/ps aux", 1 },
+ { "/etc/passwd", 0 },
{ NULL, 0 }
};

@ -1,7 +1,7 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
EAPI=7
DESCRIPTION="A collection of useful BSD APIs"
HOMEPAGE="https://github.com/troglobit/libite"
@ -12,11 +12,6 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="static-libs"
PATCHES=(
"${FILESDIR}"/${P}-fix-which-path.patch
"${FILESDIR}"/${P}-fix-path.patch
)
src_configure() {
econf --enable-static=$(usex static-libs)
}

@ -13,7 +13,7 @@ SRC_URI="https://archive.mozilla.org/pub/nspr/releases/v${PV}/src/${P}.tar.gz"
LICENSE="|| ( MPL-2.0 GPL-2 LGPL-2.1 )"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sh sparc ~x86 ~ppc-aix ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 ~riscv s390 ~sh sparc x86 ~ppc-aix ~amd64-linux ~x86-linux ~x64-macos ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="debug elibc_musl"
MULTILIB_CHOST_TOOLS=(

@ -15,7 +15,7 @@ SRC_URI="https://archive.mozilla.org/pub/security/nss/releases/${RTM_NAME}/src/$
LICENSE="|| ( MPL-2.0 GPL-2 LGPL-2.1 )"
SLOT="0"
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh sparc ~x86 ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 ~arm arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~amd64-linux ~x86-linux ~x86-macos ~sparc-solaris ~x64-solaris ~x86-solaris"
IUSE="cacert utils"
BDEPEND="
>=virtual/pkgconfig-0-r1[${MULTILIB_USEDEP}]

Binary file not shown.

@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~x86 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~mips ppc ppc64 x86 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
BDEPEND="dev-python/setuptools[${PYTHON_USEDEP}]"

@ -4,6 +4,10 @@
<maintainer type="person">
<email>amynka@gentoo.org</email>
</maintainer>
<maintainer type="project">
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<upstream>
<remote-id type="github">untitaker/python-atomicwrites</remote-id>
<remote-id type="pypi">atomicwrites</remote-id>

@ -0,0 +1 @@
DIST DBUtils-1.3.tar.gz 91733 BLAKE2B 8fb3fd16208c27fbbbbcbf1e7b9de2d4d2e8008916309256bd2ae5494d0ff60071fd3fa839dc7ccbe8832f333bad52d97dc4d176c822cc1ce3d5ce0bb05d637e SHA512 47aaa63144e6a0f4d020adb54fc5f36af01848a12f8adfcbd9889825980a1479b32041c087992de5f44478cc25729d1c97ed6cb094def2b93165f0120f10c5b6

@ -0,0 +1,44 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_{6,7} )
DISTUTILS_USE_SETUPTOOLS=no
inherit distutils-r1
MY_PN="DBUtils"
MY_P="${MY_PN}-${PV}"
DESCRIPTION="Database connections for multi-threaded environments"
HOMEPAGE="
https://cito.github.io/DBUtils/
https://github.com/Cito/DBUtils
https://pypi.org/project/DBUtils/
"
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${MY_P}.tar.gz"
LICENSE="OSL-2.0"
SLOT="0"
KEYWORDS="~amd64"
S="${WORKDIR}/${MY_P}"
distutils_enable_tests nose
python_prepare_all() {
#prevent tests from being installed
#prevent docs being installed outside /usr/share
sed -i -e "s/, 'DBUtils.Tests'//" \
-e "/package_data=/d" \
setup.py || die "sed failed"
distutils-r1_python_prepare_all
}
python_install_all() {
dodoc "${S}/${MY_PN}"/Docs/*.rst
rm "${S}/${MY_PN}"/Docs/*.rst || die
local HTML_DOCS=( "${S}/${MY_PN}"/Docs/. )
distutils-r1_python_install_all
}

@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<longdescription lang="en">
DBUtils is a suite of tools providing solid, persistent and pooled connections
to a database that can be used in all kinds of multi-threaded environments
like Webware for Python or other web application servers. The suite supports
DB-API 2 compliant database interfaces and the classic PyGreSQL interface.
</longdescription>
<upstream>
<remote-id type="github">Cito/DBUtils</remote-id>
</upstream>
</pkgmetadata>

@ -13,7 +13,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 arm arm64 ~hppa ia64 ~mips ppc ppc64 s390 sparc x86 ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
RDEPEND="<dev-python/six-2.0[${PYTHON_USEDEP}]"
BDEPEND="

@ -1,2 +1 @@
DIST neutron-lib-1.29.1.tar.gz 454760 BLAKE2B 21dc2059d7e34e8fb155620d176da999e839019915d6d37bfc0caced305964402a38ecc8f4cac59c1e9c89db9a57a6116082253d8359835ad0460e828c447a6f SHA512 b6f646806a137cd0114663c5f192b9b20ee72af30d453a19218a00f25cd48389f0888ddec13082838cf1c88cb6c9204a08f73b0605f82801b9f4abd610ab6798
DIST neutron-lib-1.29.2.tar.gz 455629 BLAKE2B 2969a7d844ec5a972bbd5cacc07d3fbeb59bb9a62bb98a94d6fa60dc1f0b7796499433fa54de80d96e2a467e3c022092e816e282e390febeabc8d87d1c13273f SHA512 9c3398e268be56864410fd7c71d796c3944f49c334faa1e7099fe768f1916b23b2b996d06c76c23b54a1889b605717091c787d345069cb51852f3f9cae636213

@ -5,9 +5,6 @@
<email>prometheanfire@gentoo.org</email>
<name>Matthew Thode</name>
</maintainer>
<longdescription lang="en">
Neutron shared routines and utilities
</longdescription>
<upstream>
<remote-id type="github">openstack/neutron-lib</remote-id>
<remote-id type="pypi">neutron-lib</remote-id>

@ -1,51 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1
DESCRIPTION="Neutron shared routines and utilities."
HOMEPAGE="https://github.com/openstack/neutron-lib"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE=""
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
!~dev-python/pbr-2.1.0"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
${CDEPEND}"
RDEPEND="${CDEPEND}
>=dev-python/sqlalchemy-1.2.0[${PYTHON_USEDEP}]
>=dev-python/pecan-1.0.0[${PYTHON_USEDEP}]
!~dev-python/pecan-1.0.2[${PYTHON_USEDEP}]
!~dev-python/pecan-1.0.3[${PYTHON_USEDEP}]
!~dev-python/pecan-1.0.4[${PYTHON_USEDEP}]
!~dev-python/pecan-1.2.0[${PYTHON_USEDEP}]
>=dev-python/keystoneauth-3.4.0[${PYTHON_USEDEP}]
>=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}]
>=dev-python/six-1.10.0[${PYTHON_USEDEP}]
>=dev-python/stevedore-1.20.0[${PYTHON_USEDEP}]
>=dev-python/os-ken-0.3.0[${PYTHON_USEDEP}]
>=dev-python/oslo-concurrency-3.26.0[${PYTHON_USEDEP}]
>=dev-python/oslo-config-5.2.0[${PYTHON_USEDEP}]
>=dev-python/oslo-context-2.19.2[${PYTHON_USEDEP}]
>=dev-python/oslo-db-4.37.0[${PYTHON_USEDEP}]
>=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}]
>=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}]
>=dev-python/oslo-messaging-5.29.0[${PYTHON_USEDEP}]
>=dev-python/oslo-policy-1.30.0[${PYTHON_USEDEP}]
>=dev-python/oslo-serialization-2.18.0[${PYTHON_USEDEP}]
!~dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}]
>=dev-python/oslo-service-1.24.0[${PYTHON_USEDEP}]
!~dev-python/oslo-service-1.28.1[${PYTHON_USEDEP}]
>=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}]
>=dev-python/oslo-versionedobjects-1.31.2[${PYTHON_USEDEP}]
>=dev-python/osprofiler-1.4.0[${PYTHON_USEDEP}]
>=dev-python/setproctitle-1.1.10[${PYTHON_USEDEP}]
>=dev-python/os-traits-0.9.0[${PYTHON_USEDEP}]
>=dev-python/webob-1.7.1[${PYTHON_USEDEP}]"

@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
KEYWORDS="amd64 ~arm64 x86"
IUSE=""
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]

@ -1,2 +1 @@
DIST ovsdbapp-0.15.0.tar.gz 79493 BLAKE2B a035a8571033e210db253dc4a301c602f9b213bbeb6fc73e9317d2a29f3b3520f43c0f6c8fa7f3d549f3fd76484993f5b905d3916c93c1daef228e9c15fa4a0f SHA512 db8179c32bb58b04019b215083bbf7490418305631a826a44965d52ebbfa9d75e08bff840659982a93c3941cecc0ef1e81299e83408731582907e24d2e2764f0
DIST ovsdbapp-0.17.2.tar.gz 82830 BLAKE2B a9c7661685aeb215f79b9c14fb7069019ae3641217fd2234db44f4d7bada9c9533919a104ec5a0f05843edae2b71e86edab11e545973e626ea657eea852e0682 SHA512 0d7a5d5c0ea0456a2bdf51b39b864253b52d1699b32a301a549b80568fef63d516158dcb6772cfb97b88d56e840a070f5cc2569acaa414bcab4a65be673a66eb

@ -1,26 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1
DESCRIPTION="A library for creating OVSDB applications"
HOMEPAGE="http://bugs.launchpad.net/ovsdbapp"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86"
IUSE=""
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
!~dev-python/pbr-2.1.0"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
${CDEPEND}"
RDEPEND="${CDEPEND}
>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
>=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}]
>=dev-python/ovs-2.8.0[${PYTHON_USEDEP}]
>=dev-python/six-1.10.0[${PYTHON_USEDEP}]"

@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86"
KEYWORDS="amd64 ~arm64 x86"
IUSE=""
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]

@ -12,31 +12,24 @@ MY_PN="PyHamcrest"
DESCRIPTION="Hamcrest framework for matcher objects"
HOMEPAGE="https://github.com/hamcrest/PyHamcrest"
SRC_URI="https://github.com/hamcrest/PyHamcrest/archive/V${PV}.tar.gz -> ${MY_PN}-${PV}.gh.tar.gz"
S="${WORKDIR}/${MY_PN}-${PV}"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 ~mips ~sh sparc ~amd64-linux ~x86-linux"
IUSE="doc examples test"
REQUIRED_USE="doc? ( || ( $(python_gen_useflags -3) ) )"
IUSE="examples test"
RESTRICT="!test? ( test )"
RDEPEND=">=dev-python/six-1.4[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
doc? (
$(python_gen_cond_dep '>=dev-python/sphinx-2[${PYTHON_USEDEP}]' -3)
$(python_gen_cond_dep 'dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]' -3)
)
test? (
>=dev-python/pytest-2.6[${PYTHON_USEDEP}]
dev-python/mock[${PYTHON_USEDEP}]
)"
S="${WORKDIR}/${MY_PN}-${PV}"
pkg_setup() {
use doc && DISTUTILS_ALL_SUBPHASE_IMPLS=( -3 )
}
distutils_enable_sphinx doc \
dev-python/sphinx_rtd_theme
python_prepare_all() {
# enables coverage testing which we don't want
@ -56,13 +49,6 @@ python_prepare_all() {
distutils-r1_python_prepare_all
}
python_compile_all() {
if use doc; then
esetup.py build_sphinx
HTML_DOCS=( "${BUILD_DIR}"/sphinx/html/. )
fi
}
python_test() {
py.test -vv || die "Tests failed under ${EPYTHON}"
"${EPYTHON}" tests/object_import.py || die "Tests failed under ${EPYTHON}"

@ -1,2 +1 @@
DIST PyJWT-1.5.3.tar.gz 73044 BLAKE2B ae2e3caec52ddd768d573e0398bbc355c6eedca238db9b1808ff1d723b9fdee0845cf119d78e561833fe770e5ec39000905cec43a5e96102865f60e204c72c22 SHA512 b25a9f6a04bd072020fcf00bb559b7560902adb79746fb880432c01fa356748238432f53f6b9a21db50ece3e59ed4c45ca3f48ecec0ca3c4095e6a739a5c150c
DIST PyJWT-1.7.1.tar.gz 41979 BLAKE2B 5604b309838b2dfb2f95e18e291c43703954664aa8acb7439072f002c1c8a1e49ff2c21d907be77a4d2f86e695ec71970d550aad2541252ac85bd7133e300b28 SHA512 70cd38127b6848933992c8b88303725ef71bfb430ad42eb63247e549b0bdab2a194137349d43ab02a1c97212dbc89f447ee3f0c5403dd14632b8b4b6b9235fc4

@ -1,52 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1 eutils
MY_PN="PyJWT"
DESCRIPTION="JSON Web Token implementation in Python"
HOMEPAGE="https://github.com/progrium/pyjwt https://pypi.org/project/PyJWT/"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
LICENSE=" MIT"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
>=dev-python/cryptography-1.4.0[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
S="${WORKDIR}"/${MY_PN}-${PV}
python_prepare_all() {
find . -name '__pycache__' -prune -exec rm -rf {} \; || die "Cleaning __pycache__ failed"
find . -name '*.pyc' -exec rm -f {} \; || die "Cleaing *.pyc failed"
# enables coverage, we don't need that
rm setup.cfg || die
distutils-r1_python_prepare_all
}
python_test() {
pytest -vv || die "Tests fail with ${EPYTHON}"
}
pkg_postinst() {
elog "Available optional features:"
optfeature "cryptography" dev-python/cryptography
optfeature "flake8" dev-python/flake8
ewarn "flake8 feature requires 'flake8-import-order' and 'pep8-naming', which are not in portage yet"
}

@ -16,7 +16,7 @@ S="${WORKDIR}"/${MY_PN}-${PV}
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 ~arm ~arm64 ~ppc64 x86 ~amd64-linux ~x86-linux"
RDEPEND=""
DEPEND="

@ -1,52 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1 eutils
MY_PN="PyJWT"
DESCRIPTION="JSON Web Token implementation in Python"
HOMEPAGE="https://github.com/progrium/pyjwt https://pypi.org/project/PyJWT/"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
LICENSE=" MIT"
SLOT="0"
KEYWORDS="amd64 ~arm ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="
dev-python/setuptools[${PYTHON_USEDEP}]
test? (
>=dev-python/cryptography-1.4.0[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
)"
S="${WORKDIR}"/${MY_PN}-${PV}
python_prepare_all() {
find . -name '__pycache__' -prune -exec rm -rf {} \; || die "Cleaning __pycache__ failed"
find . -name '*.pyc' -exec rm -f {} \; || die "Cleaing *.pyc failed"
# enables coverage, we don't need that
rm setup.cfg || die
distutils-r1_python_prepare_all
}
python_test() {
pytest -vv || die "Tests fail with ${EPYTHON}"
}
pkg_postinst() {
elog "Available optional features:"
optfeature "cryptography" dev-python/cryptography
optfeature "flake8" dev-python/flake8
ewarn "flake8 feature requires 'flake8-import-order' and 'pep8-naming', which are not in portage yet"
}

@ -1,4 +1,2 @@
DIST pyOpenSSL-17.5.0.tar.gz 170870 BLAKE2B e8b8986a7c5475ac3898df4877a8be86db359af79e1718bad85149440cff543c501ee23eb369270d2c539a9e3f4e13165ea87b858ef6916ee79ca6e49f6e5370 SHA512 f194662b5842f1e3a4fcb910b9f2e6482d1dcdf834f306acc3dd6d9723f65038f7bff550248fa6268d90c839c9d9e8248bb6c7d399495fe6aed25291b93ece86
DIST pyOpenSSL-18.0.0.tar.gz 167296 BLAKE2B 3a9c8db02e92858353389508d9791d2ff0b07b54150d27a513b4c26ef62899167d184702cd8ac3a9fb5be120a92e31259ce265a400513de4622c30b1269ecd9f SHA512 7106d4116243a164c1f458ad495564c2cf3a46b4b0fbb1d452b4174ead4409bc9c783c3a4674231ed3c26ecf588077b01dadbdefe033d5e7251a61531c6f6c15
DIST pyOpenSSL-19.0.0.tar.gz 168551 BLAKE2B 762d3358b3cc4f1e088e9464ac079e5212c537d25691e51edb3255a192c42276506c758ecf16eff999082bfd05aeb92a37741338d92036d2149b87c95008db05 SHA512 a7e12bf5be725ccebd1223d567a9b9e8bd35f79cbf3a0409108fa6f00e10ab137dd6876369e9dede02b2abc7d700786cc905532ca5c31b6e246f6df8b24e2818
DIST pyOpenSSL-19.1.0.tar.gz 160510 BLAKE2B e6e39f860221a2696aa3fa32ac89ed48e34b18e4accc366a86264d943a15a1b00ba1a0d8349550d1775d25836aa5d214e1e3fe4ec0a9c0f6d5ab00cd9fede633 SHA512 4acd96f287d72eb11bd812697d28cd6eb6a96a4653248b65f967187830a6b17cc1254775a18a3405469f3d45abdae6f02d165f2f35f035f3174c2826fba82916

@ -1,67 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=6
PYTHON_COMPAT=( python2_7 python3_{6,7} pypy3 )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1 flag-o-matic
MY_PN=pyOpenSSL
MY_P=${MY_PN}-${PV}
DESCRIPTION="Python interface to the OpenSSL library"
HOMEPAGE="
http://pyopenssl.sourceforge.net/
https://launchpad.net/pyopenssl
https://pypi.org/project/pyOpenSSL/
"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc examples test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/six-1.5.2[${PYTHON_USEDEP}]
>=dev-python/cryptography-2.1.4[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
doc? (
dev-python/sphinx[${PYTHON_USEDEP}]
dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
)
test? (
virtual/python-cffi[${PYTHON_USEDEP}]
dev-python/flaky[${PYTHON_USEDEP}]
dev-python/pretend[${PYTHON_USEDEP}]
>=dev-python/pytest-3.0.1[${PYTHON_USEDEP}] )"
S=${WORKDIR}/${MY_P}
python_prepare_all() {
# Requires network access
sed -i -e 's/test_set_default_verify_paths/_&/' tests/test_ssl.py || die
distutils-r1_python_prepare_all
}
python_compile_all() {
use doc && emake -C doc html
}
python_test() {
TZ=UTC py.test -v || die "Testing failed with ${EPYTHON}" # Fixes bug #627530
}
python_install_all() {
use doc && local HTML_DOCS=( doc/_build/html/. )
if use examples ; then
docinto examples
dodoc -r examples/*
docompress -x /usr/share/doc/${PF}/examples
fi
distutils-r1_python_install_all
}

@ -1,68 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{6,7} pypy3 )
PYTHON_REQ_USE="threads(+)"
inherit distutils-r1 flag-o-matic
MY_PN=pyOpenSSL
MY_P=${MY_PN}-${PV}
DESCRIPTION="Python interface to the OpenSSL library"
HOMEPAGE="
http://pyopenssl.sourceforge.net/
https://launchpad.net/pyopenssl
https://pypi.org/project/pyOpenSSL/
"
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="doc examples test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/six-1.5.2[${PYTHON_USEDEP}]
>=dev-python/cryptography-2.2.1[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
doc? (
dev-python/sphinx[${PYTHON_USEDEP}]
dev-python/sphinx_rtd_theme[${PYTHON_USEDEP}]
)
test? (
virtual/python-cffi[${PYTHON_USEDEP}]
dev-python/flaky[${PYTHON_USEDEP}]
dev-python/pretend[${PYTHON_USEDEP}]
>=dev-python/pytest-3.0.1[${PYTHON_USEDEP}]
)"
S=${WORKDIR}/${MY_P}
python_prepare_all() {
# Requires network access
sed -i -e 's/test_set_default_verify_paths/_&/' tests/test_ssl.py || die
distutils-r1_python_prepare_all
}
python_compile_all() {
use doc && emake -C doc html
}
python_test() {
TZ=UTC py.test -v || die "Testing failed with ${EPYTHON}" # Fixes bug #627530
}
python_install_all() {
use doc && local HTML_DOCS=( doc/_build/html/. )
if use examples ; then
docinto examples
dodoc -r examples/*
docompress -x /usr/share/doc/${PF}/examples
fi
distutils-r1_python_install_all
}

@ -22,7 +22,7 @@ S=${WORKDIR}/${MY_P}
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ia64 ~m68k ~mips ppc ppc64 s390 ~sh sparc x86 ~x64-cygwin ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
IUSE="test"
RESTRICT="!test? ( test )"

@ -1,2 +1 @@
DIST python-debian_0.1.31.tar.xz 295720 BLAKE2B 3b3a68ab5604571355a15afac181e488c278ca78ab4c8a6cba4c392a0a89fd778bfd37e69a369d50fbc72f5080cf37fdbd31771f5d973c386795c436112ea347 SHA512 d2bf071b088e53ac132f91e5983c092bddb9736b3fd1394dfd2654fb8b6af7f89982af8debba8c4af21086d4f8a3ef86393fdef25ef18bcf71dcb00a60a8ae5b
DIST python-debian_0.1.36.tar.xz 308364 BLAKE2B 1cc7e2844db8143a3a4cc4f59c4bbb90bb90ab024b2524335d8ab69947ffe8c64b2b41a54a5d199cd287a3d6b6a0173c75be708af9aedfeb871e354ac1873528 SHA512 3f2ca6d86f6b6d383a1628021a77d19b562b0c409d204dba4de6968d2cdd2c8fb4aa882429fa1ce6af5361352f7a51b339c481dd47937cb103a08132379d77c5

@ -1,41 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="6"
PYTHON_COMPAT=( python2_7 python3_6 )
inherit distutils-r1
DESCRIPTION="Python modules to work with Debian-related data formats"
HOMEPAGE="https://packages.debian.org/sid/python-debian"
SRC_URI="mirror://debian/pool/main/${P:0:1}/${PN}/${PN}_${PV}.tar.xz"
LICENSE="GPL-2 GPL-3"
SLOT="0"
KEYWORDS="amd64 x86"
IUSE="test"
RDEPEND="
dev-python/chardet[${PYTHON_USEDEP}]
dev-python/six[${PYTHON_USEDEP}]"
DEPEND="${RDEPEND}
dev-python/setuptools[${PYTHON_USEDEP}]
test? ( app-arch/dpkg )"
RESTRICT="test"
python_prepare_all() {
sed -i -e '/import apt_pkg/d' \
-e 's/test_iter_paragraphs_comments_use_apt_pkg/_&/' \
lib/debian/tests/test_deb822.py || die
distutils-r1_python_prepare_all
}
python_compile_all() {
"${PYTHON}" lib/debian/doc-debtags > README.debtags || die
}
python_test() {
"${PYTHON}" -m unittest discover lib || die "Testing failed with ${EPYTHON}"
}

@ -2,7 +2,7 @@
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python2_7 python3_{6,7,8} )
PYTHON_COMPAT=( python3_{6,7,8} )
inherit distutils-r1
@ -12,7 +12,7 @@ SRC_URI="mirror://debian/pool/main/${P:0:1}/${PN}/${PN}_${PV}.tar.xz"
LICENSE="GPL-2 GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
KEYWORDS="amd64 x86"
IUSE="test"
RESTRICT="!test? ( test )"

@ -1,2 +1 @@
DIST python-neutronclient-6.12.0.tar.gz 290025 BLAKE2B f863826a531708fda1b9ddb43f8bfd8f66fbba99ce3fe4afc1135d20fe4718dc7f11789c3e75cf52089690ce0286bf5339c9253d1e7e35916befb52ed905448a SHA512 c7e69e263b37aa14b59b08ecc12f13210e1bd6f10cde10d8b4d5b8b9f912d604e23ff41eed684baf09bb6dc278393a55ca87d6e41e0986235cd3366d321dd85f
DIST python-neutronclient-6.12.1.tar.gz 290511 BLAKE2B 046de903c30539183c5650e3f666ba1f24c311d0a9848cbc7c79d64f0d35a0c380917453bf7c8251a1099fc13a15da2ecd5facacde26ec46d859510ba4203dff SHA512 cae17fbffb4f0e78aeff07e90a1d08e5f2aaa3221192be8bf66ad8ed108ee01b0307f7a9a862c685061c77ceb831a7eac4c8343a8b5a71d1380277cdddd90b07

@ -9,9 +9,6 @@
<email>openstack@gentoo.org</email>
<name>Openstack</name>
</maintainer>
<longdescription lang="en">
CLI and python client library for OpenStack Neutron
</longdescription>
<upstream>
<remote-id type="pypi">python-neutronclient</remote-id>
<remote-id type="launchpad">neutron</remote-id>

@ -1,87 +0,0 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7} )
inherit distutils-r1
DESCRIPTION="A client for the OpenStack Quantum API"
HOMEPAGE="https://launchpad.net/neutron"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"
CDEPEND=">=dev-python/pbr-2.0.0[${PYTHON_USEDEP}]
!~dev-python/pbr-2.1.0"
DEPEND="dev-python/setuptools[${PYTHON_USEDEP}]
${CDEPEND}
test? (
>=dev-python/bandit-1.1.0[${PYTHON_USEDEP}]
>=dev-python/coverage-4.0[${PYTHON_USEDEP}]
!~dev-python/coverage-4.4[${PYTHON_USEDEP}]
>=dev-python/fixtures-3.0.0[${PYTHON_USEDEP}]
>=dev-python/mox3-0.20.0[${PYTHON_USEDEP}]
>=dev-python/mock-2.0.0[${PYTHON_USEDEP}]
>=dev-python/openstackdocstheme-1.17.0[${PYTHON_USEDEP}]
>=dev-python/oslotest-3.2.0[${PYTHON_USEDEP}]
>=dev-python/osprofiler-2.3.0[${PYTHON_USEDEP}]
>=dev-python/python-openstackclient-3.12.0[${PYTHON_USEDEP}]
>=dev-python/subunit-1.0.0[${PYTHON_USEDEP}]
>=dev-python/reno-2.5.0[${PYTHON_USEDEP}]
>=dev-python/requests-mock-1.2.0[${PYTHON_USEDEP}]
>=dev-python/stestr-2.0.0[${PYTHON_USEDEP}]
>=dev-python/testtools-2.2.0[${PYTHON_USEDEP}]
>=dev-python/testscenarios-0.4[${PYTHON_USEDEP}]
)"
RDEPEND="
${CDEPEND}
>=dev-python/cliff-2.8.0[${PYTHON_USEDEP}]
!~dev-python/cliff-2.9.0[${PYTHON_USEDEP}]
>=dev-python/debtcollector-1.2.0[${PYTHON_USEDEP}]
>=dev-python/iso8601-0.1.11[${PYTHON_USEDEP}]
>=dev-python/netaddr-0.7.18[${PYTHON_USEDEP}]
>=dev-python/osc-lib-1.8.0[${PYTHON_USEDEP}]
>=dev-python/oslo-i18n-3.15.3[${PYTHON_USEDEP}]
>=dev-python/oslo-log-3.36.0[${PYTHON_USEDEP}]
>=dev-python/oslo-serialization-1.18.0[${PYTHON_USEDEP}]
!~dev-python/oslo-serialization-2.19.1[${PYTHON_USEDEP}]
>=dev-python/oslo-utils-3.33.0[${PYTHON_USEDEP}]
>=dev-python/os-client-config-1.28.0[${PYTHON_USEDEP}]
>=dev-python/keystoneauth-3.4.0[${PYTHON_USEDEP}]
>=dev-python/python-keystoneclient-3.8.0[${PYTHON_USEDEP}]
>=dev-python/requests-2.14.2[${PYTHON_USEDEP}]
>=dev-python/simplejson-3.5.1[${PYTHON_USEDEP}]
>=dev-python/six-1.10.0[${PYTHON_USEDEP}]
>=dev-python/Babel-2.3.4[${PYTHON_USEDEP}]
!~dev-python/Babel-2.4.0[${PYTHON_USEDEP}]"
python_prepare_all() {
# built in...
sed -i '/^hacking/d' test-requirements.txt || die
sed -i '/^flake8-import-order/d' test-requirements.txt || die
distutils-r1_python_prepare_all
}
python_test() {
testr init
testr run || die "tests failed under python2.7"
flake8 neutronclient/tests || die "run by flake8 over tests folder yielded error"
}
python_install() {
distutils-r1_python_install
#stupid stupid
local SITEDIR="${D}$(python_get_sitedir)" || die
cd "${SITEDIR}" || die
local egg=( python_neutronclient*.egg-info )
#[[ -f ${egg[0]} ]] || die "python_quantumclient*.egg-info not found"
ln -s "${egg[0]}" "${egg[0]/neutron/quantum}" || die
ln -s neutronclient quantumclient || die
ln -s neutron quantumclient/quantum || die
}

@ -12,7 +12,7 @@ SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64 ~arm64 ~x86 ~amd64-linux ~x86-linux"
KEYWORDS="amd64 ~arm64 x86 ~amd64-linux ~x86-linux"
IUSE="test"
RESTRICT="!test? ( test )"

@ -5,11 +5,19 @@
<email>python@gentoo.org</email>
<name>Python</name>
</maintainer>
<maintainer type="person">
<email>lssndrbarbieri@gmail.com</email>
<name>Alessandro Barbieri</name>
</maintainer>
<maintainer type="project">
<email>proxy-maint@gentoo.org</email>
<name>Proxy Maintainers</name>
</maintainer>
<longdescription>
A Sphinx extension to literally insert the output of arbitrary
commands into documents, helping you to keep your command examples
up to date.
</longdescription>
</longdescription>
<upstream>
<remote-id type="pypi">sphinxcontrib-programoutput</remote-id>
</upstream>

Binary file not shown.

@ -20,7 +20,7 @@ RUBY_S="minitar-${PV}"
LICENSE="|| ( BSD-2 Ruby )"
SLOT="0"
KEYWORDS="~alpha amd64 hppa ia64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
KEYWORDS="amd64 hppa ia64 ppc ppc64 ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~x64-solaris ~x86-solaris"
IUSE=""
ruby_add_bdepend "test? ( >=dev-ruby/minitest-5.3:5 )"

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save