[arch-commits] Commit in python-utils/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at gemini.archlinux.org
Fri Dec 31 15:48:15 UTC 2021
Date: Friday, December 31, 2021 @ 15:48:14
Author: dvzrv
Revision: 1090414
archrelease: copy trunk to community-any
Added:
python-utils/repos/community-any/PKGBUILD
(from rev 1090413, python-utils/trunk/PKGBUILD)
Deleted:
python-utils/repos/community-any/PKGBUILD
----------+
PKGBUILD | 81 ++++++++++++++++++++++++++++---------------------------------
1 file changed, 38 insertions(+), 43 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-31 15:48:04 UTC (rev 1090413)
+++ PKGBUILD 2021-12-31 15:48:14 UTC (rev 1090414)
@@ -1,43 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-# Contributor: Maxim Andersson <thesilentboatman at gmail.com>
-# Contributor: NicoHood <archlinux {cat} nicohood {dog} de>
-
-pkgdesc="A module with some convenient utilities not included with the standard Python install"
-pkgname=python-utils
-pkgver=2.6.3
-pkgrel=1
-arch=(any)
-url="https://github.com/WoLpH/python-utils"
-license=(BSD)
-depends=(python-six)
-makedepends=(python-setuptools)
-checkdepends=(python-pytest-runner)
-source=("https://pypi.org/packages/source/p/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.asc})
-sha512sums=('3c5834976408eae6b37aa07581960ee5511765f9ea1e6347523465a93ca801bc2d71f785a73a2050706dad2c09ffcfb5227715a9b4d0700904d31eb1295b30b6'
- 'SKIP')
-b2sums=('6df19348feba000dccc516704db38af299613c70505cd7fa16a2e37c4a46b1cff7ee9bf164be13da33a3b4eb6b9577b76202bfbffdaed47b1b7b60e948d349ac'
- 'SKIP')
-validpgpkeys=('149325FD15904E9C4EB89E95E81444E9CE1F695D') # Rick van Hattem <wolph at wol.ph>
-
-prepare() {
- cd "${pkgname}-${pkgver}"
- rm -v pytest.ini
-}
-
-build() {
- cd "${pkgname}-${pkgver}"
- python setup.py build
-}
-
-check() {
- cd "${pkgname}-${pkgver}"
- export PYTHONPATH="${PWD}/build:${PYTHONPATH}"
- pytest -v
-}
-
-package() {
- cd "${pkgname}-${pkgver}"
- python setup.py install --optimize=1 --root="${pkgdir}"
- install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
- install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
Copied: python-utils/repos/community-any/PKGBUILD (from rev 1090413, python-utils/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-31 15:48:14 UTC (rev 1090414)
@@ -0,0 +1,38 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+# Contributor: Maxim Andersson <thesilentboatman at gmail.com>
+# Contributor: NicoHood <archlinux {cat} nicohood {dog} de>
+
+pkgdesc="A module with some convenient utilities not included with the standard Python install"
+pkgname=python-utils
+pkgver=2.7.0
+pkgrel=1
+arch=(any)
+url="https://github.com/WoLpH/python-utils"
+license=(BSD)
+depends=(python-six)
+makedepends=(python-setuptools)
+checkdepends=(python-pytest-runner)
+source=("https://pypi.org/packages/source/p/${pkgname}/${pkgname}-${pkgver}.tar.gz"{,.asc})
+sha512sums=('3401c9ad2e4933d0d40d4bc90f1dbe212e672289e7239a4a46d79a04e80f85bb0def67324f0184ca397ec3708cb935839ffe922a202de9c911198ea86d88e2c5'
+ 'SKIP')
+b2sums=('5cd0671ad1e003932aed0bf0b69326d907013d3f739e833f218600ee056d76bc87dd2a424f5459654de30dacc3378c14f10af1664344ac66813410d261718c61'
+ 'SKIP')
+validpgpkeys=('149325FD15904E9C4EB89E95E81444E9CE1F695D') # Rick van Hattem <wolph at wol.ph>
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py build
+}
+
+check() {
+ cd "${pkgname}-${pkgver}"
+ export PYTHONPATH="${PWD}/build:${PYTHONPATH}"
+ pytest -v -c /dev/null
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ python setup.py install --optimize=1 --root="${pkgdir}"
+ install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
More information about the arch-commits
mailing list