[arch-commits] Commit in python-dephell-licenses/repos/community-staging-any (4 files)
Felix Yan
felixonmars at archlinux.org
Wed Nov 11 15:12:36 UTC 2020
Date: Wednesday, November 11, 2020 @ 15:12:36
Author: felixonmars
Revision: 750977
archrelease: copy trunk to community-staging-any
Added:
python-dephell-licenses/repos/community-staging-any/PKGBUILD
(from rev 750975, python-dephell-licenses/trunk/PKGBUILD)
python-dephell-licenses/repos/community-staging-any/dephell-licenses-fix-test.patch
(from rev 750975, 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 2020-11-11 15:12:31 UTC (rev 750976)
+++ PKGBUILD 2020-11-11 15:12:36 UTC (rev 750977)
@@ -1,35 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-_pkgname=dephell-licenses
-pkgname=python-dephell-licenses
-pkgver=0.1.7
-pkgrel=2
-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 750975, python-dephell-licenses/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-11 15:12:36 UTC (rev 750977)
@@ -0,0 +1,35 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=dephell-licenses
+pkgname=python-dephell-licenses
+pkgver=0.1.7
+pkgrel=3
+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
+}
Deleted: dephell-licenses-fix-test.patch
===================================================================
--- dephell-licenses-fix-test.patch 2020-11-11 15:12:31 UTC (rev 750976)
+++ dephell-licenses-fix-test.patch 2020-11-11 15:12:36 UTC (rev 750977)
@@ -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 750975, python-dephell-licenses/trunk/dephell-licenses-fix-test.patch)
===================================================================
--- dephell-licenses-fix-test.patch (rev 0)
+++ dephell-licenses-fix-test.patch 2020-11-11 15:12:36 UTC (rev 750977)
@@ -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