summaryrefslogtreecommitdiff
path: root/dev-python/opcodes
diff options
context:
space:
mode:
Diffstat (limited to 'dev-python/opcodes')
-rw-r--r--dev-python/opcodes/Manifest1
-rw-r--r--dev-python/opcodes/metadata.xml9
-rw-r--r--dev-python/opcodes/opcodes-0.3.14-r3.ebuild45
3 files changed, 55 insertions, 0 deletions
diff --git a/dev-python/opcodes/Manifest b/dev-python/opcodes/Manifest
new file mode 100644
index 000000000000..ab797e881a51
--- /dev/null
+++ b/dev-python/opcodes/Manifest
@@ -0,0 +1 @@
+DIST Opcodes-0f7c7d63f5e13ce5a89d9acc3934f1b6e247ec1f.gh.tar.gz 236187 BLAKE2B 76e2f92a8860dc0306b5c48de9f64d6cd18e553af3936faac36e412bae129399ce7ff34ee2757b816a361aa29cdd45ac6b11e00bcaefd943e512ada6da0b70bc SHA512 bbdc08a75028c94def56b2afee0742db999acc8fe44aeeb6e8d8ac5e47e969a9daf0477e089ffff4c434be01c48b5e5ec5403bea86ba4e8674063a9f96fbeca8
diff --git a/dev-python/opcodes/metadata.xml b/dev-python/opcodes/metadata.xml
new file mode 100644
index 000000000000..31493193c995
--- /dev/null
+++ b/dev-python/opcodes/metadata.xml
@@ -0,0 +1,9 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>tupone@gentoo.org</email>
+ <name>Tupone Alfredo</name>
+ </maintainer>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>
diff --git a/dev-python/opcodes/opcodes-0.3.14-r3.ebuild b/dev-python/opcodes/opcodes-0.3.14-r3.ebuild
new file mode 100644
index 000000000000..728517bd65e4
--- /dev/null
+++ b/dev-python/opcodes/opcodes-0.3.14-r3.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2022-2026 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DISTUTILS_USE_PEP517=setuptools
+PYTHON_COMPAT=( python3_{13..14} )
+
+inherit distutils-r1
+
+EGIT_COMMIT=0f7c7d63f5e13ce5a89d9acc3934f1b6e247ec1f
+MY_P=${PN^}-${EGIT_COMMIT}
+DESCRIPTION="Opcodes Project"
+HOMEPAGE="
+ https://github.com/Maratyszcza/Opcodes/
+ https://pypi.org/project/opcodes/
+"
+SRC_URI="
+ https://github.com/Maratyszcza/Opcodes/archive/${EGIT_COMMIT}.tar.gz
+ -> ${MY_P}.gh.tar.gz
+"
+S=${WORKDIR}/${MY_P}
+
+LICENSE="BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm64 ~x86"
+
+RDEPEND="
+ dev-python/pkg-resources[${PYTHON_USEDEP}]
+"
+
+DOCS=( readme.rst )
+
+distutils_enable_sphinx sphinx \
+ dev-python/sphinx-bootstrap-theme
+
+EPYTEST_PLUGINS=()
+distutils_enable_tests pytest
+
+src_prepare() {
+ distutils-r1_src_prepare
+
+ # actually needs pkg-resources
+ sed -i -e '/"setuptools"/d' setup.py || die
+}