Carl Smedstad pushed to branch main at Arch Linux / Packaging / Packages / python-psutil
Commits: 2bc1785e by Carl Smedstad at 2025-10-26T02:01:44+01:00 upgpkg: 7.1.2-1: Upstream release https://github.com/giampaolo/psutil/releases/tag/release-7.1.2 - - - - - 5 changed files: - .SRCINFO - − LICENSES/BSD-3-Clause.txt - PKGBUILD - REUSE.toml - − python-psutil-dont-package-tests.patch Changes: ===================================== .SRCINFO ===================================== @@ -1,6 +1,6 @@ pkgbase = python-psutil pkgdesc = A cross-platform process and system utilities module for Python - pkgver = 7.1.1 + pkgver = 7.1.2 pkgrel = 1 url = https://github.com/giampaolo/psutil arch = x86_64 @@ -14,9 +14,7 @@ pkgbase = python-psutil makedepends = python-wheel depends = glibc depends = python - source = python-psutil-7.1.1.tar.gz::https://github.com/giampaolo/psutil/archive/release-7.1.1.tar.gz - source = python-psutil-dont-package-tests.patch - sha512sums = b4be1d865733ae2b99e4f74098507a1862aaf48ba670db85a3f83c29ba36e6750d85f32fa136965a3c487f6cafbcbd8e7b1aef0e152900ba518450e95bfd2ab1 - sha512sums = bc902748c8de706a2196f8a19801314f11035c17c8ad406330ba54f821c3ba9144c49d9b7e305d56500576993162c6d148f7db9cf0c61d4fd23b4d85adb3d461 + source = https://github.com/giampaolo/psutil/archive/release-7.1.2/python-psutil-7.1.2.tar.gz + sha512sums = 5aac35506ca6a2794d5c27eed6717dfc1efe87fe4cad031a0249fa9a2dd27c14aef0a3568ff15dd4d077989c6afe34191f9ec466492a7d7ef9e3e7a92c374fcf pkgname = python-psutil ===================================== LICENSES/BSD-3-Clause.txt deleted ===================================== @@ -1,11 +0,0 @@ -Copyright (c) <year> <owner>. - -Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met: - -1. Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer. - -2. Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution. - -3. Neither the name of the copyright holder nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission. - -THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. ===================================== PKGBUILD ===================================== @@ -3,7 +3,7 @@ # Contributor: Sébastien Luttringer pkgname=python-psutil -pkgver=7.1.1 +pkgver=7.1.2 pkgrel=1 arch=('x86_64') pkgdesc='A cross-platform process and system utilities module for Python' @@ -24,17 +24,8 @@ checkdepends=( 'procps-ng' 'python-pytest' ) -source=( - "$pkgname-$pkgver.tar.gz::$url/archive/release-$pkgver.tar.gz" - "$pkgname-dont-package-tests.patch" -) -sha512sums=('b4be1d865733ae2b99e4f74098507a1862aaf48ba670db85a3f83c29ba36e6750d85f32fa136965a3c487f6cafbcbd8e7b1aef0e152900ba518450e95bfd2ab1' - 'bc902748c8de706a2196f8a19801314f11035c17c8ad406330ba54f821c3ba9144c49d9b7e305d56500576993162c6d148f7db9cf0c61d4fd23b4d85adb3d461') - -prepare() { - cd psutil-release-$pkgver - patch -Np1 -i ../$pkgname-dont-package-tests.patch -} +source=("$url/archive/release-$pkgver/$pkgname-$pkgver.tar.gz") +sha512sums=('5aac35506ca6a2794d5c27eed6717dfc1efe87fe4cad031a0249fa9a2dd27c14aef0a3568ff15dd4d077989c6afe34191f9ec466492a7d7ef9e3e7a92c374fcf') build() { cd psutil-release-$pkgver ===================================== REUSE.toml ===================================== @@ -20,10 +20,3 @@ path = [ ] SPDX-FileCopyrightText = "Arch Linux contributors" SPDX-License-Identifier = "0BSD" - -[[annotations]] -path = [ - "python-psutil-dont-package-tests.patch", -] -SPDX-FileCopyrightText = "python-psutil contributors" -SPDX-License-Identifier = "BSD-3-Clause" ===================================== python-psutil-dont-package-tests.patch deleted ===================================== @@ -1,21 +0,0 @@ -diff --git a/setup.py b/setup.py -index a7b7e817..c7f0a308 100755 ---- a/setup.py -+++ b/setup.py -@@ -22,6 +22,7 @@ import sys - import sysconfig - import tempfile - import warnings -+from setuptools import find_packages - - - with warnings.catch_warnings(): -@@ -485,7 +486,7 @@ def main(): - url='https://github.com/giampaolo/psutil', - platforms='Platform Independent', - license='BSD-3-Clause', -- packages=['psutil', 'psutil.tests'], -+ packages=find_packages(exclude=["psutil.tests", "psutil.tests.*"]), - ext_modules=extensions, - options=options, - classifiers=[ View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-psutil/-/commit/2bc1785e20f7dc88725883d8a292c728ae0cf546 -- View it on GitLab: https://gitlab.archlinux.org/archlinux/packaging/packages/python-psutil/-/commit/2bc1785e20f7dc88725883d8a292c728ae0cf546 You're receiving this email because of your account on gitlab.archlinux.org.
