Date: Monday, April 10, 2023 @ 11:35:03
Author: felixonmars
Revision: 1444058
archrelease: copy trunk to community-staging-any
Added:
python-cattrs/repos/community-staging-any/PKGBUILD
(from rev 1444057, python-cattrs/trunk/PKGBUILD)
Deleted:
python-cattrs/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-10 11:34:55 UTC (rev 1444057)
+++ PKGBUILD 2023-04-10 11:35:03 UTC (rev 1444058)
@@ -1,42 +0,0 @@
-# Maintainer: Caleb Maclennan <[email protected]>
-
-pkgname=python-cattrs
-_pipname=${pkgname#python-}
-pkgver=22.2.0
-pkgrel=3
-pkgdesc='Complex custom class converters for attrs'
-arch=(any)
-url="https://github.com/Tinche/$_pipname"
-license=(MIT)
-depends=(python
- python-exceptiongroup
- python-attrs)
-makedepends=(python-{build,installer,wheel}
- python-poetry-core)
-# checkdepends=(python-pytest)
-_archive="$_pipname-$pkgver"
-source=("https://files.pythonhosted.org/packages/source/${_pipname::1}/$_pipname/$_archive.tar.gz")
-# source=("$url/archive/v$pkgver/$_archive.tar.gz")
-sha256sums=('f0eed5642399423cf656e7b66ce92cdc5b963ecafd041d1b24d136fdde7acf6d')
-
-prepare() {
- cd "$_archive"
- # Upstream test suite uses addopts to run benchmarks, drop them
- sed -i -e '/^addopts/d' pyproject.toml
-}
-
-build() {
- cd "$_archive"
- python -m build -wn
-}
-
-# check() {
-# cd "$_archive"
-# pytest
-# }
-
-package() {
- cd "$_archive"
- python -m installer -d "$pkgdir" dist/*.whl
- install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
-}
Copied: python-cattrs/repos/community-staging-any/PKGBUILD (from rev 1444057,
python-cattrs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-10 11:35:03 UTC (rev 1444058)
@@ -0,0 +1,42 @@
+# Maintainer: Caleb Maclennan <[email protected]>
+
+pkgname=python-cattrs
+_pipname=${pkgname#python-}
+pkgver=22.2.0
+pkgrel=4
+pkgdesc='Complex custom class converters for attrs'
+arch=(any)
+url="https://github.com/Tinche/$_pipname"
+license=(MIT)
+depends=(python
+ python-exceptiongroup
+ python-attrs)
+makedepends=(python-{build,installer,wheel}
+ python-poetry-core)
+# checkdepends=(python-pytest)
+_archive="$_pipname-$pkgver"
+source=("https://files.pythonhosted.org/packages/source/${_pipname::1}/$_pipname/$_archive.tar.gz")
+# source=("$url/archive/v$pkgver/$_archive.tar.gz")
+sha256sums=('f0eed5642399423cf656e7b66ce92cdc5b963ecafd041d1b24d136fdde7acf6d')
+
+prepare() {
+ cd "$_archive"
+ # Upstream test suite uses addopts to run benchmarks, drop them
+ sed -i -e '/^addopts/d' pyproject.toml
+}
+
+build() {
+ cd "$_archive"
+ python -m build -wn
+}
+
+# check() {
+# cd "$_archive"
+# pytest
+# }
+
+package() {
+ cd "$_archive"
+ python -m installer -d "$pkgdir" dist/*.whl
+ install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
+}