[arch-commits] Commit in python-swagger-ui-bundle/repos (2 files)

Felix Yan felixonmars at gemini.archlinux.org
Tue Dec 7 03:18:37 UTC 2021


    Date: Tuesday, December 7, 2021 @ 03:18:36
  Author: felixonmars
Revision: 1065459

archrelease: copy trunk to community-staging-any

Added:
  python-swagger-ui-bundle/repos/community-staging-any/
  python-swagger-ui-bundle/repos/community-staging-any/PKGBUILD
    (from rev 1065458, python-swagger-ui-bundle/trunk/PKGBUILD)

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

Copied: python-swagger-ui-bundle/repos/community-staging-any/PKGBUILD (from rev 1065458, python-swagger-ui-bundle/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2021-12-07 03:18:36 UTC (rev 1065459)
@@ -0,0 +1,33 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=swagger_ui_bundle
+pkgname=python-${_pkgname//_/-}
+pkgver=0.0.6
+pkgrel=3
+pkgdesc='Bundled swagger-ui'
+arch=('any')
+url='https://github.com/dtkav/swagger_ui_bundle'
+license=('Apache')
+depends=('python-jinja')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest-runner' 'python-pytest-flake8')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
+sha512sums=('2172bc039d1b4ad603412b1298211d738384d94df47612fb384da10fb69bf71f6b37c5afdcbe94dbe7b5c4df1495d43801cc11b2d4bebc8783f4d3442676f62f')
+
+build() {
+  cd $_pkgname-$pkgver
+
+  python setup.py build
+}
+
+check() {
+  cd $_pkgname-$pkgver
+
+  python setup.py test
+}
+
+package() {
+  cd $_pkgname-$pkgver
+
+  python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+}



More information about the arch-commits mailing list