[arch-commits] Commit in (4 files)
Felix Yan
felixonmars at gemini.archlinux.org
Mon Feb 21 20:48:42 UTC 2022
Date: Monday, February 21, 2022 @ 20:48:42
Author: felixonmars
Revision: 1135640
addpkg: python-teamcity-messages 1.30-1
Added:
python-teamcity-messages/
python-teamcity-messages/repos/
python-teamcity-messages/trunk/
python-teamcity-messages/trunk/PKGBUILD
----------+
PKGBUILD | 34 ++++++++++++++++++++++++++++++++++
1 file changed, 34 insertions(+)
Added: python-teamcity-messages/trunk/PKGBUILD
===================================================================
--- python-teamcity-messages/trunk/PKGBUILD (rev 0)
+++ python-teamcity-messages/trunk/PKGBUILD 2022-02-21 20:48:42 UTC (rev 1135640)
@@ -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