From 4f235eaf94eb435a28189d0fd6bf38b636afde7a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Date: Thu, 10 Oct 2024 06:39:03 +0200 Subject: [PATCH] dev-python/sh: Bump to 2.1.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Michał Górny --- dev-python/sh/Manifest | 1 + dev-python/sh/sh-2.1.0.ebuild | 26 ++++++++++++++++++++++++++ 2 files changed, 27 insertions(+) create mode 100644 dev-python/sh/sh-2.1.0.ebuild diff --git a/dev-python/sh/Manifest b/dev-python/sh/Manifest index af6bcb887e02e..26b02d78585c5 100644 --- a/dev-python/sh/Manifest +++ b/dev-python/sh/Manifest @@ -1 +1,2 @@ DIST sh-2.0.7.tar.gz 345477 BLAKE2B a7eb24e5cdc4543b5a44a523b101b5b103ad1fc26664b659cf84921d50112bac1a49d7ea19889d2157b2df941b67840373a9a4bc63e2cb7f94bb4cdfac85819c SHA512 331a3bdc027eeac7100ae6318a579c85fb11ce0e1922d1078c2f09b0523733b146a9bd5b9f030a2da23e3d2bb2a6970bd451d53224259967efdcf99e949f7b9f +DIST sh-2.1.0.tar.gz 345525 BLAKE2B 3d0f35ad8281e5dafb6fa7fab886bfd3b8b361e92ab4e5b382cd5341a279a8eb1a66e91351dba220a392f3f4679ce2e298bd92a704b5ba0efd59d6cd3c5e0e27 SHA512 14defeb52c15d6571fe71b97f9b720e3cf161e905f4e7cbea12a5f4c27e14b28c86a4614189176cde4cf05920b86f927605df7cfb4e71accc44b3d58debaaece diff --git a/dev-python/sh/sh-2.1.0.ebuild b/dev-python/sh/sh-2.1.0.ebuild new file mode 100644 index 0000000000000..8c2883386f01f --- /dev/null +++ b/dev-python/sh/sh-2.1.0.ebuild @@ -0,0 +1,26 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +DISTUTILS_USE_PEP517=poetry +PYTHON_COMPAT=( pypy3 python3_{10..13} ) + +inherit distutils-r1 pypi + +DESCRIPTION="Python subprocess interface" +HOMEPAGE=" + https://github.com/amoffat/sh/ + https://pypi.org/project/sh/ +" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~m68k ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux" + +distutils_enable_tests unittest + +python_test() { + local -x SH_TESTS_RUNNING=1 + eunittest -p "*_test.py" +}