From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 75C5B1582EF for ; Sun, 23 Feb 2025 03:23:40 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id 6267B3432A4 for ; Sun, 23 Feb 2025 03:23:40 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 24AEE110476; Sun, 23 Feb 2025 03:23:26 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 1A2C7110475 for ; Sun, 23 Feb 2025 03:23:26 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id BF1AE34321F for ; Sun, 23 Feb 2025 03:23:25 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 097422737 for ; Sun, 23 Feb 2025 03:23:23 +0000 (UTC) From: "Michał Górny" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Michał Górny" Message-ID: <1740280995.e62e4767bdd44b4ae9694b23ee8f06aa6b178436.mgorny@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-python/setproctitle/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-python/setproctitle/Manifest dev-python/setproctitle/setproctitle-1.3.5.ebuild X-VCS-Directories: dev-python/setproctitle/ X-VCS-Committer: mgorny X-VCS-Committer-Name: Michał Górny X-VCS-Revision: e62e4767bdd44b4ae9694b23ee8f06aa6b178436 X-VCS-Branch: master Date: Sun, 23 Feb 2025 03:23:23 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 2cefa80f-ee20-4002-a7c5-829b8517fc27 X-Archives-Hash: 45d651e164b07a8cf439969a7e917ace commit: e62e4767bdd44b4ae9694b23ee8f06aa6b178436 Author: Michał Górny gentoo org> AuthorDate: Sun Feb 23 03:10:20 2025 +0000 Commit: Michał Górny gentoo org> CommitDate: Sun Feb 23 03:23:15 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e62e4767 dev-python/setproctitle: Bump to 1.3.5 Signed-off-by: Michał Górny gentoo.org> dev-python/setproctitle/Manifest | 1 + dev-python/setproctitle/setproctitle-1.3.5.ebuild | 38 +++++++++++++++++++++++ 2 files changed, 39 insertions(+) diff --git a/dev-python/setproctitle/Manifest b/dev-python/setproctitle/Manifest index e157844ebdc0..ebd7f63a66dc 100644 --- a/dev-python/setproctitle/Manifest +++ b/dev-python/setproctitle/Manifest @@ -1 +1,2 @@ DIST setproctitle-1.3.4.tar.gz 26456 BLAKE2B c0be58c004c7a1834c0967ba4f90688aa668c3f6c8ab7c944891e7e4e78de65e14b829f8abf63c8490689d8cd6ab23f236ecfa7837fc4bbc28a45ef46dd3f24b SHA512 b1a8648a83648766eb9f88a15982568de6640692a39a1079455d8788996f73e313b879f567c82878450798b5755a8111a7965b3776e9238eebb59dfd09d41c4e +DIST setproctitle-1.3.5.tar.gz 26737 BLAKE2B fccb12f651bdf8d8d585465ae56f7e37358692d8361fba77936513d19a395b196d15821ce4a902eba80f22fc84bc9ad919d730aebcbe53ded039b559238368dd SHA512 ab1dc0c22506d8c43b626e39fbad754aa0115faf592d011f84ae28dee31a3797fff61c236c80864eb2749a2e585c46678beb87c63334c55a53c31540e76eea3b diff --git a/dev-python/setproctitle/setproctitle-1.3.5.ebuild b/dev-python/setproctitle/setproctitle-1.3.5.ebuild new file mode 100644 index 000000000000..f4db60c71aa6 --- /dev/null +++ b/dev-python/setproctitle/setproctitle-1.3.5.ebuild @@ -0,0 +1,38 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# The package has a fallback implementation which is a noop but warns +# if the extensions weren't built, so we always build them. +DISTUTILS_EXT=1 +DISTUTILS_USE_PEP517=setuptools +PYTHON_COMPAT=( python3_{10..13} pypy3 pypy3_11 ) + +inherit distutils-r1 flag-o-matic pypi + +DESCRIPTION="Allow customization of the process title" +HOMEPAGE=" + https://github.com/dvarrazzo/py-setproctitle/ + https://pypi.org/project/setproctitle/ +" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris" + +distutils_enable_tests pytest + +src_prepare() { + distutils-r1_src_prepare + + # remove the override that makes extension builds non-fatal + sed -i -e '/cmdclass/d' setup.py || die +} + +src_configure() { + # https://github.com/dvarrazzo/py-setproctitle/issues/145 + append-cflags -std=gnu17 + + distutils-r1_src_configure +}