[arch-commits] Commit in python-pendulum/repos/community-any (PKGBUILD PKGBUILD)

David Runge dvzrv at archlinux.org
Sat Mar 7 14:28:08 UTC 2020


    Date: Saturday, March 7, 2020 @ 14:28:07
  Author: dvzrv
Revision: 591167

archrelease: copy trunk to community-any

Added:
  python-pendulum/repos/community-any/PKGBUILD
    (from rev 591166, python-pendulum/trunk/PKGBUILD)
Deleted:
  python-pendulum/repos/community-any/PKGBUILD

----------+
 PKGBUILD |   84 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 42 insertions(+), 42 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-07 14:28:01 UTC (rev 591166)
+++ PKGBUILD	2020-03-07 14:28:07 UTC (rev 591167)
@@ -1,42 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=pendulum
-pkgname=python-pendulum
-pkgver=2.0.5
-pkgrel=1
-pkgdesc="Python datetimes made easy"
-arch=('any')
-url="https://pendulum.eustace.io/"
-license=('MIT')
-depends=('python' 'python-dateutil' 'python-pytzdata')
-makedepends=('python-dephell')
-checkdepends=('python-pytest' 'python-pytest-cov' 'python-pytz' 'python-babel')
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/sdispater/${_name}/archive/${pkgver}.tar.gz")
-sha512sums=('c358d029c68a4bd45fb5014855f074f89618f841e08612bba3c6e99a78805f731979ad58342174ef820cf7ffcf090dde88870f61d540f3c5d56bbedc1f5cdd58')
-
-prepare() {
-  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
-  cd "$pkgname-$pkgver"
-  dephell deps convert --from pyproject.toml --to setup.py
-}
-
-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 \
-    --prefix=/usr \
-    --root="${pkgdir}"
-  install -vDm 644 {CHANGELOG.md,README.rst} -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}

Copied: python-pendulum/repos/community-any/PKGBUILD (from rev 591166, python-pendulum/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-03-07 14:28:07 UTC (rev 591167)
@@ -0,0 +1,42 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=pendulum
+pkgname=python-pendulum
+pkgver=2.1.0
+pkgrel=1
+pkgdesc="Python datetimes made easy"
+arch=('any')
+url="https://pendulum.eustace.io/"
+license=('MIT')
+depends=('python' 'python-dateutil' 'python-pytzdata')
+makedepends=('python-dephell')
+checkdepends=('python-pytest' 'python-pytest-cov' 'python-pytz' 'python-babel')
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/sdispater/${_name}/archive/${pkgver}.tar.gz")
+sha512sums=('b31e342d6ca4159f84b8a3fdf2019e4e4dd91e32c1a3b67fe0bf413c2009c78f341eaf3ed33d3b51e1e8d2ffa453b14c89e3f45a40659f7c21861d4b5c948745')
+
+prepare() {
+  mv -v "${_name}-$pkgver" "$pkgname-$pkgver"
+  cd "$pkgname-$pkgver"
+  dephell deps convert --from pyproject.toml --to setup.py
+}
+
+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 \
+    --prefix=/usr \
+    --root="${pkgdir}"
+  install -vDm 644 {CHANGELOG.md,README.rst} -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -vDm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}



More information about the arch-commits mailing list