* update python-freezegun to 1.5.1-1

This commit is contained in:
Alexander Baldeck 2024-08-08 14:41:47 +02:00
parent 6eab7f1b79
commit 5832b32a8c
3 changed files with 29 additions and 12 deletions

View File

@ -0,0 +1,20 @@
pkgbase = python-freezegun
pkgdesc = Let your Python tests travel through time
pkgver = 1.5.1
pkgrel = 1
url = https://github.com/spulec/freezegun
arch = any
license = Apache-2.0
checkdepends = python-pytest
makedepends = git
makedepends = python-build
makedepends = python-installer
makedepends = python-setuptools
makedepends = python-wheel
depends = python
depends = python-dateutil
source = python-freezegun::git+https://github.com/spulec/freezegun#tag=1.5.1
sha512sums = d826c24cbc7a5b622e3bc6b647b220ef99630e41c8c3b663d919c0e703e691289cca1c359417a5d5801dcb44c53a40b90b6a4e382409fbb20d3316a31c24a88e
b2sums = 42436f375fa49461338fff315602a86b3e69bf4fd5aa53432de6b111f90314faf72736a27e6060dbd4ad7bda19f38aa3357737b9afff444301607100d0b057a7
pkgname = python-freezegun

View File

@ -0,0 +1,3 @@
[python-freezegun]
source = "git"
git = "https://github.com/spulec/freezegun.git"

View File

@ -3,12 +3,12 @@
# Contributor: Felix Yan <felixonmars@archlinux.org>
pkgname=python-freezegun
pkgver=1.4.0
pkgrel=2
pkgver=1.5.1
pkgrel=1
pkgdesc='Let your Python tests travel through time'
arch=(any)
url='https://github.com/spulec/freezegun'
license=('Apache')
license=('Apache-2.0')
depends=('python' 'python-dateutil')
makedepends=(
'git'
@ -18,15 +18,9 @@ makedepends=(
'python-wheel'
)
checkdepends=('python-pytest')
_commit='5e06dff53244992204706adf6907e7138ac96d39'
source=("$pkgname::git+$url#commit=$_commit")
b2sums=('SKIP')
pkgver() {
cd "$pkgname"
git describe --tags | sed 's/^v//'
}
source=("$pkgname::git+$url#tag=$pkgver")
sha512sums=('d826c24cbc7a5b622e3bc6b647b220ef99630e41c8c3b663d919c0e703e691289cca1c359417a5d5801dcb44c53a40b90b6a4e382409fbb20d3316a31c24a88e')
b2sums=('42436f375fa49461338fff315602a86b3e69bf4fd5aa53432de6b111f90314faf72736a27e6060dbd4ad7bda19f38aa3357737b9afff444301607100d0b057a7')
build() {
cd "$pkgname"