[arch-commits] Commit in arch-release-promotion/repos/community-any (2 files)

David Runge dvzrv at gemini.archlinux.org
Mon Aug 9 21:47:51 UTC 2021


    Date: Monday, August 9, 2021 @ 21:47:51
  Author: dvzrv
Revision: 997298

archrelease: copy trunk to community-any

Added:
  arch-release-promotion/repos/community-any/PKGBUILD
    (from rev 997297, arch-release-promotion/trunk/PKGBUILD)
Deleted:
  arch-release-promotion/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   82 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 42 insertions(+), 40 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-08-09 21:47:44 UTC (rev 997297)
+++ PKGBUILD	2021-08-09 21:47:51 UTC (rev 997298)
@@ -1,40 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-pkgname=arch-release-promotion
-pkgver=0.1.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')
-source=("https://files.pythonhosted.org/packages/source/${pkgname::1}/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-sha256sums=('7151e06de280abe87398c5c376683fabfde1777a12649b411bb13848bb6e526b')
-b2sums=('ce4060605aa3beab009c155c0533aeb80de861a76fb8704c81d0f6922f51c86d95614b051ea9ea0a19d4fac2a6bd283140704413ee955550fe5a859ab637620e')
-
-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 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-}

Copied: arch-release-promotion/repos/community-any/PKGBUILD (from rev 997297, arch-release-promotion/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-08-09 21:47:51 UTC (rev 997298)
@@ -0,0 +1,42 @@
+# 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}"
+}



More information about the arch-commits mailing list