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

Felix Yan felixonmars at archlinux.org
Thu Oct 31 18:07:25 UTC 2019


    Date: Thursday, October 31, 2019 @ 18:07:24
  Author: felixonmars
Revision: 521545

archrelease: copy trunk to community-staging-any

Added:
  python-shellingham/repos/community-staging-any/PKGBUILD
    (from rev 521544, python-shellingham/trunk/PKGBUILD)
Deleted:
  python-shellingham/repos/community-staging-any/PKGBUILD

----------+
 PKGBUILD |   96 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 48 insertions(+), 48 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-10-31 18:07:13 UTC (rev 521544)
+++ PKGBUILD	2019-10-31 18:07:24 UTC (rev 521545)
@@ -1,48 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-# Contributor: Clint Valentine <valentine.clint at gmail.com>
-
-_pkgname=shellingham
-pkgbase=python-shellingham
-pkgname=('python-shellingham' 'python2-shellingham')
-pkgver=1.3.1
-pkgrel=2
-pkgdesc="Detect what shell the current Python executable is running in."
-arch=('any')
-url="https://github.com/sarugaku/${_pkgname}"
-license=('ISC')
-makedepends=('python-setuptools' 'python2-setuptools')
-checkdepends=('python-pytest-runner' 'python-pytest-mock'
-              'python2-pytest-runner' 'python2-pytest-mock')
-source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
-sha256sums=('b1d83d3004c4126a86a42ca42c1e5095695c585a18e814bff13aa91ee8398c1e')
-b2sums=('eab42fe8ccf203c4107f3a89046efbf8bd45b5731a1117a431af4932950cb56665582346916d55ada00cbec4800c47aeb3d6673dc0c7ce09db09f48fa7da08f9')
-
-build(){
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    python setup.py build
-    python2 setup.py build
-}
-
-check() {
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-
-    python setup.py pytest
-    python2 setup.py pytest
-}
-
-package_python-shellingham() {
-    depends=('python')
-
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-    install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}
-
-package_python2-shellingham() {
-    depends=('python2')
-
-    cd "${srcdir}"/${_pkgname}-${pkgver}
-    python2 setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-    install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
-}

Copied: python-shellingham/repos/community-staging-any/PKGBUILD (from rev 521544, python-shellingham/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-10-31 18:07:24 UTC (rev 521545)
@@ -0,0 +1,48 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+# Contributor: Clint Valentine <valentine.clint at gmail.com>
+
+_pkgname=shellingham
+pkgbase=python-shellingham
+pkgname=('python-shellingham' 'python2-shellingham')
+pkgver=1.3.1
+pkgrel=3
+pkgdesc="Detect what shell the current Python executable is running in."
+arch=('any')
+url="https://github.com/sarugaku/${_pkgname}"
+license=('ISC')
+makedepends=('python-setuptools' 'python2-setuptools')
+checkdepends=('python-pytest-runner' 'python-pytest-mock'
+              'python2-pytest-runner' 'python2-pytest-mock')
+source=("${_pkgname}-${pkgver}.tar.gz::${url}/archive/${pkgver}.tar.gz")
+sha256sums=('b1d83d3004c4126a86a42ca42c1e5095695c585a18e814bff13aa91ee8398c1e')
+b2sums=('eab42fe8ccf203c4107f3a89046efbf8bd45b5731a1117a431af4932950cb56665582346916d55ada00cbec4800c47aeb3d6673dc0c7ce09db09f48fa7da08f9')
+
+build(){
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python setup.py build
+    python2 setup.py build
+}
+
+check() {
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+
+    python setup.py pytest
+    python2 setup.py pytest
+}
+
+package_python-shellingham() {
+    depends=('python')
+
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+    install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+}
+
+package_python2-shellingham() {
+    depends=('python2')
+
+    cd "${srcdir}"/${_pkgname}-${pkgver}
+    python2 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