From ecdac123787b96ce6649f0f91da12ea6458cc2b1 Mon Sep 17 00:00:00 2001 From: Palica Date: Tue, 23 Jun 2020 22:35:08 +0200 Subject: Updating liguros repo --- dev-python/setproctitle/Manifest | 1 + dev-python/setproctitle/metadata.xml | 13 +++++++++ .../setproctitle/setproctitle-1.1.10-r1.ebuild | 33 ++++++++++++++++++++++ 3 files changed, 47 insertions(+) create mode 100644 dev-python/setproctitle/Manifest create mode 100644 dev-python/setproctitle/metadata.xml create mode 100644 dev-python/setproctitle/setproctitle-1.1.10-r1.ebuild (limited to 'dev-python/setproctitle') diff --git a/dev-python/setproctitle/Manifest b/dev-python/setproctitle/Manifest new file mode 100644 index 000000000000..2d2070509991 --- /dev/null +++ b/dev-python/setproctitle/Manifest @@ -0,0 +1 @@ +DIST setproctitle-1.1.10.tar.gz 24042 BLAKE2B acd4ef33ab2a200b5d102fe5ceb78df03deeee47eb5a3c7b50f0a44e095953e5a4e2230278b6b4a5010472e4a5a18b81accbff0461e3a642be478b880d98114e SHA512 c976c5b86f59bc6d0f840f495b8256813169d3d7b9edae70207a24d62e1240bfec954fdc4f67b429ae124e3dc74efd7193404785643a52b2d57b55028bb3c533 diff --git a/dev-python/setproctitle/metadata.xml b/dev-python/setproctitle/metadata.xml new file mode 100644 index 000000000000..43ee4c77c67c --- /dev/null +++ b/dev-python/setproctitle/metadata.xml @@ -0,0 +1,13 @@ + + + + + python@gentoo.org + Python + + + setproctitle + dvarrazzo/py-setproctitle + + gentoo-staging + diff --git a/dev-python/setproctitle/setproctitle-1.1.10-r1.ebuild b/dev-python/setproctitle/setproctitle-1.1.10-r1.ebuild new file mode 100644 index 000000000000..a0662118eee3 --- /dev/null +++ b/dev-python/setproctitle/setproctitle-1.1.10-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +PYTHON_COMPAT=( python3_{6..9} ) + +inherit distutils-r1 toolchain-funcs + +DESCRIPTION="Allow customization of the process title" +HOMEPAGE="https://github.com/dvarrazzo/py-setproctitle" +SRC_URI="mirror://pypi/${PN:0:1}/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha amd64 arm arm64 ~ia64 ppc ppc64 sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="test" +RESTRICT="!test? ( test )" + +RDEPEND="" +DEPEND="dev-python/setuptools[${PYTHON_USEDEP}] + test? ( dev-python/nose[${PYTHON_USEDEP}] )" + +# Required for re-write of test suite +DISTUTILS_IN_SOURCE_BUILD=1 + +python_test() { + # prepare embedded executable + emake \ + CC="$(tc-getCC)" \ + PYINC="$(python_get_CFLAGS)" \ + PYLIB="$(python_get_LIBS)" \ + check +} -- cgit v1.3.1