Date: Tuesday, April 25, 2023 @ 19:35:00
Author: alerque
Revision: 1448729
archrelease: copy trunk to community-staging-any
Added:
python-fakeredis/repos/community-staging-any/PKGBUILD
(from rev 1448728, python-fakeredis/trunk/PKGBUILD)
Deleted:
python-fakeredis/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 98 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 49 insertions(+), 49 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2023-04-25 19:34:52 UTC (rev 1448728)
+++ PKGBUILD 2023-04-25 19:35:00 UTC (rev 1448729)
@@ -1,49 +0,0 @@
-# Maintainer: Caleb Maclennan <[email protected]>
-# Contributor: Eli Schwartz <[email protected]>
-
-# Upstream tests are pretty borked, especially the PyPi sources. Skip for now.
-BUILDENV+=(!check)
-
-_pyname=fakeredis
-pkgname=python-fakeredis
-pkgver=2.11.0
-pkgrel=2
-pkgdesc='Fake implementation of redis API (redis-py) for testing purposes'
-arch=(any)
-url="https://github.com/dsoftwareinc/${_pyname}-py"
-license=(BSD MIT)
-depends=(python-importlib-metadata
- python-redis
- python-six
- python-sortedcontainers)
-makedepends=(python-{build,installer,wheel}
- python-packaging
- python-lupa
- python-poetry-core)
-checkdepends=(python-pytest
- python-pytest-asyncio
- python-pytest-mock
- python-hypothesis)
-optdepends=('python-packaging: for aioredis support'
- 'python-lupa: for lua scripting support')
-# _archive="$_pyname-py-$pkgver"
-# source=("$url/archive/v$pkgver/$_archive.tar.gz")
-_archive="$_pyname-$pkgver"
-source=("https://files.pythonhosted.org/packages/source/${_pyname::1}/$_pyname/$_archive.tar.gz")
-sha256sums=('d25883dc52c31546e586b6ec3c49c5999b3025bfc4812532d71dedcfed56fee1')
-
-build(){
- cd "$_archive"
- python -m build -wn
-}
-
-check() {
- cd "$_archive"
- PYTHONPATH="$PWD" pytest
-}
-
-package() {
- cd "$_archive"
- python -m installer -d "$pkgdir" dist/*.whl
- install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
-}
Copied: python-fakeredis/repos/community-staging-any/PKGBUILD (from rev
1448728, python-fakeredis/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2023-04-25 19:35:00 UTC (rev 1448729)
@@ -0,0 +1,49 @@
+# Maintainer: Caleb Maclennan <[email protected]>
+# Contributor: Eli Schwartz <[email protected]>
+
+# Upstream tests are pretty borked, especially the PyPi sources. Skip for now.
+BUILDENV+=(!check)
+
+_pyname=fakeredis
+pkgname=python-fakeredis
+pkgver=2.11.1
+pkgrel=2
+pkgdesc='Fake implementation of redis API (redis-py) for testing purposes'
+arch=(any)
+url="https://github.com/dsoftwareinc/${_pyname}-py"
+license=(BSD MIT)
+depends=(python-importlib-metadata
+ python-redis
+ python-six
+ python-sortedcontainers)
+makedepends=(python-{build,installer,wheel}
+ python-packaging
+ python-lupa
+ python-poetry-core)
+checkdepends=(python-pytest
+ python-pytest-asyncio
+ python-pytest-mock
+ python-hypothesis)
+optdepends=('python-packaging: for aioredis support'
+ 'python-lupa: for lua scripting support')
+# _archive="$_pyname-py-$pkgver"
+# source=("$url/archive/v$pkgver/$_archive.tar.gz")
+_archive="$_pyname-$pkgver"
+source=("https://files.pythonhosted.org/packages/source/${_pyname::1}/$_pyname/$_archive.tar.gz")
+sha256sums=('20120bceb3feb639c0b59a8f882c6c66bbde416e7717ec2732dae258be769660')
+
+build(){
+ cd "$_archive"
+ python -m build -wn
+}
+
+check() {
+ cd "$_archive"
+ PYTHONPATH="$PWD" pytest
+}
+
+package() {
+ cd "$_archive"
+ python -m installer -d "$pkgdir" dist/*.whl
+ install -Dm0644 -t "$pkgdir/usr/share/licenses/$pkgname/" LICENSE
+}