Date: Saturday, February 11, 2023 @ 17:38:36
  Author: felixonmars
Revision: 1399826

upgpkg: python-sphinxcontrib-autoprogram 0.1.8-1

Modified:
  python-sphinxcontrib-autoprogram/trunk/PKGBUILD
Deleted:
  python-sphinxcontrib-autoprogram/trunk/LICENSE

----------+
 LICENSE  |   26 --------------------------
 PKGBUILD |   28 ++++++++++------------------
 2 files changed, 10 insertions(+), 44 deletions(-)

Deleted: LICENSE
===================================================================
--- LICENSE     2023-02-11 17:34:57 UTC (rev 1399825)
+++ LICENSE     2023-02-11 17:38:36 UTC (rev 1399826)
@@ -1,26 +0,0 @@
-Copyright (c) 2014–2018 Hong Minhee <https://hongminhee.org/>
-All rights reserved.
-
-Redistribution and use in source and binary forms, with or without
-modification, are permitted provided that the following conditions are met:
-
-1. Redistributions of source code must retain the above copyright notice, this
-   list of conditions and the following disclaimer.
-2. Redistributions in binary form must reproduce the above copyright notice,
-   this list of conditions and the following disclaimer in the documentation
-   and/or other materials provided with the distribution.
-
-THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
-ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
-WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
-DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
-ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
-(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
-LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
-ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
-(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
-SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
-The views and conclusions contained in the software and documentation are those
-of the authors and should not be interpreted as representing official policies,
-either expressed or implied, of the sphinxcontrib-autoprogram project.

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2023-02-11 17:34:57 UTC (rev 1399825)
+++ PKGBUILD    2023-02-11 17:38:36 UTC (rev 1399826)
@@ -1,39 +1,31 @@
 # Maintainer: Felix Yan <[email protected]>
 
 pkgname=python-sphinxcontrib-autoprogram
-pkgver=0.1.7
-pkgrel=3
+pkgver=0.1.8
+_commit=b6df97b08e1c28684911f7704422da074d4c4e27
+pkgrel=1
 pkgdesc="Documenting CLI programs"
 url="https://github.com/sphinx-contrib/autoprogram";
 license=('BSD')
 arch=('any')
 depends=('python-sphinx' 'python-six')
-makedepends=('python-setuptools')
-source=("$pkgname-$pkgver.tar.gz::https://github.com/sphinx-contrib/autoprogram/archive/$pkgver.tar.gz";
-        
$pkgname-python310.patch::https://github.com/sphinx-contrib/autoprogram/pull/25.patch
-        LICENSE)
-sha512sums=('81679a8bed93274193efb5ac784d72280db32f37156aca5a422af6c8e8abd6d4e4a22e070ee73e9b3194eacf22a8228be0df3329f6fd6a0ff2408a3c7973c8a7'
-            
'c6ee6f19d7c7cff9161f88435766a9671f3932cffd41334f805d138ef37a5620bb6b70ce86ecdcdc02958abeb67a4ee1acff7794bab90690bf5a22f654f72ddd'
-            
'48e8c1f6e914f9e45281fca9d2cbcdc860751413cc255111f2dc560a15e26d34dce3fbb41b83ad42e717124bc9e43f63eb737ac217295b2fad180214b9f9e498')
+makedepends=('git' 'python-setuptools')
+source=("git+https://github.com/sphinx-contrib/autoprogram.git#commit=$_commit";)
+sha512sums=('SKIP')
 
-prepare() {
-  cd autoprogram-$pkgver
-  sed "s/'/\"/g" ../$pkgname-python310.patch | patch -Np1
-}
-
 build() {
-  cd autoprogram-$pkgver
+  cd autoprogram
   python setup.py build
 }
 
 check() {
-  cd autoprogram-$pkgver
+  cd autoprogram
   python setup.py test
 }
 
 package() {
-  cd autoprogram-$pkgver
+  cd autoprogram
   python setup.py install --root="$pkgdir" --optimize=1
 
-  install -Dm644 ../LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
+  install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname/
 }

Reply via email to