[arch-commits] Commit in python-astral/trunk (PKGBUILD)
Maxime Gauduin
alucryd at archlinux.org
Tue Feb 11 07:12:14 UTC 2020
Date: Tuesday, February 11, 2020 @ 07:12:13
Author: alucryd
Revision: 566808
upgpkg: python-astral 2.0.2-1
Modified:
python-astral/trunk/PKGBUILD
----------+
PKGBUILD | 20 ++++++++++++++++----
1 file changed, 16 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-02-11 07:03:39 UTC (rev 566807)
+++ PKGBUILD 2020-02-11 07:12:13 UTC (rev 566808)
@@ -3,8 +3,8 @@
# Contributor: Gregoire Seux <grego_aur at familleseux.net>
pkgname=python-astral
-pkgver=1.10.1
-pkgrel=3
+pkgver=2.0.2
+pkgrel=1
pkgdesc='Python calculations for the position of the sun and moon'
arch=(any)
url=https://github.com/sffjunkie/astral
@@ -17,9 +17,21 @@
git
python-setuptools
)
-source=(git+https://github.com/sffjunkie/astral.git#tag=${pkgver})
-sha256sums=('SKIP')
+source=(git+https://github.com/sffjunkie/astral.git#tag=dc03da349c01a5cec1433f81b5a70543d8094a8a)
+sha256sums=(SKIP)
+pkgver() {
+ cd astral
+
+ git describe --tags
+}
+
+prepare() {
+ cd astral
+
+ git cherry-pick -n bf9e27385f45d6e52bcc5b4df201705120fe4c3a
+}
+
build() {
cd astral
More information about the arch-commits
mailing list