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

Evangelos Foutras foutrelis at gemini.archlinux.org
Wed Dec 1 21:02:31 UTC 2021


    Date: Wednesday, December 1, 2021 @ 21:02:30
  Author: foutrelis
Revision: 1060720

archrelease: copy trunk to community-staging-any

Added:
  python-dephell-changelogs/repos/community-staging-any/PKGBUILD
    (from rev 1060719, python-dephell-changelogs/trunk/PKGBUILD)
Deleted:
  python-dephell-changelogs/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   72 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 37 insertions(+), 35 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-01 21:02:27 UTC (rev 1060719)
+++ PKGBUILD	2021-12-01 21:02:30 UTC (rev 1060720)
@@ -1,35 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-_pkgname=dephell_changelogs
-pkgname=python-dephell-changelogs
-pkgver=0.0.1
-pkgrel=5
-pkgdesc="Find changelog for github repository, local dir, parse changelog"
-arch=('any')
-url="https://github.com/dephell/${_pkgname}"
-license=('MIT')
-depends=('python-requests')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest')
-source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
-sha256sums=('e639a3d08d389e22fbac0cc64181dbe93c4b4ba9f0134e273e6dd3e26ae70b21')
-b2sums=('6ec5383ff411e944ea90ae1a47061fdbd3f8bb5cfe9342936a3bebe8fc1e1791f7a5b7dfdb6d2d25bcee3ab1bf28d8bbf9101bb5d317afb5705e909964c49f68')
-
-build(){
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    python setup.py build
-}
-
-check() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    python -m pytest
-}
-
-package() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-    install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}

Copied: python-dephell-changelogs/repos/community-staging-any/PKGBUILD (from rev 1060719, python-dephell-changelogs/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-01 21:02:30 UTC (rev 1060720)
@@ -0,0 +1,37 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=dephell_changelogs
+pkgname=python-dephell-changelogs
+pkgver=0.0.1
+pkgrel=6
+pkgdesc="Find changelog for github repository, local dir, parse changelog"
+arch=('any')
+url="https://github.com/dephell/${_pkgname}"
+license=('MIT')
+depends=('python-requests')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+sha256sums=('e639a3d08d389e22fbac0cc64181dbe93c4b4ba9f0134e273e6dd3e26ae70b21')
+b2sums=('6ec5383ff411e944ea90ae1a47061fdbd3f8bb5cfe9342936a3bebe8fc1e1791f7a5b7dfdb6d2d25bcee3ab1bf28d8bbf9101bb5d317afb5705e909964c49f68')
+
+build(){
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python setup.py build
+}
+
+check() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python -m pytest \
+        --deselect 'tests/test_finder.py::test_get_changelog_url[pip-' \
+        --deselect 'tests/test_finder.py::test_get_changelog_url[attrs-'
+}
+
+package() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+    install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}



More information about the arch-commits mailing list