[arch-commits] Commit in python-alembic/repos/community-any (PKGBUILD PKGBUILD)
Kpcyrd
kpcyrd at archlinux.org
Mon May 17 22:57:37 UTC 2021
Date: Monday, May 17, 2021 @ 22:57:37
Author: kpcyrd
Revision: 936159
archrelease: copy trunk to community-any
Added:
python-alembic/repos/community-any/PKGBUILD
(from rev 936158, python-alembic/trunk/PKGBUILD)
Deleted:
python-alembic/repos/community-any/PKGBUILD
----------+
PKGBUILD | 91 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 46 insertions(+), 45 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-05-17 22:57:23 UTC (rev 936158)
+++ PKGBUILD 2021-05-17 22:57:37 UTC (rev 936159)
@@ -1,45 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: googol <googol at posteo.de>
-# Contributor: Oliver Mangold <o.mangold at gmail dot com>
-
-pkgname=python-alembic
-pkgver=1.6.2
-pkgrel=1
-pkgdesc='Lightweight database migration tool for usage with SQLAlchemy'
-url='https://github.com/sqlalchemy/alembic'
-arch=('any')
-license=('MIT')
-depends=('python' 'python-mako' 'python-sqlalchemy' 'python-editor' 'python-dateutil')
-makedepends=('python-setuptools' 'python-mako' 'python-sqlalchemy' 'python-editor' 'python-dateutil')
-checkdepends=('python-pytest' 'python-mock')
-source=(https://pypi.org/packages/source/a/alembic/alembic-${pkgver}.tar.gz{,.asc})
-sha512sums=('d5b23812d3e65e9642f39e2596ab86773476a77959938f518438d7659c2da5436432fdc020a5fbda33fe866a047d9558f7a4c5eabe032a6d3f2e6d04ff7928e7'
- 'SKIP')
-b2sums=('0b61282987e974e81b1007d4a66620b1ac2393b175f91011d0d6c450af1038a9ea553f4a7c1906b2e463f7b95617a00629f337547788821b250373f0de18d0b7'
- 'SKIP')
-validpgpkeys=('83AF7ACE251C13E6BB7DEFBD330239C1C4DAFEE1') # Michael Bayer <classic at zzzcomputing.com>
-
-prepare() {
- cd alembic-${pkgver}
- # do not treat warnings as errors
- sed 's|-p no:warnings||g' -i setup.cfg
-}
-
-build() {
- cd alembic-${pkgver}
- python setup.py build
-}
-
-check() {
- cd alembic-${pkgver}
- py.test
-}
-
-package() {
- cd alembic-${pkgver}
- python setup.py install --root="${pkgdir}" --prefix=/usr -O1 --skip-build
- install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
- install -Dm 644 README.rst CHANGES -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:
Copied: python-alembic/repos/community-any/PKGBUILD (from rev 936158, python-alembic/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-05-17 22:57:37 UTC (rev 936159)
@@ -0,0 +1,46 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: googol <googol at posteo.de>
+# Contributor: Oliver Mangold <o.mangold at gmail dot com>
+
+pkgname=python-alembic
+pkgver=1.6.2
+pkgrel=2
+pkgdesc='Lightweight database migration tool for usage with SQLAlchemy'
+url='https://github.com/sqlalchemy/alembic'
+arch=('any')
+license=('MIT')
+depends=('python' 'python-mako' 'python-sqlalchemy' 'python-editor' 'python-dateutil')
+makedepends=('python-setuptools' 'python-mako' 'python-sqlalchemy' 'python-editor' 'python-dateutil')
+checkdepends=('python-pytest' 'python-mock')
+source=(https://pypi.org/packages/source/a/alembic/alembic-${pkgver}.tar.gz{,.asc})
+sha512sums=('d5b23812d3e65e9642f39e2596ab86773476a77959938f518438d7659c2da5436432fdc020a5fbda33fe866a047d9558f7a4c5eabe032a6d3f2e6d04ff7928e7'
+ 'SKIP')
+b2sums=('0b61282987e974e81b1007d4a66620b1ac2393b175f91011d0d6c450af1038a9ea553f4a7c1906b2e463f7b95617a00629f337547788821b250373f0de18d0b7'
+ 'SKIP')
+validpgpkeys=('83AF7ACE251C13E6BB7DEFBD330239C1C4DAFEE1') # Michael Bayer <classic at zzzcomputing.com>
+
+prepare() {
+ cd alembic-${pkgver}
+ # do not treat warnings as errors
+ sed 's|-p no:warnings||g' -i setup.cfg
+}
+
+build() {
+ cd alembic-${pkgver}
+ export PYTHONHASHSEED=0
+ python setup.py build
+}
+
+check() {
+ cd alembic-${pkgver}
+ py.test
+}
+
+package() {
+ cd alembic-${pkgver}
+ python setup.py install --root="${pkgdir}" --prefix=/usr -O1 --skip-build
+ install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -Dm 644 README.rst CHANGES -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list