Date: Thursday, October 5, 2017 @ 12:13:17
  Author: foxxx0
Revision: 261683

upgpkg: python-cheroot 5.8.3-2

bump pkgrel after re-import from AUR, dep of ceph

Added:
  python-cheroot/trunk/LICENSE
Modified:
  python-cheroot/trunk/PKGBUILD

----------+
 LICENSE  |    7 +++++++
 PKGBUILD |   43 +++++++++++++++++++++++++++----------------
 2 files changed, 34 insertions(+), 16 deletions(-)

Added: LICENSE
===================================================================
--- LICENSE                             (rev 0)
+++ LICENSE     2017-10-05 12:13:17 UTC (rev 261683)
@@ -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.

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-10-05 12:00:08 UTC (rev 261682)
+++ PKGBUILD    2017-10-05 12:13:17 UTC (rev 261683)
@@ -1,33 +1,44 @@
-# Maintainer: Jelle van der Waa <[email protected]>
+# Maintainer: Thore Bödecker <[email protected]>
 # Contributor: wangjiezhe <wangjiezhe AT yandex DOT com>
 
-pkgbase=cheroot
-pkgname=(python-${pkgbase} python2-${pkgbase})
-pkgver=5.4.0
-pkgrel=1
+pkgbase='python-cheroot'
+_pkgbase="${pkgbase//python-/}"
+pkgname=('python-cheroot' 'python2-cheroot')
 pkgdesc="Highly-optimized, pure-python HTTP server"
+pkgver=5.8.3
+pkgrel=2
 arch=('any')
 url="https://github.com/cherrypy/cheroot";
-license=('BSD')
-source=(https://pypi.python.org/packages/57/6e/f2dd0b84e7430381316ee7f513a289a870a6a6a70d0dbf80f50f6b4ffcd8/cheroot-5.4.0.tar.gz)
-md5sums=('2cb426173029c2704477a7bee451dc61')
+license=('MIT')
+makedepends=('python-six' 'python2-six' 'python-setuptools-scm'
+  'python2-setuptools-scm')
+source=("${pkgbase}-${pkgver}.tar.gz::https://pypi.python.org/packages/8c/52/a437c38df445524b3c7ec99b959c11764a0fc2275eb203dd692cfe050a23/${_pkgbase}-${pkgver}.tar.gz";
+        "LICENSE")
+sha512sums=('8aaffd0a5a941bcfb1d24b4d7f95e10d595a4ae6f0a9957cc19dc3620a1318473956743faa50b2df58bc4db6969659d4a7c8228672bb39792417976d1312c4b6'
+            
'1106afed483b7258e4ae89c5d9459c3834412b31aac90169725ed62d2ab44f61f6f79e894d4c9e4d8bd99e14530ab778df2187784f0b25eaab86d312fad68944')
 
-prepare() {
-  cp -a "$srcdir/$pkgbase-$pkgver"{,-py2}
-}
-
 package_python-cheroot() {
   depends=('python-six')
-  makedepends=('python-setuptools-scm')
-  cd "$srcdir/$pkgbase-$pkgver"
+  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"
 }
 
 package_python2-cheroot() {
   depends=('python2-six')
-  makedepends=('python2-setuptools-scm')
-  cd "$srcdir/$pkgbase-$pkgver-py2"
+  cd "${srcdir}/${_pkgbase}-${pkgver}"
   python2 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"
 }
 
 # vim:set ts=2 sw=2 et:

Reply via email to