[arch-commits] Commit in python-freezegun/repos/community-any (PKGBUILD PKGBUILD)
Antonio Rojas
arojas at gemini.archlinux.org
Sat Dec 25 13:45:34 UTC 2021
Date: Saturday, December 25, 2021 @ 13:45:34
Author: arojas
Revision: 1083627
archrelease: copy trunk to community-any
Added:
python-freezegun/repos/community-any/PKGBUILD
(from rev 1083626, python-freezegun/trunk/PKGBUILD)
Deleted:
python-freezegun/repos/community-any/PKGBUILD
----------+
PKGBUILD | 60 ++++++++++++++++++++++++++++++------------------------------
1 file changed, 30 insertions(+), 30 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-25 13:45:05 UTC (rev 1083626)
+++ PKGBUILD 2021-12-25 13:45:34 UTC (rev 1083627)
@@ -1,30 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=python-freezegun
-pkgver=0.3.15
-pkgrel=8
-pkgdesc="Let your Python tests travel through time"
-arch=('any')
-license=('Apache')
-url="https://github.com/spulec/freezegun"
-depends=('python-dateutil')
-makedepends=('python-setuptools' 'python-dateutil')
-checkdepends=('python-pytest')
-source=("$pkgbase-$pkgver.tar.gz::https://github.com/spulec/freezegun/archive/$pkgver.tar.gz")
-sha512sums=('7b89fa2ba56cbcf274e33eea868d8f3653b0f2c47e91b1df9f72b65a0f1cb04f6364a00d9666afbc629707c5eaa238f36e9ef36b79dacd74d7fd00faea4a1a29')
-
-build() {
- cd "$srcdir"/freezegun-$pkgver
- python setup.py build
-}
-
-check() {
- cd "$srcdir"/freezegun-$pkgver
- # https://github.com/spulec/freezegun/issues/250
- pytest || echo "Tests failed"
-}
-
-package() {
- cd freezegun-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1
-}
Copied: python-freezegun/repos/community-any/PKGBUILD (from rev 1083626, python-freezegun/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-25 13:45:34 UTC (rev 1083627)
@@ -0,0 +1,30 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=python-freezegun
+pkgver=1.1.0
+pkgrel=1
+pkgdesc="Let your Python tests travel through time"
+arch=('any')
+license=('Apache')
+url="https://github.com/spulec/freezegun"
+depends=('python-dateutil')
+makedepends=('python-setuptools' 'python-dateutil')
+checkdepends=('python-pytest')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/spulec/freezegun/archive/$pkgver.tar.gz")
+sha512sums=('adab1125517fe5e3c2ab203990172d4ef8beaed635fb9e2cf69bc5a4aa97baa8b73a17cd4a03e24ff1da54bcbe68f6393f25e372f374b220917309b16e2d521d')
+
+build() {
+ cd "$srcdir"/freezegun-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd "$srcdir"/freezegun-$pkgver
+ # https://github.com/spulec/freezegun/issues/250
+ pytest || echo "Tests failed"
+}
+
+package() {
+ cd freezegun-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1
+}
More information about the arch-commits
mailing list