Date: Thursday, November 17, 2022 @ 14:14:47
Author: yan12125
Revision: 1349328
archrelease: copy trunk to community-any
Added:
python-unidiff/repos/community-any/PKGBUILD
(from rev 1349327, python-unidiff/trunk/PKGBUILD)
Deleted:
python-unidiff/repos/community-any/PKGBUILD
----------+
PKGBUILD | 65 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 33 insertions(+), 32 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2022-11-17 14:13:59 UTC (rev 1349327)
+++ PKGBUILD 2022-11-17 14:14:47 UTC (rev 1349328)
@@ -1,32 +0,0 @@
-# Maintainer: Chih-Hsuan Yen <[email protected]>
-# Contributor: xiretza <[email protected]>
-# Contributor: Adhityaa Chandrasekar <[email protected]>
-
-pkgname=python-unidiff
-# https://github.com/matiasb/python-unidiff/blob/master/HISTORY
-pkgver=0.7.4
-pkgrel=1
-pkgdesc='Simple Python library to parse and interact with unified diff data'
-arch=('any')
-url="https://github.com/matiasb/python-unidiff"
-license=('MIT')
-depends=('python')
-makedepends=('python-setuptools')
-source=("https://files.pythonhosted.org/packages/source/u/unidiff/unidiff-$pkgver.tar.gz")
-sha256sums=('2bbcbc986e1fb97f04b1d7b864aa6002ab02f4d8a996bf03aa6e5a81447d1fc5')
-
-build() {
- cd unidiff-$pkgver
- python setup.py build
-}
-
-check() {
- cd unidiff-$pkgver
- python -m unittest discover -s tests
-}
-
-package() {
- cd unidiff-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
-}
Copied: python-unidiff/repos/community-any/PKGBUILD (from rev 1349327,
python-unidiff/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2022-11-17 14:14:47 UTC (rev 1349328)
@@ -0,0 +1,33 @@
+# Maintainer: Chih-Hsuan Yen <[email protected]>
+# Contributor: xiretza <[email protected]>
+# Contributor: Adhityaa Chandrasekar <[email protected]>
+
+pkgname=python-unidiff
+# https://github.com/matiasb/python-unidiff/blob/master/HISTORY
+pkgver=0.7.4
+pkgrel=2
+pkgdesc='Simple Python library to parse and interact with unified diff data'
+arch=('any')
+url="https://github.com/matiasb/python-unidiff"
+license=('MIT')
+depends=('python')
+makedepends=('python-setuptools')
+# PyPI tarballs is missing tests
https://github.com/matiasb/python-unidiff/pull/61
https://github.com/matiasb/python-unidiff/issues/99
+source=("https://github.com/matiasb/python-unidiff/archive/v$pkgver/python-unidiff-$pkgver.zip")
+sha256sums=('781868e760d2933facdd40b24f5733d4c6f9fa9ba3128dfecba3d2c94db48e0b')
+
+build() {
+ cd python-unidiff-$pkgver
+ python setup.py build
+}
+
+check() {
+ cd python-unidiff-$pkgver
+ python -m unittest discover -s tests
+}
+
+package() {
+ cd python-unidiff-$pkgver
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+}