[arch-commits] Commit in python-htmlmin/repos/community-any (PKGBUILD PKGBUILD)

Jelle van der Waa jelle at archlinux.org
Sun Sep 6 17:04:55 UTC 2020


    Date: Sunday, September 6, 2020 @ 17:04:55
  Author: jelle
Revision: 699308

archrelease: copy trunk to community-any

Added:
  python-htmlmin/repos/community-any/PKGBUILD
    (from rev 699307, python-htmlmin/trunk/PKGBUILD)
Deleted:
  python-htmlmin/repos/community-any/PKGBUILD

----------+
 PKGBUILD |  118 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 59 insertions(+), 59 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-09-06 14:04:06 UTC (rev 699307)
+++ PKGBUILD	2020-09-06 17:04:55 UTC (rev 699308)
@@ -1,59 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-_pkgname=htmlmin
-pkgbase=python-htmlmin
-pkgname=('htmlmin' 'python-htmlmin')
-pkgver=0.1.12
-_gitcommit=220b1d16442eb4b6fafed338ee3b61f698a01e63
-pkgrel=3
-pkgdesc='Configurable HTML Minifier with safety features'
-url='https://htmlmin.readthedocs.io/en/latest/'
-arch=('any')
-license=('BSD')
-makedepends=('python-sphinx' 'python-setuptools')
-checkdepends=('python-pytest')
-source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/mankyd/htmlmin/archive/${_gitcommit}.tar.gz)
-sha256sums=('9d96f711d1f3d997f29bf83e704fc8dae0233beb400afa278792ff8349cd22a2')
-sha512sums=('6d9db4b6bcdd6d223be8b4e3830da4d63ac6d7d28ee83abd97809b0b901968c994c8434c992fbdd148101ba25d8d786c93657cb5f82881af44dadbba40bf3252')
-
-build() {
-  msg2 "Building python..."
-  cd ${_pkgname}-${_gitcommit}
-   python setup.py build
-   sphinx-build -b text docs docs/_build/text
-   sphinx-build -b man docs docs/_build/man
-}
-
-check() {
-  msg2 "Checking python..."
-  cd ${_pkgname}-${_gitcommit}
-   python setup.py test
-}
-
-package_htmlmin() {
-  depends=('python' 'python-setuptools' 'python-htmlmin')
-  pkgdesc+=' (CLI)'
-  cd ${_pkgname}-${_gitcommit}
-  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-  install -d "${pkgdir}/usr/share/"{licenses,doc,man/man1}
-  ln -s /usr/share/licenses/python-htmlmin "${pkgdir}/usr/share/licenses/${pkgname}"
-  ln -s /usr/share/doc/python-htmlmin "${pkgdir}/usr/share/doc/${pkgname}"
-  ln -s /usr/share/man/man1/python-htmlmin.1.gz "${pkgdir}/usr/share/man/man1/htmlmin.1.gz"
-
-  rm -r "${pkgdir}"/usr/lib
-}
-
-package_python-htmlmin() {
-  depends=('python')
-  cd ${_pkgname}-${_gitcommit}
-  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
-  install -Dm 644 README.rst CHANGELOG -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-  install -Dm 644 docs/_build/text/*.txt -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -Dm 644 docs/_build/man/htmlmin.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
-
-  rm -r "${pkgdir}"/usr/lib/python*/site-packages/htmlmin/tests \
-    "${pkgdir}/usr/bin"
-}
-
-# vim: ts=2 sw=2 et:

Copied: python-htmlmin/repos/community-any/PKGBUILD (from rev 699307, python-htmlmin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-09-06 17:04:55 UTC (rev 699308)
@@ -0,0 +1,59 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+_pkgname=htmlmin
+pkgbase=python-htmlmin
+pkgname=('htmlmin' 'python-htmlmin')
+pkgver=0.1.12
+_gitcommit=220b1d16442eb4b6fafed338ee3b61f698a01e63
+pkgrel=4
+pkgdesc='Configurable HTML Minifier with safety features'
+url='https://htmlmin.readthedocs.io/en/latest/'
+arch=('any')
+license=('BSD')
+makedepends=('python-sphinx' 'python-setuptools')
+checkdepends=('python-pytest')
+source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/mankyd/htmlmin/archive/${_gitcommit}.tar.gz)
+sha256sums=('9d96f711d1f3d997f29bf83e704fc8dae0233beb400afa278792ff8349cd22a2')
+sha512sums=('6d9db4b6bcdd6d223be8b4e3830da4d63ac6d7d28ee83abd97809b0b901968c994c8434c992fbdd148101ba25d8d786c93657cb5f82881af44dadbba40bf3252')
+
+build() {
+  msg2 "Building python..."
+  cd ${_pkgname}-${_gitcommit}
+   python setup.py build
+   sphinx-build -b text docs docs/_build/text
+   sphinx-build -b man docs docs/_build/man
+}
+
+check() {
+  msg2 "Checking python..."
+  cd ${_pkgname}-${_gitcommit}
+   python setup.py test
+}
+
+package_htmlmin() {
+  depends=('python' 'python-setuptools' 'python-htmlmin')
+  pkgdesc+=' (CLI)'
+  cd ${_pkgname}-${_gitcommit}
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  install -d "${pkgdir}/usr/share/"{licenses,doc,man/man1}
+  ln -s /usr/share/licenses/python-htmlmin "${pkgdir}/usr/share/licenses/${pkgname}"
+  ln -s /usr/share/doc/python-htmlmin "${pkgdir}/usr/share/doc/${pkgname}"
+  ln -s /usr/share/man/man1/python-htmlmin.1.gz "${pkgdir}/usr/share/man/man1/htmlmin.1.gz"
+
+  rm -r "${pkgdir}"/usr/lib
+}
+
+package_python-htmlmin() {
+  depends=('python')
+  cd ${_pkgname}-${_gitcommit}
+  python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+  install -Dm 644 README.rst CHANGELOG -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+  install -Dm 644 docs/_build/text/*.txt -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 docs/_build/man/htmlmin.1 "${pkgdir}/usr/share/man/man1/${pkgname}.1"
+
+  rm -r "${pkgdir}"/usr/lib/python*/site-packages/htmlmin/tests \
+    "${pkgdir}/usr/bin"
+}
+
+# vim: ts=2 sw=2 et:


More information about the arch-commits mailing list