[arch-commits] Commit in python-teamcity-messages/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Mon Feb 21 20:48:50 UTC 2022


    Date: Monday, February 21, 2022 @ 20:48:50
  Author: felixonmars
Revision: 1135641

archrelease: copy trunk to community-any

Added:
  python-teamcity-messages/repos/community-any/
  python-teamcity-messages/repos/community-any/PKGBUILD
    (from rev 1135640, python-teamcity-messages/trunk/PKGBUILD)

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

Copied: python-teamcity-messages/repos/community-any/PKGBUILD (from rev 1135640, python-teamcity-messages/trunk/PKGBUILD)
===================================================================
--- community-any/PKGBUILD	                        (rev 0)
+++ community-any/PKGBUILD	2022-02-21 20:48:50 UTC (rev 1135641)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-teamcity-messages
+pkgver=1.30
+pkgrel=1
+pkgdesc="Send test results to TeamCity continuous integration server from unittest, nose, py.test, twisted trial, behave"
+url="https://github.com/JetBrains/teamcity-messages"
+license=('Apache')
+arch=('any')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-virtualenv')
+source=("https://github.com/JetBrains/teamcity-messages/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('f84a5e91464da22ccf2121628412112fe475b08014ac16935ed891fb94d261ac6702dd49037489e88b686aa32dc1bd918ae1a6932860f48824ec8473561c63c7')
+
+prepare() {
+  cd teamcity-messages-$pkgver
+  sed -i "s/virtualenv_version = 'virtualenv==20.7.2'/virtualenv_version = 'virtualenv'/" setup.py
+}
+
+build() {
+  cd teamcity-messages-$pkgver
+  python setup.py build
+}
+
+check() {
+  cd teamcity-messages-$pkgver
+  python setup.py test || echo "Tests failed"
+}
+
+package() {
+  cd teamcity-messages-$pkgver
+  python setup.py install --root="$pkgdir" --optimize=1
+}



More information about the arch-commits mailing list