[arch-commits] Commit in python-diff-match-patch/repos (2 files)
Felix Yan
felixonmars at archlinux.org
Fri Oct 25 16:04:25 UTC 2019
Date: Friday, October 25, 2019 @ 16:04:24
Author: felixonmars
Revision: 519352
archrelease: copy trunk to community-staging-any
Added:
python-diff-match-patch/repos/community-staging-any/
python-diff-match-patch/repos/community-staging-any/PKGBUILD
(from rev 519351, python-diff-match-patch/trunk/PKGBUILD)
----------+
PKGBUILD | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
Copied: python-diff-match-patch/repos/community-staging-any/PKGBUILD (from rev 519351, python-diff-match-patch/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD (rev 0)
+++ community-staging-any/PKGBUILD 2019-10-25 16:04:24 UTC (rev 519352)
@@ -0,0 +1,22 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Jakob Gahde <j5lx at fmail.co.uk>
+
+pkgname=python-diff-match-patch
+pkgver=20181111
+pkgrel=2
+pkgdesc="Robust algorithms to perform the operations required for synchronizing plain text"
+arch=('any')
+url="https://pypi.org/project/diff-match-patch/"
+license=('Apache')
+makedepends=('python' 'python-setuptools')
+source=(https://files.pythonhosted.org/packages/f0/2a/5ba07def0e9107d935aba62cf632afbd0f7c723a98af47ccbcab753d2452/diff-match-patch-$pkgver.tar.gz)
+sha256sums=('a809a996d0f09b9bbd59e9bbd0b71eed8c807922512910e05cbd3f9480712ddb')
+
+package() {
+ depends=('python')
+
+ cd "${srcdir}"/diff-match-patch-$pkgver
+
+ python setup.py install --root="${pkgdir}" -O1
+ find "${pkgdir}" -name *_py2.* -delete
+}
More information about the arch-commits
mailing list