mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-05-05 02:50:26 +02:00
Merge pull request #2375 from rick-gnous/master
dev-python: multiple update and add test (lsassy, marshmallow-sqlalchemy, sqlalchemy_schemadisplay, sqlalcemy_utc)
This commit is contained in:
commit
96dd16d9b0
11 changed files with 96 additions and 53 deletions
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2024 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
|
@ -15,13 +15,20 @@ LICENSE="MIT"
|
|||
SLOT="0"
|
||||
KEYWORDS="amd64 ~arm64 x86"
|
||||
|
||||
RDEPEND=">=dev-python/netaddr-0.8.0[${PYTHON_USEDEP}]
|
||||
>=app-exploits/pypykatz-0.6.3[${PYTHON_USEDEP}]
|
||||
>=dev-python/impacket-0.10.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/rich-10.6.0[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
||||
RDEPEND="
|
||||
>=app-exploits/pypykatz-0.6.9[${PYTHON_USEDEP}]
|
||||
>=dev-python/impacket-0.11.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/netaddr-1.3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/rich-13.7.1[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare(){
|
||||
rm -r tests
|
||||
eapply_user
|
||||
}
|
||||
# need a connection to a local server with Session
|
||||
EPYTEST_DESELECT=(
|
||||
'tests/test_lsassy.py::TestWriter'
|
||||
'tests/test_lsassy.py::TestWorkflow'
|
||||
'tests/test_lsassy.py::TestExecMethods'
|
||||
'tests/test_lsassy.py::TestDumpMethods'
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
DIST marshmallow-sqlalchemy-0.21.0.tar.gz 47654 BLAKE2B 22afa1b518fa1088eb69e58aa07bbb3640ce3fd74aaebab52dc5d7025836640fd743d78049511969ad73eece9c65f79d5a7acf3ea8a8953f096ad59cd41ea6c0 SHA512 1095fa0f52bba95c09132094537285173e2db2f54f653d60b1af1c8c6202e7436d0500b244d7fe9c0ba2158d095f0c206642540fc2f1c99c716963e7c3593a49
|
||||
DIST marshmallow_sqlalchemy-1.4.2.tar.gz 51428 BLAKE2B 397be35d3cc91cc4a3511a4e1efc9073e032d10b26b1ca2baca38e68527fa0b997d5e787180dad9fe3d242b2d4fc69e8ca6e67c73ae0ed3eb020817481d3aff8 SHA512 049f709dbc5d39c610168b12af436cb11e6f5fefa2b3025d32d9c4b5200891c04e18997b15422133051945b4c30c66972258edd845428d83d3f498207026d4ad
|
||||
|
|
|
|||
|
|
@ -1,24 +0,0 @@
|
|||
# Copyright 1999-2020 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="SQLAlchemy integration with the marshmallow (de)serialization library"
|
||||
HOMEPAGE="https://github.com/marshmallow-code/marshmallow-sqlalchemy"
|
||||
SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
>=dev-python/marshmallow-2.15.2[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-1.2.0[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
|
|
@ -0,0 +1,32 @@
|
|||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=flit
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
|
||||
inherit distutils-r1 pypi
|
||||
|
||||
DESCRIPTION="SQLAlchemy integration with the marshmallow (de)serialization library"
|
||||
HOMEPAGE="https://github.com/marshmallow-code/marshmallow-sqlalchemy"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~arm64 ~x86"
|
||||
IUSE="test"
|
||||
RESTRICT="!test? ( test )"
|
||||
|
||||
RDEPEND="
|
||||
<dev-python/sqlalchemy-3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/marshmallow-3.18.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-1.4.40[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="
|
||||
${RDEPEND}
|
||||
test? (
|
||||
dev-python/pytest-lazy-fixtures[${PYTHON_USEDEP}]
|
||||
)
|
||||
"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
|
@ -5,4 +5,8 @@
|
|||
<email>unknown@pentoo.ch</email>
|
||||
<name>Author Unknown</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">marshmallow-code/marshmallow-sqlalchemy</remote-id>
|
||||
<remote-id type="pypi">marshmallow-sqlalchemy</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
|
|
|||
|
|
@ -1 +1 @@
|
|||
DIST sqlalchemy_schemadisplay-1.3.tar.gz 6924 BLAKE2B 0e1d8f01fc484fdace599a53aa30e9d2f940d3cfc623878922e97fe62b804ed6ecaac62c4e84d841f7be4753f774006ddb1c890e20d0a11ac4d212068a181eba SHA512 dce7ea7c7adeb288ce77b2d3497c209f78f3db5f4d7231545f47ceffea5af8fa563884ae83bec6737ae40f00f41111599c81570715daf405b0cf75891277c5d3
|
||||
DIST sqlalchemy_schemadisplay-2.0.gh.tar.gz 12522 BLAKE2B 0be1d8b188098429c9a90bd68fb8717b33b280df1f45e7448e467d1c661344d3599b3e3eb6c0488af309442411c576c3649d8ba93acbd47609619d5d872a4796 SHA512 68f1d5f83b3ab5e2f2d5333fdae30708f9d9d1608dcc8eb152e39f2121040390ec4dccc7a82952e902d70abddc0bdc8697a8273cb93452cd19314d5fb00f00e6
|
||||
|
|
|
|||
|
|
@ -5,4 +5,8 @@
|
|||
<email>unknown@pentoo.ch</email>
|
||||
<name>Author Unknown</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">fschulze/sqlalchemy_schemadisplay</remote-id>
|
||||
<remote-id type="pypi">sqlalchemy-schemadisplay</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
|
|
|||
|
|
@ -1,24 +1,26 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
||||
DISTUTILS_USE_PEP517=setuptools
|
||||
DISTUTILS_USE_PEP517=flit
|
||||
PYTHON_COMPAT=( python3_{11..13} )
|
||||
inherit distutils-r1
|
||||
|
||||
DESCRIPTION="Turn SQLAlchemy DB Model into a graph"
|
||||
HOMEPAGE="https://github.com/fschulze/sqlalchemy_schemadisplay"
|
||||
SRC_URI="mirror://pypi/${P:0:1}/${PN}/${P}.tar.gz"
|
||||
SRC_URI="https://github.com/fschulze/${PN}/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="
|
||||
dev-python/sqlalchemy[${PYTHON_USEDEP}]
|
||||
<dev-python/sqlalchemy-3.0[${PYTHON_USEDEP}]
|
||||
>=dev-python/sqlalchemy-2.0[${PYTHON_USEDEP}]
|
||||
dev-python/pillow[${PYTHON_USEDEP}]
|
||||
dev-python/pydot[${PYTHON_USEDEP}]
|
||||
"
|
||||
DEPEND="${RDEPEND}
|
||||
dev-python/setuptools[${PYTHON_USEDEP}]"
|
||||
"
|
||||
BDEPEND="${RDEPEND}"
|
||||
|
||||
distutils_enable_tests pytest
|
||||
|
|
@ -1 +1 @@
|
|||
DIST sqlalchemy_utc-0.12.0.tar.gz 7779 BLAKE2B 3d42d3490b4318cc1d0f2552cb6d2985b7ab6c47687e8a0b9781373c47ad5ed971081c00e01184b8a3c65e2b259ad92b5e2eee47419e8b4143b69d5f338d9492 SHA512 2df12e90aa729dbaf37f2b766b671c64f217c6cf0f207ef223055bfca46925875abb28c94fb0ff30b5610ddc5361c1a6c9ae593a64e8aaf19d0e8beca35728c4
|
||||
DIST sqlalchemy_utc-0.14.0.gh.tar.gz 8294 BLAKE2B 00861666fd058f7a5d418946294dce195ef1c557c7211213964267ef7f73c0f3ea53764a6bfb8c8fb6cf9a73d98fd695b75246300eedfb539df585006411553a SHA512 80c0cc7946d84d0d988475132ed6ef53b7ad073c975479ffeff4331aeea2473d6dae90a82378d4039c1a443327b1335ca3a717a90e777462814cd18060c46518
|
||||
|
|
|
|||
12
dev-python/sqlalchemy_utc/metadata.xml
Normal file
12
dev-python/sqlalchemy_utc/metadata.xml
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
|
||||
<pkgmetadata>
|
||||
<maintainer type="person">
|
||||
<email>unknown@pentoo.ch</email>
|
||||
<name>Author Unknown</name>
|
||||
</maintainer>
|
||||
<upstream>
|
||||
<remote-id type="github">spoqa/sqlalchemy-utc</remote-id>
|
||||
<remote-id type="pypi">SQLAlchemy-Utc</remote-id>
|
||||
</upstream>
|
||||
</pkgmetadata>
|
||||
|
|
@ -1,4 +1,4 @@
|
|||
# Copyright 1999-2021 Gentoo Authors
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
|
|
@ -9,16 +9,22 @@ inherit distutils-r1
|
|||
|
||||
DESCRIPTION="SQLAlchemy type to store aware datetime values"
|
||||
HOMEPAGE="https://pypi.org/project/SQLAlchemy-Utc/"
|
||||
#SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz"
|
||||
SRC_URI="https://github.com/spoqa/sqlalchemy-utc/archive/refs/tags/0.12.0.tar.gz -> ${P}.tar.gz"
|
||||
SRC_URI="https://github.com/spoqa/sqlalchemy-utc/archive/refs/tags/${PV}.tar.gz -> ${P}.gh.tar.gz"
|
||||
|
||||
S=${WORKDIR}/${P/_/-}
|
||||
|
||||
LICENSE="MIT"
|
||||
SLOT="0"
|
||||
KEYWORDS="amd64 arm x86"
|
||||
IUSE="test"
|
||||
|
||||
RDEPEND="dev-python/sqlalchemy[${PYTHON_USEDEP}]"
|
||||
DEPEND="${RDEPEND}"
|
||||
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||
RDEPEND="
|
||||
>=dev-python/sqlalchemy-0.9.0[${PYTHON_USEDEP}]
|
||||
"
|
||||
BDEPEND="${RDEPEND}"
|
||||
|
||||
S="${WORKDIR}/sqlalchemy-utc-${PV}"
|
||||
# not working test
|
||||
EPYTEST_DESELECT=(
|
||||
'tests/test_now.py::test_utcnow_timezone[sqlite://]'
|
||||
)
|
||||
|
||||
distutils_enable_tests pytest
|
||||
Loading…
Reference in a new issue