Date: Monday, April 24, 2023 @ 05:29:30
  Author: polyzen
Revision: 1448461

archrelease: copy trunk to community-staging-any

Added:
  
python-sphinxcontrib-towncrier/repos/community-staging-any/0001-Update-build-system-dependencies.patch
    (from rev 1448460, 
python-sphinxcontrib-towncrier/trunk/0001-Update-build-system-dependencies.patch)
  python-sphinxcontrib-towncrier/repos/community-staging-any/PKGBUILD
    (from rev 1448460, python-sphinxcontrib-towncrier/trunk/PKGBUILD)
Deleted:
  
python-sphinxcontrib-towncrier/repos/community-staging-any/0001-Update-build-system-dependencies.patch
  python-sphinxcontrib-towncrier/repos/community-staging-any/PKGBUILD

---------------------------------------------+
 0001-Update-build-system-dependencies.patch |   70 ++++++++++----------
 PKGBUILD                                    |   88 +++++++++++++-------------
 2 files changed, 81 insertions(+), 77 deletions(-)

Deleted: 0001-Update-build-system-dependencies.patch
===================================================================
--- 0001-Update-build-system-dependencies.patch 2023-04-24 05:29:07 UTC (rev 
1448460)
+++ 0001-Update-build-system-dependencies.patch 2023-04-24 05:29:30 UTC (rev 
1448461)
@@ -1,35 +0,0 @@
-From 37de362cd2852057e08123920c6f14fac2f02ba4 Mon Sep 17 00:00:00 2001
-From: David Runge <[email protected]>
-Date: Mon, 9 Jan 2023 22:13:32 +0100
-Subject: [PATCH] Update build-system dependencies
-
-pyproject.toml:
-Update setuptools-scm to >= 7.1.0 to drop the requirement for
-setuptools-scm-git-archive (since the functionality is included since
-7.0.0).
-Update requirement for setuptools accordingly.
----
- pyproject.toml | 5 ++---
- 1 file changed, 2 insertions(+), 3 deletions(-)
-
-diff --git a/pyproject.toml b/pyproject.toml
-index f53bdb2..768de59 100644
---- a/pyproject.toml
-+++ b/pyproject.toml
-@@ -1,11 +1,10 @@
- [build-system]
- requires = [
-   # Essentials
--  "setuptools>=40.6.0",
-+  "setuptools>=45",
- 
-   # Plugins
--  "setuptools_scm[toml] >= 3.5",  # version is required for 
"no-local-version" scheme + toml extra is needed for supporting config in this 
file
--  "setuptools_scm_git_archive >= 1.1",
-+  "setuptools_scm[toml] >= 7.1.0",  # version is required for 
"no-local-version" scheme + toml extra is needed for supporting config in this 
file
- ]
- build-backend = "setuptools.build_meta"
- 
--- 
-2.39.0
-

Copied: 
python-sphinxcontrib-towncrier/repos/community-staging-any/0001-Update-build-system-dependencies.patch
 (from rev 1448460, 
python-sphinxcontrib-towncrier/trunk/0001-Update-build-system-dependencies.patch)
===================================================================
--- 0001-Update-build-system-dependencies.patch                         (rev 0)
+++ 0001-Update-build-system-dependencies.patch 2023-04-24 05:29:30 UTC (rev 
1448461)
@@ -0,0 +1,35 @@
+From 37de362cd2852057e08123920c6f14fac2f02ba4 Mon Sep 17 00:00:00 2001
+From: David Runge <[email protected]>
+Date: Mon, 9 Jan 2023 22:13:32 +0100
+Subject: [PATCH] Update build-system dependencies
+
+pyproject.toml:
+Update setuptools-scm to >= 7.1.0 to drop the requirement for
+setuptools-scm-git-archive (since the functionality is included since
+7.0.0).
+Update requirement for setuptools accordingly.
+---
+ pyproject.toml | 5 ++---
+ 1 file changed, 2 insertions(+), 3 deletions(-)
+
+diff --git a/pyproject.toml b/pyproject.toml
+index f53bdb2..768de59 100644
+--- a/pyproject.toml
++++ b/pyproject.toml
+@@ -1,11 +1,10 @@
+ [build-system]
+ requires = [
+   # Essentials
+-  "setuptools>=40.6.0",
++  "setuptools>=45",
+ 
+   # Plugins
+-  "setuptools_scm[toml] >= 3.5",  # version is required for 
"no-local-version" scheme + toml extra is needed for supporting config in this 
file
+-  "setuptools_scm_git_archive >= 1.1",
++  "setuptools_scm[toml] >= 7.1.0",  # version is required for 
"no-local-version" scheme + toml extra is needed for supporting config in this 
file
+ ]
+ build-backend = "setuptools.build_meta"
+ 
+-- 
+2.39.0
+

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2023-04-24 05:29:07 UTC (rev 1448460)
+++ PKGBUILD    2023-04-24 05:29:30 UTC (rev 1448461)
@@ -1,42 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-sphinxcontrib-towncrier
-pkgver=0.3.2a0
-pkgrel=3
-pkgdesc="An RST directive for injecting a Towncrier-generated changelog draft 
containing fragments for the unreleased (next) project version"
-url="https://github.com/sphinx-contrib/sphinxcontrib-towncrier";
-license=('BSD')
-arch=('any')
-depends=('python-sphinx' 'towncrier')
-makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-setuptools-scm'
-             'python-wheel')
-checkdepends=('python-pytest-xdist')
-source=(
-  
"https://github.com/sphinx-contrib/sphinxcontrib-towncrier/archive/v$pkgver/$pkgname-$pkgver.tar.gz";
-  0001-Update-build-system-dependencies.patch
-)
-sha512sums=('3194136b8758b2881687af5a4fe56d1524fb6c0fe77745b25632895a6c7b6ed4a052d5cf000acabf9fb7c2ebce2e7e0a907d143d014d7be275f61547c0c76122'
-            
'e8c5f943e4ad8990a97a6aa8e493a1346cd9725a08c2b3e6ab0f3eb9371b9a63a55bad242060916f8a5ebfefe2a4c5c96b9a73291996fe3a4693c9b0920ca6b8')
-
-prepare() {
-  cd sphinxcontrib-towncrier-$pkgver
-  # remove requirement for python-setuptools-scm-git-archive: 
https://github.com/sphinx-contrib/sphinxcontrib-towncrier/pull/80
-  patch -Np1 -i ../0001-Update-build-system-dependencies.patch
-  sed -i '/pytest_cov/d;/--cov/d' pytest.ini
-}
-
-build() {
-  cd sphinxcontrib-towncrier-$pkgver
-  python -m build -nw
-}
-
-check() {
-  cd sphinxcontrib-towncrier-$pkgver
-  PYTHONPATH="$PWD"/src pytest
-}
-
-package() {
-  cd sphinxcontrib-towncrier-$pkgver
-  python -m installer -d "$pkgdir" dist/*.whl
-  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}

Copied: python-sphinxcontrib-towncrier/repos/community-staging-any/PKGBUILD 
(from rev 1448460, python-sphinxcontrib-towncrier/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2023-04-24 05:29:30 UTC (rev 1448461)
@@ -0,0 +1,46 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-sphinxcontrib-towncrier
+pkgver=0.3.2a0
+pkgrel=5
+pkgdesc="An RST directive for injecting a Towncrier-generated changelog draft 
containing fragments for the unreleased (next) project version"
+url="https://github.com/sphinx-contrib/sphinxcontrib-towncrier";
+license=('BSD')
+arch=('any')
+depends=('python-sphinx' 'towncrier')
+makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-setuptools-scm'
+             'python-wheel')
+checkdepends=('python-pytest-xdist')
+source=(
+  
"https://github.com/sphinx-contrib/sphinxcontrib-towncrier/archive/v$pkgver/$pkgname-$pkgver.tar.gz";
+  0001-Update-build-system-dependencies.patch
+)
+sha512sums=('3194136b8758b2881687af5a4fe56d1524fb6c0fe77745b25632895a6c7b6ed4a052d5cf000acabf9fb7c2ebce2e7e0a907d143d014d7be275f61547c0c76122'
+            
'e8c5f943e4ad8990a97a6aa8e493a1346cd9725a08c2b3e6ab0f3eb9371b9a63a55bad242060916f8a5ebfefe2a4c5c96b9a73291996fe3a4693c9b0920ca6b8')
+
+prepare() {
+  cd sphinxcontrib-towncrier-$pkgver
+  # remove requirement for python-setuptools-scm-git-archive: 
https://github.com/sphinx-contrib/sphinxcontrib-towncrier/pull/80
+  patch -Np1 -i ../0001-Update-build-system-dependencies.patch
+
+  sed -i '/pytest_cov/d;/--cov/d' pytest.ini
+
+  # Do not treat warnings as errors
+  sed -i '/^  error$/d' pytest.ini
+}
+
+build() {
+  cd sphinxcontrib-towncrier-$pkgver
+  python -m build -nw
+}
+
+check() {
+  cd sphinxcontrib-towncrier-$pkgver
+  PYTHONPATH="$PWD"/src pytest
+}
+
+package() {
+  cd sphinxcontrib-towncrier-$pkgver
+  python -m installer -d "$pkgdir" dist/*.whl
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}

Reply via email to