Date: Tuesday, March 14, 2023 @ 11:01:46
Author: alerque
Revision: 1420114
archrelease: copy trunk to community-testing-x86_64
Added:
python-pyparted/repos/community-testing-x86_64/
python-pyparted/repos/community-testing-x86_64/PKGBUILD
(from rev 1420113, python-pyparted/trunk/PKGBUILD)
----------+
PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++
1 file changed, 38 insertions(+)
Copied: python-pyparted/repos/community-testing-x86_64/PKGBUILD (from rev
1420113, python-pyparted/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2023-03-14 11:01:46 UTC (rev 1420114)
@@ -0,0 +1,38 @@
+# Maintainer: Caleb Maclennan <[email protected]>
+# Contributor: Nikos Skalkotos <skalkoto at gmail dot com>
+# Contributor: Christian Hesse <[email protected]>
+# Contributor: Dennis Værum <dennis.vaerum (at) gmail (dot) com>
+# Contributor: Achilleas Pipinellis <axilleas archlinux info>
+# Contributor: Stéphane Gaudreault <[email protected]>
+# Contributor: kfgz <kfgz at interia pl>
+# Contributor: Gökmen Görgen <gkmngrgn at gmail dot com>
+# Contributor: Baurzhan Muftakhidinov <baurthefirst (at) gmail (dot) com>
+
+_pkgname=pyparted
+pkgname=python-${_pkgname}
+pkgver=3.12.0
+pkgrel=1
+pkgdesc='Python module for GNU parted'
+url="https://github.com/dcantrell/$_pkgname"
+arch=(x86_64 i686 aarch64)
+license=(GPL2)
+depends=(parted
+ python)
+replaces=(pyparted)
+makedepends=(python-{build,installer,wheel}
+ python-setuptools)
+_archive="$_pkgname-$pkgver"
+source=("$url/releases/download/v$pkgver/$_archive.tar.gz")
+sha256sums=('da985e116beb733371feb605b174db9eec8bd0eedffc8f739f8e603f51b521e7')
+
+build() {
+ cd "$_archive"
+ python -m build -wn
+}
+
+package() {
+ cd "$_archive"
+ python -m installer -d "$pkgdir" dist/*.whl
+ install -Dm0755 -t "$pkgdir/usr/share/licenses/$pkgname/" COPYING
+ install -Dm0755 -t "$pkgdir/usr/share/doc/$pkgname/" AUTHORS README TODO
+}