commit:     91624adeb989b0a39c4b71ffa222fa18e200578f
Author:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Thu Mar 12 14:48:15 2026 +0000
Commit:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
CommitDate: Thu Mar 12 14:48:15 2026 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=91624ade

dev-python/editor: new package, add 1.7.0

Signed-off-by: Alfred Wingate <parona <AT> protonmail.com>
Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>

 dev-python/editor/Manifest            |  1 +
 dev-python/editor/editor-1.7.0.ebuild | 39 +++++++++++++++++++++++++++++++++++
 dev-python/editor/metadata.xml        | 13 ++++++++++++
 3 files changed, 53 insertions(+)

diff --git a/dev-python/editor/Manifest b/dev-python/editor/Manifest
new file mode 100644
index 0000000000..a8e87a7a73
--- /dev/null
+++ b/dev-python/editor/Manifest
@@ -0,0 +1 @@
+DIST editor-1.7.0.gh.tar.gz 26732 BLAKE2B 
97124df6b7fe27e5d7daa2102438120e51bcad05dc187baa3b72d18dfa5e70dbccfeb50a99420bb3fad54c77987b2a6cc680c36d20c126340b397955f0414b49
 SHA512 
037a6b66d9f619106166d55f525082465eea5aed642df55a7d0ad4d1e3c10318272b8110400ef2016ba8bc603e45d81df874438c76f15cc02d87f016a907a1ab

diff --git a/dev-python/editor/editor-1.7.0.ebuild 
b/dev-python/editor/editor-1.7.0.ebuild
new file mode 100644
index 0000000000..a8a222cf43
--- /dev/null
+++ b/dev-python/editor/editor-1.7.0.ebuild
@@ -0,0 +1,39 @@
+# Copyright 2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=uv-build
+PYTHON_COMPAT=( python3_{12..14} )
+
+inherit distutils-r1
+
+DESCRIPTION="Open the default text editor"
+HOMEPAGE="
+       https://rec.github.io/editor/
+       https://github.com/rec/editor/
+       https://pypi.org/project/editor/
+"
+# no tests in dist
+SRC_URI="
+       https://github.com/rec/editor/archive/refs/tags/v${PV}.tar.gz
+               -> ${P}.gh.tar.gz
+"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="~amd64"
+
+RDEPEND="
+       dev-python/runs[${PYTHON_USEDEP}]
+       dev-python/xmod[${PYTHON_USEDEP}]
+       virtual/editor
+"
+BDEPEND="
+       test? (
+               dev-python/tdir[${PYTHON_USEDEP}]
+       )
+"
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest

diff --git a/dev-python/editor/metadata.xml b/dev-python/editor/metadata.xml
new file mode 100644
index 0000000000..4e64c404ef
--- /dev/null
+++ b/dev-python/editor/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="person">
+               <email>[email protected]</email>
+               <name>Paul Zander</name>
+       </maintainer>
+       <stabilize-allarches/>
+       <upstream>
+               <remote-id type="github">rec/editor</remote-id>
+               <remote-id type="pypi">editor</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to