[arch-commits] Commit in python-diff-match-patch/repos/community-any (2 files)
Jaroslav Lichtblau
jlichtblau at archlinux.org
Sat Aug 22 12:04:33 UTC 2020
Date: Saturday, August 22, 2020 @ 12:04:33
Author: jlichtblau
Revision: 686715
archrelease: copy trunk to community-any
Added:
python-diff-match-patch/repos/community-any/PKGBUILD
(from rev 686714, python-diff-match-patch/trunk/PKGBUILD)
Deleted:
python-diff-match-patch/repos/community-any/PKGBUILD
----------+
PKGBUILD | 66 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 33 insertions(+), 33 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-08-22 12:04:19 UTC (rev 686714)
+++ PKGBUILD 2020-08-22 12:04:33 UTC (rev 686715)
@@ -1,33 +0,0 @@
-# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=diff-match-patch
-pkgname=python-${_pkg}
-pkgver=20181111
-pkgrel=4
-pkgdesc="Robust algorithms to perform the operations required for synchronizing plain text"
-arch=(any)
-url="https://github.com/diff-match-patch-python/diff-match-patch"
-license=(Apache)
-depends=(python)
-makedepends=(python-setuptools)
-checkdepends=(python-pytest)
-source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
-sha256sums=('a809a996d0f09b9bbd59e9bbd0b71eed8c807922512910e05cbd3f9480712ddb')
-
-build() {
- cd ${_pkg}-${pkgver}
- python setup.py build
-}
-
-check() {
- cd ${_pkg}-${pkgver}
- pytest
-}
-
-package() {
- cd ${_pkg}-${pkgver}
- python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
- find "${pkgdir}" -name *_py2.* -delete
- rm -r "${pkgdir}"$(python -c "import site; print(site.getsitepackages()[0])")/${_pkg//-/_}/tests
-}
Copied: python-diff-match-patch/repos/community-any/PKGBUILD (from rev 686714, python-diff-match-patch/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-08-22 12:04:33 UTC (rev 686715)
@@ -0,0 +1,33 @@
+# Maintainer: Jaroslav Lichtblau <svetlemodry at archlinux.org>
+# Contributor: Bruno Pagani <archange at archlinux.org>
+
+_pkg=diff-match-patch
+pkgname=python-${_pkg}
+pkgver=20200713
+pkgrel=1
+pkgdesc="Robust algorithms to perform the operations required for synchronizing plain text"
+arch=('any')
+url="https://github.com/diff-match-patch-python/diff-match-patch"
+license=('Apache')
+depends=('python')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+sha256sums=('da6f5a01aa586df23dfc89f3827e1cafbb5420be9d87769eeb079ddfd9477a18')
+
+build() {
+ cd ${_pkg}-${pkgver}
+ python setup.py build
+}
+
+check() {
+ cd ${_pkg}-${pkgver}
+ pytest
+}
+
+package() {
+ cd ${_pkg}-${pkgver}
+ python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
+ find "${pkgdir}" -name *_py2.* -delete
+ rm -r "${pkgdir}"$(python -c "import site; print(site.getsitepackages()[0])")/${_pkg//-/_}/tests
+}
More information about the arch-commits
mailing list