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

David Runge dvzrv at archlinux.org
Sat Jul 25 08:30:21 UTC 2020


    Date: Saturday, July 25, 2020 @ 08:30:21
  Author: dvzrv
Revision: 665257

archrelease: copy trunk to community-any

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

----------+
 PKGBUILD |   87 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 43 insertions(+), 44 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-25 08:30:12 UTC (rev 665256)
+++ PKGBUILD	2020-07-25 08:30:21 UTC (rev 665257)
@@ -1,44 +0,0 @@
-# Maintainer: David Runge <dvzrv at archlinux.org>
-
-_name=pendulum
-pkgname=python-pendulum
-pkgver=2.1.1
-pkgrel=2
-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-babel' 'python-freezegun' 'python-pytest' 'python-pytz' )
-source=("${pkgname}-${pkgver}.tar.gz::https://github.com/sdispater/${_name}/archive/${pkgver}.tar.gz")
-sha512sums=('031a979a0c3b1135b0fc838929c10fe7e59610b5337b588a0c22b22087dfc267e9b26d44d7f03c99961c974e412cd427cf83c0537341c7af2a462f51e539537d')
-b2sums=('60c17cda9c770fbf478a66214efbbc24ea700db0898ce94a97d249ae50b6d170eb3e52703de19a94c40d3459ace8239cf5f29d082dde2ee9f4beb82cd348d28b')
-
-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"
-  export PYTHONHASHSEED=0
-  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 665256, python-pendulum/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-07-25 08:30:21 UTC (rev 665257)
@@ -0,0 +1,43 @@
+# Maintainer: David Runge <dvzrv at archlinux.org>
+
+_name=pendulum
+pkgname=python-pendulum
+pkgver=2.1.2
+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-babel' 'python-freezegun' 'python-pytest' 'python-pytz' )
+source=("${pkgname}-${pkgver}.tar.gz::https://github.com/sdispater/${_name}/archive/${pkgver}.tar.gz")
+sha512sums=('c367320ade0d10b7eb9c880286176161b925d7df052f7de85ddd169594bbe778776ea74df451f00186df98be3e32b7399c68ca4b40123e2c456206410e3a1ab2')
+b2sums=('c95cd131fc95a0d19ef11f180cc42126cb8a6ea3aaf4b3bbedbc5ce4c1b37a6624f2a1be92f1a6fd6b1f14f5d20fa5f32e8230f896ab7a216f02f00e85b98738')
+
+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"
+  export PYTHONHASHSEED=0
+  python setup.py install --skip-build \
+    --optimize=1 \
+    --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