Date: Tuesday, November 30, 2021 @ 20:23:11 Author: felixonmars Revision: 1058160
archrelease: copy trunk to community-staging-any Added: python-strict-rfc3339/repos/community-staging-any/ python-strict-rfc3339/repos/community-staging-any/PKGBUILD (from rev 1058158, python-strict-rfc3339/trunk/PKGBUILD) ----------+ PKGBUILD | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) Copied: python-strict-rfc3339/repos/community-staging-any/PKGBUILD (from rev 1058158, python-strict-rfc3339/trunk/PKGBUILD) =================================================================== --- community-staging-any/PKGBUILD (rev 0) +++ community-staging-any/PKGBUILD 2021-11-30 20:23:11 UTC (rev 1058160) @@ -0,0 +1,25 @@ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Simon Sapin <simon dot sapin at exyr dot org> +# Contributor: Kyle Keen <keen...@gmail.com> + +pkgname=python-strict-rfc3339 +pkgver=0.7 +pkgrel=8 +pkgdesc="Strict, simple, lightweight RFC3339 functions" +url="http://www.danielrichman.co.uk/libraries/strict-rfc3339.html" +license=('GPL') +arch=('any') +depends=('python') +makedepends=('python-setuptools') +source=("https://pypi.io/packages/source/s/strict-rfc3339/strict-rfc3339-$pkgver.tar.gz") +sha512sums=('94a2992a9ea41b75527348f0f8dae1d118d57b0764122f874baa85f5e3b523beb219ed83c2d7224725e504cd3737a6bde485957135856dcde470f32675e44e77') + +build() { + cd strict-rfc3339-$pkgver + python setup.py build +} + +package() { + cd strict-rfc3339-$pkgver + python setup.py install --root="$pkgdir" --optimize=1 +}