[arch-commits] Commit in python-dill/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Tue Nov 30 20:20:53 UTC 2021
Date: Tuesday, November 30, 2021 @ 20:20:53
Author: foutrelis
Revision: 1058069
archrelease: copy trunk to community-staging-any
Added:
python-dill/repos/community-staging-any/
python-dill/repos/community-staging-any/PKGBUILD
(from rev 1058066, python-dill/trunk/PKGBUILD)
----------+
PKGBUILD | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
Copied: python-dill/repos/community-staging-any/PKGBUILD (from rev 1058066, python-dill/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2021-11-30 20:20:53 UTC (rev 1058069)
@@ -0,0 +1,31 @@
+# Maintainer: Filipe Laíns (FFY00) <lains at archlinux.org>
+
+_pkgname=dill
+pkgname=python-$_pkgname
+pkgver=0.3.4
+pkgrel=2
+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=('1b1991909a9782382ecdb2ada13249c8b446d3558de69501280c816f7cd6c6728f9d3303c826461245ab9e42c43c02e4605142f25e09244bb7ccc9ca68a4b565')
+
+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