[arch-commits] Commit in arch-release-promotion/repos/community-any (2 files)
David Runge
dvzrv at gemini.archlinux.org
Sun Sep 5 18:33:27 UTC 2021
Date: Sunday, September 5, 2021 @ 18:33:27
Author: dvzrv
Revision: 1011824
archrelease: copy trunk to community-any
Added:
arch-release-promotion/repos/community-any/PKGBUILD
(from rev 1011823, arch-release-promotion/trunk/PKGBUILD)
Deleted:
arch-release-promotion/repos/community-any/PKGBUILD
----------+
PKGBUILD | 84 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 42 insertions(+), 42 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-09-05 18:33:11 UTC (rev 1011823)
+++ PKGBUILD 2021-09-05 18:33:27 UTC (rev 1011824)
@@ -1,42 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-pkgname=arch-release-promotion
-pkgver=0.1.1
-pkgrel=1
-pkgdesc="Promote official releases with signatures and additional artifacts"
-arch=('any')
-url="https://gitlab.archlinux.org/archlinux/arch-release-promotion"
-license=('GPL3')
-depends=('python-dotenv' 'python-email-validator' 'python-gitlab'
-'python-orjson' 'python-prometheus_client' 'python-pydantic' 'python-pyxdg'
-'python-toml' 'python-torrentool')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest')
-backup=("etc/${pkgname}/projects.toml")
-source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('56cf61e4b9dfcae82653402f129b226598cbca9aebf5d13a27326031767a264e')
-b2sums=('3796df10b60625f3a26e677a7065e9c38dae217eef32cbf35ef9f6661667906936c12804294a511e348f350d1f7675a90e52fcdcd5f26cccc05c42e7d7c9b1bc')
-
-prepare() {
- cd "$pkgname-$pkgver"
-}
-
-build() {
- cd "$pkgname-$pkgver"
- python setup.py build
-}
-
-check() {
- cd "$pkgname-$pkgver"
- export PYTHONPATH="build:${PYTHONPATH}"
- pytest -v
-}
-
-package() {
- cd "$pkgname-$pkgver"
- python setup.py install --skip-build \
- --optimize=1 \
- --root="${pkgdir}"
- install -vDm 644 {examples/example.toml,README.rst} -t "${pkgdir}/usr/share/doc/${pkgname}"
- install -vDm 644 examples/projects.toml -t "${pkgdir}/etc/${pkgname}"
-}
Copied: arch-release-promotion/repos/community-any/PKGBUILD (from rev 1011823, arch-release-promotion/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-09-05 18:33:27 UTC (rev 1011824)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+pkgname=arch-release-promotion
+pkgver=0.2.0
+pkgrel=1
+pkgdesc="Promote official releases with signatures and additional artifacts"
+arch=('any')
+url="https://gitlab.archlinux.org/archlinux/arch-release-promotion"
+license=('GPL3')
+depends=('python-dotenv' 'python-email-validator' 'python-gitlab'
+'python-orjson' 'python-prometheus_client' 'python-pydantic' 'python-pyxdg'
+'python-toml' 'python-torrentool')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+backup=("etc/${pkgname}/projects.toml")
+source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
+sha256sums=('6abbef3d47dc0da3af86751f4eeaf34e510ce70025d4a61cb8321cab3d6f823c')
+b2sums=('24dc5d937cd8f9d147e4ee534c78157885184f75b3e987d8590dd5467912ba5a16c43ffabc4abf565aad006e71d1a6beeee1273400ed7f20ae88ea9f5893ef71')
+
+prepare() {
+ cd "$pkgname-$pkgver"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ python setup.py build
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ export PYTHONPATH="build:${PYTHONPATH}"
+ pytest -v
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --root="${pkgdir}"
+ install -vDm 644 {examples/example.toml,README.rst} -t "${pkgdir}/usr/share/doc/${pkgname}"
+ install -vDm 644 examples/projects.toml -t "${pkgdir}/etc/${pkgname}"
+}
More information about the arch-commits
mailing list