From f5ad10e1ffe2950cb2178eed306e22b0fc07e7d6 Mon Sep 17 00:00:00 2001 From: George Rawlinson Date: Sun, 20 Feb 2022 07:05:14 +0000 Subject: [PATCH] rmpkg: python-oyaml --- python-oyaml/PKGBUILD | 40 ---------------------------------------- 1 file changed, 40 deletions(-) delete mode 100644 python-oyaml/PKGBUILD diff --git a/python-oyaml/PKGBUILD b/python-oyaml/PKGBUILD deleted file mode 100644 index 65d9a10..0000000 --- a/python-oyaml/PKGBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Maintainer: George Rawlinson -# Contributor: Morteza NourelahiAlamdari -# Contributor: Caltlgin Stsodaat - -pkgname=python-oyaml -_pkgname="${pkgname#python-}" -pkgver=1.0 -pkgrel=4 -pkgdesc="A drop-in replacement for PyYAML which preserves dict ordering" -arch=('any') -url="https://github.com/wimglenn/oyaml" -license=('MIT') -depends=('python' 'python-yaml') -makedepends=('python-setuptools') -checkdepends=('python-pytest') -source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") -sha512sums=('19bd3dda42b4bb8be2d3ed50b4bd5327eb667f1ab701fe5d7aa07da31aee2b05c09eb31f96087c9f773fd38243edc858f50ddbd79878208f6c9921c4783b1f45') -b2sums=('50d8a4199d59b2b0fc129927fefa7444bb1fa25e40f112a74df84035fcf54615bc838d23dff897f2dccff3016a434b82f8c910c53ffc9707c44083336a457e88') - -build() { - cd "$_pkgname-$pkgver" - python setup.py build -} - -check() { - cd "$_pkgname-$pkgver" - pytest -} - -package() { - cd "$_pkgname-$pkgver" - - python setup.py install --root="$pkgdir" --optimize=1 - - # documentation - install -vDm644 -t "$pkgdir/usr/share/doc/$pkgname" README.rst - - # license - install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE -}