parent
fe3f624f86
commit
b5843581e0
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1,2 @@
|
||||
DIST tuareg-mode-2.2.0.tar.gz 83392 BLAKE2B eead49dff45bb039abef0ffa8f4b874dd6d3bb36e81791b84e411031b4d714324637f99a0cfc3d4029b47032c61ca45424831a2d837fe5b01fa93383237cb14d SHA512 5f0b470920abd44e5b99e84e817ba678aded3042751b8949884c06f3a928105acbe96a28af3a8a089f6b607f8dd70cba7a669e9a61b906b1dad840c7f88bce12
|
||||
DIST tuareg-mode-3.0.1.tar.gz 104001 BLAKE2B e89a6d7f9db5c03eb5c9f04b18475750446713fbc80b8c70757a1e8e3539fdaaa353035bc455c24f263383ef85cba21150cb15ab43276286098f744e355e2da5 SHA512 55f47029482ad32d69453c9218f1934cd74e933f4bad52ab42d8a8f7670ea919d690ff1c7e3183fdaf51dbfb4d3ab8200109ec51dadefc074a989b43e2e60359
|
||||
|
@ -0,0 +1,19 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit elisp
|
||||
|
||||
DESCRIPTION="An Objective Caml/Camllight mode for Emacs"
|
||||
HOMEPAGE="http://forge.ocamlcore.org/projects/tuareg/"
|
||||
SRC_URI="https://github.com/ocaml/tuareg/archive/${PV}.tar.gz -> ${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+ GPL-3+ ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~ppc ~x86"
|
||||
|
||||
S="${WORKDIR}/tuareg-${PV}"
|
||||
ELISP_REMOVE="dot-emacs.el"
|
||||
SITEFILE="50${PN}-gentoo.el"
|
||||
DOCS=( README.md CHANGES.md )
|
Binary file not shown.
@ -1,3 +1,4 @@
|
||||
DIST OpenRGBEffectsPlugin-release_0.8.tar.bz2 232858 BLAKE2B 71851eaa40719d8b04a91577756e76b248d261c344e461a00f2c60d26fe37b2a1a2d563a67f620a4c6887d21d4505cb715850f6f0eb4f133894833a72f22e8e4 SHA512 c1ad3f460a9cb4788e9eae3f6df1f0b60a838205a0655c1a639f1bcd04c00f99d55d9a51161267e543bbd961883d4ae0751babe7c98d9be395f104ac9d40e8e3
|
||||
DIST OpenRGBEffectsPlugin-release_0.9.tar.bz2 254816 BLAKE2B e406cb70c1a64f2572d075b5d6ca6fa3499060ec33b49264b63d4f43c989adb8f2022b3b7d79a59bd5c82187b29331555385712a6fbcb25b01e5341c23cbd922 SHA512 d20f4890889768857219b79db245804b720b1710483c3ea3f1f6b462c4a172f521c727ad1fd3127fed9724be56dc45232c3a6d23772ec8c9d7e203bb6a6ad8c8
|
||||
DIST QCodeEditor-2021-08-17.tar.gz 95099 BLAKE2B d9eab343c956288b098c9fad4b523615beb7c1a860a00b8c84a2a71f40398fd2e82c335c5d82bb5bc2d15d35bad698a780ff4d1d3202f7555a93120e8a2d906a SHA512 4f8af3a45d3b16d06bc6e4b795f005cf917a80add8f738454751a47d40747df1215ba9b4e05a0f654251bc006521151f8a256c2e41be05c72abae4e55f383b54
|
||||
DIST SimplexNoise-2019-12-03.tar.gz 781353 BLAKE2B ce05f78b58439d57e369b8b3944b8d392bec80d579767cb1683befe5c56b90dcf40d405ff75d4541e6c17659f6e1abc83f5d3444fbe641724d21ed509e439854 SHA512 b1e27d6630a902006636ec31c3b1cead1857b255edc8ae8db74cdfee25300337200be48264c6adc0e2c0e39a3693e361d448e61ae62d2f0b700374b264d5e5cd
|
||||
|
@ -0,0 +1,16 @@
|
||||
Fix dependency on app-misc/openrgb
|
||||
|
||||
--- a/OpenRGBEffectsPlugin.pro
|
||||
+++ b/OpenRGBEffectsPlugin.pro
|
||||
@@ -64,11 +64,6 @@ HEADERS +=
|
||||
OpenRGB/qt/hsv.h \
|
||||
OpenRGB/hidapi_wrapper/hidapi_wrapper.h \
|
||||
|
||||
-SOURCES += \
|
||||
- OpenRGB/RGBController/RGBController.cpp \
|
||||
- OpenRGB/LogManager.cpp \
|
||||
- OpenRGB/NetworkServer.cpp \
|
||||
- OpenRGB/qt/hsv.cpp \
|
||||
|
||||
|
||||
#-----------------------------------------------------------------------------------------------#
|
@ -0,0 +1,66 @@
|
||||
# Copyright 2020-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit qmake-utils
|
||||
|
||||
DESCRIPTION="Plugin for OpenRGB with various Effects that can be synced across devices"
|
||||
HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin"
|
||||
|
||||
MY_NOISE_COMMIT="97e62c5b5e26c8edabdc29a6b0a277192be3746c"
|
||||
MY_QCODEEDITOR_COMMIT="a9aab24c7970a38d14bc79939306d9d3ba78cf61"
|
||||
SRC_URI="
|
||||
https://gitlab.com/OpenRGBDevelopers/OpenRGBEffectsPlugin/-/archive/release_${PV}/OpenRGBEffectsPlugin-release_${PV}.tar.bz2
|
||||
https://github.com/SRombauts/SimplexNoise/archive/${MY_NOISE_COMMIT}.tar.gz -> SimplexNoise-2019-12-03.tar.gz
|
||||
https://github.com/justxi/QCodeEditor/archive/${MY_QCODEEDITOR_COMMIT}.tar.gz -> QCodeEditor-2021-08-17.tar.gz
|
||||
"
|
||||
S="${WORKDIR}/OpenRGBEffectsPlugin-release_${PV}"
|
||||
|
||||
LICENSE="GPL-2 MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
RDEPEND="
|
||||
>=app-misc/openrgb-0.9:=
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5[-gles2-only]
|
||||
dev-qt/qtwidgets:5[-gles2-only]
|
||||
media-libs/openal
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-cpp/nlohmann_json
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/openrgb-plugin-effects-0.9-dep.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
rm -r OpenRGB || die
|
||||
ln -s "${ESYSROOT}/usr/include/OpenRGB" . || die
|
||||
sed -e '/^GIT_/d' -i *.pro || die
|
||||
|
||||
rmdir Dependencies/SimplexNoise || die
|
||||
ln -s "${WORKDIR}/SimplexNoise-${MY_NOISE_COMMIT}" Dependencies/SimplexNoise || die
|
||||
|
||||
rmdir Dependencies/QCodeEditor || die
|
||||
ln -s "${WORKDIR}/QCodeEditor-${MY_QCODEEDITOR_COMMIT}" Dependencies/QCodeEditor || die
|
||||
|
||||
# Because of -Wl,--export-dynamic in app-misc/openrgb, this resources.qrc
|
||||
# conflicts with the openrgb's one. So rename it.
|
||||
sed -e 's/resources.qrc/resources_effects_plugin.qrc/' -i *.pro || die
|
||||
mv --no-clobber resources.qrc resources_effects_plugin.qrc || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5 \
|
||||
INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /usr/$(get_libdir)/OpenRGB/plugins
|
||||
doexe libOpenRGBEffectsPlugin.so.1.0.0
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST OpenRGBSkinPlugin-release_0.8.tar.bz2 22711 BLAKE2B 25325c6be5cf619940e79e4f431871478e3026188d7aba4b8220a99afda8f75d18ffeafa0f905110d4ce44f5d7e28208f3d7b358cfadfcd4719a22f1ef5cf70d SHA512 89b9a4bcda4600ea7dbd05972bba7c5f8d917606b3def4971e6ccff84d8510ca420747dd85d3395bfea29e62adc775b592f9cbe20a6966776a46e15593f2cf59
|
||||
DIST OpenRGBSkinPlugin-release_0.9.tar.bz2 22781 BLAKE2B 46a342927f589c1b9bdbdfc094d8f85007897c5cfac9265d6a8efbafdd5bdb8f3f92927b052e4a52310cf5e2a7404590c16964c0c041ab6035dff24ee41b8e33 SHA512 51a6b11ca95679d9abbb600e77c50eac59138b2f9e080e5eba1606405f95446da0582327e2d071740e1cb1845604e895286cc06512b0769ae1d57937e2df818c
|
||||
|
@ -0,0 +1,48 @@
|
||||
# Copyright 2020-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit qmake-utils
|
||||
|
||||
SRC_URI="https://gitlab.com/OpenRGBDevelopers/OpenRGBSkinPlugin/-/archive/release_${PV}/OpenRGBSkinPlugin-release_${PV}.tar.bz2"
|
||||
S="${WORKDIR}/OpenRGBSkinPlugin-release_${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="Plugin for OpenRGB that allows you to customize the look and feel of OpenRGB"
|
||||
HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBSkinPlugin"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
>=app-misc/openrgb-0.9:=
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-cpp/nlohmann_json
|
||||
"
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
rm -r OpenRGB || die
|
||||
ln -s "${ESYSROOT}/usr/include/OpenRGB" . || die
|
||||
sed -e '/^GIT_/d' -i *.pro || die
|
||||
|
||||
# Because of -Wl,--export-dynamic in app-misc/openrgb, this resources.qrc
|
||||
# conflicts with the openrgb's one. So rename it.
|
||||
sed -e 's/resources.qrc/resources_skin_plugin.qrc/' -i *.pro || die
|
||||
mv --no-clobber resources.qrc resources_skin_plugin.qrc || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5 \
|
||||
INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /usr/$(get_libdir)/OpenRGB/plugins
|
||||
doexe libOpenRGBSkinPlugin.so.1.0.0
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST OpenRGBVisualMapPlugin-release_0.8.tar.bz2 51680 BLAKE2B c3423779f7a2082c8f682b519be2e1128b30dafbc4400414bd664f98de5c58701fbdbe9287a44951e8cf6ac4ee7c940a841f499ee1afce107e17537ad9df076b SHA512 7bf0393bc00bb69545ed02f6505f366aa90bb87350de6319977d02ba0afd38ccb895aa14edf02a42242b0a12f76ea2b135d8de5b3df10469c760b6f3d9dd2b61
|
||||
DIST OpenRGBVisualMapPlugin-release_0.9.tar.bz2 69646 BLAKE2B 2ae3c190c7b7347fadf62b4a133626da09e9ad90c1dc5c99decf960b115bff587e5d14d8e45ab65781171ebefdd29825422b9b709795d3d2cc735e8d0e061a69 SHA512 ef99263cbed900c1f541982e7349bda03212dfbb8873eb52db00f81cbe5823b7c4e2193de664dd7930da73e11a601b1b595b214629a813e1efda6e7184599521
|
||||
|
@ -0,0 +1,17 @@
|
||||
--- a/OpenRGBVisualMapPlugin.pro
|
||||
+++ b/OpenRGBVisualMapPlugin.pro
|
||||
@@ -99,6 +99,5 @@ HEADERS +=
|
||||
OpenRGB/qt/hsv.h \
|
||||
|
||||
SOURCES += \
|
||||
- OpenRGB/RGBController/RGBController.cpp \
|
||||
OpenRGBPluginsFont.cpp \
|
||||
OpenRGBVisualMapPlugin.cpp \
|
||||
@@ -124,7 +121,6 @@ SOURCES +=
|
||||
ui/widget-editor/EditorGrid.cpp \
|
||||
ui/widget-editor/LedItem.cpp \
|
||||
ui/widget-editor/WidgetEditor.cpp \
|
||||
- OpenRGB/qt/hsv.cpp \
|
||||
|
||||
FORMS += \
|
||||
ui/BackgroundApplier.ui \
|
@ -0,0 +1,52 @@
|
||||
# Copyright 2020-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit qmake-utils
|
||||
|
||||
SRC_URI="https://gitlab.com/OpenRGBDevelopers/OpenRGBVisualMapPlugin/-/archive/release_${PV}/OpenRGBVisualMapPlugin-release_${PV}.tar.bz2"
|
||||
S="${WORKDIR}/OpenRGBVisualMapPlugin-release_${PV}"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
DESCRIPTION="Plugin for OpenRGB to create virtual devices out of multiple real ones"
|
||||
HOMEPAGE="https://gitlab.com/OpenRGBDevelopers/OpenRGBVisualMapPlugin"
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
|
||||
RDEPEND="
|
||||
>=app-misc/openrgb-0.9:=
|
||||
dev-qt/qtcore:5
|
||||
dev-qt/qtgui:5
|
||||
dev-qt/qtwidgets:5
|
||||
"
|
||||
DEPEND="
|
||||
${RDEPEND}
|
||||
dev-cpp/nlohmann_json
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${P}-dep.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
default
|
||||
rm -r OpenRGB || die
|
||||
ln -s "${ESYSROOT}/usr/include/OpenRGB" . || die
|
||||
sed -e '/^GIT_/d' -i *.pro || die
|
||||
|
||||
# Because of -Wl,--export-dynamic in app-misc/openrgb, this resources.qrc
|
||||
# conflicts with the openrgb's one. So rename it.
|
||||
sed -e 's/resources.qrc/resources_visualmap_plugin.qrc/' -i *.pro || die
|
||||
mv --no-clobber resources.qrc resources_visualmap_plugin.qrc || die
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
eqmake5 \
|
||||
INCLUDEPATH+="${ESYSROOT}/usr/include/nlohmann"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
exeinto /usr/$(get_libdir)/OpenRGB/plugins
|
||||
doexe libOpenRGBVisualMapPlugin.so.1.0.0
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST OpenRGB-release_0.8.tar.bz2 28631365 BLAKE2B 3b328e38f1c52646da02b0b2b2c22b1285f3b31b0a2bc684e99d491d04bd14a91b49bc196b3b81b537320cd872e5568aaa8aec34744f4f15392d9424a81ac6f0 SHA512 d69686da7cab33099b13cfb5ab876fc2db047f79aa01bf8150507ec41321b4c6c092f81623823b89916c70a1a24c4a102f77b1001c5caa721ff4c0c52e0630d2
|
||||
DIST OpenRGB-release_0.9.tar.bz2 28689813 BLAKE2B 9fcf08d5e4d07ffc0f7867516f09044e18ce488bcdd99c8b44e0afe291b8a21a7ba92d6e7fd683ef22462a262004a992621efb59a5df6ed7551f4e9f75843241 SHA512 fb1bdbc7bcbd3bac888be313cfb6403a13d39de659ac6993858f9c1b17ad40e9c4a7d4c7c90682181841db1659a0ee298363c442a7120d43347aaf4485e7dccf
|
||||
|
@ -0,0 +1,12 @@
|
||||
--- a/OpenRGB.pro
|
||||
+++ b/OpenRGB.pro
|
||||
@@ -46,9 +46,6 @@ TEMPLATE = app
|
||||
#-----------------------------------------------------------------------------------------------#
|
||||
win32:BUILDDATE = $$system(date /t)
|
||||
unix:BUILDDATE = $$system(date -R -d "@${SOURCE_DATE_EPOCH:-$(date +%s)}")
|
||||
-GIT_COMMIT_ID = $$system(git log -n 1 --pretty=format:"%H")
|
||||
-GIT_COMMIT_DATE = $$system(git log -n 1 --pretty=format:"%ci")
|
||||
-GIT_BRANCH = $$system(git branch --show-current)
|
||||
|
||||
DEFINES += \
|
||||
VERSION_STRING=\\"\"\"$$VERSION\\"\"\" \
|
@ -0,0 +1,12 @@
|
||||
We install udev to /lib/udev instead, which it doesn't check
|
||||
|
||||
--- a/ResourceManager.cpp
|
||||
+++ b/ResourceManager.cpp
|
||||
@@ -895,7 +895,6 @@ void ResourceManager::DetectDevicesThreadFunction()
|
||||
{
|
||||
if(access("/usr/lib/udev/rules.d/60-openrgb.rules", F_OK) != 0)
|
||||
{
|
||||
- udev_not_exist = true;
|
||||
}
|
||||
}
|
||||
else
|
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST flaggie-0.2.1.tar.bz2 16767 BLAKE2B fea0fbc505bfa97e7bee2c05f0cc19077b9b23a021b01aafa2c4b064466677f9dd4ae95c36f6de65b4ad07c5046d539ceb0cb667dcb791b60410d7a5e688813f SHA512 3f273ebeceaaedce7a3807126fb3f450e420338a883440066d06a4d6a95b63bd538bb5da882fea23e0d390b28a83f50375dbda2624f656327775b2b700f2b2e4
|
||||
DIST flaggie-0.99.4.tar.gz 17731 BLAKE2B 460993edfad7dc13206c6ab96919a74a306534f69b5c2971c9bc4289e964052888c93ff4b935fdf722fc7490a250b33c9644472749b2dc060e7dfd0b0d8dacf3 SHA512 0a2225470a6cc1ee72d7c33abe40cae48b698ac24e0456f9e59bcfd04769c9c01154c62c9fbc2d384d086db06f8a9d76e0cefe761a18669fcbe8ae3bee495b92
|
||||
DIST flaggie-0.99.5.tar.gz 17792 BLAKE2B 0400d08383e80b7543fc18afa8d63e68d5b889327db119f53fb5b9f74959a10f5d918c9e284c590b403f30197275f0833b51313729b125c1f4e0feba8113afb7 SHA512 77e7b66148bb3779bf2f89507834ebcb587ad822126b282da9fea5361f4df54e6cd9a18311d23de8648ab6aba2e4aa18686296bfab9ae3823a4435252e431c7f
|
||||
|
@ -0,0 +1,32 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=flit
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="A smart CLI mangler for package.* files"
|
||||
HOMEPAGE="
|
||||
https://github.com/projg2/flaggie/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~mips ~ppc64 ~riscv ~x86 ~amd64-linux ~x86-linux"
|
||||
|
||||
RDEPEND="
|
||||
>=app-portage/gentoopm-0.5.0[${PYTHON_USEDEP}]
|
||||
dev-python/more-itertools[${PYTHON_USEDEP}]
|
||||
dev-vcs/git
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
pkg_postinst() {
|
||||
ewarn "This is a preview release of flaggie 1.x. It it not fully featured"
|
||||
ewarn "yet and it may have significant bugs. Please back your /etc/portage"
|
||||
ewarn "up before using it. Verify the results using --pretend."
|
||||
}
|
Binary file not shown.
@ -1,3 +1,3 @@
|
||||
DIST eisl-2.93.tar.gz 2138623 BLAKE2B 049628a3dba0b9da5334bb575e7cfd977cdee6b08f009590c3dd13ba81e325ef4cf9d64c8a3fc7b59b9459e5dca0f7d49243b61040d662200a3b64f797d631fe SHA512 261ca84594f6fa408739e3aedb0f0c0b0d246df14b6b79a3efb013219730b93290e725eb976980ac23488c361bca05eb642d3b4fc408ee4355ba84ca658185e7
|
||||
DIST eisl-2.98.tar.gz 2143636 BLAKE2B e38bf59e491218602e24217903b0f656ebcdee29311ec988447bff58b92f3bc51aa671ba8daf304fa8ce05a45ba71e22839bf74cfc6b1cc704e4c2bd1b5e1a74 SHA512 611bae543c4b12c3b7fb43a660edd219e9d8c1211ce6e3d7d19beae3ac5863f4f20722b79865444a42da30a0210474616115432428a2341b79e20b59e4a3a6e4
|
||||
DIST eisl-3.03.tar.gz 2146686 BLAKE2B 540e51007ad0db3271c13e4bf8804f1d555a8baea19da3f66075a57abe77d71560c6d634eded1c86cda054327c01415a46e36fd67ea233553745ad49100dbd8c SHA512 b800073db94a394ef131db38744197b7273eb64a0125e4ccfb982de618a0f5ec5d031e632acb74efbb678bf200ae4e9b81bd5dce24ed4ba02764aa97d86ec878
|
||||
DIST eisl-3.24.tar.gz 2155062 BLAKE2B 16e94d0b318db01152f67fdfaca863ddd385d533e01d54d3a540d9410cb85ab0f04256010c5d08b9197090856f128cb3a88682170edb0e1ce7346e01f7de9472 SHA512 6a725360ab6e87d67abc028ded74e80ae5d535a4a359cee965ec1017b67e59fc6c93739075fd82dc95046f59f515c910737685075a0ef6f347a4582af8d1efbe
|
||||
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1,2 +1,3 @@
|
||||
DIST asteval-0.9.29.gh.tar.gz 40010 BLAKE2B 1e2570afefc4ca0abd2a19d3498479a947e1634a550bd14f2efe813e00f3ec37b9f0e417616878a087a110d92474a626ba9b2972f8585f528fa492b99b758f03 SHA512 5afd7fe5349b5611112fc15a980f435e359c5fd81ece77041aed84566703f4621ac360dda2f133f0342a8eefe755820f7544fd5eb8195462cc05281ed0eba5dc
|
||||
DIST asteval-0.9.30.gh.tar.gz 43185 BLAKE2B e25e22eef482877c9a5373a8f5e67d3abbe3e31d44015c4d23731da0b7346c41a92a204da7c71e28ecee6d571d5bdba2c56662ae798d17c08a1569170bc78dd0 SHA512 aebc9e9e6b2b071f52df9aae9b85acf92b16e0559f93603e1e7393e17ae789db6253db767d214e9b391020f8a295017fa37d5630eeadb00fdc823b38018e76ab
|
||||
DIST asteval-0.9.31.gh.tar.gz 54667 BLAKE2B 9bb4ac81118d5fdf2b7437cb64a571e91f44e34ea17ab9eb55201f9edf7c18e7736b7dbdaf2bdac3e83e28c55fe3f869f01ac3ab9d41b15c043de52227c064f8 SHA512 af70363eba0a08dd91d05faf2ac83020f9e89b927dba8752e5bf00ad3b887cf7b57cdf4c64b231d484d55796a9d203af4fb9860ceac3dbd5d8855baf7ffb1417
|
||||
|
@ -0,0 +1,36 @@
|
||||
# Copyright 1999-2023 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
|
||||
|
||||
DESCRIPTION="Evaluator of Python expression using ast module"
|
||||
HOMEPAGE="
|
||||
https://newville.github.io/asteval/
|
||||
https://github.com/newville/asteval/
|
||||
https://pypi.org/project/asteval/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/newville/asteval/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64"
|
||||
|
||||
BDEPEND="
|
||||
dev-python/setuptools-scm[${PYTHON_USEDEP}]
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
export SETUPTOOLS_SCM_PRETEND_VERSION=${PV}
|
||||
|
||||
python_test() {
|
||||
epytest -o addopts=
|
||||
}
|
@ -1,6 +1,3 @@
|
||||
DIST cx_Freeze-6.13.1.gh.tar.gz 1486207 BLAKE2B aa0151fed482714e41a859059f9672950249ad7fe50fa2accaa9d6af7ddc183a8f74d87337f274849a34a404dda0c732300343b58cd872f3bd03bf275c2f4d97 SHA512 48d569fdce5c6cb100232ce3577f0a55a40f3d1dcafa884a4d62af7f27200a21eb892504b47fb7cd106f410354b70d98a8e5245382431bc1f6d990510c77cb36
|
||||
DIST cx_Freeze-6.14.5.gh.tar.gz 1648095 BLAKE2B 81707d17c2118a8db4d768b2fbe83278c6b01509a5a1d3e7f3a41efaa29607fc4b254e9d545a4697b77d4932100f344a8013ac59084bb74d97d1b12cb927ec6e SHA512 52233a138da3250e97668a5c225e78b864bebaa43ea2b30de01af2de7739f48a25030e10d36ccec609240822de308ad030eaa26c2ede8b29318d2b30647cf1c8
|
||||
DIST cx_Freeze-6.14.9.gh.tar.gz 1649748 BLAKE2B 08fefea6ed9610b672ca8a4a6e480cedf8fd75c967880e74f94c12368ec1ff71a9d34baae02342f7c4484e65beda5dc71dd39e13b8c340c5b7dd2e89b38ba0f1 SHA512 bfe3e5d3dcf96cff448b034a779b93c37dacda489ee4eabd92e8f4708c6d7a9fe2430bc512f40c6af8c6f851fff24a3626b80f10295af1357e4a58563474e8eb
|
||||
DIST cx_Freeze-6.15.0.gh.tar.gz 1650636 BLAKE2B 9d99a78bc4d6b6498e10c54352a6fbfce3f2ee9bba9cc5b7fa752eba465d29355c6e4222e4f3c3012793820f435591f2e3e634e512765720d0c96a7799ab5998 SHA512 90fc3fba50ab7a9a263371fc9e57df768792b78175cd7ed39f2308b2a5e6bf0eb992616d29ff0d34c8bf040d167bac1882e0e1d2425d2f248e4de2e755c72503
|
||||
DIST cx_Freeze-6.15.1.gh.tar.gz 1651345 BLAKE2B 9c0c29f19e09184ad7b0a6954649c30fa1c941ff822b1c5ec745b1a6c7dd58fc77b06c070641a9200fc4910bdfc49937841ba2b547b16ec48f9fd30dfee6cd03 SHA512 d6540736d437242fd89fc34f0ff81691eebb455c0ddca8b90ee6ec436105d908e9fed580a08e23999f70b5e3aa2f2e66ee35eec092eecab0501e9b3117af23b3
|
||||
DIST cx_Freeze-6.15.2.gh.tar.gz 1655639 BLAKE2B 303b3d541cae2e0ef98ea0c57a693092c177cb9e308ae44ee0a9972a9a4b34298ddd0deb86d49d9a0ce9f1f1ea480edd45aa4e63eeca1ce86a1b348c10b7caee SHA512 2f6dc0bed9981190411b1ac12c6a5a8c7907cf059d50e01bc1958308b8f905d818aff12262712ecc7ee931a0976fae0fbef7dd35433158122386d7b6a9a3b3eb
|
||||
|
@ -1,54 +0,0 @@
|
||||
# Copyright 1999-2023 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="Create standalone executables from Python scripts"
|
||||
HOMEPAGE="
|
||||
https://cx-freeze.readthedocs.io/
|
||||
https://github.com/marcelotduarte/cx_Freeze/
|
||||
https://pypi.org/project/cx-Freeze/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/marcelotduarte/cx_Freeze/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="PYTHON"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/importlib-metadata[${PYTHON_USEDEP}]
|
||||
dev-util/patchelf
|
||||
virtual/libcrypt:=
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/bcrypt[${PYTHON_USEDEP}]
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/openpyxl[${PYTHON_USEDEP}]
|
||||
dev-python/pandas[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
dev-python/pydantic[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-timeout[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# bug #491602
|
||||
"${FILESDIR}/${PN}-6.8.2-buildsystem.patch"
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# new setuptools?
|
||||
tests/test_command_bdist_rpm.py::test_bdist_rpm
|
||||
)
|
@ -1,65 +0,0 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{9..11} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Create standalone executables from Python scripts"
|
||||
HOMEPAGE="
|
||||
https://cx-freeze.readthedocs.io/
|
||||
https://github.com/marcelotduarte/cx_Freeze/
|
||||
https://pypi.org/project/cx-Freeze/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/marcelotduarte/cx_Freeze/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="PYTHON"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/importlib-metadata[${PYTHON_USEDEP}]
|
||||
' 3.9)
|
||||
dev-util/patchelf
|
||||
virtual/libcrypt:=
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
app-arch/rpm
|
||||
dev-python/bcrypt[${PYTHON_USEDEP}]
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/openpyxl[${PYTHON_USEDEP}]
|
||||
dev-python/pandas[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
dev-python/pydantic[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-timeout[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# bug #491602
|
||||
"${FILESDIR}/${PN}-6.8.2-buildsystem.patch"
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# remove pythonic dep on patchelf exec
|
||||
sed -i -e '/patchelf/d' pyproject.toml || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# rpm test expects .pyc
|
||||
local -x PYTHONDONTWRITEBYTECODE=
|
||||
rm -rf cx_Freeze || die
|
||||
epytest
|
||||
}
|
@ -1,65 +0,0 @@
|
||||
# Copyright 1999-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="Create standalone executables from Python scripts"
|
||||
HOMEPAGE="
|
||||
https://cx-freeze.readthedocs.io/
|
||||
https://github.com/marcelotduarte/cx_Freeze/
|
||||
https://pypi.org/project/cx-Freeze/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/marcelotduarte/cx_Freeze/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="PYTHON"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/importlib-metadata[${PYTHON_USEDEP}]
|
||||
' 3.9)
|
||||
dev-util/patchelf
|
||||
virtual/libcrypt:=
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
app-arch/rpm
|
||||
dev-python/bcrypt[${PYTHON_USEDEP}]
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/openpyxl[${PYTHON_USEDEP}]
|
||||
dev-python/pandas[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
dev-python/pydantic[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-timeout[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
PATCHES=(
|
||||
# bug #491602
|
||||
"${FILESDIR}/${PN}-6.8.2-buildsystem.patch"
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
# remove pythonic dep on patchelf exec
|
||||
sed -i -e '/patchelf/d' pyproject.toml || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
# rpm test expects .pyc
|
||||
local -x PYTHONDONTWRITEBYTECODE=
|
||||
rm -rf cx_Freeze || die
|
||||
epytest
|
||||
}
|
@ -1 +1,2 @@
|
||||
DIST pip-23.1.2-py3-none-any.whl 2064688 BLAKE2B 85c19cc80a59404867e7212c442e60ed6735da35d544bd23ee4cf5a1bffad4c0fab1f34a652417a181cbcb4afc9baf94682b0ec6e1fd9457eb77bc971d29e459 SHA512 a5a8feab25f01a96c2d8c4e15a001cb38c4a0a9d88563da6653239f3966324fdbe86ae0c5172cbdb1d03b863b37a37358b80e8bb9c8112bd7809fd16fb2ec776
|
||||
DIST pip-23.2-py3-none-any.whl 2085968 BLAKE2B 320f19b21253d0160d09d51e677a81fa30515a1faee07c4ed87b36a4134820d5bafcd524c099d5892b41bd7bb738a0ccc0b906d619d7e5690a8404cb78f4469a SHA512 bdd211e74fb77117f389f0789c35b163834d9a900e7615d7a1d90a9c6a62613e69552af79cc88f594890afd9189e53c55b55a50cc31d4cd18118352ecab9cf40
|
||||
|
@ -0,0 +1,24 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
inherit pypi
|
||||
|
||||
DESCRIPTION="Shared pip wheel for ensurepip Python module"
|
||||
HOMEPAGE="https://pypi.org/project/pip/"
|
||||
SRC_URI="$(pypi_wheel_url "${PN#ensurepip-}")"
|
||||
S=${DISTDIR}
|
||||
|
||||
LICENSE="Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MIT MPL-2.0 PSF-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~arm64-macos ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
|
||||
RDEPEND="
|
||||
!<dev-python/ensurepip-wheels-100
|
||||
"
|
||||
|
||||
src_install() {
|
||||
insinto /usr/lib/python/ensurepip
|
||||
doins "${A}"
|
||||
}
|
@ -0,0 +1,45 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=pdm-backend
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Signature generator for Python programs"
|
||||
HOMEPAGE="
|
||||
https://mkdocstrings.github.io/griffe/
|
||||
https://github.com/mkdocstrings/griffe/
|
||||
https://pypi.org/project/griffe/
|
||||
"
|
||||
# Tests need files absent from the PyPI tarballs
|
||||
SRC_URI="
|
||||
https://github.com/mkdocstrings/griffe/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="ISC"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~riscv"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/colorama-0.4[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
>=dev-python/jsonschema-4.17.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/pytest-xdist-2.4[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
export PDM_BUILD_SCM_VERSION=${PV}
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# fragile to installed packages
|
||||
# (failed on PySide2 for me)
|
||||
tests/test_stdlib.py::test_fuzzing_on_stdlib
|
||||
)
|
@ -0,0 +1,91 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
CLI_COMPAT=( python3_{10..11} )
|
||||
PYTHON_COMPAT=( "${CLI_COMPAT[@]}" python3_12 pypy3 )
|
||||
PYTHON_REQ_USE="threads(+),sqlite"
|
||||
|
||||
inherit distutils-r1 multiprocessing optfeature
|
||||
|
||||
TAG=hypothesis-python-${PV}
|
||||
MY_P=hypothesis-${TAG}
|
||||
DESCRIPTION="A library for property based testing"
|
||||
HOMEPAGE="
|
||||
https://github.com/HypothesisWorks/hypothesis/
|
||||
https://pypi.org/project/hypothesis/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/HypothesisWorks/hypothesis/archive/${TAG}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
S="${WORKDIR}/${MY_P}/hypothesis-python"
|
||||
|
||||
LICENSE="MPL-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="cli"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/attrs-19.2.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sortedcontainers-2.1.0[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/exceptiongroup-1.0.0_rc8[${PYTHON_USEDEP}]
|
||||
' 3.9 3.10)
|
||||
cli? (
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/black[${PYTHON_USEDEP}]
|
||||
dev-python/click[${PYTHON_USEDEP}]
|
||||
' "${CLI_COMPAT[@]}")
|
||||
)
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/mock[${PYTHON_USEDEP}]
|
||||
dev-python/pexpect[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
!!<dev-python/requests-toolbelt-0.10.1
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
# subtests are broken by warnings from random plugins
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
local -x PYTEST_PLUGINS=xdist.plugin,pytest_forked,_hypothesis_pytestplugin
|
||||
local -x HYPOTHESIS_NO_PLUGINS=1
|
||||
|
||||
# NB: paths need to be relative to pytest.ini,
|
||||
# i.e. start with hypothesis-python/
|
||||
local EPYTEST_DESELECT=()
|
||||
case ${EPYTHON} in
|
||||
pypy3)
|
||||
EPYTEST_DESELECT+=(
|
||||
# failing due to warnings from numpy/cython
|
||||
hypothesis-python/tests/pytest/test_fixtures.py::test_given_plus_overridden_fixture
|
||||
)
|
||||
;;
|
||||
esac
|
||||
|
||||
epytest -o filterwarnings= -n "$(makeopts_jobs)" \
|
||||
tests/cover tests/pytest tests/quality
|
||||
}
|
||||
|
||||
python_install() {
|
||||
distutils-r1_python_install
|
||||
if ! use cli || ! has "${EPYTHON}" "${CLI_COMPAT[@]/_/.}"; then
|
||||
rm -r "${ED}/usr/bin" "${D}$(python_get_scriptdir)" || die
|
||||
fi
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "datetime support" dev-python/pytz
|
||||
optfeature "dateutil support" dev-python/python-dateutil
|
||||
optfeature "numpy support" dev-python/numpy
|
||||
optfeature "django support" dev-python/django dev-python/pytz
|
||||
optfeature "pandas support" dev-python/pandas
|
||||
optfeature "pytest support" dev-python/pytest
|
||||
}
|
@ -0,0 +1,102 @@
|
||||
# Copyright 1999-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 pypi
|
||||
|
||||
DESCRIPTION="Mock library for boto"
|
||||
HOMEPAGE="
|
||||
https://github.com/getmoto/moto/
|
||||
https://pypi.org/project/moto/
|
||||
"
|
||||
|
||||
LICENSE="Apache-2.0"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/aws-xray-sdk-0.93[${PYTHON_USEDEP}]
|
||||
>=dev-python/cfn-lint-0.40.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/cryptography-3.3.1[${PYTHON_USEDEP}]
|
||||
dev-python/cookies[${PYTHON_USEDEP}]
|
||||
>=dev-python/docker-3.0.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/idna-2.5[${PYTHON_USEDEP}]
|
||||
>=dev-python/jinja-2.10.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/jsondiff-1.1.2[${PYTHON_USEDEP}]
|
||||
dev-python/boto3[${PYTHON_USEDEP}]
|
||||
dev-python/botocore[${PYTHON_USEDEP}]
|
||||
dev-python/flask[${PYTHON_USEDEP}]
|
||||
dev-python/flask-cors[${PYTHON_USEDEP}]
|
||||
dev-python/more-itertools[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyparsing-3.0.7[${PYTHON_USEDEP}]
|
||||
>=dev-python/openapi-spec-validator-0.2.8[${PYTHON_USEDEP}]
|
||||
dev-python/pyaml[${PYTHON_USEDEP}]
|
||||
>=dev-python/pyyaml-5.1[${PYTHON_USEDEP}]
|
||||
>=dev-python/python-dateutil-2.1[${PYTHON_USEDEP}]
|
||||
dev-python/python-dateutil[${PYTHON_USEDEP}]
|
||||
dev-python/python-jose[${PYTHON_USEDEP}]
|
||||
dev-python/python-sshpubkeys[${PYTHON_USEDEP}]
|
||||
>=dev-python/responses-0.9.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/requests-2.5[${PYTHON_USEDEP}]
|
||||
dev-python/xmltodict[${PYTHON_USEDEP}]
|
||||
dev-python/werkzeug[${PYTHON_USEDEP}]
|
||||
dev-python/zipp[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
||||
dev-python/responses[${PYTHON_USEDEP}]
|
||||
>=dev-python/sure-1.4.11[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# TODO
|
||||
tests/test_firehose/test_firehose_put.py::test_put_record_http_destination
|
||||
tests/test_firehose/test_firehose_put.py::test_put_record_batch_http_destination
|
||||
# broken code (local variable used referenced before definition)
|
||||
tests/test_appsync/test_appsync_schema.py
|
||||
# Needs network (or docker?) but not marked as such, bug #807031
|
||||
# TODO: report upstream
|
||||
tests/test_batch/test_batch_jobs.py::test_cancel_pending_job
|
||||
tests/test_batch/test_batch_jobs.py::test_cancel_running_job
|
||||
tests/test_batch/test_batch_jobs.py::test_container_overrides
|
||||
tests/test_batch/test_batch_jobs.py::test_dependencies
|
||||
tests/test_batch/test_batch_jobs.py::test_failed_dependencies
|
||||
tests/test_batch/test_batch_jobs.py::test_failed_job
|
||||
tests/test_batch/test_batch_jobs.py::test_terminate_job
|
||||
tests/test_cloudformation/test_cloudformation_custom_resources.py::test_create_custom_lambda_resource__verify_cfnresponse_failed
|
||||
|
||||
tests/test_cloudformation/test_cloudformation_stack_integration.py::test_lambda_function
|
||||
tests/test_core/test_docker.py::test_docker_is_running_and_available
|
||||
tests/test_events/test_events_lambdatriggers_integration.py::test_creating_bucket__invokes_lambda
|
||||
"tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events0-ObjectCreated:Put]"
|
||||
"tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events1-ObjectCreated:Put]"
|
||||
"tests/test_s3/test_s3_lambda_integration.py::test_objectcreated_put__invokes_lambda[match_events3-ObjectCreated:Put]"
|
||||
# TODO
|
||||
tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_queue
|
||||
tests/test_sqs/test_sqs_integration.py::test_invoke_function_from_sqs_fifo_queue
|
||||
# require py_partiql_parser
|
||||
tests/test_s3/test_s3_select.py
|
||||
tests/test_dynamodb/test_dynamodb_statements.py
|
||||
# broken by new urllib3
|
||||
tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_data
|
||||
tests/test_moto_api/recorder/test_recorder.py::TestRecorder::test_s3_upload_file_using_requests
|
||||
tests/test_s3/test_s3.py::test_upload_from_file_to_presigned_url
|
||||
tests/test_s3/test_s3.py::test_put_chunked_with_v4_signature_in_body
|
||||
tests/test_s3/test_s3.py::test_presigned_put_url_with_approved_headers
|
||||
tests/test_s3/test_s3.py::test_presigned_put_url_with_custom_headers
|
||||
)
|
||||
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
local -x TZ=UTC
|
||||
# note: pytest-xdist causes random test failures
|
||||
epytest -m 'not network'
|
||||
}
|
@ -1,2 +1,3 @@
|
||||
DIST pathvalidate-2.5.2.tar.gz 26715 BLAKE2B aa42a6592b36b339611cd4bc70412e92da10a57838df4c668c0438c56aa714842c37d8c5239cbc1e89c7f52a2d4fce2ee9df2301fb168ca0aa0cac6f21c9a43a SHA512 44c9d329f60deb81590854e0aa4699e4105821535aa5bf306c78df395c510ce851075db246937a459f46ee2f9abc54538a4a48995b94f5eb031f14fe60c769ce
|
||||
DIST pathvalidate-3.0.0.tar.gz 28036 BLAKE2B 4d117297c4e4a5e593155e14a4aa4f5fb21a30d66ae3212e6061e0aa92d05c94fbc48461f07ef7e9a9852ec167248723b09bb173f78bfb40be13d45e941b1c16 SHA512 66dc4974e8c86608e6f0e1c90611ad87d78db08caa046ce6997aa38b9aaa01e624f7a40eeb7e49f90ab8f0cae477d320fde62679a5594da1858579e311602fb8
|
||||
DIST pathvalidate-3.1.0.tar.gz 28762 BLAKE2B 44c202743aee61b8f13fad3b3199f603276db878a81e5fe695f7d07bed4e8ebe2261d86569cdb846f64ec6d26f751b2a430298055d49ad359617b93076236406 SHA512 155897e59bb8d1f48bdee18816e26691c0f975c2334ed6d753b86c971dcb55902a8011eb486aaf96d90d066fc1ae22e7602b8408b96e7206c12e83cec42c4913
|
||||
|
@ -0,0 +1,31 @@
|
||||
# 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..12} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="A Python library to sanitize/validate a string such as filenames/file-paths/etc"
|
||||
HOMEPAGE="
|
||||
https://github.com/thombashi/pathvalidate/
|
||||
https://pypi.org/project/pathvalidate/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/click[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/allpairspy[${PYTHON_USEDEP}]
|
||||
dev-python/tcolorpy[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
@ -1 +1,2 @@
|
||||
DIST pip-23.1.2.gh.tar.gz 9345911 BLAKE2B 511ac1a9405e377ccb2525e89676f4a63f138aa526d40e76f4d9681139d94db1f92772beab1a647654c17abc6bee09f52cf4c4f4484716874194565fda07d056 SHA512 b33070cb59a1258904a60b48ec8abfd9e316c5f87681fea13d89ddf6d516afac10965ae1db54fea299a0a72f98602ce02e8b3be46f239e857db84866045730e1
|
||||
DIST pip-23.2.gh.tar.gz 9370682 BLAKE2B dbce43e29ed453e32e13a6d2f18ba2d8095021de0073d13de18cb55b5410415d0feeb2610e31ae8a0025864e6d05eb41aab3dd8adeaecf990fa31e7284e71fa5 SHA512 fe915a8f85b21d59b416a5b1fad6e6ce2874b27e055c86ad71efe31c492f117a468734da239882c3d7f4678f91389daf0e8d13abc6429ddca5bfef87cb29dae0
|
||||
|
@ -0,0 +1,130 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
# please bump dev-python/ensurepip-pip along with this package!
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_TESTED=( python3_{10..11} )
|
||||
PYTHON_COMPAT=( "${PYTHON_TESTED[@]}" python3_12 pypy3 )
|
||||
PYTHON_REQ_USE="ssl(+),threads(+)"
|
||||
|
||||
inherit bash-completion-r1 distutils-r1 multiprocessing
|
||||
|
||||
DESCRIPTION="The PyPA recommended tool for installing Python packages"
|
||||
HOMEPAGE="
|
||||
https://pip.pypa.io/en/stable/
|
||||
https://pypi.org/project/pip/
|
||||
https://github.com/pypa/pip/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/pypa/pip/archive/${PV}.tar.gz -> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
# bundled deps
|
||||
LICENSE+=" Apache-2.0 BSD BSD-2 ISC LGPL-2.1+ MPL-2.0 PSF-2"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
SLOT="0"
|
||||
IUSE="test-rust"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/setuptools-39.2.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
$(python_gen_cond_dep '
|
||||
dev-python/ensurepip-setuptools
|
||||
dev-python/ensurepip-wheel
|
||||
dev-python/freezegun[${PYTHON_USEDEP}]
|
||||
dev-python/pretend[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-xdist[${PYTHON_USEDEP}]
|
||||
dev-python/scripttest[${PYTHON_USEDEP}]
|
||||
dev-python/tomli-w[${PYTHON_USEDEP}]
|
||||
dev-python/virtualenv[${PYTHON_USEDEP}]
|
||||
dev-python/werkzeug[${PYTHON_USEDEP}]
|
||||
dev-python/wheel[${PYTHON_USEDEP}]
|
||||
test-rust? (
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
)
|
||||
' "${PYTHON_TESTED[@]}")
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_prepare_all() {
|
||||
local PATCHES=(
|
||||
"${FILESDIR}/pip-23.1-no-coverage.patch"
|
||||
)
|
||||
|
||||
distutils-r1_python_prepare_all
|
||||
|
||||
if use test; then
|
||||
local wheels=(
|
||||
"${BROOT}"/usr/lib/python/ensurepip/{setuptools,wheel}-*.whl
|
||||
)
|
||||
mkdir tests/data/common_wheels/ || die
|
||||
cp "${wheels[@]}" tests/data/common_wheels/ || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_compile_all() {
|
||||
# 'pip completion' command embeds full $0 into completion script, which confuses
|
||||
# 'complete' and causes QA warning when running as "${PYTHON} -m pip".
|
||||
# This trick sets correct $0 while still calling just installed pip.
|
||||
local pipcmd='import sys; sys.argv[0] = "pip"; __file__ = ""; from pip._internal.cli.main import main; sys.exit(main())'
|
||||
"${EPYTHON}" -c "${pipcmd}" completion --bash > completion.bash || die
|
||||
"${EPYTHON}" -c "${pipcmd}" completion --zsh > completion.zsh || die
|
||||
}
|
||||
|
||||
python_test() {
|
||||
if ! has "${EPYTHON}" "${PYTHON_TESTED[@]/_/.}"; then
|
||||
einfo "Skipping tests on ${EPYTHON}"
|
||||
return 0
|
||||
fi
|
||||
|
||||
local EPYTEST_DESELECT=(
|
||||
tests/functional/test_inspect.py::test_inspect_basic
|
||||
tests/functional/test_install.py::test_double_install_fail
|
||||
# Internet
|
||||
tests/functional/test_install.py::test_install_dry_run
|
||||
tests/functional/test_install.py::test_editable_install__local_dir_setup_requires_with_pyproject
|
||||
tests/functional/test_install.py::test_install_8559_wheel_package_present
|
||||
tests/functional/test_config_settings.py::test_backend_sees_config_via_sdist
|
||||
tests/functional/test_install.py::test_link_hash_in_dep_fails_require_hashes
|
||||
# TODO
|
||||
tests/unit/test_network_auth.py::test_keyring_cli_get_password
|
||||
tests/unit/test_network_auth.py::test_keyring_cli_set_password
|
||||
# wants to install keyring from Internet, sigh
|
||||
tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed
|
||||
# probably a too strict assert
|
||||
# https://github.com/pypa/pip/issues/12152
|
||||
tests/unit/test_req.py::TestRequirementSet::test_download_info_archive_cache_with_invalid_origin
|
||||
)
|
||||
|
||||
if ! has_version "dev-python/cryptography[${PYTHON_USEDEP}]"; then
|
||||
EPYTEST_DESELECT+=(
|
||||
tests/functional/test_install.py::test_install_sends_client_cert
|
||||
tests/functional/test_install_config.py::test_do_not_prompt_for_authentication
|
||||
tests/functional/test_install_config.py::test_prompt_for_authentication
|
||||
tests/functional/test_install_config.py::test_prompt_for_keyring_if_needed
|
||||
)
|
||||
fi
|
||||
|
||||
local -x SETUPTOOLS_USE_DISTUTILS=stdlib
|
||||
local -x PIP_DISABLE_PIP_VERSION_CHECK=1
|
||||
epytest -m "not network" -n "$(makeopts_jobs)"
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
local DOCS=( AUTHORS.txt docs/html/**/*.rst )
|
||||
distutils-r1_python_install_all
|
||||
|
||||
newbashcomp completion.bash pip
|
||||
|
||||
insinto /usr/share/zsh/site-functions
|
||||
newins completion.zsh _pip
|
||||
}
|
@ -0,0 +1,56 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=flit
|
||||
PYTHON_COMPAT=( python3_{10..12} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
SAMPLE_COMMIT=2cf1e75af7bcb9c097deae6fb112c715d4721744
|
||||
DESCRIPTION="Python library to work with PDF files"
|
||||
HOMEPAGE="
|
||||
https://pypi.org/project/pypdf/
|
||||
https://github.com/py-pdf/pypdf/
|
||||
"
|
||||
SRC_URI="
|
||||
https://github.com/py-pdf/pypdf/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
test? (
|
||||
https://github.com/py-pdf/sample-files/archive/${SAMPLE_COMMIT}.tar.gz
|
||||
-> ${PN}-sample-files-${SAMPLE_COMMIT}.gh.tar.gz
|
||||
)
|
||||
"
|
||||
|
||||
LICENSE="BSD-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
|
||||
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/pillow[jpeg,jpeg2k,tiff,${PYTHON_USEDEP}]
|
||||
dev-python/pycryptodome[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# rely on -Werror
|
||||
tests/test_utils.py::test_deprecate_no_replacement
|
||||
tests/test_workflows.py::test_orientations
|
||||
# TODO: requires fpdf
|
||||
tests/test_page.py::test_compression
|
||||
)
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
if use test; then
|
||||
mv "sample-files-${SAMPLE_COMMIT}"/* "${S}"/sample-files/ || die
|
||||
fi
|
||||
}
|
||||
|
||||
python_test() {
|
||||
epytest -o addopts= -m "not enable_socket"
|
||||
}
|
@ -1,3 +1 @@
|
||||
DIST pyproject_api-1.5.1.tar.gz 22081 BLAKE2B 53ee778b4e04cac2f16ecd054adc7fd86373d6402f80d485fe22457252684f774b6a5df23d08cf6c6b1f96964d6dc1b1cc9014415f3d9105ffbb09421f69a11e SHA512 31936d242861027ea892e86219f430371aae18631c92893cefc8fb8fc02315906857ee57e5412eed62bf584e0bd24cca7ba82471c0ac6a72c71e8e93b8285a3e
|
||||
DIST pyproject_api-1.5.2.tar.gz 21926 BLAKE2B 337fa749273273e0d4c761876ac1b9ec25c02ad206dd222790717dde44ad82409d5200b94c2b5d35984116b1c88cfa10b93c699e684ff51b3235b936e35fe0ee SHA512 ee12ec0dccce0130bca703886c40ac21802f58fb7683370592f9dabbf83366939f5032d7f55c6b712cfa4fa0cf34d88fc37a05eae9d811b34fe9c7377886b8d7
|
||||
DIST pyproject_api-1.5.3.tar.gz 22128 BLAKE2B 0004682932717db0926e0e080ee78a9b24a9fc0025769e0cbe300bcf0ed50ddbabb52c257e2860718f87707072701ba2912e0fbf32b5481bd2993fb2b304e7c7 SHA512 719c4a9d747d8b5fbf3ac86c5f828c9fe10592a5dd71f68ffe308a8b73036de6777e32ddbcbaa7a45dcb23d0963555abab3e0fc4ddfc5eaac864b8892a1b67b8
|
||||
|
@ -1,41 +0,0 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( pypy3 python3_{10..12} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="API to interact with the python pyproject.toml based projects"
|
||||
HOMEPAGE="
|
||||
https://github.com/tox-dev/pyproject-api/
|
||||
https://pypi.org/project/pyproject-api/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm arm64 hppa ~ia64 ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/packaging-23[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
|
||||
' 3.{8..10})
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-python/hatch-vcs-0.3.0[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/pytest-mock-3.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/wheel-0.38.4[${PYTHON_USEDEP}]
|
||||
>=dev-python/virtualenv-20.17.1[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# requires Python 2 installed
|
||||
tests/test_frontend.py::test_can_build_on_python_2
|
||||
)
|
@ -1,41 +0,0 @@
|
||||
# Copyright 2022-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( pypy3 python3_{10..12} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="API to interact with the python pyproject.toml based projects"
|
||||
HOMEPAGE="
|
||||
https://github.com/tox-dev/pyproject-api/
|
||||
https://pypi.org/project/pyproject-api/
|
||||
"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/packaging-23.1[${PYTHON_USEDEP}]
|
||||
$(python_gen_cond_dep '
|
||||
>=dev-python/tomli-2.0.1[${PYTHON_USEDEP}]
|
||||
' 3.{8..10})
|
||||
"
|
||||
BDEPEND="
|
||||
>=dev-python/hatch-vcs-0.3.0[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
>=dev-python/pytest-mock-3.10[${PYTHON_USEDEP}]
|
||||
>=dev-python/setuptools-67.8[${PYTHON_USEDEP}]
|
||||
>=dev-python/wheel-0.40[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
EPYTEST_DESELECT=(
|
||||
# requires Python 2 installed
|
||||
tests/test_frontend.py::test_can_build_on_python_2
|
||||
)
|
@ -0,0 +1,120 @@
|
||||
# Copyright 1999-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_EXT=1
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( pypy3 python3_{10..12} )
|
||||
PYTHON_REQ_USE="sqlite?"
|
||||
|
||||
inherit distutils-r1 optfeature pypi
|
||||
|
||||
MY_PN="SQLAlchemy"
|
||||
DESCRIPTION="Python SQL toolkit and Object Relational Mapper"
|
||||
HOMEPAGE="
|
||||
https://www.sqlalchemy.org/
|
||||
https://pypi.org/project/SQLAlchemy/
|
||||
https://github.com/sqlalchemy/sqlalchemy/
|
||||
"
|
||||
SRC_URI="$(pypi_sdist_url --no-normalize "${MY_PN}")"
|
||||
S="${WORKDIR}/${MY_PN}-${PV}"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
|
||||
IUSE="examples +sqlite test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/typing-extensions-4.2.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
dev-python/cython[${PYTHON_USEDEP}]
|
||||
test? (
|
||||
$(python_gen_impl_dep sqlite)
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
src_prepare() {
|
||||
sed -i -e '/greenlet/d' setup.cfg || die
|
||||
distutils-r1_src_prepare
|
||||
}
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_IGNORE=(
|
||||
test/ext/mypy/test_mypy_plugin_py3k.py
|
||||
test/typing/test_mypy.py
|
||||
# hardcode call counts specific to Python versions
|
||||
test/aaa_profiling
|
||||
)
|
||||
local EPYTEST_DESELECT=(
|
||||
# warning tests are unreliable
|
||||
test/base/test_warnings.py
|
||||
# TODO
|
||||
test/orm/test_versioning.py::ServerVersioningTest_sqlite+pysqlite_3_40_1::test_sql_expr_w_mods_bump
|
||||
test/sql/test_resultset.py::CursorResultTest_sqlite+pysqlite_3_41_0::test_pickle_rows_other_process
|
||||
)
|
||||
local sqlite_version=$(sqlite3 --version | cut -d' ' -f1)
|
||||
[[ ${EPYTHON} == pypy3 ]] && EPYTEST_DESELECT+=(
|
||||
test/ext/test_associationproxy.py::ProxyHybridTest::test_msg_fails_on_cls_access
|
||||
test/ext/test_associationproxy.py::DictOfTupleUpdateTest::test_update_multi_elem_varg
|
||||
test/ext/test_associationproxy.py::DictOfTupleUpdateTest::test_update_one_elem_varg
|
||||
test/engine/test_pool.py::QueuePoolTest::test_recycle_pool_no_race
|
||||
test/engine/test_processors.py::PyDateProcessorTest::test_date_invalid_string
|
||||
test/engine/test_processors.py::PyDateProcessorTest::test_datetime_invalid_string
|
||||
test/engine/test_processors.py::PyDateProcessorTest::test_time_invalid_string
|
||||
"test/dialect/test_sqlite.py::TestTypes_sqlite+pysqlite_${sqlite_version//./_}::test_cant_parse_datetime_message"
|
||||
"test/dialect/test_suite.py::ReturningGuardsTest_sqlite+pysqlite_${sqlite_version//./_}"::test_{delete,insert,update}_single
|
||||
test/base/test_utils.py::ImmutableDictTest::test_pep584
|
||||
)
|
||||
[[ ${EPYTHON} == python3.12 ]] && EPYTEST_DESELECT+=(
|
||||
# see https://github.com/sqlalchemy/sqlalchemy/issues/9819
|
||||
test/base/test_result.py::ResultTupleTest::test_slices_arent_in_mappings
|
||||
)
|
||||
if ! has_version "dev-python/greenlet[${PYTHON_USEDEP}]"; then
|
||||
EPYTEST_DESELECT+=(
|
||||
test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_execution
|
||||
test/ext/asyncio/test_engine_py3k.py::TextSyncDBAPI::test_sync_driver_run_sync
|
||||
"test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[False-True]"
|
||||
"test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[True-True]"
|
||||
"test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[has_terminate-is_asyncio]"
|
||||
"test/engine/test_pool.py::PoolEventsTest::test_checkin_event_gc[not_has_terminate-is_asyncio]"
|
||||
"test/engine/test_pool.py::QueuePoolTest::test_userspace_disconnectionerror_weakref_finalizer[True-_exclusions0]"
|
||||
"test/engine/test_pool.py::QueuePoolTest::test_userspace_disconnectionerror_weakref_finalizer[True]"
|
||||
)
|
||||
fi
|
||||
|
||||
# upstream's test suite is horribly hacky; it relies on disabling
|
||||
# the warnings plugin and turning warnings into errors; this also
|
||||
# means that any DeprecationWarnings from third-party plugins cause
|
||||
# everything to explode
|
||||
local -x PYTEST_DISABLE_PLUGIN_AUTOLOAD=1
|
||||
local -x PYTEST_PLUGINS=
|
||||
# upstream automagically depends on xdist when it is importable
|
||||
# note that we can't use xdist because it causes nodes to randomly
|
||||
# crash on init
|
||||
if has_version "dev-python/pytest-xdist[${PYTHON_USEDEP}]"; then
|
||||
PYTEST_PLUGINS+=xdist.plugin
|
||||
fi
|
||||
epytest
|
||||
}
|
||||
|
||||
python_install_all() {
|
||||
if use examples; then
|
||||
docompress -x "/usr/share/doc/${PF}/examples"
|
||||
dodoc -r examples
|
||||
fi
|
||||
|
||||
distutils-r1_python_install_all
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "asyncio support" dev-python/greenlet
|
||||
optfeature "MySQL support" \
|
||||
dev-python/mysqlclient \
|
||||
dev-python/pymysql \
|
||||
dev-python/mysql-connector-python
|
||||
optfeature "postgresql support" dev-python/psycopg:2
|
||||
}
|
@ -1,3 +1,4 @@
|
||||
DIST uvicorn-0.20.0.gh.tar.gz 716073 BLAKE2B 7f1cf4808e985199d39e54e3563119cef1fe3af31361ad05a91278d32bc6f0dd741ad87f6073fbb720e9d9d4119fc8389b4e2feaaede665d8f68c56d56b37a17 SHA512 fa089da78dd7ce3cc02d83405e7db401e6055e947b80bf4abb0e3a4dce6575d97761f3bd6fcc253f3338caad5f797fc4f01bd40d833514d9cc0bcd0f072ad793
|
||||
DIST uvicorn-0.21.1.gh.tar.gz 717974 BLAKE2B ac4e1ec6a2533e364fe2ad7cd52558ad70b82e3c739756f33123d08737cc406ba879f50f7fa1cba875d0f0a284da5467e4ca15139558462401fb6a7938a17f61 SHA512 9f8dfe42df5d7f3923609e177def66d68fac24e3016fc1c6fead489320c2e5eaf7816a43e242f4426e670ce16f200db41679ac6ebd29a000ba76ca72b9ccec76
|
||||
DIST uvicorn-0.22.0.gh.tar.gz 719615 BLAKE2B 8e0d6099e66822e77fb447c279de8f29c820e1f9e24e37629d36349ebd4b52ea8dc69f7fc02a21e9711925e3ad1ec4a95464ea315c7bc40a905810dc9a1ef077 SHA512 61af2df426a5bc060a32730ddf024ca8dd39ccea6800235bf48d7e0c694b9d363cbedd826f498063c6779061af84b6b56e8ab0a466e74291dbbaf5ae995e5587
|
||||
DIST uvicorn-0.23.0.gh.tar.gz 722671 BLAKE2B f1fdc09e211c97d9e326b41b197d12ad019e660a1a2fcc0c70ee62c2016a20bbcafb9be759fc9b682185e70e10881c9a3511168eb0e75844973f7c3321d455bd SHA512 2449150abdf7914b47ff8c02732549cd71e63cc7c6440eedfd200340df4e70543232ed1ef47e2ebc6b29fc9a0d4615f542d7d1c603ce2673f121afab63d89b47
|
||||
|
@ -0,0 +1,85 @@
|
||||
# Copyright 2021-2023 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=hatchling
|
||||
PYTHON_COMPAT=( pypy3 python3_{10..12} )
|
||||
|
||||
inherit distutils-r1 optfeature
|
||||
|
||||
DESCRIPTION="Lightning-fast ASGI server implementation"
|
||||
HOMEPAGE="
|
||||
https://www.uvicorn.org/
|
||||
https://github.com/encode/uvicorn/
|
||||
https://pypi.org/project/uvicorn/
|
||||
"
|
||||
# as of 0.21.0, no tests in sdist
|
||||
SRC_URI="
|
||||
https://github.com/encode/uvicorn/archive/${PV}.tar.gz
|
||||
-> ${P}.gh.tar.gz
|
||||
"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~hppa ~ia64 ~loong ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
IUSE="test-rust"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/asgiref-3.4.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/click-7.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/h11-0.8[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
test? (
|
||||
dev-python/a2wsgi[${PYTHON_USEDEP}]
|
||||
dev-python/httpx[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-asyncio[${PYTHON_USEDEP}]
|
||||
dev-python/pytest-mock[${PYTHON_USEDEP}]
|
||||
dev-python/python-dotenv[${PYTHON_USEDEP}]
|
||||
dev-python/pyyaml[${PYTHON_USEDEP}]
|
||||
>=dev-python/websockets-10.4[${PYTHON_USEDEP}]
|
||||
dev-python/wsproto[${PYTHON_USEDEP}]
|
||||
test-rust? (
|
||||
dev-python/cryptography[${PYTHON_USEDEP}]
|
||||
dev-python/trustme[${PYTHON_USEDEP}]
|
||||
dev-python/watchfiles[${PYTHON_USEDEP}]
|
||||
)
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
||||
python_test() {
|
||||
local EPYTEST_DESELECT=(
|
||||
# too long path for unix socket
|
||||
tests/test_config.py::test_bind_unix_socket_works_with_reload_or_workers
|
||||
# need unpackaged httptools
|
||||
"tests/middleware/test_logging.py::test_trace_logging_on_http_protocol[httptools]"
|
||||
tests/protocols/test_http.py::test_fragmentation
|
||||
# TODO
|
||||
tests/protocols/test_websocket.py::test_connection_lost_before_handshake_complete
|
||||
"tests/protocols/test_websocket.py::test_asgi_return_value[H11Protocol-WebSocketProtocol]"
|
||||
)
|
||||
case ${EPYTHON} in
|
||||
pypy3)
|
||||
# TODO
|
||||
EPYTEST_DESELECT+=(
|
||||
tests/middleware/test_logging.py::test_running_log_using_fd
|
||||
)
|
||||
;;
|
||||
python3.12)
|
||||
EPYTEST_DESELECT+=(
|
||||
tests/supervisors/test_signal.py::test_sigint_abort_req
|
||||
# hang
|
||||
tests/protocols/test_websocket.py::test_send_close_on_server_shutdown
|
||||
)
|
||||
;;
|
||||
esac
|
||||
|
||||
epytest
|
||||
}
|
||||
|
||||
pkg_postinst() {
|
||||
optfeature "auto reload on file changes" dev-python/watchfiles
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
@ -1 +1 @@
|
||||
Mon, 17 Jul 2023 05:09:56 +0000
|
||||
Mon, 17 Jul 2023 12:39:59 +0000
|
||||
|
@ -1 +1 @@
|
||||
Mon, 17 Jul 2023 05:09:56 +0000
|
||||
Mon, 17 Jul 2023 12:39:59 +0000
|
||||
|
Binary file not shown.
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