diff options
author | Michał Górny <mgorny@gentoo.org> | 2023-02-17 07:31:50 +0100 |
---|---|---|
committer | Michał Górny <mgorny@gentoo.org> | 2023-02-17 07:37:18 +0100 |
commit | 865a7a73ba28310620d7d7481a9f031440d3a273 (patch) | |
tree | 3ce8526d7819770ddbed9228a0e62b95f7a955ea /dev-python/jupyter-server-fileid | |
parent | dev-python/jupyter_server_fileid: Use pypi.eclass (diff) | |
download | gentoo-865a7a73ba28310620d7d7481a9f031440d3a273.tar.gz gentoo-865a7a73ba28310620d7d7481a9f031440d3a273.tar.bz2 gentoo-865a7a73ba28310620d7d7481a9f031440d3a273.zip |
Rename dev-python/{jupyter_server_fileid → jupyter-server-fileid}
Upstream normalizes on hyphens and so should we. This corrects
the project name in SRC_URI, and the normalized sdist filename renames
the same.
Signed-off-by: Michał Górny <mgorny@gentoo.org>
Diffstat (limited to 'dev-python/jupyter-server-fileid')
-rw-r--r-- | dev-python/jupyter-server-fileid/Manifest | 1 | ||||
-rw-r--r-- | dev-python/jupyter-server-fileid/jupyter-server-fileid-0.6.0-r1.ebuild | 38 | ||||
-rw-r--r-- | dev-python/jupyter-server-fileid/metadata.xml | 13 |
3 files changed, 52 insertions, 0 deletions
diff --git a/dev-python/jupyter-server-fileid/Manifest b/dev-python/jupyter-server-fileid/Manifest new file mode 100644 index 000000000000..cab6a7264a17 --- /dev/null +++ b/dev-python/jupyter-server-fileid/Manifest @@ -0,0 +1 @@ +DIST jupyter_server_fileid-0.6.0.tar.gz 50006 BLAKE2B d7fb42e6640354b58c488cdcc0310051fec3bb7d9318a230c6fc1f75ce4ab4c1d545b3d685e76529156861915457f3025d30aedc575d811f7850db1ed8a978d3 SHA512 96bfc5b7c3d60ca32d7956363aaef5905ae8ac5f8c5a2a520aa86bf5a9b0e89817e89f7587cedfc00ba4a1b97cb63191ed9f62fe9a91a2f3c989f0f3f6dd9f9a diff --git a/dev-python/jupyter-server-fileid/jupyter-server-fileid-0.6.0-r1.ebuild b/dev-python/jupyter-server-fileid/jupyter-server-fileid-0.6.0-r1.ebuild new file mode 100644 index 000000000000..158c58539de2 --- /dev/null +++ b/dev-python/jupyter-server-fileid/jupyter-server-fileid-0.6.0-r1.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2023 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=hatchling +PYTHON_COMPAT=( python3_{9..11} ) + +inherit distutils-r1 pypi + +DESCRIPTION="An extension that maintains file IDs for documents in a running Jupyter Server" +HOMEPAGE=" + https://jupyter.org/ + https://github.com/jupyter-server/jupyter_server_fileid/ + https://pypi.org/project/jupyter-server-fileid/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64" + +RDEPEND=" + dev-python/jupyter_server[${PYTHON_USEDEP}] + ~dev-python/jupyter_events-0.5.0[${PYTHON_USEDEP}] +" + +BDEPEND=" + test? ( + dev-python/pytest_jupyter[${PYTHON_USEDEP}] + ) +" + +distutils_enable_tests pytest + +python_install_all() { + distutils-r1_python_install_all + mv "${ED}/usr/etc" "${ED}/etc" || die +} diff --git a/dev-python/jupyter-server-fileid/metadata.xml b/dev-python/jupyter-server-fileid/metadata.xml new file mode 100644 index 000000000000..fb76de150888 --- /dev/null +++ b/dev-python/jupyter-server-fileid/metadata.xml @@ -0,0 +1,13 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>sci@gentoo.org</email> + <name>Gentoo Science Project</name> + </maintainer> + <stabilize-allarches/> + <upstream> + <remote-id type="pypi">jupyter-server-fileid</remote-id> + <remote-id type="github">jupyter-server/jupyter_server_fileid</remote-id> + </upstream> +</pkgmetadata> |