[arch-commits] Commit in python-dill/trunk (PKGBUILD)
Filipe Laíns
ffy00 at archlinux.org
Wed Feb 17 23:01:09 UTC 2021
Date: Wednesday, February 17, 2021 @ 23:01:09
Author: ffy00
Revision: 863033
upgpkg: python-dill 0.3.3-1
Added:
python-dill/trunk/PKGBUILD
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Added: PKGBUILD
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-02-17 23:01:09 UTC (rev 863033)
@@ -0,0 +1,31 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=dill
+pkgname=python-$_pkgname
+pkgver=0.3.3
+pkgrel=1
+pkgdesc='serialize all of python'
+arch=('any')
+url='https://github.com/uqfoundation/dill'
+license=('MIT')
+optdepends=('python-objgraph: graph support')
+depends=('python')
+makedepends=('python-setuptools')
+source=("$pkgname-$pkgver.tar.gz::$url/archive/dill-$pkgver.tar.gz")
+sha512sums=('bb514c37902412380d99f38293d5cb9d3d6a6643a34e59e6e889c89d845f9b83e9fa3fa9f0a75218575aa56670f287144f2b00abc8359b5fc6cb450351b43b68')
+
+build() {
+ cd $_pkgname-$_pkgname-$pkgver
+
+ python setup.py build
+}
+
+package() {
+ cd $_pkgname-$_pkgname-$pkgver
+
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+
+ install -Dm 644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
+}
+
+# vim:set ts=2 sw=2 et:
More information about the arch-commits
mailing list