parent
81c15c4c8f
commit
a2115c0ce4
Binary file not shown.
Binary file not shown.
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
DESCRIPTION="Universal Command Line Environment for AWS"
|
||||
HOMEPAGE="https://pypi.org/project/awscli/"
|
||||
#SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
SRC_URI="https://github.com/aws/aws-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/aws-cli-${PV}"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
# awscli 1.22.55 → botocore 1.24.0
|
||||
# so botocore is x.(y+2).(z-55)
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 2)).$(( $(ver_cut 3-) - 55))"
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
dev-python/colorama[${PYTHON_USEDEP}]
|
||||
dev-python/docutils[${PYTHON_USEDEP}]
|
||||
dev-python/rsa[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.4.0[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
# strip overzealous upper bounds on requirements
|
||||
sed -i -e 's:,<[0-9.]*::' -e 's:==:>=:' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# integration tests require AWS credentials and Internet access
|
||||
epytest tests/{functional,unit} \
|
||||
-n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
newbashcomp bin/aws_bash_completer aws
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins bin/aws_zsh_completer.sh _aws
|
||||
|
||||
distutils-r1_python_install_all
|
||||
|
||||
rm "${ED}"/usr/bin/{aws.cmd,aws_bash_completer,aws_zsh_completer.sh} || die
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +0,0 @@
|
||||
DIST freehep-vectorgraphics-2.4.tar.gz 4118379 BLAKE2B c8a5840ebab43398a6f87f97855a38f843b0e05267f5446b5f22a0c0124c98717c00801fe93ef3b541b2c53d07176ab1319a27ad26ed177b6dded11e3fa2e7bb SHA512 b5cf083cc6951e7c4b438d5e648f61ca20b23e02163a8cfc4669beaaec2fa9e33338b0ba6875bfe4a3864ac48f9774acfedc2a3b2f59a7488ef99a4817e39382
|
@ -1,49 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
MY_PN="freehep-vectorgraphics"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="High Energy Physics Java library - FreeHEP Graphics Base Library"
|
||||
HOMEPAGE="http://java.freehep.org/"
|
||||
SRC_URI="https://github.com/freehep/${MY_PN}/archive/${MY_P}.tar.gz"
|
||||
LICENSE="Apache-2.0 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
CDEPEND="dev-java/freehep-io:0
|
||||
dev-java/junit:4"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
>=virtual/jdk-1.7"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
>=virtual/jre-1.7"
|
||||
|
||||
S="${WORKDIR}/${MY_PN}-${MY_P}/${PN}"
|
||||
JAVA_SRC_DIR="src/main/java"
|
||||
JAVA_GENTOO_CLASSPATH="freehep-io,junit-4"
|
||||
|
||||
src_compile() {
|
||||
java-pkg-simple_src_compile
|
||||
java-pkg_addres ${PN}.jar src/main/resources
|
||||
}
|
||||
|
||||
src_test() {
|
||||
local DIR=src/test/java
|
||||
local CP="${DIR}:${PN}.jar:$(java-pkg_getjars ${JAVA_GENTOO_CLASSPATH})"
|
||||
local TESTS=$(find ${DIR} -name "*Test.java" ! -name "ExportFileTypeTest.java")
|
||||
TESTS="${TESTS//src\/test\/java\/}"
|
||||
TESTS="${TESTS//.java}"
|
||||
TESTS="${TESTS//\//.}"
|
||||
|
||||
ejavac -cp "${CP}" -d ${DIR} $(find ${DIR} -name "*.java")
|
||||
ejunit4 -classpath "${CP}" ${TESTS}
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">freehep/freehep-vectorgraphics</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST freehep-io-2.2.2.tar.gz 76935 BLAKE2B 11468effa883c44f4376bac7282881942209cd5769545083bd761489f31eceec96c909d452f2a056172c8fee65917895acb34c18583d771a258883e4e12c3906 SHA512 1cc7cab3d9648b119aa8c637c84cd985adc0f9dd2cdd153021500831325d719ef5fa41d8964ccbeed3af95b87e09c4886597c0ede1370a209f6807932636b0ee
|
@ -1,37 +0,0 @@
|
||||
# Copyright 1999-2019 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="High Energy Physics Java library - FreeHEP I/O Library"
|
||||
HOMEPAGE="http://java.freehep.org/"
|
||||
SRC_URI="https://github.com/freehep/${PN}/archive/${P}.tar.gz"
|
||||
LICENSE="Apache-2.0 LGPL-2.1"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.7
|
||||
test? ( dev-java/junit:4 )"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.7"
|
||||
|
||||
S="${WORKDIR}/${PN}-${P}"
|
||||
JAVA_SRC_DIR="src/main/java"
|
||||
|
||||
src_test() {
|
||||
local DIR=src/test/java
|
||||
local CP="${DIR}:${PN}.jar:$(java-pkg_getjars junit-4)"
|
||||
local TESTS=$(find ${DIR} -name "*Test.java" ! -name "Abstract*")
|
||||
TESTS="${TESTS//src\/test\/java\/}"
|
||||
TESTS="${TESTS//.java}"
|
||||
TESTS="${TESTS//\//.}"
|
||||
|
||||
ejavac -cp "${CP}" -d ${DIR} $(find ${DIR} -name "*.java")
|
||||
ejunit4 -classpath "${CP}" ${TESTS}
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">freehep/freehep-io</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST glassfish-interceptor-api-3.1.tar.xz 14600 BLAKE2B ef46f503a0a44650750f9cc53b51d02219779e2b1891c46179e07566a7ed359cb8ac455d2819bd22c5af7a78f33861a32e26c2cf977ebdac46f172e144c536dd SHA512 674f53d53afb63799c579b0ec177a009178315fb62f027441da14ceb5d6fa07408840ad82aa8fa7be31b53d43b53ff28ffb1617d644c989bc4ac17ce5e626563
|
@ -1,10 +0,0 @@
|
||||
--- a/maven-build.xml
|
||||
+++ b/maven-build.xml
|
||||
@@ -166,7 +166,6 @@
|
||||
<jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
|
||||
compress="true"
|
||||
index="false"
|
||||
- manifest="/tmp/glassfish-interceptor-api-3.1/target/classes/META-INF/MANIFEST.MF"
|
||||
basedir="${maven.build.outputDir}"
|
||||
excludes="**/package.html"/>
|
||||
</target>
|
@ -1,41 +0,0 @@
|
||||
# Copyright 1999-2018 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
TOMEE_PV="1.5.2"
|
||||
|
||||
DESCRIPTION="Project GlassFish Interceptor API"
|
||||
HOMEPAGE="https://glassfish.java.net/"
|
||||
SRC_URI="https://dev.gentoo.org/~tomwij/files/dist/${P}.tar.xz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86 ~amd64-linux"
|
||||
|
||||
CDEPEND=""
|
||||
|
||||
DEPEND=">=virtual/jdk-1.7
|
||||
${CDEPEND}"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.7
|
||||
${CDEPEND}"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="true"
|
||||
EANT_GENTOO_CLASSPATH=""
|
||||
JAVA_PKG_BSFIX_NAME="maven-build.xml"
|
||||
|
||||
java_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-build.xml.patch
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar target/javax.interceptor-api-${PV}.jar
|
||||
|
||||
use doc && java-pkg_dojavadoc target/site/apidocs
|
||||
use source && java-pkg_dosrc src/main/java/javax
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST classpath-0.98.tar.gz 11021342 BLAKE2B 8bd0c55153569b34dfde767233ed48f6ebf0f507d34d991a410b0e40a2ddfbd20d4568697265f8544823337f568a916288e92c096b39fcd5c67afc82ddfc3cc3 SHA512 0d98f87cd78c166d566ecd8d0372f2d6cdf422e8c4c806ca01d3a77dafbdd80ee936de78a2c5d4226174027efdc053fe92669514bdd8acb3290a7b3ec002d31f
|
@ -1,32 +0,0 @@
|
||||
--- ./native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c.orig 2014-03-18 10:35:50.904133661 +0100
|
||||
+++ ./native/jni/gtk-peer/gnu_java_awt_peer_gtk_FreetypeGlyphVector.c 2014-03-18 10:37:03.808131298 +0100
|
||||
@@ -42,8 +42,9 @@
|
||||
#include <pango/pango.h>
|
||||
#include <pango/pangoft2.h>
|
||||
#include <pango/pangofc-font.h>
|
||||
-#include <freetype/ftglyph.h>
|
||||
-#include <freetype/ftoutln.h>
|
||||
+#include <ft2build.h>
|
||||
+#include FT_GLYPH_H
|
||||
+#include FT_OUTLINE_H
|
||||
#include "jcl.h"
|
||||
#include "gdkfont.h"
|
||||
#include "gnu_java_awt_peer_gtk_FreetypeGlyphVector.h"
|
||||
--- ./native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c.orig 2014-03-18 10:37:12.048131031 +0100
|
||||
+++ ./native/jni/gtk-peer/gnu_java_awt_peer_gtk_GdkFontPeer.c 2014-03-18 10:37:58.416129528 +0100
|
||||
@@ -39,10 +39,11 @@
|
||||
#include <pango/pango.h>
|
||||
#include <pango/pangoft2.h>
|
||||
#include <pango/pangofc-font.h>
|
||||
-#include <freetype/ftglyph.h>
|
||||
-#include <freetype/ftoutln.h>
|
||||
-#include <freetype/fttypes.h>
|
||||
-#include <freetype/tttables.h>
|
||||
+#include <ft2build.h>
|
||||
+#include FT_GLYPH_H
|
||||
+#include FT_OUTLINE_H
|
||||
+#include FT_TYPES_H
|
||||
+#include FT_TRUETYPE_TABLES_H
|
||||
#include "gdkfont.h"
|
||||
#include "gtkpeer.h"
|
||||
#include "gnu_java_awt_peer_gtk_GdkFontPeer.h"
|
@ -1,115 +0,0 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit epatch java-pkg-2 multilib
|
||||
|
||||
MY_P=${P/gnu-/}
|
||||
DESCRIPTION="Free core class libraries for use with Java VMs and compilers"
|
||||
SRC_URI="mirror://gnu/classpath/${MY_P}.tar.gz"
|
||||
HOMEPAGE="https://www.gnu.org/software/classpath"
|
||||
|
||||
LICENSE="GPL-2-with-linking-exception"
|
||||
SLOT="0.98"
|
||||
KEYWORDS="amd64 ppc64 x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
IUSE="alsa debug doc dssi examples gconf +gjdoc gmp gtk xml"
|
||||
REQUIRED_USE="doc? ( gjdoc )"
|
||||
|
||||
RDEPEND="alsa? ( media-libs/alsa-lib )
|
||||
dssi? ( >=media-libs/dssi-0.9 )
|
||||
gconf? ( gnome-base/gconf:2= )
|
||||
gjdoc? ( >=dev-java/antlr-2.7.7-r7:0 )
|
||||
gmp? ( >=dev-libs/gmp-4.2.4:0= )
|
||||
gtk? (
|
||||
>=x11-libs/gtk+-2.8:2=
|
||||
dev-libs/glib:2=
|
||||
media-libs/freetype:2=
|
||||
>=x11-libs/cairo-1.1.9:=
|
||||
x11-libs/libICE
|
||||
x11-libs/libSM
|
||||
x11-libs/libX11
|
||||
x11-libs/libXrandr
|
||||
x11-libs/libXrender
|
||||
x11-libs/libXtst
|
||||
x11-libs/pango
|
||||
)
|
||||
xml? ( >=dev-libs/libxml2-2.6.8:2= >=dev-libs/libxslt-1.1.11 )"
|
||||
|
||||
DEPEND="app-arch/zip
|
||||
gtk? (
|
||||
x11-base/xorg-proto
|
||||
x11-libs/libXrender
|
||||
>=x11-libs/libXtst-1.1.0
|
||||
)
|
||||
>=virtual/jdk-1.5
|
||||
${RDEPEND}"
|
||||
|
||||
RDEPEND=">=virtual/jre-1.5
|
||||
${RDEPEND}"
|
||||
|
||||
S=${WORKDIR}/${MY_P}
|
||||
|
||||
java_prepare() {
|
||||
epatch "${FILESDIR}"/${P}-freetype-2.5.3-support.patch
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# don't use econf, because it ends up putting things under /usr, which may
|
||||
# collide with other slots of classpath
|
||||
local myconf
|
||||
if use gjdoc; then
|
||||
local antlr=$(java-pkg_getjar antlr antlr.jar)
|
||||
myconf="--with-antlr-jar=${antlr}"
|
||||
fi
|
||||
|
||||
if use doc; then
|
||||
# Avoid a cyclic dependency on gjdoc by building gjdoc before
|
||||
# the docs. First we need to trick configure. Hack alert!
|
||||
echo -e "#!/bin/sh\necho gjdoc 0.8" > tools/gjdoc.build || die
|
||||
chmod 755 tools/gjdoc.build || die
|
||||
fi
|
||||
|
||||
ANTLR= ./configure \
|
||||
$(use_enable alsa) \
|
||||
$(use_enable debug ) \
|
||||
$(use_enable examples) \
|
||||
$(use_enable gconf gconf-peer) \
|
||||
$(use_enable gjdoc) \
|
||||
$(use_enable gmp) \
|
||||
$(use_enable gtk gtk-peer) \
|
||||
$(use_enable xml xmlj) \
|
||||
$(use_enable dssi ) \
|
||||
$(use_with doc gjdoc "${S}/tools/gjdoc.build") \
|
||||
--enable-jni \
|
||||
--disable-plugin \
|
||||
--host=${CHOST} \
|
||||
--prefix="${EPREFIX}"/usr/${PN}-${SLOT} \
|
||||
--disable-Werror \
|
||||
${myconf} || die "configure failed"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
if use doc; then
|
||||
# Build gjdoc before the docs. We need to hack the real gjdoc
|
||||
# script to run from the build directory instead.
|
||||
sed -r "s:^(tools_dir=).*:\1${S}/tools:" tools/gjdoc > tools/gjdoc.build || die
|
||||
emake -C lib
|
||||
emake -C tools
|
||||
fi
|
||||
|
||||
default
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake DESTDIR="${D}" install
|
||||
dodoc AUTHORS BUGS ChangeLog* HACKING NEWS README THANKYOU TODO
|
||||
java-pkg_regjar /usr/${P}/share/classpath/glibj.zip
|
||||
|
||||
if use doc; then
|
||||
# Strangely the Makefile doesn't install these.
|
||||
insinto /usr/${PN}-${SLOT}/share/classpath/api
|
||||
doins -r doc/api/html/*
|
||||
fi
|
||||
}
|
@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
<use>
|
||||
<flag name="alsa">Build with ALSA javax.sound.midi provider</flag>
|
||||
<flag name="dssi">Build with DSSI javax.sound.midi provider</flag>
|
||||
<flag name="gconf">Build with GConf preferences backend</flag>
|
||||
<flag name="gmp">Build with GMP backend for java.math.BigInteger</flag>
|
||||
<flag name="gjdoc">Build GJDoc, a documentation generator</flag>
|
||||
<flag name="gtk">Build with Gtk+ AWT peers</flag>
|
||||
<flag name="xml">Build with native XML backend</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST invokebinder-1.6.tar.gz 36027 BLAKE2B b1a676063690500ae0a2c39eed7828d115074fd18ac88338e6078413d837f91e5a1a9a5beb2da976f82315fc6fb63de6f3df47e82c2e7589d4689986d78e3fa1 SHA512 cacdd6dd5fe74bbba940be1b3d53b183adc247b74e89cc0784805b2ad2c63d12ca1abe20bacf0a90ea50db7574e43d4ac52b5a46e61912e5153e2ac2f6bc559a
|
@ -1,230 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Ant build file (http://ant.apache.org/) for Ant 1.6.2 or above. -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- ===================== - DO NOT EDIT THIS FILE! - ===================== -->
|
||||
<!-- ====================================================================== -->
|
||||
<!-- -->
|
||||
<!-- Any modifications will be overwritten. -->
|
||||
<!-- -->
|
||||
<!-- Generated by Maven Ant Plugin on 10/12/15 9:24 PM -->
|
||||
<!-- See: http://maven.apache.org/plugins/maven-ant-plugin/ -->
|
||||
<!-- -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<project name="invokebinder-from-maven" default="package" basedir=".">
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Build environment properties -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<property file="${user.home}/.m2/maven.properties"/>
|
||||
<property file="maven-build.properties"/>
|
||||
|
||||
<property name="maven.build.finalName" value="invokebinder-1.6"/>
|
||||
<property name="maven.build.dir" value="target"/>
|
||||
<property name="maven.build.outputDir" value="${maven.build.dir}/classes"/>
|
||||
<property name="maven.build.srcDir.0" value="src/main/java"/>
|
||||
<property name="maven.build.resourceDir.0" value="src/main/resources"/>
|
||||
<property name="maven.build.testOutputDir" value="${maven.build.dir}/test-classes"/>
|
||||
<property name="maven.build.testDir.0" value="src/test/java"/>
|
||||
<property name="maven.build.testResourceDir.0" value="src/test/resources"/>
|
||||
<property name="maven.test.reports" value="${maven.build.dir}/test-reports"/>
|
||||
<property name="maven.reporting.outputDirectory" value="${maven.build.dir}/site"/>
|
||||
|
||||
<property name="maven.repo.local" value="${user.home}/.m2/repository"/>
|
||||
<property name="maven.settings.offline" value="false"/>
|
||||
<property name="maven.settings.interactiveMode" value="true"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Defining classpaths -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<path id="build.classpath"/>
|
||||
<path id="build.test.classpath">
|
||||
<pathelement location="${maven.repo.local}/junit/junit/4.9/junit-4.9.jar"/>
|
||||
<pathelement location="${maven.repo.local}/org/hamcrest/hamcrest-core/1.1/hamcrest-core-1.1.jar"/>
|
||||
</path>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Cleaning up target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="clean" description="Clean the output directory">
|
||||
<delete dir="${maven.build.dir}"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile" description="Compile the code">
|
||||
<mkdir dir="${maven.build.outputDir}"/>
|
||||
<javac destdir="${maven.build.outputDir}"
|
||||
encoding="UTF-8"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="1.7"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="1.7">
|
||||
<src>
|
||||
<pathelement location="${maven.build.srcDir.0}"/>
|
||||
</src>
|
||||
<classpath refid="build.classpath"/>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Test-compilation target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="compile-tests"
|
||||
depends="compile"
|
||||
description="Compile the test code"
|
||||
unless="maven.test.skip">
|
||||
<mkdir dir="${maven.build.testOutputDir}"/>
|
||||
<javac destdir="${maven.build.testOutputDir}"
|
||||
encoding="UTF-8"
|
||||
nowarn="false"
|
||||
debug="true"
|
||||
optimize="false"
|
||||
deprecation="true"
|
||||
target="1.7"
|
||||
verbose="false"
|
||||
fork="false"
|
||||
source="1.7">
|
||||
<src>
|
||||
<pathelement location="${maven.build.testDir.0}"/>
|
||||
</src>
|
||||
<classpath>
|
||||
<path refid="build.test.classpath"/>
|
||||
<pathelement location="${maven.build.outputDir}"/>
|
||||
</classpath>
|
||||
</javac>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Run all tests -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="test"
|
||||
depends="compile-tests, junit-missing"
|
||||
unless="junit.skipped"
|
||||
description="Run the test cases">
|
||||
<mkdir dir="${maven.test.reports}"/>
|
||||
<junit printSummary="yes" haltonerror="true" haltonfailure="true" fork="true" dir=".">
|
||||
<sysproperty key="basedir" value="."/>
|
||||
<formatter type="xml"/>
|
||||
<formatter type="plain" usefile="false"/>
|
||||
<classpath>
|
||||
<path refid="build.test.classpath"/>
|
||||
<pathelement location="${maven.build.outputDir}"/>
|
||||
<pathelement location="${maven.build.testOutputDir}"/>
|
||||
</classpath>
|
||||
<batchtest todir="${maven.test.reports}" unless="test">
|
||||
<fileset dir="${maven.build.testDir.0}">
|
||||
<include name="**/Test*.java"/>
|
||||
<include name="**/*Test.java"/>
|
||||
<include name="**/*TestCase.java"/>
|
||||
<exclude name="**/*Abstract*Test.java"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
<batchtest todir="${maven.test.reports}" if="test">
|
||||
<fileset dir="${maven.build.testDir.0}">
|
||||
<include name="**/${test}.java"/>
|
||||
<exclude name="**/*Abstract*Test.java"/>
|
||||
</fileset>
|
||||
</batchtest>
|
||||
</junit>
|
||||
</target>
|
||||
|
||||
<target name="test-junit-present">
|
||||
<available classname="junit.framework.Test" property="junit.present" classpathref="build.test.classpath"/>
|
||||
</target>
|
||||
|
||||
<target name="test-junit-status"
|
||||
depends="test-junit-present">
|
||||
<condition property="junit.missing">
|
||||
<and>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<isfalse value="${maven.test.skip}"/>
|
||||
</and>
|
||||
</condition>
|
||||
<condition property="junit.skipped">
|
||||
<or>
|
||||
<isfalse value="${junit.present}"/>
|
||||
<istrue value="${maven.test.skip}"/>
|
||||
</or>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
<target name="junit-missing"
|
||||
depends="test-junit-status"
|
||||
if="junit.missing">
|
||||
<echo>=================================== WARNING ===================================</echo>
|
||||
<echo> JUnit is not present in the test classpath or your $ANT_HOME/lib directory. Tests not executed.</echo>
|
||||
<echo>===============================================================================</echo>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Javadoc target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="javadoc" description="Generates the Javadoc of the application">
|
||||
<javadoc sourcepath="${maven.build.srcDir.0}"
|
||||
packagenames="*"
|
||||
destdir="${maven.reporting.outputDirectory}/apidocs"
|
||||
access="protected"
|
||||
old="false"
|
||||
verbose="false"
|
||||
version="true"
|
||||
use="true"
|
||||
author="true"
|
||||
splitindex="false"
|
||||
nodeprecated="false"
|
||||
nodeprecatedlist="false"
|
||||
notree="false"
|
||||
noindex="false"
|
||||
nohelp="false"
|
||||
nonavbar="false"
|
||||
serialwarn="false"
|
||||
charset="ISO-8859-1"
|
||||
linksource="false"
|
||||
breakiterator="false"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Package target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="package" depends="compile,test" description="Package the application">
|
||||
<jar jarfile="${maven.build.dir}/${maven.build.finalName}.jar"
|
||||
compress="true"
|
||||
index="false"
|
||||
basedir="${maven.build.outputDir}"
|
||||
excludes="**/package.html"/>
|
||||
</target>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- A dummy target for the package named after the type it creates -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="jar" depends="package" description="Builds the jar for the application"/>
|
||||
|
||||
<!-- ====================================================================== -->
|
||||
<!-- Download dependencies target -->
|
||||
<!-- ====================================================================== -->
|
||||
|
||||
<target name="test-offline">
|
||||
<condition property="maven.mode.offline">
|
||||
<equals arg1="${maven.settings.offline}" arg2="true"/>
|
||||
</condition>
|
||||
</target>
|
||||
|
||||
</project>
|
@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2015 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
|
||||
inherit java-pkg-2 java-ant-2
|
||||
|
||||
DESCRIPTION="Provide a friendly DSL for binding method handles"
|
||||
HOMEPAGE="https://github.com/headius/invokebinder"
|
||||
SRC_URI="https://github.com/headius/${PN}/archive/${P}.tar.gz"
|
||||
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
LICENSE="Apache-2.0"
|
||||
|
||||
S="${WORKDIR}/${PN}-${P}"
|
||||
|
||||
DEPEND=">=virtual/jdk-1.7
|
||||
test? (
|
||||
dev-java/ant-junit:0
|
||||
)"
|
||||
RDEPEND=">=virtual/jre-1.7"
|
||||
|
||||
JAVA_ANT_REWRITE_CLASSPATH="yes"
|
||||
EANT_TEST_TARGET="test"
|
||||
|
||||
java_prepare() {
|
||||
cp "${FILESDIR}"/${P}-build.xml build.xml || die
|
||||
}
|
||||
|
||||
src_test() {
|
||||
java-pkg-2_src_test
|
||||
}
|
||||
|
||||
src_install() {
|
||||
java-pkg_newjar "target/${P}.jar" "${PN}.jar"
|
||||
use source && java-pkg_dosrc src/main/java/com
|
||||
if use doc; then
|
||||
java-pkg_dojavadoc target/site/apidocs
|
||||
dodoc README.markdown
|
||||
fi
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">headius/invokebinder</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST java-apicheck-0_p20150907.tar.gz 1550 BLAKE2B 75d53337c6ead56927897ec26f7c475296564e737eb91c66f330aefed8f0675b27c23cbbf34a27d15e42e3e3a74ac078465b7dd6030faf1fe3d09cd1f45d7255 SHA512 68a3a5443ea26840a526c2e53451e47e441f6ec15b2ddffef8f5d63a50f1129d18cd65506ecfe0bbf3f9829514697648eff8f64e558f0bd5376b0bf2add70b70
|
@ -1,22 +0,0 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
DESCRIPTION="Command line tool to check Java packages for API compatibility"
|
||||
HOMEPAGE="https://github.com/gentoo/java-apicheck/"
|
||||
SRC_URI="https://github.com/gentoo/java-apicheck/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
IUSE=""
|
||||
|
||||
RDEPEND="
|
||||
dev-java/japitools
|
||||
dev-java/java-config
|
||||
"
|
||||
|
||||
src_install() {
|
||||
dobin ${PN}
|
||||
}
|
@ -1,11 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">gentoo/java-apicheck</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST jboss-marshalling-river-1.3.0.CR9-sources.jar 45310 BLAKE2B 87eced675dbdb0d645ae4f3321954142922053008a650a9604b32c5e850c280c16d941997874c420e48e894e9f63c6441e6b3cd629fcfe7ad31ae13abb6f41e7 SHA512 0ff0ba48f8e4c1e76d378843aeae4793992fc200cf6d5aeeeec7341ddcd6bc3c93915ccb2bddbf3996661ff21e3a992e232c0721ec4469c5347811afabec4351
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="River protocol implementation for JBoss Marshalling"
|
||||
HOMEPAGE="https://jbossmarshalling.jboss.org/"
|
||||
SRC_URI="https://download.jboss.org/jbossmarshalling/${P}.CR9-sources.jar"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
CDEPEND="~dev-java/jboss-marshalling-${PV}:0"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
>=virtual/jre-1.7"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
>=virtual/jdk-1.7
|
||||
app-arch/unzip"
|
||||
|
||||
JAVA_GENTOO_CLASSPATH="jboss-marshalling"
|
||||
|
||||
src_compile() {
|
||||
java-pkg-simple_src_compile
|
||||
java-pkg_addres ${PN}.jar .
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1 +0,0 @@
|
||||
DIST jboss-marshalling-serial-1.3.0.CR9-sources.jar 33627 BLAKE2B 76a6d6656c456ef5b4a4acbb659f52280d63b48aea46ff4fd190f8a9b5852157e37ce511a1af87007b04f03401082dd5e9a0d540ba27ac02567e7e50f04ebc33 SHA512 23343b43d2d81fb3f9d22e82d04e3c215cf0357fe369ac316a602b4599f84602bdd38fd50c8378050b1d031db2ad31405fc38bc93ef7a9327d63a29dd73ee144
|
@ -1,31 +0,0 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI="5"
|
||||
|
||||
JAVA_PKG_IUSE="doc source"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Serial protocol implementation for JBoss Marshalling"
|
||||
HOMEPAGE="https://jbossmarshalling.jboss.org/"
|
||||
SRC_URI="https://download.jboss.org/jbossmarshalling/${P}.CR9-sources.jar"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
CDEPEND="~dev-java/jboss-marshalling-${PV}:0"
|
||||
|
||||
RDEPEND="${CDEPEND}
|
||||
>=virtual/jre-1.7"
|
||||
|
||||
DEPEND="${CDEPEND}
|
||||
>=virtual/jdk-1.7
|
||||
app-arch/unzip"
|
||||
|
||||
JAVA_GENTOO_CLASSPATH="jboss-marshalling"
|
||||
|
||||
src_compile() {
|
||||
java-pkg-simple_src_compile
|
||||
java-pkg_addres ${PN}.jar .
|
||||
}
|
@ -1,8 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="project">
|
||||
<email>java@gentoo.org</email>
|
||||
<name>Java</name>
|
||||
</maintainer>
|
||||
</pkgmetadata>
|
@ -1 +1,2 @@
|
||||
DIST reflections-0.9.10-sources.jar 53049 BLAKE2B 23491098dc648206161d983148bf11a1c4523df0593c903f9dbf03672b481d85aabaed7733a5d829b7f334e51d53dadde3fd439e62f9873ceb11f49f40a2cfef SHA512 940b80ed43aa900177e6c3551980eafe10f7ea16a1e5c0d24fc8c1e29f1e0155aae83e24f60af10f9743449ed38d2d3b211f3668fafbd95a6a2cb9c5581f56bf
|
||||
DIST reflections-0.9.12.tar.gz 48235 BLAKE2B c82bd69f4433d8db738fcd32dd7fbf643984917622853b1886e15b906a91579de0193daf0fc1a9642c12d13de8236acf3e1f1409a18713b37c6e705a3cae34bd SHA512 8f8c7603ab73b599c6e2160f42b61c4e0eedef9981c06124bba0437d6636e7bf8a916784e266754562dc17f4d3ccf8df6c9ba707d1a7c38d97dc5eea9138064f
|
||||
|
@ -0,0 +1,99 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
# Skeleton command:
|
||||
# java-ebuilder --generate-ebuild --workdir . --pom pom.xml --download-uri https://github.com/ronmamo/reflections/archive/0.9.12.tar.gz --slot 0 --keywords "~amd64 ~arm ~arm64 ~ppc64 ~x86" --ebuild reflections-0.9.12.ebuild
|
||||
|
||||
EAPI=8
|
||||
|
||||
JAVA_PKG_IUSE="doc source test"
|
||||
MAVEN_ID="org.reflections:reflections:0.9.12"
|
||||
JAVA_TESTING_FRAMEWORKS="junit-4"
|
||||
|
||||
inherit java-pkg-2 java-pkg-simple
|
||||
|
||||
DESCRIPTION="Reflections - a Java runtime metadata analysis"
|
||||
HOMEPAGE="https://github.com/ronmamo/reflections"
|
||||
SRC_URI="https://github.com/ronmamo/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="WTFPL-2 BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~x86"
|
||||
|
||||
# Common dependencies
|
||||
# POM: pom.xml
|
||||
# com.google.code.gson:gson:2.8.6 -> >=dev-java/gson-2.8.8:2.6
|
||||
# org.dom4j:dom4j:2.1.1 -> >=dev-java/dom4j-2.1.3:1
|
||||
# org.javassist:javassist:3.26.0-GA -> !!!suitable-mavenVersion-not-found!!!
|
||||
# org.slf4j:slf4j-api:1.7.30 -> >=dev-java/slf4j-api-1.7.30:0
|
||||
# org.slf4j:slf4j-simple:1.7.24 -> >=dev-java/slf4j-simple-1.7.30:0
|
||||
|
||||
CP_DEPEND="
|
||||
dev-java/dom4j:1
|
||||
dev-java/gson:2.6
|
||||
dev-java/javassist:3
|
||||
dev-java/slf4j-api:0
|
||||
dev-java/slf4j-simple:0
|
||||
"
|
||||
|
||||
# Compile dependencies
|
||||
# POM: pom.xml
|
||||
# javax.servlet:servlet-api:2.5 -> java-virtuals/servlet-api:2.5
|
||||
# POM: pom.xml
|
||||
# test? junit:junit:4.13 -> >=dev-java/junit-4.13.2:4
|
||||
|
||||
DEPEND="
|
||||
java-virtuals/servlet-api:2.5
|
||||
>=virtual/jdk-1.8:*
|
||||
${CP_DEPEND}
|
||||
"
|
||||
|
||||
RDEPEND="
|
||||
>=virtual/jre-1.8:*
|
||||
${CP_DEPEND}"
|
||||
|
||||
S="${WORKDIR}/${P}"
|
||||
|
||||
JAVA_CLASSPATH_EXTRA="servlet-api-2.5"
|
||||
JAVA_SRC_DIR=( "src/main/java" )
|
||||
|
||||
JAVA_TEST_GENTOO_CLASSPATH="junit-4"
|
||||
JAVA_TEST_SRC_DIR=( "src/test/java" )
|
||||
JAVA_TEST_RESOURCE_DIRS=( "src/test/resources" )
|
||||
JAVA_TEST_EXCLUDES=(
|
||||
# Upstream does not run this test
|
||||
"org.reflections.TestModel"
|
||||
# 1) testMethodParameterNames(org.reflections.ReflectionsCollectTest)
|
||||
# org.reflections.ReflectionsException: Scanner MethodParameterNamesScanner was not configured
|
||||
# at org.reflections.Store.get(Store.java:39)
|
||||
# at org.reflections.Store.get(Store.java:61)
|
||||
# at org.reflections.Store.get(Store.java:46)
|
||||
# at org.reflections.Reflections.getMethodParamNames(Reflections.java:579)
|
||||
# at org.reflections.ReflectionsTest.testMethodParameterNames(ReflectionsTest.java:239)
|
||||
org.reflections.ReflectionsCollectTest
|
||||
# 2) testMethodParameterNames(org.reflections.ReflectionsParallelTest)
|
||||
# org.reflections.ReflectionsException: Scanner MethodParameterNamesScanner was not configured
|
||||
# at org.reflections.Store.get(Store.java:39)
|
||||
# at org.reflections.Store.get(Store.java:61)
|
||||
# at org.reflections.Store.get(Store.java:46)
|
||||
# at org.reflections.Reflections.getMethodParamNames(Reflections.java:579)
|
||||
# at org.reflections.ReflectionsTest.testMethodParameterNames(ReflectionsTest.java:239)
|
||||
org.reflections.ReflectionsParallelTest
|
||||
# 3) testMethodParameterNames(org.reflections.ReflectionsTest)
|
||||
# org.reflections.ReflectionsException: Scanner MethodParameterNamesScanner was not configured
|
||||
# at org.reflections.Store.get(Store.java:39)
|
||||
# at org.reflections.Store.get(Store.java:61)
|
||||
# at org.reflections.Store.get(Store.java:46)
|
||||
# at org.reflections.Reflections.getMethodParamNames(Reflections.java:579)
|
||||
# at org.reflections.ReflectionsTest.testMethodParameterNames(ReflectionsTest.java:239)
|
||||
org.reflections.ReflectionsTest
|
||||
#
|
||||
# https://github.com/ronmamo/reflections/issues/277#issuecomment-927152981
|
||||
# scanner was not configured exception - this is a known issue in 0.9.12, a simple workaround is to
|
||||
# check if the getStore() contains index for the scanner before querying. next version 0.10 fixes this.
|
||||
)
|
||||
|
||||
src_install() {
|
||||
default # https://bugs.gentoo.org/789582
|
||||
java-pkg-simple_src_install
|
||||
}
|
Binary file not shown.
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST libinput-1.19.3.tar.xz 655164 BLAKE2B a07d91603a3d4e759aad25ee46b11dbee47eb013a2361f1b70acd616fee0ed9660e6fa8773948d6acf3686179fd7aaf76bf8285f3dc3137a4b1b605ec0e4d6d2 SHA512 f4b776d0da78c687ba21b430a04941ac6b43f68970c82ec9f7360358fdea5ed6a873948ce66a25bcdd64d4b95fa4bf705cc24dbc25c7c0f5fd2d0efbd763f298
|
||||
DIST libinput-1.20.0.tar.gz 982547 BLAKE2B 6a30ec5473b7271b89a50cb5147900928bc1ac370cb30bb7a9282517f9ced1973e7f83e864a865c840a1f1fe447459c329b8966211cafcd28f8d1285a36de593 SHA512 b92345809f4e18b2335e3c377d1a8edda523462ff23fba6abcc5f8cf01b80fc4c6e4e06886088788c4b04873d37da210876f201bb81203af2f9f614bc659e6eb
|
||||
DIST libinput-1.20.1.tar.gz 983069 BLAKE2B 8e63e286c0c4284f4a61129d8b6394e7ca9f2018c6a2781a7fe4b7389120dcaf5c101ccfb4b0b869afc489999e954ce244213b5d206ff546d698068e738ac853 SHA512 91f6d6957b16d76807b376d4f81333ed16218fd37b090417d03a2e551d1f5b2c734d891d267bcdc4314cd698d7830f2f467389a9af58155e4e97a86002c8db78
|
||||
|
@ -0,0 +1,88 @@
|
||||
# Copyright 2014-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit meson python-any-r1 udev
|
||||
|
||||
DESCRIPTION="Library to handle input devices in Wayland"
|
||||
HOMEPAGE="https://www.freedesktop.org/wiki/Software/libinput/ https://gitlab.freedesktop.org/libinput/libinput"
|
||||
SRC_URI="https://gitlab.freedesktop.org/${PN}/${PN}/-/archive/${PV}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0/10"
|
||||
[[ "$(ver_cut 3)" -gt 900 ]] || \
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="doc input_devices_wacom test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
doc? (
|
||||
$(python_gen_any_dep '
|
||||
dev-python/commonmark[${PYTHON_USEDEP}]
|
||||
dev-python/recommonmark[${PYTHON_USEDEP}]
|
||||
dev-python/sphinx[${PYTHON_USEDEP}]
|
||||
>=dev-python/sphinx_rtd_theme-0.2.4[${PYTHON_USEDEP}]
|
||||
')
|
||||
>=app-doc/doxygen-1.8.3
|
||||
>=media-gfx/graphviz-2.38.0
|
||||
)
|
||||
"
|
||||
# test? ( dev-util/valgrind )
|
||||
RDEPEND="
|
||||
input_devices_wacom? ( >=dev-libs/libwacom-0.27 )
|
||||
>=dev-libs/libevdev-1.9.902
|
||||
>=sys-libs/mtdev-1.1
|
||||
virtual/libudev:=
|
||||
virtual/udev
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
test? ( >=dev-libs/check-0.9.10 )"
|
||||
|
||||
python_check_deps() {
|
||||
has_version -b "dev-python/commonmark[${PYTHON_USEDEP}]" && \
|
||||
has_version -b "dev-python/recommonmark[${PYTHON_USEDEP}]" && \
|
||||
has_version -b "dev-python/sphinx[${PYTHON_USEDEP}]" && \
|
||||
has_version -b ">=dev-python/sphinx_rtd_theme-0.2.4[${PYTHON_USEDEP}]"
|
||||
}
|
||||
|
||||
pkg_setup() {
|
||||
use doc && python-any-r1_pkg_setup
|
||||
}
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
sed "s@, '-Werror'@@" -i meson.build || die #744250
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
# gui can be built but will not be installed
|
||||
local emesonargs=(
|
||||
-Ddebug-gui=false
|
||||
$(meson_use doc documentation)
|
||||
$(meson_use input_devices_wacom libwacom)
|
||||
$(meson_use test tests)
|
||||
-Dudev-dir="${EPREFIX}$(get_udevdir)"
|
||||
)
|
||||
meson_src_configure
|
||||
}
|
||||
|
||||
src_install() {
|
||||
meson_src_install
|
||||
if use doc ; then
|
||||
docinto html
|
||||
dodoc -r "${BUILD_DIR}"/Documentation/.
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
pkgname="dev-python/python-libevdev"
|
||||
if [[ -z "${REPLACING_VERSIONS}" ]] && ! has_version "${pkgname}" ; then
|
||||
einfo "${pkgname} must be installed to use the"
|
||||
einfo "libinput measure and libinput replay tools."
|
||||
fi
|
||||
|
||||
udevadm hwdb --update --root="${ROOT}"
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST quazip-1.2.tar.gz 155878 BLAKE2B cfd5505509863dfdfcc88cf9f50aeff0ee0c1391412dc8aeb34ab020debd8a29279563323a0ca13a8d3b8b026518f5d079b8fa989aca20a9bec083c6dd4e3695 SHA512 3f4b1a4194ca286163b1c17880ea471a341dcc05d758ee8f3d1e540d0f6aed7ac18200450187034c46b4fab1da39111dca534d75859701259406a6dd50205386
|
||||
DIST quazip-1.3.tar.gz 156138 BLAKE2B a9002bdfab39fc1516160b0073fd3d59a65a66eda98240b9a2936d4423b21b40dd9360122950a54dc18236bc2aaf4e1e2d761ba145f6dbd5014cf72a287fbb3b SHA512 3861a9084059576ff2690e8b911394b0286a60542ab021a4cc588537a60ea3a186ed7903c76544698001fa383dfd0de96bdfed433abaefc44158d3b30ab16fe2
|
||||
|
@ -0,0 +1,84 @@
|
||||
From 9d9e4e7c2076f0ab1a482ae32203aa336dc4ba9b Mon Sep 17 00:00:00 2001
|
||||
From: Thiago Donato Ferreira <flowlnlnln@gmail.com>
|
||||
Date: Mon, 18 Apr 2022 12:08:55 -0300
|
||||
Subject: [PATCH] Add CTest patch
|
||||
|
||||
Signed-off-by: Thiago Donato Ferreira <flowlnlnln@gmail.com>
|
||||
---
|
||||
CMakeLists.txt | 32 +++++++++++++++++++-------------
|
||||
1 file changed, 19 insertions(+), 13 deletions(-)
|
||||
|
||||
diff --git a/CMakeLists.txt b/CMakeLists.txt
|
||||
index a3eaf1a..71f2748 100644
|
||||
--- a/CMakeLists.txt
|
||||
+++ b/CMakeLists.txt
|
||||
@@ -11,7 +11,6 @@ set(QUAZIP_LIB_SOVERSION 1.3.0)
|
||||
option(BUILD_SHARED_LIBS "" ON)
|
||||
option(QUAZIP_INSTALL "" ON)
|
||||
option(QUAZIP_USE_QT_ZLIB "" OFF)
|
||||
-option(QUAZIP_ENABLE_TESTS "Build QuaZip tests" OFF)
|
||||
|
||||
# Set the default value of `${QUAZIP_QT_MAJOR_VERSION}`.
|
||||
# We search quietly for Qt6, Qt5 and Qt4 in that order.
|
||||
@@ -34,6 +33,8 @@ endif()
|
||||
|
||||
set(QUAZIP_QT_MAJOR_VERSION ${QT_VERSION_MAJOR} CACHE STRING "Qt version to use (4, 5 or 6), defaults to ${QT_VERSION_MAJOR}")
|
||||
|
||||
+include(CTest)
|
||||
+
|
||||
if(NOT CMAKE_BUILD_TYPE)
|
||||
set(CMAKE_BUILD_TYPE RELEASE)
|
||||
endif()
|
||||
@@ -50,23 +51,29 @@ set(QUAZIP_DIR_NAME QuaZip-Qt${QUAZIP_QT_MAJOR_VERSION}-${QUAZIP_LIB_VERSION})
|
||||
set(QUAZIP_PACKAGE_NAME QuaZip-Qt${QUAZIP_QT_MAJOR_VERSION})
|
||||
|
||||
if(QUAZIP_QT_MAJOR_VERSION EQUAL 6)
|
||||
- find_package(Qt6 REQUIRED COMPONENTS Core Core5Compat
|
||||
- OPTIONAL_COMPONENTS Network Test)
|
||||
+ find_package(Qt6 REQUIRED COMPONENTS Core Core5Compat)
|
||||
set(QUAZIP_LIB_LIBRARIES Qt6::Core Qt6::Core5Compat)
|
||||
- set(QUAZIP_TEST_QT_LIBRARIES Qt6::Core Qt6::Core5Compat Qt6::Network Qt6::Test)
|
||||
set(QUAZIP_PKGCONFIG_REQUIRES "zlib, Qt6Core")
|
||||
+ if (BUILD_TESTING)
|
||||
+ find_package(Qt6 REQUIRED COMPONENTS Network Test)
|
||||
+ set(QUAZIP_TEST_QT_LIBRARIES Qt6::Core Qt6::Core5Compat Qt6::Network Qt6::Test)
|
||||
+ endif()
|
||||
elseif(QUAZIP_QT_MAJOR_VERSION EQUAL 5)
|
||||
- find_package(Qt5 REQUIRED COMPONENTS Core
|
||||
- OPTIONAL_COMPONENTS Network Test)
|
||||
+ find_package(Qt5 REQUIRED COMPONENTS Core)
|
||||
set(QUAZIP_LIB_LIBRARIES Qt5::Core)
|
||||
- set(QUAZIP_TEST_QT_LIBRARIES Qt5::Core Qt5::Network Qt5::Test)
|
||||
- set(QUAZIP_PKGCONFIG_REQUIRES "zlib, Qt5Core")
|
||||
+ set(QUAZIP_PKGCONFIG_REQUIRES "zlib, Qt5Core")
|
||||
+ if (BUILD_TESTING)
|
||||
+ find_package(Qt5 REQUIRED COMPONENTS Network Test)
|
||||
+ set(QUAZIP_TEST_QT_LIBRARIES Qt5::Core Qt5::Network Qt5::Test)
|
||||
+ endif()
|
||||
elseif(QUAZIP_QT_MAJOR_VERSION EQUAL 4)
|
||||
- find_package(Qt4 4.5.0 REQUIRED COMPONENTS QtCore
|
||||
- OPTIONAL_COMPONENTS QtNetwork QtTest)
|
||||
+ find_package(Qt4 4.5.0 REQUIRED COMPONENTS QtCore)
|
||||
set(QUAZIP_LIB_LIBRARIES Qt4::QtCore)
|
||||
- set(QUAZIP_TEST_QT_LIBRARIES Qt4::QtCore Qt4::QtNetwork Qt4::QtTest)
|
||||
set(QUAZIP_PKGCONFIG_REQUIRES "zlib, QtCore")
|
||||
+ if (BUILD_TESTING)
|
||||
+ find_package(Qt4 REQUIRED COMPONENTS Network Test)
|
||||
+ set(QUAZIP_TEST_QT_LIBRARIES Qt4::QtCore Qt4::QtNetwork Qt4::QtTest)
|
||||
+ endif()
|
||||
else()
|
||||
message(FATAL_ERROR "Qt version ${QUAZIP_QT_MAJOR_VERSION} is not supported")
|
||||
endif()
|
||||
@@ -88,8 +95,7 @@ endif()
|
||||
|
||||
add_subdirectory(quazip)
|
||||
|
||||
-if(QUAZIP_ENABLE_TESTS)
|
||||
+if(BUILD_TESTING)
|
||||
message(STATUS "Building QuaZip tests")
|
||||
- enable_testing()
|
||||
add_subdirectory(qztest)
|
||||
endif()
|
||||
--
|
||||
2.35.1
|
||||
|
@ -0,0 +1,47 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit cmake
|
||||
|
||||
DESCRIPTION="Simple C++ wrapper over Gilles Vollant's ZIP/UNZIP package"
|
||||
HOMEPAGE="https://stachenov.github.io/quazip/"
|
||||
SRC_URI="https://github.com/stachenov/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="LGPL-2.1-with-linking-exception"
|
||||
SLOT="0/1"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
|
||||
IUSE="test"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
COMMON_DEPEND="
|
||||
dev-qt/qtcore:5
|
||||
sys-libs/zlib[minizip]
|
||||
"
|
||||
DEPEND="${COMMON_DEPEND}
|
||||
test? (
|
||||
dev-qt/qtnetwork:5
|
||||
dev-qt/qttest:5
|
||||
)
|
||||
"
|
||||
RDEPEND="${COMMON_DEPEND}
|
||||
!=dev-libs/quazip-1.1-r0:1
|
||||
"
|
||||
|
||||
PATCHES=( "${FILESDIR}/${P}-cmake.patch" )
|
||||
|
||||
src_configure() {
|
||||
local mycmakeargs=(
|
||||
-DBUILD_TESTING=$(usex test)
|
||||
)
|
||||
|
||||
cmake_src_configure
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
cmake_src_compile
|
||||
|
||||
use test && cmake_build qztest
|
||||
}
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST PyPDF2-1.27.5.gh.tar.gz 2053469 BLAKE2B 1a01289145574a4551f1fa237e4c790dd866088787f5bc9afb529ea99424f4d211f1913737cf4a2c744ceae90568ca26612cc4956ff1eda5840624e41df76d78 SHA512 c1f77c7ea46e866da104cf05421ccf15870db07923ff5860a6b44c944d599b38e98d33d6042a155b0698ecd100d1c6f57aa7bb8904dd08e679f6560a578d4488
|
||||
DIST PyPDF2-1.27.6.gh.tar.gz 2092950 BLAKE2B 786d5102275d6c04628d76fd0225d453aa8f74cb0a6e135f3d56ed1143c114144aa9daef17e5971ce9e4c14cc01016125107717296d76cf7eb34c1cadbdd42cd SHA512 bf1c60453e6a98a50c382cf967fc7aa1fb8dffc14d426f97bc0e41c34a6534930849fe053c8debe585b3877eadca9f8b43f803b1f01586f6c693a1eefe43e3dd
|
||||
DIST PyPDF2-1.27.7.gh.tar.gz 2093013 BLAKE2B 5637094972228ad1a5790f36f71e3fd8a694c9fd99bad7874a03f299ca0bb6198064f6756552cac41127fd67a827ca191e6de56281b25c13629a99edcdac7685 SHA512 dbcb944f3bafb0c0e81842e92e8a72609c85c271eba83841ee5bc901119178a6a4ff503a4796014854a75137b9f8f25a245d55a550e770b9f78daf8e1e92dcba
|
||||
|
@ -0,0 +1,39 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Python library to work with PDF files"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/PyPDF2/
|
||||
https://github.com/py-pdf/PyPDF2/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/py-pdf/PyPDF2/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||
IUSE="examples"
|
||||
|
||||
BDEPEND="
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_install() {
|
||||
if use examples; then
|
||||
docinto examples
|
||||
dodoc -r Sample_Code/.
|
||||
docompress -x /usr/share/doc/${PF}/examples
|
||||
fi
|
||||
distutils-r1_src_install
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST astroid-2.11.2.tar.gz 412621 BLAKE2B e43be65b733a5de5d027920e8e4db0365a3af98614739f0a56dcf95ef6c1c3a9e104b52c1fad4477bccd460850cf6bab6f38014aaa6891e8d04720d4a52b79d8 SHA512 5b33cb3594513804c6933a888297ed54c42cb52274c7fe49060368e3fac62be8f3febcb822aa9267a5a0a99a32932912ebc4640a7d10288b7021955fe0277c0d
|
||||
DIST astroid-2.11.3.tar.gz 413237 BLAKE2B 0758e0a2069e969e1509d0935883f1deba6b3c55af0edcb3146be7dd39eab40e9a71ef517c5114c49c191f545da73340d074df1cc107094c6450f9d2448932db SHA512 ea215a4fee747ab49735d3b8a084500b9127c831f0a737d6610128211750920e68741dc888d8d799422636b7acb014e1a1f3f629db87c445781c4cfaf57dd062
|
||||
DIST astroid-2.9.3.tar.gz 409069 BLAKE2B 152dbe8ab2fee3964dc8cc714a5ba48c71b5994c77d1e20683bcf028483aca22d5be5772e72d056cfd3d1f59562b447366d61fc35a2b67d545f069a8f7975e84 SHA512 7bb3bf2d456c0d22325444e641961c34eaddcddf50c97ee9f5b5c8755232cf1b65a315258403b40bb7dcad15c4f9b6b73ab0eb607525a48a65f52406969eca04
|
||||
|
@ -0,0 +1,54 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Abstract Syntax Tree for logilab packages"
|
||||
HOMEPAGE="
|
||||
https://github.com/PyCQA/astroid/
|
||||
https://pypi.org/project/astroid/"
|
||||
SRC_URI="
|
||||
https://github.com/PyCQA/astroid/archive/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
# Version specified in __pkginfo__.py.
|
||||
RDEPEND="
|
||||
>=dev-python/lazy-object-proxy-1.4.0[${PYTHON_USEDEP}]
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]
|
||||
>=dev-python/typing-extensions-3.10[${PYTHON_USEDEP}]
|
||||
<dev-python/wrapt-2[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/setuptools_scm[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/nose[${PYTHON_USEDEP}]
|
||||
dev-python/numpy[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# no clue why it's broken
|
||||
tests/unittest_modutils.py::GetModulePartTest::test_known_values_get_builtin_module_part
|
||||
tests/unittest_brain_dataclasses.py::test_pydantic_field
|
||||
)
|
||||
|
||||
# Faker causes sys.path_importer_cache keys to be overwritten
|
||||
# with PosixPaths
|
||||
epytest -p no:faker
|
||||
}
|
@ -0,0 +1,63 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1 multiprocessing
|
||||
|
||||
DESCRIPTION="The AWS SDK for Python"
|
||||
HOMEPAGE="https://github.com/boto/boto3"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/boto/boto3"
|
||||
inherit git-r3
|
||||
BOTOCORE_PV=${PV}
|
||||
else
|
||||
SRC_URI="https://github.com/boto/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
# botocore is x.(y+3).z
|
||||
BOTOCORE_PV="$(ver_cut 1).$(( $(ver_cut 2) + 3)).$(ver_cut 3-)"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/botocore-${BOTOCORE_PV}[${PYTHON_USEDEP}]
|
||||
>=dev-python/jmespath-0.7.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/s3transfer-0.3.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_sphinx docs/source \
|
||||
'dev-python/guzzle_sphinx_theme'
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# don't lock versions to narrow ranges
|
||||
sed -e '/botocore/ d' \
|
||||
-e '/jmespath/ d' \
|
||||
-e '/s3transfer/ d' \
|
||||
-i setup.py || die
|
||||
|
||||
# do not rely on bundled deps in botocore (sic!)
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
python_test() {
|
||||
epytest tests/{functional,unit} \
|
||||
-n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
|
||||
}
|
@ -0,0 +1,68 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1 multiprocessing
|
||||
|
||||
DESCRIPTION="Low-level, data-driven core of boto 3"
|
||||
HOMEPAGE="https://github.com/boto/botocore"
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
|
||||
if [[ "${PV}" == "9999" ]]; then
|
||||
EGIT_REPO_URI="https://github.com/boto/botocore"
|
||||
inherit git-r3
|
||||
else
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
fi
|
||||
|
||||
RDEPEND="
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
<dev-python/jmespath-2[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
>=dev-python/urllib3-1.25.4[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/jsonschema[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/1.8.6-tests-pass-all-env-vars-to-cmd-runner.patch"
|
||||
)
|
||||
|
||||
distutils_enable_sphinx docs/source \
|
||||
'dev-python/guzzle_sphinx_theme'
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# unpin deps
|
||||
sed -i -e "s:>=.*':':" setup.py || die
|
||||
|
||||
# unbundle deps
|
||||
rm -r botocore/vendored || die
|
||||
find -name '*.py' -exec sed -i \
|
||||
-e 's:from botocore[.]vendored import:import:' \
|
||||
-e 's:from botocore[.]vendored[.]:from :' \
|
||||
{} + || die
|
||||
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# rely on bundled six
|
||||
tests/functional/test_six_imports.py::test_no_bare_six_imports
|
||||
tests/functional/test_six_threading.py::test_six_thread_safety
|
||||
)
|
||||
|
||||
epytest tests/{functional,unit} \
|
||||
-n "$(makeopts_jobs "${MAKEOPTS}" "$(get_nproc)")"
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST cachecontrol-0.12.10.gh.tar.gz 39944 BLAKE2B a760db75384a48a21506d7bcc9edc63dd5b8f7b09ba4ff7afb968c7df3a505a9c6e5eece6e275ec1c9d49763a36124f7221123739fe07695ac2b0bbfb62e948c SHA512 3374a2b0cd42d6f3975b42de46e7aaf92a15403b65aaf53ba14102d6ce68bad85dc4d8f0eaa294604b54ee3e2b1d7d3c56c1dac8e717de41cc7be6d880afc1e7
|
||||
DIST cachecontrol-0.12.11.gh.tar.gz 41338 BLAKE2B 09ce2336216b69dbe9796d658db9f5b0d378259484cba3a78ecd789843e19683adc2b1b90d579cea8700d07ed55a93ecc3a56e5da2c8ab025e5084d2847d4dbf SHA512 be1c91f58edda36192f1267a8fdfdc50685ff57da5d84f5348b608982327993333f18f5c318a20cf258b16d2bc83272ba58317e8c4c44a84d5d1f93b522dfc8b
|
||||
|
@ -0,0 +1,37 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="httplib2 caching for requests"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/CacheControl/
|
||||
https://github.com/ionrock/cachecontrol/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/ionrock/cachecontrol/archive/v${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/msgpack-0.5.2[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/cherrypy[${PYTHON_USEDEP}]
|
||||
dev-python/lockfile[${PYTHON_USEDEP}]
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
@ -0,0 +1,61 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=poetry
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1 optfeature
|
||||
|
||||
DESCRIPTION="Manipulate DNS records on various DNS providers in a standardized/agnostic way"
|
||||
HOMEPAGE="https://pypi.org/project/dns-lexicon/"
|
||||
SRC_URI="
|
||||
https://github.com/AnalogJ/lexicon/archive/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz
|
||||
"
|
||||
S="${WORKDIR}/lexicon-${PV}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/beautifulsoup4[${PYTHON_USEDEP}]
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/tldextract[${PYTHON_USEDEP}]
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/boto3[${PYTHON_USEDEP}]
|
||||
dev-python/zeep[${PYTHON_USEDEP}]
|
||||
dev-python/vcrpy[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_IGNORE=(
|
||||
# Requires the "localzone" module
|
||||
lexicon/tests/providers/test_localzone.py
|
||||
# Requires the "softlayer" module
|
||||
lexicon/tests/providers/test_softlayer.py
|
||||
# Requires the "transip" module
|
||||
lexicon/tests/providers/test_transip.py
|
||||
# Requires the "oci" module
|
||||
lexicon/tests/providers/test_oci.py
|
||||
# Uses tldextract which needs Internet access to download its database
|
||||
lexicon/tests/providers/test_auto.py
|
||||
)
|
||||
|
||||
pkg_postinst() {
|
||||
if [[ -z ${REPLACING_VERSIONS} ]]; then
|
||||
optfeature_header \
|
||||
"Install the following packages to enable support for additional DNS providers:"
|
||||
optfeature Gransy dev-python/zeep
|
||||
optfeature Route53 dev-python/boto3
|
||||
optfeature DDNS dev-python/dnspython
|
||||
fi
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST flask-security-3.4.5.gh.tar.gz 348928 BLAKE2B 9890227e9775c4a28fc364affb0bf767407463d514f6dc3cd359dd8a026e8325d943a547f294f6363a276f9e7d97336c526dd45f4549c7cfaff2d6ef9ef0316a SHA512 f9ac7f46b2e1ab7dbb44ba925b01e16304e8f8d6d5d56f4e558d07b80dfffa59f04c2597e17c00a7d7ae11be3a97c78ccf8d79993b7451be4a7f75f85bc89f6f
|
||||
DIST flask-security-4.1.3.gh.tar.gz 408609 BLAKE2B ef4b270d62de75fdcf51d1247960df85deca1699fdbfb73592a5711f9bb56f71a2f2de12a8d8c0eccdaccfef11a578cf9bd9abbf52bdacfe4bfc10f9adda0acc SHA512 92a0e7fce95eb4eb04baa9a11ee88ab3b8e88952aa6300bf8245cecfcc90657c83bbe93e1c3b19d62642a346b30f5912dd424e59a81023637f3183a61e8cf91c
|
||||
DIST flask-security-4.1.4.gh.tar.gz 408532 BLAKE2B 5fd401da8a907ff56ab7fe1fc79ec586222c26d60d921534afea4743cbc6840098f8a1d231741f83f061e2a4f747c4937be848aa4bfee8b3cf4bc06a8928e437 SHA512 d9ec87d1d2baa11b00db437135060630ea06451d96057fc8712ced8bc433fb6779f7b2561ad1c96d8f192a43acdc93dddf7f44ec75f89297204fd1796dcad1df
|
||||
|
@ -0,0 +1,66 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Simple security for Flask apps"
|
||||
HOMEPAGE="
|
||||
https://github.com/Flask-Middleware/flask-security/
|
||||
https://pypi.org/project/Flask-Security-Too/"
|
||||
SRC_URI="
|
||||
https://github.com/Flask-Middleware/flask-security/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~riscv ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/bleach-3.3.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/blinker-1.4[${PYTHON_USEDEP}]
|
||||
dev-python/cachetools[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-1.1.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-babelex-0.9.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-login-0.4.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-principal-0.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-wtf-0.14.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/itsdangerous-1.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/passlib-1.7.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-email-validator-1.1.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
BDEPEND="
|
||||
dev-python/Babel[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/argon2-cffi-19.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/bcrypt-3.1.5[${PYTHON_USEDEP}]
|
||||
dev-python/bleach[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-2.3.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-mail-0.9.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/flask-sqlalchemy-2.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/mongomock-3.19.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/peewee-3.11.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/phonenumbers-8.11.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/psycopg-2.8.4:2[${PYTHON_USEDEP}]
|
||||
>=dev-python/pymysql-0.9.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyqrcode-1.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/zxcvbn-4.4.28[${PYTHON_USEDEP}]
|
||||
>=dev-python/pony-0.7.11[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e 's@--cache-clear@-p no:httpbin@' pytest.ini || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_configure_all() {
|
||||
esetup.py compile_catalog
|
||||
}
|
@ -0,0 +1,50 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Google API Client for Python"
|
||||
HOMEPAGE="https://github.com/googleapis/google-api-python-client"
|
||||
SRC_URI="
|
||||
https://github.com/googleapis/google-api-python-client/archive/v${PV}.tar.gz
|
||||
-> ${P}.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/httplib2-0.15[${PYTHON_USEDEP}]
|
||||
<dev-python/httplib2-1[${PYTHON_USEDEP}]
|
||||
>=dev-python/google-api-core-2.3.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/google-auth-1.35.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/google-auth-httplib2-0.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/uritemplate-3.0.0[${PYTHON_USEDEP}]
|
||||
<dev-python/uritemplate-5[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/oauth2client[${PYTHON_USEDEP}]
|
||||
dev-python/pandas[${PYTHON_USEDEP}]
|
||||
dev-python/parameterized[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# require Internet access (and credentials)
|
||||
tests/test_discovery.py::DiscoveryErrors::test_credentials_and_credentials_file_mutually_exclusive
|
||||
tests/test_discovery.py::DiscoveryFromDocument::test_api_endpoint_override_from_client_options_mapping_object
|
||||
)
|
||||
|
||||
epytest tests
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST notebook-6.4.10.tar.gz 14357395 BLAKE2B 32415b7d303b18c380ea6bab398246307a2b218ad52cdeb9a08db6f2f5f100515f36407358de094144f8da558762f7acf62505edbd9cf9e757fad1ac299f2431 SHA512 78a186c9907006d1fec1cea99e4c0f4181f673bf4dd383ed934cd2eb491cfd247db240fcec6a35a2967fe12b121863bbfaad0c4a8270618d03cd746f4688743b
|
||||
DIST notebook-6.4.11.tar.gz 14373938 BLAKE2B 3f6aa2f86c205dec6b66a8eb3a6d3509f8ba0f80d17f7123bfbede41b7ff6d986271a8eeb32916fdf71c56105b0571192c71740836d34baf88b52a35ea0c4a59 SHA512 beabc84e3d528b0786363c705062717378e73aa824ffe6ce8706f6ed765744f40f651bd4e0910d6a0302990f9efcabea1af51c6894106c49869761bcf217084a
|
||||
|
@ -0,0 +1,42 @@
|
||||
diff -dupr notebook-6.4.11.orig/setupbase.py notebook-6.4.11/setupbase.py
|
||||
--- notebook-6.4.11.orig/setupbase.py 2022-04-20 09:37:45.964925905 +0200
|
||||
+++ notebook-6.4.11/setupbase.py 2022-04-20 09:40:32.624674341 +0200
|
||||
@@ -167,38 +167,6 @@ def find_package_data():
|
||||
if f.endswith(('.js', '.css')):
|
||||
static_data.append(pjoin(parent, f))
|
||||
|
||||
- # Trim mathjax
|
||||
- mj = lambda *path: pjoin(components, 'MathJax', *path)
|
||||
- static_data.extend([
|
||||
- mj('MathJax.js'),
|
||||
- mj('config', 'TeX-AMS-MML_HTMLorMML-full.js'),
|
||||
- mj('config', 'Safe.js'),
|
||||
- ])
|
||||
-
|
||||
- trees = []
|
||||
- mj_out = mj('jax', 'output')
|
||||
-
|
||||
- if os.path.exists(mj_out):
|
||||
- for output in os.listdir(mj_out):
|
||||
- path = pjoin(mj_out, output)
|
||||
- static_data.append(pjoin(path, '*.js'))
|
||||
- autoload = pjoin(path, 'autoload')
|
||||
- if os.path.isdir(autoload):
|
||||
- trees.append(autoload)
|
||||
-
|
||||
- for tree in trees + [
|
||||
- mj('localization'), # limit to en?
|
||||
- mj('fonts', 'HTML-CSS', 'STIX-Web', 'woff'),
|
||||
- mj('extensions'),
|
||||
- mj('jax', 'input', 'TeX'),
|
||||
- mj('jax', 'output', 'HTML-CSS', 'fonts', 'STIX-Web'),
|
||||
- mj('jax', 'output', 'SVG', 'fonts', 'STIX-Web'),
|
||||
- mj('jax', 'element', 'mml'),
|
||||
- ]:
|
||||
- for parent, dirs, files in os.walk(tree):
|
||||
- for f in files:
|
||||
- static_data.append(pjoin(parent, f))
|
||||
-
|
||||
os.chdir(os.path.join('tests',))
|
||||
js_tests = glob('*.js') + glob('*/*.js')
|
||||
|
@ -0,0 +1,97 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
PYTHON_REQ_USE="threads(+)"
|
||||
|
||||
inherit distutils-r1 xdg-utils
|
||||
|
||||
DESCRIPTION="Jupyter Interactive Notebook"
|
||||
HOMEPAGE="https://jupyter.org"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-libs/mathjax-2.4
|
||||
dev-python/argon2-cffi[${PYTHON_USEDEP}]
|
||||
dev-python/jinja[${PYTHON_USEDEP}]
|
||||
>=dev-python/terminado-0.8.3[${PYTHON_USEDEP}]
|
||||
>=www-servers/tornado-6.0[${PYTHON_USEDEP}]
|
||||
dev-python/ipython_genutils[${PYTHON_USEDEP}]
|
||||
>=dev-python/traitlets-4.2.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/jupyter_core-4.6.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyzmq-17[${PYTHON_USEDEP}]
|
||||
>=dev-python/jupyter_client-5.3.4[${PYTHON_USEDEP}]
|
||||
dev-python/nbformat[${PYTHON_USEDEP}]
|
||||
>=dev-python/nbconvert-4.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/nest_asyncio-1.5[${PYTHON_USEDEP}]
|
||||
dev-python/ipykernel[${PYTHON_USEDEP}]
|
||||
>=dev-python/send2trash-1.8.0[${PYTHON_USEDEP}]
|
||||
dev-python/prometheus_client[${PYTHON_USEDEP}]"
|
||||
|
||||
BDEPEND="
|
||||
>=dev-python/jupyter_packaging-0.9[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
dev-python/requests[${PYTHON_USEDEP}]
|
||||
dev-python/requests-unixsocket[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/notebook-6.4.11-no-mathjax.patch
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
# disable bundled mathjax
|
||||
sed -i 's/^.*MathJax.*$//' bower.json || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# trash doesn't seem to work for us
|
||||
notebook/services/contents/tests/test_contents_api.py::APITest::test_checkpoints_follow_file
|
||||
notebook/services/contents/tests/test_contents_api.py::APITest::test_delete
|
||||
notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_checkpoints_follow_file
|
||||
notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_delete
|
||||
notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_delete_dirs
|
||||
notebook/services/contents/tests/test_contents_api.py::GenericFileCheckpointsAPITest::test_delete_non_empty_dir
|
||||
notebook/services/contents/tests/test_manager.py::TestContentsManager::test_delete
|
||||
notebook/services/contents/tests/test_manager.py::TestContentsManagerNoAtomic::test_delete
|
||||
# TODO
|
||||
notebook/services/kernels/tests/test_kernels_api.py::KernelAPITest::test_connections
|
||||
notebook/services/kernels/tests/test_kernels_api.py::AsyncKernelAPITest::test_connections
|
||||
notebook/services/kernels/tests/test_kernels_api.py::KernelCullingTest::test_culling
|
||||
notebook/services/nbconvert/tests/test_nbconvert_api.py::APITest::test_list_formats
|
||||
)
|
||||
|
||||
EPYTEST_IGNORE=(
|
||||
# selenium tests require geckodriver
|
||||
notebook/tests/selenium
|
||||
)
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
|
||||
ln -sf \
|
||||
"${EPREFIX}/usr/share/mathjax" \
|
||||
"${D}$(python_get_sitedir)/notebook/static/components/MathJax" || die
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
||||
|
||||
pkg_postrm() {
|
||||
xdg_desktop_database_update
|
||||
xdg_icon_cache_update
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST pyeclib-1.6.0.tar.gz 6685306 BLAKE2B 0b758bd500afc7f9d8e38513cc41f1916413d8ad6f3b1bd34d9ff46d6d33321391eaf90164e412154a14d63d4ba61502457bb943e124dd7054a5d5ec20732294 SHA512 507f78388e941e4600f4b77f636ce27b7f63e635f108dd5a452b3f98f779e87d94d8f82239d9d5733846faa5cc574c0474e366d99e44b8f03b70707d352f56c8
|
||||
DIST pyeclib-1.6.1.tar.gz 6690168 BLAKE2B 4e59c2827487f09a21f49751455fabd9ce672d6edb83befbc06e7aebe66c2f8de5f83a5ddec612fee2ac727fad247d66f36c659ebdf316759cd9e4438c7f085c SHA512 fdb855551e9695c3748d78d43bc306e536ef45476143445520284d4918f2c84757247d217ada2df565d03b1769ef83ac8c82b92b8438c2d40915f8008fd769c4
|
@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
@ -0,0 +1,44 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1 optfeature
|
||||
|
||||
DESCRIPTION="Messaging API for RPC and notifications over different messaging transports"
|
||||
HOMEPAGE="
|
||||
https://opendev.org/openstack/pyeclib/
|
||||
https://pypi.org/project/pyeclib/
|
||||
"
|
||||
SRC_URI="mirror://pypi/${PN::1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
DEPEND="
|
||||
dev-libs/liberasurecode
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
src_prepare() {
|
||||
# https://review.opendev.org/c/openstack/pyeclib/+/798010
|
||||
sed -e '/library_dirs/d' -i setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "jerasure backend" dev-libs/jerasure
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST readme_renderer-34.0.tar.gz 28835 BLAKE2B 556088064a27ca0ab556102a9bc7026f5089e8a326631c0b7d3d5d0906b63191fac1f4f473c5c3229c0357b090bb63c8bbf0cab66e793c5de0d8eb8da696d2db SHA512 835beadb6dd98793cfce1a1691c66121ad2df9d205d9e1415bf8555495460af7003c9153a58fe5ea0909541b305d2fc4a39120f395805514e11fe391783447a3
|
||||
DIST readme_renderer-35.0.tar.gz 27224 BLAKE2B bb58a6cb39aace47714aa351c710663ca9f43f04055e21a5ea3954b2d1fff58dce073b0a41bdfb07f34ffe16f2fbba9ba59c2a6b8f84c0eacfb7d9f7cd881380 SHA512 29377cea5a029f7c4cf2ec0362771a280936e84fc39117c13fc6557172581570af298520ea6f5df53260e1da539ebe3fe4183bd1fb5620af48824bee04fefc75
|
||||
|
@ -0,0 +1,33 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} pypy3 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="a library for rendering \"readme\" descriptions for Warehouse"
|
||||
HOMEPAGE="
|
||||
https://github.com/pypa/readme_renderer/
|
||||
https://pypi.org/project/readme-renderer/
|
||||
"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~ppc ~ppc64 ~riscv ~sparc ~x86 ~x64-macos"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/bleach-2.1.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/docutils-0.13.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/pygments-2.5.2[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? ( dev-python/mock[${PYTHON_USEDEP}] )
|
||||
"
|
||||
|
||||
DOCS=( README.rst )
|
||||
|
||||
distutils_enable_tests pytest
|
@ -1 +1,2 @@
|
||||
DIST SecretStorage-3.3.1.tar.gz 19566 BLAKE2B 0b1ab822ee29f3d56148b558b3029fd882f1d10ceb3e026586de2e9bc72b7ac1b35df11052117a7c07524ca72d004ef56d99c845bc3600984fe84e5300f3dfee SHA512 5e874d08c9e00626a217db96b131884daf92429a91f690b32f62052747275ad0effbe2b4abe048e67fe7f81df97507f8375408898ff986e6f883b5fdfbf2a76c
|
||||
DIST SecretStorage-3.3.2.tar.gz 19285 BLAKE2B 17089e61a9549f4547faa8c6f7f711f5e4b3ba9ac0bf7787c3384d4920c5cd02704bab86fd4b7abe4ad9b93098b1668cf89901f4a0760023e274c8daf009d5a4 SHA512 f04a35925f86fec25435554083ac0d4b21b88cbc19b67a4c744247e659bc767675a52d18b33be557e99593922aecb0c261ec40803c61e089ff35b6c8b541ac63
|
||||
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( pypy3 python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
MY_PN="SecretStorage"
|
||||
|
||||
DESCRIPTION="Python bindings to FreeDesktop.org Secret Service API"
|
||||
HOMEPAGE="
|
||||
https://github.com/mitya57/secretstorage/
|
||||
https://pypi.org/project/SecretStorage/
|
||||
"
|
||||
SRC_URI="mirror://pypi/${MY_PN:0:1}/${MY_PN}/${MY_PN}-${PV}.tar.gz"
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
>=dev-python/jeepney-0.6[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
!hppa? ( !sparc? (
|
||||
gnome-base/gnome-keyring
|
||||
sys-apps/dbus
|
||||
)
|
||||
) )
|
||||
"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
distutils_enable_sphinx docs \
|
||||
dev-python/alabaster
|
||||
|
||||
src_test() {
|
||||
case ${ARCH} in
|
||||
hppa|sparc)
|
||||
einfo "gnome-keyring is not supported on ${ARCH}, skipping tests"
|
||||
return
|
||||
;;
|
||||
esac
|
||||
|
||||
distutils-r1_src_test
|
||||
}
|
||||
|
||||
python_test() {
|
||||
dbus-run-session "${EPYTHON}" -m unittest discover -v -s tests \
|
||||
|| die "tests failed with ${EPYTHON}"
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST zstd-1.5.1.0.tar.gz 604039 BLAKE2B 5f3e2f2848d67d2455bab721d011946fa8138729566243046e2b294e51c1144a0a0576f9e64e15472c8da4b45514a052a751b2ac3d87f17301ab634f560bf19a SHA512 4775f9db3b924116272060fd46885a601ec5153b350974ef5fe41878f10aad0fee428f053ce71aaf881eb73bfc11ae1d89148f65447fc6febe3f53a50ffa0a63
|
||||
DIST zstd-1.5.2.0.tar.gz 605453 BLAKE2B 1564bf6f5d37ca5c55a161373f10ff99ffc942abf3d177bf15943570bc30367f0d6aee88cbfd28f1a57483945e0d3de5fde0dfc78bc2b0066faef12de2684fbd SHA512 99df709b889732dc5d6e682e79c52731b918458ccf720431a6afc757dd4cd58bd3ffe1ad45158d28a87d7baaa883fd074cb94717e023ee80eef1561d651504e1
|
||||
DIST zstd-1.5.2.2.tar.gz 605458 BLAKE2B b302edd73d303dffe66564217b03c4477e2679788ab58782bd620ae8e5e0410da3c672715622ad5cff1bfd24835bfe61255b1df4ba7c6d452c08dee42d45a1e0 SHA512 fc5d60db491adefbf9af5d46600701075418986ffe5042d74eae75e2d1ec3347141dea3bf0a384f87ffbf833be398157f9b3d7277e6a30994b1287b14b6a2d21
|
||||
DIST zstd-1.5.2.4.tar.gz 606443 BLAKE2B fcde9a6cf7195fa9ab50ae93c5401a2d92bafa3f1a8f960ad30f107cf8b63c8b7c8c78bf74bba21d33163df311dcff9d405ad4fb15c7b6ef3e6aeb3596236f14 SHA512 387055d86998c0eca22c8037e2c2e6a85b5e82e5adae3a5bc67f84c4f808b9493817fbc5c94929776a400cff1b7859302db1bd128418ab22e6c0c0f9276e2ff4
|
||||
|
@ -0,0 +1,34 @@
|
||||
# Copyright 2020-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..10} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Simple python bindings to Yann Collet ZSTD compression library"
|
||||
HOMEPAGE="
|
||||
https://github.com/sergey-dryabzhinsky/python-zstd/
|
||||
https://pypi.org/project/zstd/
|
||||
"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~x86"
|
||||
|
||||
DEPEND="
|
||||
app-arch/zstd:=
|
||||
"
|
||||
RDEPEND="
|
||||
${DEPEND}
|
||||
!<dev-python/zstandard-0.15.2-r1[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests unittest
|
||||
|
||||
src_configure() {
|
||||
export ZSTD_EXTERNAL=1
|
||||
}
|
Binary file not shown.
@ -0,0 +1,74 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=7
|
||||
|
||||
inherit toolchain-funcs
|
||||
|
||||
DESCRIPTION="Free UCI chess engine, claimed to be the strongest in the world"
|
||||
HOMEPAGE="https://stockfishchess.org/"
|
||||
|
||||
NNUE_FILE="nn-6877cd24400e.nnue"
|
||||
|
||||
SRC_URI="https://github.com/official-stockfish/Stockfish/archive/sf_${PV}.tar.gz -> ${P}.tar.gz
|
||||
https://tests.stockfishchess.org/api/nn/${NNUE_FILE} -> ${P}-${NNUE_FILE}"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~riscv ~x86"
|
||||
IUSE="cpu_flags_arm_v7 cpu_flags_x86_avx2 cpu_flags_x86_popcnt cpu_flags_x86_sse debug
|
||||
general-32 general-64 +optimize"
|
||||
|
||||
DEPEND="|| ( app-arch/unzip app-arch/zip )"
|
||||
RDEPEND=""
|
||||
|
||||
S="${WORKDIR}/Stockfish-sf_${PV}/src"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
|
||||
cp "${DISTDIR}"/${P}-${NNUE_FILE} ${NNUE_FILE} || die "copying the nnue file failed"
|
||||
|
||||
# prevent pre-stripping
|
||||
sed -e 's:-strip $(BINDIR)/$(EXE)::' -i Makefile \
|
||||
|| die 'failed to disable stripping in the Makefile'
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
local my_arch
|
||||
|
||||
# generic unoptimized first
|
||||
use general-32 && my_arch=general-32
|
||||
use general-64 && my_arch=general-64
|
||||
|
||||
# x86
|
||||
use x86 && my_arch=x86-32-old
|
||||
use cpu_flags_x86_sse && my_arch=x86-32
|
||||
|
||||
# amd64
|
||||
use amd64 && my_arch=x86-64
|
||||
use cpu_flags_x86_popcnt && my_arch=x86-64-modern
|
||||
|
||||
# both bmi2 and avx2 are part of hni (haswell new instructions)
|
||||
use cpu_flags_x86_avx2 && my_arch=x86-64-bmi2
|
||||
|
||||
# other architectures
|
||||
use cpu_flags_arm_v7 && my_arch=armv7
|
||||
use ppc && my_arch=ppc
|
||||
use ppc64 && my_arch=ppc64
|
||||
|
||||
# Skip the "build" target and use "all" instead to avoid the config
|
||||
# sanity check (which would throw a fit about our compiler). There's
|
||||
# a nice hack in the Makefile that overrides the value of CXX with
|
||||
# COMPILER to support Travis CI and we abuse it to make sure that we
|
||||
# build with our compiler of choice.
|
||||
emake all ARCH="${my_arch}" \
|
||||
COMP="$(tc-getCXX)" \
|
||||
COMPILER="$(tc-getCXX)" \
|
||||
debug=$(usex debug "yes" "no") \
|
||||
optimize=$(usex optimize "yes" "no")
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin "${PN}"
|
||||
dodoc ../AUTHORS ../README.md
|
||||
}
|
Binary file not shown.
@ -1,31 +0,0 @@
|
||||
From 513d05f198c9d8d7502dd1f536d1ee20845814f0 Mon Sep 17 00:00:00 2001
|
||||
From: Guillaume Seren <guillaumeseren@gmail.com>
|
||||
Date: Fri, 3 May 2019 18:17:05 +0200
|
||||
Subject: [PATCH] Remove non working test
|
||||
|
||||
Some test are not working + fix for master
|
||||
---
|
||||
tests/commands/test_global.py | 7 -------
|
||||
1 file changed, 7 deletions(-)
|
||||
|
||||
diff --git a/tests/commands/test_global.py b/tests/commands/test_global.py
|
||||
index 94ad0672..379f87b8 100644
|
||||
--- a/tests/commands/test_global.py
|
||||
+++ b/tests/commands/test_global.py
|
||||
@@ -121,13 +121,6 @@ class TestExternalCommand(unittest.TestCase):
|
||||
await cmd.apply(ui)
|
||||
ui.notify.assert_not_called()
|
||||
|
||||
- @utilities.async_test
|
||||
- async def test_no_spawn_no_stdin_attached(self):
|
||||
- ui = utilities.make_ui()
|
||||
- cmd = g_commands.ExternalCommand('test -t 0', refocus=False)
|
||||
- await cmd.apply(ui)
|
||||
- ui.notify.assert_not_called()
|
||||
-
|
||||
@utilities.async_test
|
||||
async def test_no_spawn_stdin_attached(self):
|
||||
ui = utilities.make_ui()
|
||||
--
|
||||
2.24.1
|
||||
|
File diff suppressed because it is too large
Load Diff
Binary file not shown.
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in new issue