Chih-Hsuan Yen pushed to branch main at Arch Linux / Packaging / Packages / 
python-croniter


Commits:
5d88e9ae by Chih-Hsuan Yen at 2023-08-25T00:45:47+08:00
upgpkg: 1.4.1-2; imported from AUR for upcoming buildbot

See: https://github.com/buildbot/buildbot/pull/7036

* Remove unneeded files
* Drop python-natsort, which is not needed since [1]
* Switch away from PyPI sources following [2]

[1] 
https://github.com/kiorky/croniter/commit/d0ed29433a4a8b2685bc6428055476dddc082730
[2] 
https://gitlab.archlinux.org/archlinux/rfcs/-/blob/master/rfcs/0020-sources-for-python-packaging.rst

- - - - -


3 changed files:

- − .SRCINFO
- − .gitignore
- PKGBUILD


Changes:

=====================================
.SRCINFO deleted
=====================================
@@ -1,19 +0,0 @@
-pkgbase = python-croniter
-       pkgdesc = A Python module to provide iteration for datetime object.
-       pkgver = 1.4.1
-       pkgrel = 1
-       url = https://github.com/kiorky/croniter
-       arch = any
-       license = MIT
-       checkdepends = python-pytest
-       checkdepends = python-pytz
-       makedepends = python-build
-       makedepends = python-installer
-       makedepends = python-setuptools
-       makedepends = python-wheel
-       depends = python-dateutil
-       depends = python-natsort
-       source = 
https://files.pythonhosted.org/packages/source/c/croniter/croniter-1.4.1.tar.gz
-       sha256sums = 
1a6df60eacec3b7a0aa52a8f2ef251ae3dd2a7c7c8b9874e73e791636d55a361
-
-pkgname = python-croniter


=====================================
.gitignore deleted
=====================================
@@ -1,7 +0,0 @@
-# Ignore everything
-*
-
-# But not these files...
-!.gitignore
-!PKGBUILD
-!.SRCINFO


=====================================
PKGBUILD
=====================================
@@ -3,16 +3,16 @@
 pkgname=python-croniter
 _name=${pkgname#python-}
 pkgver=1.4.1
-pkgrel=1
+pkgrel=2
 pkgdesc="A Python module to provide iteration for datetime object."
 arch=('any')
 url="https://github.com/kiorky/croniter";
 license=('MIT')
-depends=('python-dateutil' 'python-natsort')
+depends=('python' 'python-dateutil')
 makedepends=('python-build' 'python-installer' 'python-setuptools' 
'python-wheel')
 checkdepends=('python-pytest' 'python-pytz')
-source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz";)
-sha256sums=('1a6df60eacec3b7a0aa52a8f2ef251ae3dd2a7c7c8b9874e73e791636d55a361')
+source=("https://github.com/kiorky/croniter/archive/refs/tags/$pkgver/$pkgname-$pkgver.tar.gz";)
+sha256sums=('25f3d6f7eb20366405aae60d9fa16fc1dfc9ad5e1f8c737d59123a04a60936b7')
 
 build() {
   cd "$_name-$pkgver"



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-croniter/-/commit/5d88e9aeb6b05f164cfe25bd0ee39378c4e83e71

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/python-croniter/-/commit/5d88e9aeb6b05f164cfe25bd0ee39378c4e83e71
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to