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

Thore Bödecker foxxx0 at gemini.archlinux.org
Tue Dec 28 10:29:18 UTC 2021


    Date: Tuesday, December 28, 2021 @ 10:29:18
  Author: foxxx0
Revision: 1085485

archrelease: copy trunk to community-any

Added:
  python-portend/repos/community-any/LICENSE
    (from rev 1085484, python-portend/trunk/LICENSE)
  python-portend/repos/community-any/PKGBUILD
    (from rev 1085484, python-portend/trunk/PKGBUILD)
Deleted:
  python-portend/repos/community-any/LICENSE
  python-portend/repos/community-any/PKGBUILD

----------+
 LICENSE  |   14 +++----
 PKGBUILD |  114 ++++++++++++++++++++++++++++++-------------------------------
 2 files changed, 64 insertions(+), 64 deletions(-)

Deleted: LICENSE
===================================================================
--- LICENSE	2021-12-28 10:29:13 UTC (rev 1085484)
+++ LICENSE	2021-12-28 10:29:18 UTC (rev 1085485)
@@ -1,7 +0,0 @@
-Copyright Jason R. Coombs
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Copied: python-portend/repos/community-any/LICENSE (from rev 1085484, python-portend/trunk/LICENSE)
===================================================================
--- LICENSE	                        (rev 0)
+++ LICENSE	2021-12-28 10:29:18 UTC (rev 1085485)
@@ -0,0 +1,7 @@
+Copyright Jason R. Coombs
+
+Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-12-28 10:29:13 UTC (rev 1085484)
+++ PKGBUILD	2021-12-28 10:29:18 UTC (rev 1085485)
@@ -1,57 +0,0 @@
-# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
-# Contributor: Laurent Soest <laurent.soest(at)gmail.com>
-
-pkgname='python-portend'
-_pkgbase="${pkgname//python-/}"
-pkgver=3.0.0
-pkgrel=3
-pkgdesc="Use portend to monitor TCP ports for bound or unbound states."
-arch=('any')
-url="https://github.com/jaraco/portend"
-license=('MIT')
-depends=('python' 'python-tempora')
-makedepends=('python-setuptools' 'python-setuptools-scm' 'python-tox'
-             'python-tempora')
-checkdepends=('python-pytest')
-source=("https://files.pythonhosted.org/packages/source/${_pkgbase:0:1}/${_pkgbase}/${_pkgbase}-${pkgver}.tar.gz"
-        'LICENSE')
-sha512sums=('7228d454e7d22317de3462edb1e2f1b7fcf29e4601c9373709d80260ea5964c0dd4fbc39543e27a7f375b478ca119b285e47fac6ffda41401399cbe7bf485c8c'
-            '1106afed483b7258e4ae89c5d9459c3834412b31aac90169725ed62d2ab44f61f6f79e894d4c9e4d8bd99e14530ab778df2187784f0b25eaab86d312fad68944')
-
-prepare() {
-    cd "${srcdir}/${_pkgbase}-${pkgver}"
-    # remove linting/style tests, not relevant for downstream packaging
-    for pointless_flag in \
-      --flake8 \
-      --black \
-      --cov \
-      --cov-append \
-      --doctest-modules
-    do
-      sed -i "s/${pointless_flag}//g" pytest.ini
-    done
-}
-
-build() {
-    # setuptools wont find version from git tag
-    export SETUPTOOLS_SCM_PRETEND_VERSION="${pkgver}"
-    cd "${srcdir}/${_pkgbase}-${pkgver}"
-    python ./setup.py build
-}
-
-check() {
-    cd "${srcdir}/${_pkgbase}-${pkgver}"
-    # tox
-    py.test -vvv -s -ra --showlocals --noconftest .
-}
-
-package() {
-    cd "${srcdir}/${_pkgbase}-${pkgver}"
-    python ./setup.py install --root="${pkgdir}" --optimize=1
-
-    # the author has promised to include a LICENSE file in future releases:
-    # https://github.com/jaraco/skeleton/issues/1
-    # for now the LICENSE file has been taken from:
-    # https://github.com/jaraco/skeleton/blob/skeleton/LICENSE
-    install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}

Copied: python-portend/repos/community-any/PKGBUILD (from rev 1085484, python-portend/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-12-28 10:29:18 UTC (rev 1085485)
@@ -0,0 +1,57 @@
+# Maintainer: Thore Bödecker <foxxx0 at archlinux.org>
+# Contributor: Laurent Soest <laurent.soest(at)gmail.com>
+
+pkgname='python-portend'
+_pkgbase="${pkgname//python-/}"
+pkgver=3.1.0
+pkgrel=1
+pkgdesc="Use portend to monitor TCP ports for bound or unbound states."
+arch=('any')
+url="https://github.com/jaraco/portend"
+license=('MIT')
+depends=('python' 'python-tempora')
+makedepends=('python-setuptools' 'python-setuptools-scm' 'python-tox'
+             'python-tempora')
+checkdepends=('python-pytest')
+source=("https://files.pythonhosted.org/packages/source/${_pkgbase:0:1}/${_pkgbase}/${_pkgbase}-${pkgver}.tar.gz"
+        'LICENSE')
+sha512sums=('017dff68ea85f48d19398f71fbd8189329ca9c27c05d8599dd5e53632eb5ddc6dea322e94c924a0653f25f042a3c8ee1cda5f8450b02f3406a72036d54cd1aaf'
+            '1106afed483b7258e4ae89c5d9459c3834412b31aac90169725ed62d2ab44f61f6f79e894d4c9e4d8bd99e14530ab778df2187784f0b25eaab86d312fad68944')
+
+prepare() {
+    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    # remove linting/style tests, not relevant for downstream packaging
+    for pointless_flag in \
+      --flake8 \
+      --black \
+      --cov \
+      --cov-append \
+      --doctest-modules
+    do
+      sed -i "s/${pointless_flag}//g" pytest.ini
+    done
+}
+
+build() {
+    # setuptools wont find version from git tag
+    export SETUPTOOLS_SCM_PRETEND_VERSION="${pkgver}"
+    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    python ./setup.py build
+}
+
+check() {
+    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    # tox
+    py.test -vvv -s -ra --showlocals --noconftest .
+}
+
+package() {
+    cd "${srcdir}/${_pkgbase}-${pkgver}"
+    python ./setup.py install --root="${pkgdir}" --optimize=1
+
+    # the author has promised to include a LICENSE file in future releases:
+    # https://github.com/jaraco/skeleton/issues/1
+    # for now the LICENSE file has been taken from:
+    # https://github.com/jaraco/skeleton/blob/skeleton/LICENSE
+    install -D -m644 "${srcdir}/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}



More information about the arch-commits mailing list