[arch-commits] Commit in python-three-merge/repos/community-staging-any (2 files)

Evangelos Foutras foutrelis at gemini.archlinux.org
Thu Dec 2 12:02:25 UTC 2021


    Date: Thursday, December 2, 2021 @ 12:02:24
  Author: foutrelis
Revision: 1061744

archrelease: copy trunk to community-staging-any

Added:
  python-three-merge/repos/community-staging-any/PKGBUILD
    (from rev 1061741, python-three-merge/trunk/PKGBUILD)
Deleted:
  python-three-merge/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   68 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 34 insertions(+), 34 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-02 12:02:23 UTC (rev 1061743)
+++ PKGBUILD	2021-12-02 12:02:24 UTC (rev 1061744)
@@ -1,34 +0,0 @@
-# Maintainer: Bruno Pagani <archange at archlinux.org>
-
-_pkg=three-merge
-pkgname=python-${_pkg}
-pkgver=0.1.1
-pkgrel=2
-pkgdesc="Simple Python library to perform a 3-way merge between strings"
-arch=(any)
-url="https://github.com/spyder-ide/three-merge/"
-license=(MIT)
-depends=(python-diff-match-patch)
-makedepends=(python-setuptools)
-checkdepends=(python-pytest)
-# PyPi tarballs do not have the tests
-#source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
-source=(https://github.com/spyder-ide/three-merge/archive/v${pkgver}/${_pkg}-${pkgver}.tar.gz)
-sha256sums=('b6ab2231fd349cdf03be5be04f28c1d59d5a475f7396dcf8fd8b0597981d113e')
-
-build() {
-  cd ${_pkg}-${pkgver}
-  python setup.py build
-}
-
-check() {
-  cd ${_pkg}-${pkgver}
-  pytest -x -v three_merge/tests
-}
-
-package() {
-  cd ${_pkg}-${pkgver}
-  python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
-  rm -r "${pkgdir}"$(python -c "import site; print(site.getsitepackages()[0])")/${_pkg//-/_}/tests
-  install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
-}

Copied: python-three-merge/repos/community-staging-any/PKGBUILD (from rev 1061741, python-three-merge/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-02 12:02:24 UTC (rev 1061744)
@@ -0,0 +1,34 @@
+# Maintainer: Bruno Pagani <archange at archlinux.org>
+
+_pkg=three-merge
+pkgname=python-${_pkg}
+pkgver=0.1.1
+pkgrel=3
+pkgdesc="Simple Python library to perform a 3-way merge between strings"
+arch=(any)
+url="https://github.com/spyder-ide/three-merge/"
+license=(MIT)
+depends=(python-diff-match-patch)
+makedepends=(python-setuptools)
+checkdepends=(python-pytest)
+# PyPi tarballs do not have the tests
+#source=(https://files.pythonhosted.org/packages/source/${_pkg::1}/${_pkg}/${_pkg}-${pkgver}.tar.gz)
+source=(https://github.com/spyder-ide/three-merge/archive/v${pkgver}/${_pkg}-${pkgver}.tar.gz)
+sha256sums=('b6ab2231fd349cdf03be5be04f28c1d59d5a475f7396dcf8fd8b0597981d113e')
+
+build() {
+  cd ${_pkg}-${pkgver}
+  python setup.py build
+}
+
+check() {
+  cd ${_pkg}-${pkgver}
+  pytest -x -v three_merge/tests
+}
+
+package() {
+  cd ${_pkg}-${pkgver}
+  python setup.py install --prefix=/usr --root="${pkgdir}" --skip-build --optimize=1
+  rm -r "${pkgdir}"$(python -c "import site; print(site.getsitepackages()[0])")/${_pkg//-/_}/tests
+  install -Dm644 LICENSE -t "${pkgdir}"/usr/share/licenses/${pkgname}
+}



More information about the arch-commits mailing list