[arch-commits] Commit in hotdoc/repos/community-x86_64 (PKGBUILD PKGBUILD)

Eli Schwartz eschwartz at archlinux.org
Wed Mar 3 02:26:08 UTC 2021


    Date: Wednesday, March 3, 2021 @ 02:26:08
  Author: eschwartz
Revision: 878820

archrelease: copy trunk to community-x86_64

Added:
  hotdoc/repos/community-x86_64/PKGBUILD
    (from rev 878819, hotdoc/trunk/PKGBUILD)
Deleted:
  hotdoc/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   82 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 45 insertions(+), 37 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-03-03 02:25:52 UTC (rev 878819)
+++ PKGBUILD	2021-03-03 02:26:08 UTC (rev 878820)
@@ -1,37 +0,0 @@
-# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
-
-_pkgname=hotdoc
-pkgname=hotdoc
-pkgver=0.13.1
-pkgrel=1
-pkgdesc="the tastiest API documentation system"
-arch=('x86_64')
-url="https://github.com/${_pkgname}/${_pkgname}"
-license=('LGPL')
-_py_deps=('appdirs' 'cchardet' 'dbus-deviation' 'lxml' 'networkx' 'pkgconfig'
-          'schema' 'toposort' 'wheezy-template' 'yaml')
-depends=("${_py_deps[@]/#/python-}" 'json-glib')
-makedepends=('python-setuptools' 'cmake')
-optdepends=('clang: for the C extension'
-            'llvm: for the C extension')
-source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
-sha256sums=('caec543e575835dcaab46c39cfbe4ac9c8f9bfbd1951fabbe8fd19fa6add5c2b')
-b2sums=('a9d316258ed629168fa482bfc8b2d97c745f8cfbeb728277c8accf863eb4ab080faaa795cae5258d8ffb2b08c63ce2c7e4c0f778bdbc2e7e55a1e18418653cef')
-
-build() {
-    cd "${srcdir}"/${pkgname}-${pkgver}
-
-    python setup.py build
-}
-
-check() {
-    cd "${srcdir}"/${pkgname}-${pkgver}/build/lib.linux-$CARCH-3*
-
-    python -m unittest
-}
-
-package() {
-    cd "${srcdir}"/${pkgname}-${pkgver}
-
-    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-}

Copied: hotdoc/repos/community-x86_64/PKGBUILD (from rev 878819, hotdoc/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-03-03 02:26:08 UTC (rev 878820)
@@ -0,0 +1,45 @@
+# Maintainer: Eli Schwartz <eschwartz at archlinux.org>
+
+_pkgname=hotdoc
+pkgname=hotdoc
+pkgver=0.13.2
+pkgrel=1
+pkgdesc="the tastiest API documentation system"
+arch=('x86_64')
+url="https://github.com/${_pkgname}/${_pkgname}"
+license=('LGPL')
+_py_deps=('appdirs' 'cchardet' 'dbus-deviation' 'lxml' 'networkx' 'pkgconfig'
+          'schema' 'toposort' 'wheezy-template' 'yaml')
+depends=("${_py_deps[@]/#/python-}" 'json-glib')
+makedepends=('python-setuptools' 'cmake')
+optdepends=('clang: for the C extension'
+            'llvm: for the C extension')
+source=("https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
+sha256sums=('243bc53fa8ed321b00066a673ab518e0e63c6d34bdd78eab56c68ecceb967916')
+b2sums=('cfe4d1bbb9ea912af9efadfd332dd29c731bd2c3db471e5fd1eb1b659af3810bcdec7b6a9be73a03b3c7fe65558f0a352eadbe2573dcec6c11579c75b33f28dd')
+
+prepare() {
+    cd "${srcdir}"/${pkgname}-${pkgver}
+
+    # remove crucial file that isn't in git and crucially prints '42' when imported
+    # (just kidding, the sdist accidentally disted it)
+    rm hotdoc/foo.py
+}
+
+build() {
+    cd "${srcdir}"/${pkgname}-${pkgver}
+
+    python setup.py build
+}
+
+check() {
+    cd "${srcdir}"/${pkgname}-${pkgver}/build/lib.linux-$CARCH-3*
+
+    python -m unittest
+}
+
+package() {
+    cd "${srcdir}"/${pkgname}-${pkgver}
+
+    python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+}



More information about the arch-commits mailing list