Merge updates from master

This commit is contained in:
Repository mirror & CI
2020-05-18 16:38:37 +00:00
20 changed files with 381 additions and 41 deletions

View File

@@ -0,0 +1,20 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( pypy3 python3_{6,7} )
inherit distutils-r1
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
DESCRIPTION="An AtomicLong type using CFFI."
HOMEPAGE="https://github.com/dreid/atomiclong"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="virtual/python-cffi[${PYTHON_USEDEP}]"
distutils_enable_tests pytest

View File

@@ -3,7 +3,7 @@
EAPI="7"
PYTHON_COMPAT=( python3_{6,7} )
PYTHON_COMPAT=( pypy3 python3_{6,7} )
inherit distutils-r1

View File

@@ -0,0 +1,59 @@
# 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_USE_SETUPTOOLS=rdepend
inherit distutils-r1
MY_PV="19.10b0"
DESCRIPTION="The uncompromising Python code formatter"
HOMEPAGE="
https://github.com/psf/black
https://pypi.org/project/black
"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${PN}-${MY_PV}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
DEPEND="
test? (
>=dev-python/aiohttp-3.3.2[${PYTHON_USEDEP}]
dev-python/aiohttp-cors[${PYTHON_USEDEP}]
)
"
RDEPEND="
>=dev-python/appdirs-1.4[${PYTHON_USEDEP}]
>=dev-python/attrs-18.1[${PYTHON_USEDEP}]
>=dev-python/click-6.5[${PYTHON_USEDEP}]
>=dev-python/mypy_extensions-0.4.3[${PYTHON_USEDEP}]
>=dev-python/pathspec-0.6[${PYTHON_USEDEP}]
>=dev-python/regex-2019.11.1[${PYTHON_USEDEP}]
>=dev-python/toml-0.9.4[${PYTHON_USEDEP}]
>=dev-python/typed-ast-1.4.0[${PYTHON_USEDEP}]
>=dev-python/typing-extensions-3.7.4[${PYTHON_USEDEP}]
$(python_gen_cond_dep 'dev-python/dataclasses[${PYTHON_USEDEP}]' python3_6)
"
S="${WORKDIR}/${PN}-${MY_PV}"
python_prepare_all() {
# cannot get_version() for some reason so we set it here manually
sed -i -e "s/get_version(root=CURRENT_DIR.parent)/${MY_PV::-2}/g" \
-e '/for sp in "abcfr":/d' \
-e '/version.split(sp)/d' \
docs/conf.py || die
distutils-r1_python_prepare_all
}
distutils_enable_tests pytest
# docs fail to build:: module 'black' has no attribute 'is_python36'
# 'release': return_codes_re.sub('', self.config.release),
#distutils_enable_sphinx docs dev-python/recommonmark

View File

@@ -1,3 +1 @@
DIST pygaljs-1.0.0.tar.gz 3322 BLAKE2B 247c911b98cfdefd987745f606ad691be4c3d99a66ce6c03789aa298777d6623f56e47f8211b702b4d2b3fdf39dbdcfdac547b9623186f793898b0b3906b5aa9 SHA512 bcb3e9b741901d491926024bbb89c224db4fbeddf1868119691442754c7089e7a8464f9d91e8c2f25c01718e827518efd4614056cdbe4fedd63341feee1d9ecc
DIST pygaljs-1.0.1.tar.gz 84094 BLAKE2B a8812145bcef5809b8a65c33b04925449e00578ebb6d09e965d93e7f5f2df0f1896691e054da729f4ff991dda04f826a0e5451a915c763414908ad8c35c97957 SHA512 9677c0adee1232f1f987e4f2326b5b4ca0d880fcba0d1232905a9234ad540ff0402d7101e53fd7b30f2a17b28b4ac39abf3a965d19b4e108c9bea91708dba5bc
DIST pygaljs-1.0.2.tar.gz 89711 BLAKE2B 64287ac1238183e34b99275218f8598546b455f9de7df0f8285691e253a8421d1287eb9c499910eed47d2e971d4f709d0341a7e56129cbcca70c938105e1d5ad SHA512 d7e0000e8cc55cde9ca455c4761c83202a95aadb2431086cb5ee21b44307f35ccc8431a50b43699814d0cdec0d8f4c14df68ec19c0ad0ac27f2c7eec85799a82

View File

@@ -1,29 +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} )
inherit distutils-r1
DESCRIPTION="Python package providing assets from https://github.com/Kozea/pygal.js"
HOMEPAGE="
https://github.com/ionelmc/python-pygaljs
https://pypi.org/project/pygaljs
"
SRC_URI="https://github.com/ionelmc/python-${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="LGPL-3+"
SLOT="0"
KEYWORDS="~amd64 ~x86"
# requires file in src/pygaljs/static that is not in release tarballs
RESTRICT="test"
RDEPEND=""
DEPEND=""
S="${WORKDIR}/python-${P}"
distutils_enable_tests pytest

View File

@@ -1,9 +1,9 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
EAPI="7"
PYTHON_COMPAT=( python3_{6,7} )
PYTHON_COMPAT=( python3_{6,7,8} pypy3 )
inherit distutils-r1
@@ -19,8 +19,6 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND=""
DEPEND="
test? ( <dev-python/pytest-4[${PYTHON_USEDEP}] )
"
DEPEND=""
distutils_enable_tests pytest

View File

@@ -0,0 +1,34 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( pypy3 python3_{6,7,8} )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
DESCRIPTION="Plugin for testing Cython extension modules"
HOMEPAGE="https://github.com/lgpage/pytest-cython"
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
SLOT="0"
LICENSE="MIT"
KEYWORDS="~amd64"
IUSE="test"
#IDK how to run this: python tests/example-project/setup.py clean build_ext --inplace --use-cython
RESTRICT="test"
RDEPEND="
dev-python/cython[${PYTHON_USEDEP}]
dev-python/pytest[${PYTHON_USEDEP}]
"
DEPEND="
${RDEPEND}
"
src_prepare() {
sed -i 's|\[pytest\]|\[tool:pytest\]|' setup.cfg || die
default
}
distutils_enable_sphinx docs dev-python/sphinx-py3doc-enhanced-theme

View File

@@ -0,0 +1,40 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( pypy3 python3_{6,7,8} )
DISTUTILS_USE_SETUPTOOLS=rdepend
inherit distutils-r1
MY_PV=${PV/_p/.post}
DESCRIPTION="Plugin for pytest that shows failures and errors instantly"
HOMEPAGE="
https://github.com/pytest-dev/pytest-instafail
https://pypi.org/project/pytest-instafail
"
SRC_URI="https://github.com/pytest-dev/${PN}/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND="
>=dev-python/pytest-2.9[${PYTHON_USEDEP}]
"
DEPEND="
${RDEPEND}
test? (
dev-python/pexpect[${PYTHON_USEDEP}]
dev-python/pytest-xdist[${PYTHON_USEDEP}]
)
"
S="${WORKDIR}/${PN}-${MY_PV}"
python_test() {
distutils_install_for_testing
pytest -vv || die "Testsuite failed under ${EPYTHON}"
}

View File

@@ -0,0 +1,32 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
DISTUTILS_USE_SETUPTOOLS=rdepend
PYTHON_COMPAT=( pypy3 python3_{6,7} )
inherit distutils-r1
DESCRIPTION="Pytest plugin that folds captured output sections in Travis CI build log"
HOMEPAGE="
https://github.com/abusalimov/pytest-travis-fold
https://pypi.org/project/pytest-travis-fold
"
SRC_URI="https://github.com/abusalimov/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
>=dev-python/pytest-2.6.0[${PYTHON_USEDEP}]
<dev-python/pytest-4[${PYTHON_USEDEP}]
"
DEPEND="${RDEPEND}
test? (
dev-python/pytest-travis-fold[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest

View File

@@ -1 +1,2 @@
DIST sanic-19.12.2.tar.gz 195755 BLAKE2B 0d903b06403f28a901d21bfc685219064d0ec2b11576baf714aa3250cc3474928da03c34f0a5a25bf92191242b0a41f76d41aabe92a805bea1801e569c892e9a SHA512 93e416ceea5577db4c443dd6dd03cc5e990d4f987d49821b70d5602421d38401e155e2aad166c88ec57fc5361350c641f087b461a6d92acde34455db81429c5c
DIST sanic-20.3.0.tar.gz 200120 BLAKE2B 14c648f6607b924ee8c19a481b027866a1e24b13249129d3e3fd2ebaf48243ec30d800cd0f62f3f361ae265ef4139676b5aaa4d5481e57459360df11d9fb5c8d SHA512 05615b2b0a2f3b03b2cdf6cff9d2df6f95a54c12be98b54674a2060104327e9a98db55b5e9fbc608f4e624abbb68e7b2f169df26c8197669aad05a4e15ac3ee7

View File

@@ -0,0 +1,53 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="7"
PYTHON_COMPAT=( python3_6 )
inherit distutils-r1
DESCRIPTION="Async Python 3.6+ web server/framework | Build fast. Run fast."
HOMEPAGE="
https://pypi.python.org/pypi/sanic
https://github.com/huge-success/sanic
"
SRC_URI="https://github.com/huge-success/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~x86"
RDEPEND="
dev-python/aiofiles[${PYTHON_USEDEP}]
>=dev-python/httpx-0.11.1[${PYTHON_USEDEP}]
>=dev-python/httptools-0.0.10[${PYTHON_USEDEP}]
>=dev-python/multidict-4.0[${PYTHON_USEDEP}]
<dev-python/multidict-5.0[${PYTHON_USEDEP}]
>=dev-python/ujson-1.35[${PYTHON_USEDEP}]
>=dev-python/uvloop-0.5.3[${PYTHON_USEDEP}]
>=dev-python/websockets-7.0[${PYTHON_USEDEP}]
<dev-python/websockets-8.0[${PYTHON_USEDEP}]
"
DEPEND="
${RDEPEND}
test? (
dev-python/beautifulsoup[${PYTHON_USEDEP}]
>=dev-python/httpcore-0.3.0[${PYTHON_USEDEP}]
>=dev-python/pytest-5.2.1[${PYTHON_USEDEP}]
dev-python/pytest-benchmark[${PYTHON_USEDEP}]
dev-python/pytest-sanic[${PYTHON_USEDEP}]
dev-python/pytest-sugar[${PYTHON_USEDEP}]
dev-python/uvicorn[${PYTHON_USEDEP}]
www-servers/gunicorn[${PYTHON_USEDEP}]
)
"
distutils_enable_tests pytest
distutils_enable_sphinx docs \
dev-python/docutils \
dev-python/pygments \
">=dev-python/sphinx-2.1.2" \
">=dev-python/sphinx_rtd_theme-0.4.3" \
">=dev-python/recommonmark-0.5.0" \
www-servers/gunicorn

View File

@@ -1 +1 @@
DIST trueskill-0.4.5.tar.gz 30714 BLAKE2B 86301c80cca29c11dd58bd01fb2f2d15ebacab6e768038ac7cce4728b642de0d3f6125189079df36919360909967d31a37300970e0db18acfaba573450fa501a SHA512 c94f7ba2d4aed615e5591a3f1f263d0368962b5a1eeb5e7379a59ed6faeb7af2587438617f2917a0f94dc9fd5ea290932947dcc8925f685a055f131859d2eca6
DIST trueskill-0.4.5_p20191014.tar.gz 30722 BLAKE2B b93162702f79cbb727f853132568ab02bbb844735c2dc3ebc77ab71c8ff77e16109672e5d30fedca951c6893df18f81f517415ecf707c7e25f6cacc96222a182 SHA512 9892eae7d581a3bbfe33ff0fdf274c177f0641db099a0ad6a630a27f6f2d94d39d65b5a7d47c18ab91b4958d161f00c8639c40f56388714cb71750949dd4bf12

View File

@@ -3,17 +3,19 @@
EAPI="7"
PYTHON_COMPAT=( python3_{6,7} )
PYTHON_COMPAT=( python3_{6,7,8} )
inherit distutils-r1
COMMIT="91c29b1ab6cd86d6d68fc983fd7ceba3a88ad544"
DESCRIPTION="Python Implementation of the TrueSkill, Glicko and Elo Ranking Algorithms"
HOMEPAGE="
https://trueskill.org
https://github.com/sublee/trueskill
https://pypi.org/project/trueskill
"
SRC_URI="https://github.com/sublee/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
SRC_URI="https://github.com/sublee/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
SLOT="0"
LICENSE="BSD"
@@ -26,9 +28,9 @@ DEPEND="
test? (
>=dev-python/almost-0.1.5[${PYTHON_USEDEP}]
>=dev-python/mpmath-0.17[${PYTHON_USEDEP}]
<dev-python/pytest-4.0[${PYTHON_USEDEP}]
)
"
S="${WORKDIR}/${PN}-${COMMIT}"
distutils_enable_tests setup.py
#docs require a py2 only sphinx theme

View File

@@ -1 +1,2 @@
DIST websockets-7.0.tar.gz 122848 BLAKE2B 7c201831c563a8ae036f9310533a3627fca9e9f91ba77cac27a62852336d4c2a79bd07b3186e10e0c797520a73750201e3ca70358fe5a0304b35e9f6b637196c SHA512 08dd310d8f946522f60ba302f3246f81e283d11f308f658a3c3a3c597281a31b1376e5d16d900187d148b0c1ec1250cd730ccb26f6b753dd86ca5682a08af9a9
DIST websockets-8.1.tar.gz 156472 BLAKE2B 6cb5eec8276f7ef7172048eba6157560f42cec28acacc1a0a2f426ea1cab9a04029ebb1f8285b1aa2862c30aac8f2af81ef85d4dba8e53e267b665b718e01d5a SHA512 d245702574cf513da54bfc0ca10768558cd4e5017ecf8cb647f4b9176561192a3ace64edfc5c6f735664bf1b6136aa0bb9828114478f92d2c051e3109a218c12

View File

@@ -0,0 +1,31 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
PYTHON_COMPAT=( python3_{6,7,8} )
inherit distutils-r1
DESCRIPTION="An implementation of the WebSocket Protocol (RFC 6455 & 7692)"
HOMEPAGE="
https://github.com/aaugustin/websockets
https://pypi.org/project/websockets
"
SRC_URI="https://github.com/aaugustin/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64 ~x86"
python_prepare_all() {
# these tests fail, probably because of
# a permission error (no internet)
rm tests/test_client_server.py || die
rm tests/test_protocol.py || die
distutils-r1_python_prepare_all
}
distutils_enable_tests nose
distutils_enable_sphinx docs dev-python/sphinx-autodoc-typehints dev-python/sphinxcontrib-spelling dev-python/sphinxcontrib-trio

View File

@@ -0,0 +1 @@
DIST fontpreview-1.0.6.tar.gz 6285291 BLAKE2B 9f613016cb7ff981e6b815698f589d229ffe8da383b929e30114ad660ae5f4f83ee6d00520a67e722c229e868e9c96b6c1faded4df6e85793965a86ff4cbcb16 SHA512 4f9d1abf59d75f641d18c9b1161137683ea3a21a4447da7ca67a731a554ece3b483bd0e052a40941775c49172a1aa40b868a6f399f9d322168a45ce9f1059de2

View File

@@ -0,0 +1,26 @@
# Copyright 2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
DESCRIPTION="Highly customizable and minimal font previewer written in bash"
HOMEPAGE="https://github.com/sdushantha/fontpreview"
SRC_URI="https://github.com/sdushantha/fontpreview/archive/${PV}.tar.gz -> ${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"
RDEPEND="
x11-misc/xdotool
app-shells/fzf
virtual/imagemagick-tools
media-gfx/sxiv
"
src_prepare() {
sed -i 's#install:#install:\n\t@mkdir -p $(DESTDIR)$(BINDIR)#' Makefile \
|| die "Patching the Makefile failed."
default
}

View File

@@ -0,0 +1,15 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gentoo@tastytea.de</email>
<name>Ronny (tastytea) Gutbrod</name>
</maintainer>
<longdescription lang="en">
fontpreview is a commandline tool that lets you quickly search for fonts
that are installed on your machine and preview them.
</longdescription>
<upstream>
<bugs-to>https://github.com/sdushantha/fontpreview/issues</bugs-to>
</upstream>
</pkgmetadata>

View File

@@ -1 +1,2 @@
DIST gtk-fortran-19.04.tar.gz 4164311 BLAKE2B 728d55890344894df534de1530135933e488ea197dc2d9b8f28571ce56a236e7fe2be23ebc4708e1ae5ffeb10e4ee584db366945e3d262225c4e9f7db4fa611d SHA512 58154df7c531ebfabcc687f8f38d3c7db7f7adb6cc015e1ce9c44455ab2506a4dfe6b073a88100131ac3712fee68844e4544f2f77d954285e3fbc86e1b3d9394
DIST gtk-fortran-20.04.tar.gz 4066185 BLAKE2B 45a84dfd27b5f0495da55526262e3ba888f1d7eaa685336aaafae726dab63d047d71901a07eafc08c2f51d1e24a087e85f7b2a172323a8f1608c5ff64193f31c SHA512 b8ebf9e129c95c7aa2cf67d41f16915a18f05bd4cce4001ed56148b6d4e4ae3fe2b2e2080f35a1db4be8256bc3d5992061bf0c0e55e332f9a75a4a03e52cded5

View File

@@ -0,0 +1,57 @@
# Copyright 1999-2020 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
CMAKE_MAKEFILE_GENERATOR="emake"
FORTRAN_STANDARD=2003
inherit cmake fortran-2
DESCRIPTION="A GTK+ binding to build Graphical User Interfaces in Fortran"
HOMEPAGE="https://github.com/vmagnin/gtk-fortran"
SRC_URI="https://github.com/vmagnin/${PN}/archive/v${PV}.gtk3.24.18.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${P}.gtk3.24.18"
LICENSE="GPL-3"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="examples high-level plplot"
REQUIRED_USE="plplot? ( high-level )"
RDEPEND="
x11-libs/gtk+:3
plplot? ( >=sci-libs/plplot-5.13.0[cairo,fortran] )
"
DEPEND="${RDEPEND}"
BDEPEND="
virtual/fortran
virtual/pkgconfig
"
DOCS=( "README.md" "README-high-level.md" "CHANGELOG.md" )
pkg_setup() {
fortran-2_pkg_setup
}
src_prepare() {
default
# Fix library installation path and disable 'sketcher' build
sed -i -e "s:CMAKE_INSTALL_LIBDIR lib:CMAKE_INSTALL_LIBDIR $(get_libdir):" \
-e "s: add_subdirectory(sketcher)::" CMakeLists.txt || die
cmake_src_prepare
}
src_configure() {
mycmakeargs+=(
-DEXCLUDE_PLPLOT=$(usex plplot false true)
-DNO_BUILD_HL=$(usex high-level false true)
-DINSTALL_EXAMPLES=$(usex examples)
-DNO_BUILD_EXAMPLES=true
)
cmake_src_configure
}