mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-07-10 15:45:15 -04:00
Merge updates from master
This commit is contained in:
@@ -1 +0,0 @@
|
||||
DIST PGPy-0.6.0.gh.tar.gz 602228 BLAKE2B d40aeb74503ff81d68764e89c7331e99128e047b92156abc4b35d32f99f386c2043065ff98445b24bcf38aeedbdfb35a4a2ceffc485e538a7285f432d67c69c4 SHA512 6d20c1a8fe225de49196f0a5d3cd823ec5988b68f0ca9e255acdf3700356bec5fdfb6963d4d4f93da41a008b5fb15ab7df3ce8cd77ffdfb69766320211ad0d6b
|
||||
@@ -1,25 +0,0 @@
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Pretty Good Privacy for Python"
|
||||
HOMEPAGE="https://github.com/SecurityInnovation/PGPy
|
||||
https://pypi.org/project/PGPy/"
|
||||
SRC_URI="https://github.com/SecurityInnovation/${PN}/archive/v${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/pyasn1[${PYTHON_USEDEP}]
|
||||
dev-python/six[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
@@ -1,16 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>julien@jroy.ca</email>
|
||||
<name>Julien Roy</name>
|
||||
</maintainer>
|
||||
<longdescription>PGPy is a Python library for implementing Pretty Good Privacy into Python programs, conforming to the OpenPGP specification per RFC 4880.</longdescription>
|
||||
<upstream>
|
||||
<changelog>https://github.com/SecurityInnovation/PGPy/releases</changelog>
|
||||
<doc>https://pgpy.readthedocs.io/en/latest/</doc>
|
||||
<bugs-to>https://github.com/SecurityInnovation/PGPy/issues</bugs-to>
|
||||
<remote-id type="github">SecurityInnovation/PGPy</remote-id>
|
||||
<remote-id type="pypi">PGPy</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} pypy3 )
|
||||
PYTHON_COMPAT=( python3_{10..12} pypy3 )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_NO_NORMALIZE=1
|
||||
inherit distutils-r1 optfeature pypi
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} pypy3 )
|
||||
PYTHON_COMPAT=( python3_{10..12} pypy3 )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_NO_NORMALIZE=1
|
||||
inherit distutils-r1 optfeature pypi
|
||||
|
||||
@@ -1 +1 @@
|
||||
DIST dacite-1.6.0.tar.gz 22102 BLAKE2B 79bfa563feb1bd0fdf3541dbafc3ec15b370808e90625e7a7656a4155ba856324644a59b146307df19aca9a0aa68898478111757e37de065f2538932ceaa236f SHA512 034255f095589d309fe5805413d8b148f430cd20a0de305b7954083b530d516da1d8f3f00ebb5264a8cfb77f2b2a76f1e2d863e78bd191f1d85021c5553815da
|
||||
DIST dacite-1.8.1.tar.gz 26038 BLAKE2B 53b859953221dd01a98976fcb1a8242bb99186c9fa4da04814eaad9232232a27da37fb8d80a91a3e875b1071c809c7f928b2eb0c165f5c4acef3ec9d4c64a94e SHA512 4b40c0bdcf5490bcc77de9e7f04b7267642bcfd41e4168607a5457f38abe3ad4b3041d8a23cb43af76de14eabee45f900ad5ddf7af8f70a2be4850bccc2d3af1
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_10 )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
@@ -13,6 +14,10 @@ SRC_URI="https://github.com/konradhalas/dacite/archive/v${PV}.tar.gz -> ${P}.tar
|
||||
|
||||
SLOT="0"
|
||||
LICENSE="GPL-2"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DEPEND="
|
||||
test? ( dev-python/pytest-benchmark )
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
@@ -1,9 +1,10 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="DBus library in Python 3"
|
||||
@@ -1,2 +1 @@
|
||||
DIST dataclasses_json-0.5.14.tar.gz 72513 BLAKE2B f45ca18030388efcc21ca9c939bf2298f891de66d62dc0f8042a3d0e26cc0bae63c7c5a02c839b07282c3110d6e5752979e3abea361b215b86b354984901c77c SHA512 5ec21843ef29a8e6e9511922698f42c115c7e641ca9ae5e47a58c6f0697a51928fd462f6342190263469baa70b76a302ad1d27954f50b9457b97149586f35703
|
||||
DIST dataclasses_json-0.5.7.tar.gz 39291 BLAKE2B eded21a6da89e1a8785c38cd7facc3e273154a31f34daf99dc0681891bf44cc0f34fc7ab69021cf04052e82a5bd66058b826609ca3ebfc1d75f40720b0b9ce6b SHA512 2dad73f55e0f33d1f9557e1ed3d41cf237204631c044027c41d37cd2e968da003f77e80c9a06db651e689413cbfd7f85eec1b70b02acf0a32f8337c4abb75f7b
|
||||
|
||||
@@ -1,40 +0,0 @@
|
||||
# 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_10 )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Easily serialize Data Classes to and from JSON"
|
||||
HOMEPAGE="https://github.com/lidatong/dataclasses-json"
|
||||
SRC_URI="https://github.com/lidatong/dataclasses-json/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
|
||||
S="${WORKDIR}/${P/_/-}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/marshmallow-3.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/marshmallow_enum-1.5.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/typing_inspect-0.4.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
dev-python/hypothesis[${PYTHON_USEDEP}]
|
||||
>=dev-python/mypy-0.710[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
sed -i '/scripts/d' setup.py || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
@@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="A set of UFO based objects for use in font editing applications"
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
DOCS_BUILDER=mkdocs
|
||||
DOCS_DEPEND=(
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# Copyright 2021 Gentoo Authors
|
||||
# Copyright 2021-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Digitalocean API access library"
|
||||
@@ -24,4 +24,9 @@ BDEPEND="test? ( dev-python/responses[${PYTHON_USEDEP}] )"
|
||||
|
||||
distutils_enable_sphinx docs dev-python/alabaster
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# Needs net
|
||||
digitalocean/tests/test_firewall.py
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -1,9 +1,9 @@
|
||||
# Copyright 2022 Gentoo Authors
|
||||
# Copyright 2022-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -1 +1 @@
|
||||
DIST doxypypy-0.8.8.6_p20210405.tar.gz 62179 BLAKE2B ee36a130f2c4af9264f04cf00ad311dccda8beeca505d7eb84169b05cf1e0ed6242770ede96b3df9b77385ea238cae84e9cd4e9f8761d23530e2f8e5fbcad797 SHA512 d3fa6bec9381d5531f82837e51988ccea4882fc77109924dd7a7f3ecd99e5afbec09d203629ac3853eeb38cf4592d97a1ec8c18fbe9fb48885794f887aba4336
|
||||
DIST doxypypy-0.8.8.6_p20210405.gh.tar.gz 62179 BLAKE2B ee36a130f2c4af9264f04cf00ad311dccda8beeca505d7eb84169b05cf1e0ed6242770ede96b3df9b77385ea238cae84e9cd4e9f8761d23530e2f8e5fbcad797 SHA512 d3fa6bec9381d5531f82837e51988ccea4882fc77109924dd7a7f3ecd99e5afbec09d203629ac3853eeb38cf4592d97a1ec8c18fbe9fb48885794f887aba4336
|
||||
|
||||
@@ -1,16 +1,17 @@
|
||||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_10 )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
inherit distutils-r1
|
||||
|
||||
COMMIT="39115c3d061d2f83e4a030bcb8642ec6f3203e61"
|
||||
|
||||
DESCRIPTION="A more Pythonic version of doxypy, a Doxygen filter for Python"
|
||||
HOMEPAGE="https://github.com/Feneric/doxypypy"
|
||||
SRC_URI="https://github.com/Feneric/doxypypy/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI="https://github.com/Feneric/doxypypy/archive/${COMMIT}.tar.gz -> ${P}.gh.tar.gz"
|
||||
S="${WORKDIR}/${PN}-${COMMIT}"
|
||||
|
||||
RESTRICT="!test? ( test )"
|
||||
@@ -1,10 +1,10 @@
|
||||
# Copyright 2021-2022 Gentoo Authors
|
||||
# Copyright 2021-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
inherit distutils-r1
|
||||
|
||||
GH_PN=dropbox-sdk-python
|
||||
|
||||
@@ -1 +1 @@
|
||||
DIST dtreeviz-2.2.1.gh.tar.gz 91575827 BLAKE2B 41889e36b58df4fb81cf65b1c8fe89c5206e737a19503f270ed2b4d64b64e1890119d2017b63419af306cfc3747738483fdfed463f0b22049dc54f8b03dc63b0 SHA512 8c80479164cbc2004b27160cc1be5a0d0422bb5b58603bb9a347e8e9d98735fbc8a9fa0635c6605e8ffa360d9fd669bbe88befe74d598c02eb10b675fd2274d6
|
||||
DIST dtreeviz-2.2.2.tar.gz 77028 BLAKE2B 1c0b64d720d5fec2559c13cfcd8ca3e02108b02f056e5eccbc7ae596ab7ab0523256b8cafcd5908d77adf098a56d6f87340473f95e1545ed86f12a6912524fac SHA512 4be118cc7825da8e51cffb7fc248105c13e17342f58acaa5110d91f4e8c686d6c8ca8697ab9d3fe2c4e7549fd781aad6154a64562b76989e51e906964505796e
|
||||
|
||||
@@ -1,59 +0,0 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{8..11} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="A python library for decision tree visualization and model interpretation"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/dtreeviz/
|
||||
"
|
||||
SRC_URI="https://github.com/parrt/dtreeviz/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
# IUSE="test xgboost pyspark lightgbm"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/graphviz-0.9
|
||||
dev-python/pandas
|
||||
dev-python/numpy
|
||||
dev-python/scikit-learn
|
||||
dev-python/matplotlib
|
||||
dev-python/colour
|
||||
"
|
||||
# xgboost: available at the science overlay: https://github.com/gentoo/sci - Tested
|
||||
# pyspark: available at the spark overlay: https://github.com/6-6-6/spark-overlay - Not tested
|
||||
# lightgbm: available at the pypi-sci overlay: https://github.com/jiegec/gentoo-pypi-sci - Not tested
|
||||
|
||||
DEPEND="test? ( dev-python/pytest )"
|
||||
|
||||
TEST_DIR="testing/testlib/models"
|
||||
|
||||
python_prepare_all() {
|
||||
# FIXME
|
||||
#if ! use xgboost; then
|
||||
rm $TEST_DIR/test_decision_trees_xgb_classifier.py || die
|
||||
rm $TEST_DIR/test_decision_tree_xgb_regressor.py || die
|
||||
#fi
|
||||
|
||||
# if ! use pyspark; then
|
||||
rm $TEST_DIR/test_decision_tree_spark_classifier.py || die
|
||||
# fi
|
||||
|
||||
# if ! use lightgbm; then
|
||||
rm $TEST_DIR/test_decision_tree_lightgbm_classifier.py || die
|
||||
# fi
|
||||
|
||||
#TODO: tensorflow_decision_forests ebuild
|
||||
rm $TEST_DIR/test_decision_tree_tensorflow_classifier.py || die
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
}
|
||||
|
||||
distutils_enable_tests pytest
|
||||
32
dev-python/dtreeviz/dtreeviz-2.2.2.ebuild
Normal file
32
dev-python/dtreeviz/dtreeviz-2.2.2.ebuild
Normal file
@@ -0,0 +1,32 @@
|
||||
# Copyright 2023-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="A python library for decision tree visualization and model interpretation"
|
||||
HOMEPAGE="
|
||||
https://github.com/parrt/dtreeviz
|
||||
https://pypi.org/project/dtreeviz/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
# Tests are either not packaged properly
|
||||
# Or have dependencies which aren't package in ::gentoo or ::guru
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/graphviz-0.9
|
||||
dev-python/pandas
|
||||
dev-python/numpy
|
||||
dev-python/scikit-learn
|
||||
dev-python/matplotlib
|
||||
dev-python/colour
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
@@ -1,10 +1,10 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Copyright 2023-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
inherit distutils-r1
|
||||
|
||||
GIT_SUBMODULES=(
|
||||
@@ -31,6 +31,8 @@ KEYWORDS="~amd64"
|
||||
|
||||
S="${WORKDIR}/cChardet-${PV}"
|
||||
|
||||
BDEPEND="dev-python/cython"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_unpack() {
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Copyright 2023-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
inherit distutils-r1
|
||||
|
||||
GIT_SUBMODULES=(
|
||||
@@ -31,6 +31,8 @@ KEYWORDS="~amd64"
|
||||
|
||||
S="${WORKDIR}/cChardet-${PV}"
|
||||
|
||||
BDEPEND="dev-python/cython"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_unpack() {
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Copyright 2023-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -1,44 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
DISTUTILS_USE_PEP517="setuptools"
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
if [[ ${PV} != *9999* ]]; then
|
||||
MY_PN="${PN}-python"
|
||||
MY_P="${MY_PN}-${PV}"
|
||||
S="${WORKDIR}/${MY_P}"
|
||||
SRC_URI="https://github.com/erfanoabdi/gbinder-python/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
else
|
||||
inherit git-r3
|
||||
EGIT_REPO_URI="https://github.com/erfanoabdi/gbinder-python.git"
|
||||
fi
|
||||
|
||||
DESCRIPTION="Python bindings for libgbinder"
|
||||
HOMEPAGE="https://github.com/erfanoabdi/gbinder-python"
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}"/gbinder-1.1.1-setuptools.patch
|
||||
)
|
||||
|
||||
|
||||
DEPEND="dev-libs/gbinder
|
||||
dev-libs/libglibutil"
|
||||
RDEPEND="${DEPEND}"
|
||||
BDEPEND="
|
||||
virtual/pkgconfig
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
${DISTUTILS_DEPS}
|
||||
"
|
||||
|
||||
python_configure_all () {
|
||||
DISTUTILS_ARGS=( --cython )
|
||||
}
|
||||
@@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} pypy3 )
|
||||
PYTHON_COMPAT=( python3_{10..12} pypy3 )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -6,7 +6,8 @@ EAPI=8
|
||||
MYPN="python-gnuplot"
|
||||
MYPV="$(ver_cut 1-2)"
|
||||
MYP="${PN}-${MYPV}"
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
@@ -1 +1 @@
|
||||
DIST googletrans-4.0.0_rc1.tar.gz 20199 BLAKE2B 38047d2dea820272a3b2adc07043230802fc66994966771c7ea55b70c0f79d5fdb22ff6bba8e89f0bc5224be86a21d5026d7dc19f8a370a61f34eecf53296a3c SHA512 fcb0330c51680fa91fdea994cf5ec6d19867c0996183529df5d1d0c63ef4d1fd4e9a2a061d6c01a9a0c302faf640724f3bdaff335ad663874af9588bd3210eaa
|
||||
DIST googletrans-4.0.0rc1.tar.gz 20199 BLAKE2B 38047d2dea820272a3b2adc07043230802fc66994966771c7ea55b70c0f79d5fdb22ff6bba8e89f0bc5224be86a21d5026d7dc19f8a370a61f34eecf53296a3c SHA512 fcb0330c51680fa91fdea994cf5ec6d19867c0996183529df5d1d0c63ef4d1fd4e9a2a061d6c01a9a0c302faf640724f3bdaff335ad663874af9588bd3210eaa
|
||||
|
||||
@@ -1,14 +1,18 @@
|
||||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
PYTHON_COMPAT=( python3_10 pypy3 )
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..12} pypy3 )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYPI_NONORMALIZE=1
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
MY_PV=${PV/_/}
|
||||
DESCRIPTION="Free Google Translate API for Python. Translates totally free of charge."
|
||||
HOMEPAGE="https://pypi.org/project/googletrans/ https://github.com/ssut/py-googletrans"
|
||||
SRC_URI="$(pypi_sdist_url --no-normalize ${PN} ${MY_PV}) -> ${P}.tar.gz"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
LICENSE="MIT"
|
||||
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
DISTUTILS_USE_PEP517=poetry
|
||||
PYPI_NO_NORMALIZE=1
|
||||
inherit distutils-r1 pypi
|
||||
@@ -44,10 +44,6 @@ src_prepare() {
|
||||
}
|
||||
|
||||
python_test() {
|
||||
if [[ ${EPYTHON} == "python3.11" ]]; then
|
||||
local EPYTEST_DESELECT=(
|
||||
tests/pyutils/test_is_awaitable.py::describe_is_awaitable::recognizes_an_old_style_coroutine
|
||||
)
|
||||
fi
|
||||
cd "${S}"/tests || die
|
||||
epytest
|
||||
}
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Copyright 2023-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_11 )
|
||||
PYTHON_COMPAT=( python3_{11..12} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="gRPC typing stubs for Python"
|
||||
|
||||
@@ -1,3 +1,2 @@
|
||||
DIST guidata-2.3.1.tar.gz 504812 BLAKE2B 4b2e5e07ee76bbeb95a9a55a4cde1d409d2438fe5273a0f154d34e8beb9934f810b29a33ef508009e38c589d57402aef55d346b93856fc744e7a8236748f5e86 SHA512 7488ca8c761394dfd9d58a8ac3c96dc963adab6df278823fb1a7d9132febc16e275908034ef48381d696668add43f62438fab1ba22f70f5e08f33b14a81082c5
|
||||
DIST guidata-3.2.2.tar.gz 672062 BLAKE2B ff8c06e1f97cc454136a3cb8857739cc223536456bb06a4ac3b3b86e2eaf894fc60a3bdc2d70ea62fdc2b85bbc9f546f614b5ad0b2c9bace584054377f5fbfb2 SHA512 a9f31e5c43bf203f9a5919dd574553ec14dcd317e06204be50bcd4f2cc7ac71a431145d33a6d3dfe076620d6cc753349b5fdb5436d89dfda18c9f7572aeec00f
|
||||
DIST guidata-3.3.0.tar.gz 690865 BLAKE2B 1b52295094844f839665e9dadbfff8d407b48d1746d72154d1181812a8b205660feac6ec86002cab31eef2c8fc5e72a35034145e51388e16e9bae89b2e801bd1 SHA512 7c962b8205cdcb13a628b6bfa256e7b62e1478933933d5ac9b8a1f7fbf6e4e17dbbbfe73bd520585b148ea858816e78f7dd3377ba70acc1be3a071981e5179ca
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_11 )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Library for user interfaces for easy dataset editing and display"
|
||||
HOMEPAGE="https://pypi.python.org/pypi/guidata"
|
||||
LICENSE="CeCILL-2"
|
||||
|
||||
SLOT="0"
|
||||
|
||||
# No automated tests can be performed afaik
|
||||
RESTRICT="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/PyQt5[${PYTHON_USEDEP}]
|
||||
dev-python/QtPy[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
@@ -1,9 +1,9 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
DISTUTILS_EXT=1
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
@@ -1,2 +1 @@
|
||||
DIST hachoir-3.2.0.gh.tar.gz 6922212 BLAKE2B d4e4b220a2495f00506e4a74882cb90abc0b20937fe6a28da1ed03e46c9ee7de004abd0ec04306a62f37c4799d78dad6bafdc70691b4d70864dd2e63979b960f SHA512 82b4271bfe8c50529b69e482205f66953c63da754220a11bb2d4ff9474d8ae81d856e639c293c4461427fc190ae53eae259c592af6844b67667d3063de955751
|
||||
DIST hachoir-3.3.0.gh.tar.gz 7905416 BLAKE2B 2125d28c932564867b37265206d5e27c9202b523ee8cb01d438aba44e6be42e76a6d2411ff72002db1a2dd28cf5561ff9c810920c88bbd8b20399007d85c3abf SHA512 8c9d6070877cedf706bec45f2813e145b3014dfc5c29d44e6c78fade165f0706cb214690e89551e4934a54c7e8e1fac1c73362fb9ada1c3d3d41f35556f43c7a
|
||||
|
||||
@@ -1,25 +0,0 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Hachoir is a Python library to view and edit a binary stream field by field "
|
||||
HOMEPAGE="https://github.com/vstinner/hachoir/"
|
||||
SRC_URI="https://github.com/vstinner/hachoir/archive/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
@@ -3,7 +3,7 @@
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517="setuptools"
|
||||
PYTHON_COMPAT=( python3_{10..11} )
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit distutils-r1 virtualx pypi
|
||||
|
||||
|
||||
@@ -1 +0,0 @@
|
||||
DIST j1m.sphinxautozconfig-0.1.0.tar.gz 2419 BLAKE2B 8fa63ddbf29404edeb13b110b6432fadad49752f0c43cb57feef03276013979dc2b632e6b75b7b0d19ee273a23c8d0a401f6039e0005a2619a8d60516d98e478 SHA512 a6177d4ea94f79f3d5974f3633d553ddcfbfcd5e6734998005de929b6ed34273c7d8aaeea59d2b61bf49559c7f09563bce04ab46d371d06a9a4a2954fcff3178
|
||||
@@ -1,23 +0,0 @@
|
||||
# Copyright 2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..11} pypy3 )
|
||||
PYPI_NO_NORMALIZE=1
|
||||
PYPI_PN="${PN/-/\.}"
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="Spinx support for ZConfig"
|
||||
HOMEPAGE="https://github.com/jimfulton/sphinxautozconfig"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
python_compile() {
|
||||
distutils-r1_python_compile
|
||||
find "${BUILD_DIR}" -name '*.pth' -delete || die
|
||||
}
|
||||
@@ -1,17 +0,0 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<name>Julien Roy</name>
|
||||
<email>julien@jroy.ca</email>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<maintainer>
|
||||
<name>Jim Fulton</name>
|
||||
<email>jim@jimfulton.info</email>
|
||||
</maintainer>
|
||||
<bugs-to>https://github.com/jimfulton/sphinxautozconfig/issues</bugs-to>
|
||||
<remote-id type="github">jimfulton/sphinxautozconfig</remote-id>
|
||||
<remote-id type="pypi">j1m.sphinxautozconfig</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
@@ -1,16 +1,16 @@
|
||||
# Copyright 1999-2022 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10..11} pypy3 )
|
||||
PYTHON_COMPAT=( python3_{10..12} pypy3 )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="CLI for Jinja2"
|
||||
HOMEPAGE="https://github.com/mattrobenolt/jinja2-cli"
|
||||
SRC_URI="https://github.com/mattrobenolt/jinja2-cli/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI="https://github.com/mattrobenolt/jinja2-cli/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
@@ -21,10 +21,4 @@ RDEPEND="
|
||||
dev-python/xmltodict[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
distutils_enable_tests pytest
|
||||
|
||||
@@ -1,9 +1,10 @@
|
||||
# Copyright 2020-2021 Gentoo Authors
|
||||
# Copyright 2020-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
PYTHON_COMPAT=( python3_{10,11} pypy3 )
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
@@ -1,10 +1,10 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{10..12} pypy3 )
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
|
||||
@@ -23,16 +23,15 @@ QA_PREBUILT="*"
|
||||
|
||||
src_install() {
|
||||
|
||||
path="/opt/games/"
|
||||
conty=conty-1.25.2
|
||||
|
||||
dodir $path
|
||||
dodir opt
|
||||
dodir /usr/bin
|
||||
cp -r . "$ED/$path" || die
|
||||
cp -r . "$ED/opt" || die
|
||||
|
||||
pr="WINEPREFIX=/home/\$USER/.wine-far-cry-demo"
|
||||
|
||||
echo "cd $path$PN; $pr $conty wine /opt/games/$PN/FarCry.exe; cd -" > "$ED/usr/bin/$PN"
|
||||
echo "cd $path$PN; $pr $conty wine /opt/$PN/FarCry.exe; cd -" > "$ED/usr/bin/$PN"
|
||||
fperms +x "/usr/bin/$PN"
|
||||
|
||||
}
|
||||
@@ -49,5 +48,5 @@ pkg_postinst() {
|
||||
einfo "https://www.gog.com/game/far_cry"
|
||||
einfo "https://www.humblebundle.com/store/far-cry"
|
||||
einfo ""
|
||||
einfo "The game is installed to $path$PN - if you want to run it by another Wine or operating system"
|
||||
einfo "The game is installed to /opt/$PN - if you want to run it by another Wine or operating system"
|
||||
}
|
||||
|
||||
@@ -20,6 +20,8 @@
|
||||
dev-python/clufter
|
||||
# Deprecated upstream, replaced by oracledb, no revdeps
|
||||
dev-python/cx-oracle
|
||||
# Library with no revdeps, upstream no longer tagging releases, need to use live ebuild or tag commits
|
||||
dev-python/curio
|
||||
|
||||
# Julien Roy <julien@jroy.ca> (2024-04-13)
|
||||
# Depends on last rited dev-python/future
|
||||
|
||||
Reference in New Issue
Block a user