dev-python/editor: new package, add 1.7.0

Signed-off-by: Alfred Wingate <parona@protonmail.com>
Signed-off-by: Paul Zander <negril.nx+gentoo@gmail.com>
This commit is contained in:
Paul Zander
2026-03-12 15:48:15 +01:00
parent 365267a253
commit 91624adeb9
3 changed files with 53 additions and 0 deletions

View File

@@ -0,0 +1 @@
DIST editor-1.7.0.gh.tar.gz 26732 BLAKE2B 97124df6b7fe27e5d7daa2102438120e51bcad05dc187baa3b72d18dfa5e70dbccfeb50a99420bb3fad54c77987b2a6cc680c36d20c126340b397955f0414b49 SHA512 037a6b66d9f619106166d55f525082465eea5aed642df55a7d0ad4d1e3c10318272b8110400ef2016ba8bc603e45d81df874438c76f15cc02d87f016a907a1ab

View File

@@ -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

View File

@@ -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>negril.nx+gentoo@gmail.com</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>