[arch-commits] Commit in python-genshi/repos/community-staging-any (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Fri Dec 3 22:25:49 UTC 2021
Date: Friday, December 3, 2021 @ 22:25:49
Author: felixonmars
Revision: 1064904
archrelease: copy trunk to community-staging-any
Added:
python-genshi/repos/community-staging-any/PKGBUILD
(from rev 1064903, python-genshi/trunk/PKGBUILD)
Deleted:
python-genshi/repos/community-staging-any/PKGBUILD
----------+
PKGBUILD | 71 +++++++++++++++++++++++++++++++++----------------------------
1 file changed, 39 insertions(+), 32 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-03 22:25:40 UTC (rev 1064903)
+++ PKGBUILD 2021-12-03 22:25:49 UTC (rev 1064904)
@@ -1,32 +0,0 @@
-# Maintainer : Eli Schwartz <eschwartz at archlinux.org>
-
-pkgname=python-genshi
-pkgver=0.7.5
-pkgrel=3
-pkgdesc="Python toolkit for stream-based generation of output for the web."
-arch=('any')
-url="https://genshi.edgewall.org/"
-license=("BSD")
-depends=('python-six')
-makedepends=('python-setuptools')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/edgewall/genshi/archive/${pkgver}.tar.gz")
-sha256sums=('3c9419a4988a59c566b43e60980a28f63b6850c3fd8e1e513f8ca415be7e5081')
-
-build() {
- cd genshi-${pkgver}
-
- python setup.py build
-}
-
-check() {
- cd genshi-${pkgver}
-
- python setup.py test
-}
-
-package() {
- cd genshi-${pkgver}
-
- python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
- install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING
-}
Copied: python-genshi/repos/community-staging-any/PKGBUILD (from rev 1064903, python-genshi/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-03 22:25:49 UTC (rev 1064904)
@@ -0,0 +1,39 @@
+# Maintainer : Eli Schwartz <eschwartz at archlinux.org>
+
+pkgname=python-genshi
+pkgver=0.7.5
+pkgrel=4
+pkgdesc="Python toolkit for stream-based generation of output for the web."
+arch=('any')
+url="https://genshi.edgewall.org/"
+license=("BSD")
+depends=('python-six')
+makedepends=('python-setuptools')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/edgewall/genshi/archive/${pkgver}.tar.gz"
+ ${pkgname}-python310.patch::https://github.com/edgewall/genshi/commit/a23f3054b96b.patch)
+sha256sums=('3c9419a4988a59c566b43e60980a28f63b6850c3fd8e1e513f8ca415be7e5081'
+ '90b8b57199c9262be33a770f0f1b334fab7873a1f833e37c85d063ff0f42e641')
+
+prepare() {
+ cd genshi-${pkgver}
+ patch -Np1 -i ../${pkgname}-python310.patch
+}
+
+build() {
+ cd genshi-${pkgver}
+
+ python setup.py build
+}
+
+check() {
+ cd genshi-${pkgver}
+
+ python setup.py test
+}
+
+package() {
+ cd genshi-${pkgver}
+
+ python setup.py install --root="${pkgdir}" --optimize=1 --skip-build
+ install -Dm644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/COPYING
+}
More information about the arch-commits
mailing list