[arch-commits] Commit in python-aiosmtpd/repos/community-any (PKGBUILD PKGBUILD)
David Runge
dvzrv at archlinux.org
Thu Feb 11 11:15:15 UTC 2021
Date: Thursday, February 11, 2021 @ 11:15:15
Author: dvzrv
Revision: 855800
archrelease: copy trunk to community-any
Added:
python-aiosmtpd/repos/community-any/PKGBUILD
(from rev 855799, python-aiosmtpd/trunk/PKGBUILD)
Deleted:
python-aiosmtpd/repos/community-any/PKGBUILD
----------+
PKGBUILD | 78 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 39 insertions(+), 39 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-02-11 11:15:08 UTC (rev 855799)
+++ PKGBUILD 2021-02-11 11:15:15 UTC (rev 855800)
@@ -1,39 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=aiosmtpd
-pkgname=python-aiosmtpd
-pkgver=1.2.4
-pkgrel=1
-pkgdesc="An asyncio based SMTP server"
-arch=('any')
-url="https://github.com/aio-libs/aiosmtpd"
-license=('Apache')
-depends=('python-atpublic')
-makedepends=('python-setuptools')
-checkdepends=('python-pytest')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
-sha512sums=('dc6041e284daceb89f8ca83b5cd715a5811eb4cf76504c23112e24c97d6c88480667c713ce094c2dcbc5b12a80605e551b6aadc4b1ce499089be68c7c4e7df8c')
-b2sums=('accecbc3fe66efc748d0bc3c85504d731005b907435fada5b3c7ae0f7778e89f19d7c15a7edb194a7ba6310a450132728557a441b3fb2958d3658b0a15d3ccf5')
-
-prepare() {
- mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
-}
-
-build() {
- cd "$pkgname-$pkgver"
- python setup.py build
-}
-
-check() {
- cd "$pkgname-$pkgver"
- export PYTHONPATH="build:${PYTHONPATH}"
- pytest -v
-}
-
-package() {
- cd "$pkgname-$pkgver"
- python setup.py install --skip-build \
- --optimize=1 \
- --root="${pkgdir}"
- install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
-}
Copied: python-aiosmtpd/repos/community-any/PKGBUILD (from rev 855799, python-aiosmtpd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-02-11 11:15:15 UTC (rev 855800)
@@ -0,0 +1,39 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=aiosmtpd
+pkgname=python-aiosmtpd
+pkgver=1.3.0
+pkgrel=1
+pkgdesc="An asyncio based SMTP server"
+arch=('any')
+url="https://github.com/aio-libs/aiosmtpd"
+license=('Apache')
+depends=('python-atpublic' 'python-attrs')
+makedepends=('python-setuptools')
+checkdepends=('python-pytest' 'python-pytest-mock')
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz")
+sha512sums=('977f6e6ef2e44f50ba6b667e645b3fa3cd9ec0b08c107c59c843042184323962a6c24b60a550e38b9a7248d81c0fc03269b217caf445a4703f66e2730072c99d')
+b2sums=('fb9dddd093aec25a5a828d60aa2d68a0fc920a08fc19059c4a680811cc779c2c6d76dc321c4fcef85e515129653b0c666cdeef87b40f8b54a68de92d3174c528')
+
+prepare() {
+ mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
+}
+
+build() {
+ cd "$pkgname-$pkgver"
+ python setup.py build
+}
+
+check() {
+ cd "$pkgname-$pkgver"
+ export PYTHONPATH="build:${PYTHONPATH}"
+ pytest -v --ignore=aiosmtpd/qa/
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ python setup.py install --skip-build \
+ --optimize=1 \
+ --root="${pkgdir}"
+ install -vDm 644 README.rst -t "${pkgdir}/usr/share/doc/${pkgname}"
+}
More information about the arch-commits
mailing list