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

Felix Yan felixonmars at gemini.archlinux.org
Wed Dec 1 20:56:17 UTC 2021


    Date: Wednesday, December 1, 2021 @ 20:56:17
  Author: felixonmars
Revision: 1060717

archrelease: copy trunk to community-staging-any

Added:
  python-dephell-licenses/repos/community-staging-any/PKGBUILD
    (from rev 1060716, python-dephell-licenses/trunk/PKGBUILD)
  python-dephell-licenses/repos/community-staging-any/dephell-licenses-fix-test.patch
    (from rev 1060716, python-dephell-licenses/trunk/dephell-licenses-fix-test.patch)
Deleted:
  python-dephell-licenses/repos/community-staging-any/PKGBUILD
  python-dephell-licenses/repos/community-staging-any/dephell-licenses-fix-test.patch

---------------------------------+
 PKGBUILD                        |   70 +++++++++++++++++++-------------------
 dephell-licenses-fix-test.patch |   20 +++++-----
 2 files changed, 45 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-01 20:56:07 UTC (rev 1060716)
+++ PKGBUILD	2021-12-01 20:56:17 UTC (rev 1060717)
@@ -1,35 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-_pkgname=dephell-licenses
-pkgname=python-dephell-licenses
-pkgver=0.1.7
-pkgrel=5
-pkgdesc="Manage OSS licenses: retrieve information, generate"
-arch=('any')
-url="https://github.com/dephell/${_pkgname/-/_}"
-license=('MIT')
-depends=('python-attrs' 'python-requests')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest')
-source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
-sha256sums=('f175cec822a32bda5b56442f48dae39efbb5c3851275ecd41cfd7e849ddd2ea6')
-b2sums=('954daf4a725dd1061ae60c35a86295b9bcc835eb9f219f3a9fe0e19a710a11ed0fa94ff324b5a4171cf09566abc39c113a96226c71f21a54eae459cf0e10cc18')
-
-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-licenses/repos/community-staging-any/PKGBUILD (from rev 1060716, python-dephell-licenses/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-01 20:56:17 UTC (rev 1060717)
@@ -0,0 +1,35 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=dephell-licenses
+pkgname=python-dephell-licenses
+pkgver=0.1.7
+pkgrel=6
+pkgdesc="Manage OSS licenses: retrieve information, generate"
+arch=('any')
+url="https://github.com/dephell/${_pkgname/-/_}"
+license=('MIT')
+depends=('python-attrs' 'python-requests')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest')
+source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+sha256sums=('f175cec822a32bda5b56442f48dae39efbb5c3851275ecd41cfd7e849ddd2ea6')
+b2sums=('954daf4a725dd1061ae60c35a86295b9bcc835eb9f219f3a9fe0e19a710a11ed0fa94ff324b5a4171cf09566abc39c113a96226c71f21a54eae459cf0e10cc18')
+
+build(){
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python setup.py build
+}
+
+check() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python -m pytest --deselect tests/test_license.py::test_make_text
+}
+
+package() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+    install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}

Deleted: dephell-licenses-fix-test.patch
===================================================================
--- dephell-licenses-fix-test.patch	2021-12-01 20:56:07 UTC (rev 1060716)
+++ dephell-licenses-fix-test.patch	2021-12-01 20:56:17 UTC (rev 1060717)
@@ -1,10 +0,0 @@
-diff --git a/tests/test_license.py b/tests/test_license.py
-index 093fa2c..340add7 100644
---- a/tests/test_license.py
-+++ b/tests/test_license.py
-@@ -8,4 +8,4 @@ def test_make_text():
-     assert 'beginOptional' not in license.make_text()
-     assert license.make_text().strip().startswith('MIT License')
- 
--    assert 'Copyright (c) 2018 Gram' in license.make_text(copyright='2018 Gram')
-+    assert 'MIT License 2018 Gram' in license.make_text(copyright='2018 Gram')

Copied: python-dephell-licenses/repos/community-staging-any/dephell-licenses-fix-test.patch (from rev 1060716, python-dephell-licenses/trunk/dephell-licenses-fix-test.patch)
===================================================================
--- dephell-licenses-fix-test.patch	                        (rev 0)
+++ dephell-licenses-fix-test.patch	2021-12-01 20:56:17 UTC (rev 1060717)
@@ -0,0 +1,10 @@
+diff --git a/tests/test_license.py b/tests/test_license.py
+index 093fa2c..340add7 100644
+--- a/tests/test_license.py
++++ b/tests/test_license.py
+@@ -8,4 +8,4 @@ def test_make_text():
+     assert 'beginOptional' not in license.make_text()
+     assert license.make_text().strip().startswith('MIT License')
+ 
+-    assert 'Copyright (c) 2018 Gram' in license.make_text(copyright='2018 Gram')
++    assert 'MIT License 2018 Gram' in license.make_text(copyright='2018 Gram')



More information about the arch-commits mailing list