Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions dev-python/hatch-docstring-description/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST hatch_docstring_description-1.1.1.tar.gz 18447 BLAKE2B 567197ae300812e183c75c4fef8603d5d2e7e15933872a5e7a2747beb87f6c77c5a36e60e80fc5ae9c551d1b2172318fa08966bca2ff5483f37c9ef42071e57a SHA512 310fbcc57a000f96ed6f5a3e2101f19d94450cf38a4785d91fd6d464da007ee8fb00e32f0627160a4a0f12d52fbe3e8361a603745bd76c71a3af86d012864535
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{13..15} )

inherit distutils-r1 pypi

DESCRIPTION="Hatchling plugin to read the description from a package docstring"
HOMEPAGE="https://github.com/flying-sheep/hatch-docstring-description"

LICENSE="GPL-3+"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="dev-python/hatchling[${PYTHON_USEDEP}]"
BDEPEND="
dev-python/hatch-vcs[${PYTHON_USEDEP}]
test? ( dev-python/build[${PYTHON_USEDEP}] )
"

EPYTEST_PLUGINS=()
distutils_enable_tests pytest
12 changes: 12 additions & 0 deletions dev-python/hatch-docstring-description/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>mschu.dev@gmail.com</email>
<name>Michael Schubert</name>
</maintainer>
<upstream>
<remote-id type="github">flying-sheep/hatch-docstring-description</remote-id>
<remote-id type="pypi">hatch-docstring-description</remote-id>
</upstream>
</pkgmetadata>
1 change: 1 addition & 0 deletions dev-python/legacy-api-wrap/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST legacy_api_wrap-1.5.tar.gz 11610 BLAKE2B e6c80016eed8379b6cbfb835fa999d57578d4ace93bb9cb5625210e74d38fcf050856092674e826849e15af4eca0630f123a1df1c439e0bcef8cfc341ae512e4 SHA512 d97a2d8664883c52f7b37121711e1bb1df4b6072334cc5f9c495eaa8e7efa4f12fd33e0e9d95f205969781209c46acf63c98ad3aeab7dadbc68104bd84b1b35e
24 changes: 24 additions & 0 deletions dev-python/legacy-api-wrap/legacy-api-wrap-1.5.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{13..15} )

inherit distutils-r1 pypi

DESCRIPTION="Decorator for wrapping APIs with legacy positional arguments"
HOMEPAGE="https://github.com/flying-sheep/legacy-api-wrap"

LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~amd64"

BDEPEND="
dev-python/hatch-docstring-description[${PYTHON_USEDEP}]
dev-python/hatch-vcs[${PYTHON_USEDEP}]
"

EPYTEST_PLUGINS=()
distutils_enable_tests pytest
12 changes: 12 additions & 0 deletions dev-python/legacy-api-wrap/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>mschu.dev@gmail.com</email>
<name>Michael Schubert</name>
</maintainer>
<upstream>
<remote-id type="github">flying-sheep/legacy-api-wrap</remote-id>
<remote-id type="pypi">legacy-api-wrap</remote-id>
</upstream>
</pkgmetadata>
1 change: 1 addition & 0 deletions dev-python/scverse-misc/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST scverse_misc-0.1.8.tar.gz 59969 BLAKE2B 428d8d2cf4da67fd4c7d19a3288a7654edf2b752b9934540477456594a54a3a1b23ca3a2029d42194ff4eafe06919240b1aaa8cd5c9fbd8c4d3d170eeb950821 SHA512 6325fc839c0ce3385308627bb93598a313a4e84abbd31b6b423fc294a26106ecebb587fe964a7157f44ffde026d9a7a3d16023da09c720af039621168201ee2d
12 changes: 12 additions & 0 deletions dev-python/scverse-misc/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>mschu.dev@gmail.com</email>
<name>Michael Schubert</name>
</maintainer>
<upstream>
<remote-id type="github">scverse/scverse-misc</remote-id>
<remote-id type="pypi">scverse-misc</remote-id>
</upstream>
</pkgmetadata>
34 changes: 34 additions & 0 deletions dev-python/scverse-misc/scverse-misc-0.1.8.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{13..15} )

inherit distutils-r1 pypi

DESCRIPTION="Shared utilities and settings for scverse packages"
HOMEPAGE="https://github.com/scverse/scverse-misc"

LICENSE="BSD"
SLOT="0"
KEYWORDS="~amd64"

RDEPEND="
dev-python/pydantic-settings[${PYTHON_USEDEP}]
dev-python/python-dotenv[${PYTHON_USEDEP}]
dev-python/session-info2[${PYTHON_USEDEP}]
"
BDEPEND="dev-python/hatch-vcs[${PYTHON_USEDEP}]"

EPYTEST_PLUGINS=()
distutils_enable_tests pytest

python_test() {
local EPYTEST_DESELECT=(
# needs anndata, avoid dependency cycle
tests/test_datasets.py::test_load_anndata_reads_h5ad
)
epytest -o addopts= --import-mode=importlib tests
}
1 change: 1 addition & 0 deletions dev-python/session-info2/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST session_info2-0.4.2.tar.gz 25385 BLAKE2B b8a8333d3c03cdf93b814e77319d1a07fd829b04b958ba66034770fe3a3ddeba6936b8b606120ef7d31aeab84db324f7428640530fe1ed10ae8f628f66263a84 SHA512 1125509338abf9b143c4c5e31160f3549f0d7f7916cfcbc5fd15d0d401bd67a48920ab8433aff3fdf8b2d4e3b0205130fad77f4148f9b369a95b1b7f4633ba7c
12 changes: 12 additions & 0 deletions dev-python/session-info2/metadata.xml
Original file line number Diff line number Diff line change
@@ -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>mschu.dev@gmail.com</email>
<name>Michael Schubert</name>
</maintainer>
<upstream>
<remote-id type="github">flying-sheep/session-info2</remote-id>
<remote-id type="pypi">session-info2</remote-id>
</upstream>
</pkgmetadata>
38 changes: 38 additions & 0 deletions dev-python/session-info2/session-info2-0.4.2.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
# Copyright 2026 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

DISTUTILS_USE_PEP517=hatchling
PYTHON_COMPAT=( python3_{13..15} )

inherit distutils-r1 pypi

DESCRIPTION="Display Python session information and package versions"
HOMEPAGE="https://github.com/flying-sheep/session-info2"

LICENSE="MPL-2.0"
SLOT="0"
KEYWORDS="~amd64"

BDEPEND="
dev-python/hatch-docstring-description[${PYTHON_USEDEP}]
dev-python/hatch-vcs[${PYTHON_USEDEP}]
"

EPYTEST_PLUGINS=( pytest-asyncio )
distutils_enable_tests pytest

python_test() {
local EPYTEST_IGNORE=(
# imports jupyter-client at collection time
tests/test_subprocess.py
)
local EPYTEST_DESELECT=(
# test expects itself installed
tests/test_cli.py::test_cli
# markdown padding is different on my system
tests/test_synthetic.py::test_gpu
)
epytest
}
Loading