Date: Friday, January 13, 2023 @ 02:41:31
Author: felixonmars
Revision: 1383190
archrelease: copy trunk to community-any
Added:
python-pook/repos/community-any/PKGBUILD
(from rev 1383189, python-pook/trunk/PKGBUILD)
Deleted:
python-pook/repos/community-any/PKGBUILD
----------+
PKGBUILD | 68 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 34 insertions(+), 34 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-01-13 02:41:19 UTC (rev 1383189)
+++ PKGBUILD 2023-01-13 02:41:31 UTC (rev 1383190)
@@ -1,34 +0,0 @@
-# Maintainer: Felix Yan <[email protected]>
-
-pkgname=python-pook
-pkgver=1.1.0
-pkgrel=1
-pkgdesc="Versatile and expressive HTTP traffic mocking and testing made simple
in Python"
-url="https://github.com/h2non/pook"
-license=('MIT')
-arch=('any')
-depends=('python-furl' 'python-jsonschema' 'python-xmltodict')
-makedepends=('python-setuptools')
-checkdepends=('python-nose' 'python-pytest' 'python-aiohttp' 'python-requests')
-source=("https://github.com/h2non/pook/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
-sha512sums=('9c34bde9180a5545abcaed3eb675dae8f316886073b9e8f3f0e6b717351ea693a143d27a57f03f6364d3a29c9673de6563a0bd5814eae1d7774f97534001b250')
-
-build() {
- cd pook-$pkgver
- python setup.py build
-}
-
-check() {
- cd pook-$pkgver
- pytest
-}
-
-package() {
- cd pook-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
-
- # It's only present when tests are enabled, so adding -f
- rm -rf "$pkgdir"/usr/lib/python3.10/site-packages/tests
-}
Copied: python-pook/repos/community-any/PKGBUILD (from rev 1383189,
python-pook/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-01-13 02:41:31 UTC (rev 1383190)
@@ -0,0 +1,34 @@
+# Maintainer: Felix Yan <[email protected]>
+
+pkgname=python-pook
+pkgver=1.1.1
+pkgrel=1
+pkgdesc="Versatile and expressive HTTP traffic mocking and testing made simple
in Python"
+url="https://github.com/h2non/pook"
+license=('MIT')
+arch=('any')
+depends=('python-furl' 'python-jsonschema' 'python-xmltodict')
+makedepends=('python-setuptools')
+checkdepends=('python-nose' 'python-pytest' 'python-aiohttp' 'python-requests')
+source=("https://github.com/h2non/pook/archive/v$pkgver/$pkgname-$pkgver.tar.gz")
+sha512sums=('d9764f322475cb544498c3a2efb830790f058147903298e354ee02f2c14b7f1f3f8f227bf03de09ba09476ab2230d3a4064a944ada1aa327d1dba907b21dc505')
+
+build() {
+ cd pook-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd pook-$pkgver
+ pytest
+}
+
+package() {
+ cd pook-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+
+ # It's only present when tests are enabled, so adding -f
+ rm -rf "$pkgdir"/usr/lib/python3.10/site-packages/tests
+}