[arch-commits] Commit in python-sgmllib3k/repos/extra-any (PKGBUILD PKGBUILD)
Jelle van der Waa
jelle at gemini.archlinux.org
Wed Oct 20 19:05:52 UTC 2021
Date: Wednesday, October 20, 2021 @ 19:05:52
Author: jelle
Revision: 426371
archrelease: copy trunk to extra-any
Added:
python-sgmllib3k/repos/extra-any/PKGBUILD
(from rev 426370, python-sgmllib3k/trunk/PKGBUILD)
Deleted:
python-sgmllib3k/repos/extra-any/PKGBUILD
----------+
PKGBUILD | 54 ++++++++++++++++++++++++++++--------------------------
1 file changed, 28 insertions(+), 26 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-10-20 19:05:43 UTC (rev 426370)
+++ PKGBUILD 2021-10-20 19:05:52 UTC (rev 426371)
@@ -1,26 +0,0 @@
-# Maintainer: Jelle van der Waa <jelle at archlinux.org>
-
-pkgname=python-sgmllib3k
-pkgver=1.0.0
-pkgrel=1
-arch=(any)
-license=("BSD")
-pkgdesc="Python 3 smgllib port"
-url="https://pypi.org/project/sgmllib3k/#description"
-makedepends=(python-setuptools)
-depends=(python)
-_name=${pkgname#python-}
-source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
-sha256sums=('7868fb1c8bfa764c1ac563d3cf369c381d1325d36124933a726f29fcdaa812e9')
-
-build() {
- cd "${_name}-${pkgver}"
- python setup.py build
-}
-
-package() {
- cd "${_name}-${pkgver}"
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
- # Upstream should ship a license file...
- #install -D -m0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
Copied: python-sgmllib3k/repos/extra-any/PKGBUILD (from rev 426370, python-sgmllib3k/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-10-20 19:05:52 UTC (rev 426371)
@@ -0,0 +1,28 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
+
+pkgname=python-sgmllib3k
+pkgver=1.0.0
+pkgrel=2
+arch=(any)
+license=("BSD")
+pkgdesc="Python 3 smgllib port"
+url="https://pypi.org/project/sgmllib3k/#description"
+makedepends=(python-setuptools)
+depends=(python)
+replaces=(python-sgmllib)
+provides=(python-sgmllib)
+_name=${pkgname#python-}
+source=(https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz)
+sha256sums=('7868fb1c8bfa764c1ac563d3cf369c381d1325d36124933a726f29fcdaa812e9')
+
+build() {
+ cd "${_name}-${pkgver}"
+ python setup.py build
+}
+
+package() {
+ cd "${_name}-${pkgver}"
+ python setup.py install --root="$pkgdir" --optimize=1 --skip-build
+ # Upstream should ship a license file...
+ #install -D -m0644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list