Date: Sunday, July 31, 2022 @ 11:53:40 Author: arojas Revision: 1259312
archrelease: copy trunk to community-any Added: python-freezegun/repos/community-any/PKGBUILD (from rev 1259311, python-freezegun/trunk/PKGBUILD) Deleted: python-freezegun/repos/community-any/PKGBUILD ----------+ PKGBUILD | 60 ++++++++++++++++++++++++++++++------------------------------ 1 file changed, 30 insertions(+), 30 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-07-31 11:53:32 UTC (rev 1259311) +++ PKGBUILD 2022-07-31 11:53:40 UTC (rev 1259312) @@ -1,30 +0,0 @@ -# Maintainer: Felix Yan <felixonm...@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 -} Copied: python-freezegun/repos/community-any/PKGBUILD (from rev 1259311, python-freezegun/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-07-31 11:53:40 UTC (rev 1259312) @@ -0,0 +1,30 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +pkgname=python-freezegun +pkgver=1.2.1 +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=('18342fe2f2dcebcd16e909a5d10e2fdad7d43831d395883de9c0773bfff8b902616ef95516c6876176bdc3ae868fd07d9c2085b27d65b7ea9c9033bcf256c0f6') + +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 +}