dev-python/setproctitle: Bump to 1.3.5

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2025-02-23 04:10:20 +01:00
parent e3d946db7a
commit e62e4767bd
2 changed files with 39 additions and 0 deletions

View File

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

View File

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