[arch-commits] Commit in python-sphinxcontrib-towncrier/repos/community-any (2 files)
Felix Yan
felixonmars at gemini.archlinux.org
Fri Sep 9 19:46:01 UTC 2022
Date: Friday, September 9, 2022 @ 19:46:01
Author: felixonmars
Revision: 1297450
archrelease: copy trunk to community-any
Added:
python-sphinxcontrib-towncrier/repos/community-any/PKGBUILD
(from rev 1297449, python-sphinxcontrib-towncrier/trunk/PKGBUILD)
Deleted:
python-sphinxcontrib-towncrier/repos/community-any/PKGBUILD
----------+
PKGBUILD | 69 ++++++++++++++++++++++++++++++++-----------------------------
1 file changed, 37 insertions(+), 32 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-09-09 19:45:44 UTC (rev 1297449)
+++ PKGBUILD 2022-09-09 19:46:01 UTC (rev 1297450)
@@ -1,32 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-sphinxcontrib-towncrier
-pkgver=0.2.1a0
-pkgrel=1
-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-setuptools')
-checkdepends=('python-pytest-xdist')
-source=("https://github.com/sphinx-contrib/sphinxcontrib-towncrier/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('58101532db51435e64e09746a09b5ad41ca903c1261d534c87ae82b7004d3da33ff33082f7acead55ab38d38117b4250df42e81d1371ab0f1e6ec9afaf860303')
-
-build() {
- cd sphinxcontrib-towncrier-$pkgver
- python setup.py build
-}
-
-check() {
- cd sphinxcontrib-towncrier-$pkgver
- python setup.py egg_info
- PYTHONPATH="$PWD"/src pytest
-}
-
-package() {
- cd sphinxcontrib-towncrier-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-}
Copied: python-sphinxcontrib-towncrier/repos/community-any/PKGBUILD (from rev 1297449, python-sphinxcontrib-towncrier/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-09-09 19:46:01 UTC (rev 1297450)
@@ -0,0 +1,37 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-sphinxcontrib-towncrier
+pkgver=0.3.0a0
+pkgrel=1
+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-setuptools')
+checkdepends=('python-pytest-xdist')
+source=("https://github.com/sphinx-contrib/sphinxcontrib-towncrier/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('daf2292a19229b24f0f51658218bb9dbec42c4d1db4a1d370435f5e9cb1855c7af1896c2a99e5a9d1f2ffeb079e195169eeeee36c3658d5d490f3e196eb6cb33')
+
+prepare() {
+ cd sphinxcontrib-towncrier-$pkgver
+ sed -i '/pytest_cov/d;/--cov/d' pytest.ini
+}
+
+build() {
+ cd sphinxcontrib-towncrier-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd sphinxcontrib-towncrier-$pkgver
+ python setup.py egg_info
+ PYTHONPATH="$PWD"/src pytest
+}
+
+package() {
+ cd sphinxcontrib-towncrier-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+}
More information about the arch-commits
mailing list