[arch-commits] Commit in python-testing.common.database/repos (2 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Tue Nov 30 20:18:04 UTC 2021


    Date: Tuesday, November 30, 2021 @ 20:18:04
  Author: foutrelis
Revision: 1057946

archrelease: copy trunk to community-staging-any

Added:
  python-testing.common.database/repos/community-staging-any/
  python-testing.common.database/repos/community-staging-any/PKGBUILD
    (from rev 1057943, python-testing.common.database/trunk/PKGBUILD)

----------+
 PKGBUILD |   30 ++++++++++++++++++++++++++++++
 1 file changed, 30 insertions(+)

Copied: python-testing.common.database/repos/community-staging-any/PKGBUILD (from rev 1057943, python-testing.common.database/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-11-30 20:18:04 UTC (rev 1057946)
@@ -0,0 +1,30 @@
+# Maintainer: Chih-Hsuan Yen <yan12125 at archlinux.org>
+
+pkgname=python-testing.common.database
+pkgver=2.0.3
+pkgrel=6
+pkgdesc='Utilities for testing.* packages'
+arch=(any)
+url='https://github.com/tk0miya/testing.common.database'
+license=(Apache)
+makedepends=(python-setuptools)
+depends=(python)
+source=("$pkgname-$pkgver.tar.gz"::"https://github.com/tk0miya/testing.common.database/archive/$pkgver.tar.gz")
+sha256sums=('f2d4f865e52bacf54cf853b6043cceb06a31ed020b50d3b0e63c7e59c66f00b4')
+
+prepare() {
+  cd testing.common.database-$pkgver
+
+  # https://github.com/tk0miya/testing.common.database/issues/21
+  sed -i 's|2\.0\.2|2.0.3|' setup.py
+}
+
+build() {
+  cd testing.common.database-$pkgver
+  python setup.py build
+}
+
+package() {
+  cd testing.common.database-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}



More information about the arch-commits mailing list