diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 00000000..40e81477 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,26 @@ +pkgbase = python2-lektor + pkgdesc = A static content management system. + pkgver = 1.2.1 + pkgrel = 1 + url = https://www.getlektor.com + arch = any + license = BSD + makedepends = python2-setuptools + depends = python2 + depends = python2-pip + depends = python2-requests + depends = python2-babel + depends = python2-flask + depends = python2-watchdog + depends = python2-click + depends = python2-pyasn1 + depends = python2-ndg-httpsclient + depends = python2-mistune + depends = python2-inifile + depends = exifread + options = !emptydirs + source = https://github.com/lektor/lektor/archive/1.2.1.tar.gz + sha256sums = 2bd739579d4298547dd6ec5a1da74bf48236a66c1813bd07e44306fb750224de + +pkgname = python2-lektor + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 00000000..b83e3e41 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,21 @@ +# Maintainer: Michael Gerhaeuser +pkgname=python2-lektor +_pkgname=lektor +pkgver=1.2.1 +pkgrel=1 +pkgdesc="A static content management system." +arch=(any) +url="https://www.getlektor.com" +license=('BSD') +depends=(python2 python2-pip python2-requests python2-babel + python2-flask python2-watchdog python2-click python2-pyasn1 + python2-ndg-httpsclient python2-mistune python2-inifile exifread) +makedepends=(python2-setuptools) +options=(!emptydirs) +source=("https://github.com/$_pkgname/$_pkgname/archive/$pkgver.tar.gz") +sha256sums=("2bd739579d4298547dd6ec5a1da74bf48236a66c1813bd07e44306fb750224de") + +package() { + cd "$srcdir/$_pkgname-$pkgver" + python2 setup.py install --root="$pkgdir/" --optimize=1 +} -- 2.51.2 From 055bd927a2b49605ae056cd3987a517c5882fa0d Mon Sep 17 00:00:00 2001 From: Michael Gerhaeuser Date: Sun, 7 Feb 2016 20:40:16 +0100 Subject: [PATCH 02/15] Rename package --- .SRCINFO | 4 ++-- PKGBUILD | 7 +++---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 40e81477..c87cb51e 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,4 +1,4 @@ -pkgbase = python2-lektor +pkgbase = lektor pkgdesc = A static content management system. pkgver = 1.2.1 pkgrel = 1 @@ -22,5 +22,5 @@ pkgbase = python2-lektor source = https://github.com/lektor/lektor/archive/1.2.1.tar.gz sha256sums = 2bd739579d4298547dd6ec5a1da74bf48236a66c1813bd07e44306fb750224de -pkgname = python2-lektor +pkgname = lektor diff --git a/PKGBUILD b/PKGBUILD index b83e3e41..6fdeb94a 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,6 +1,5 @@ # Maintainer: Michael Gerhaeuser -pkgname=python2-lektor -_pkgname=lektor +pkgname=lektor pkgver=1.2.1 pkgrel=1 pkgdesc="A static content management system." @@ -12,10 +11,10 @@ depends=(python2 python2-pip python2-requests python2-babel python2-ndg-httpsclient python2-mistune python2-inifile exifread) makedepends=(python2-setuptools) options=(!emptydirs) -source=("https://github.com/$_pkgname/$_pkgname/archive/$pkgver.tar.gz") +source=("https://github.com/$pkgname/$pkgname/archive/$pkgver.tar.gz") sha256sums=("2bd739579d4298547dd6ec5a1da74bf48236a66c1813bd07e44306fb750224de") package() { - cd "$srcdir/$_pkgname-$pkgver" + cd "$srcdir/$pkgname-$pkgver" python2 setup.py install --root="$pkgdir/" --optimize=1 } -- 2.51.2 From 322ca014ece189bc13e73559dadbad0ff1b7683b Mon Sep 17 00:00:00 2001 From: Michael Gerhaeuser Date: Sun, 7 Feb 2016 21:21:15 +0100 Subject: [PATCH 03/15] Use pypi package as source The pypi package is prebuilt and contains static assets, e.g. js and css files that are required to use the editing feature of the lektor dev server --- .SRCINFO | 6 +++--- PKGBUILD | 9 +++++---- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index c87cb51e..576db2a2 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = lektor pkgdesc = A static content management system. pkgver = 1.2.1 - pkgrel = 1 + pkgrel = 2 url = https://www.getlektor.com arch = any license = BSD @@ -19,8 +19,8 @@ pkgbase = lektor depends = python2-inifile depends = exifread options = !emptydirs - source = https://github.com/lektor/lektor/archive/1.2.1.tar.gz - sha256sums = 2bd739579d4298547dd6ec5a1da74bf48236a66c1813bd07e44306fb750224de + source = https://pypi.python.org/packages/source/L/Lektor/Lektor-1.2.1.tar.gz + sha256sums = 7985085263fec22bc91628ca5b275a2a35571977daa0d39dd2c4acb01c72ce22 pkgname = lektor diff --git a/PKGBUILD b/PKGBUILD index 6fdeb94a..1cf032f6 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,8 @@ # Maintainer: Michael Gerhaeuser pkgname=lektor +_pkgname=Lektor pkgver=1.2.1 -pkgrel=1 +pkgrel=2 pkgdesc="A static content management system." arch=(any) url="https://www.getlektor.com" @@ -11,10 +12,10 @@ depends=(python2 python2-pip python2-requests python2-babel python2-ndg-httpsclient python2-mistune python2-inifile exifread) makedepends=(python2-setuptools) options=(!emptydirs) -source=("https://github.com/$pkgname/$pkgname/archive/$pkgver.tar.gz") -sha256sums=("2bd739579d4298547dd6ec5a1da74bf48236a66c1813bd07e44306fb750224de") +source=("https://pypi.python.org/packages/source/L/$_pkgname/$_pkgname-$pkgver.tar.gz") +sha256sums=("7985085263fec22bc91628ca5b275a2a35571977daa0d39dd2c4acb01c72ce22") package() { - cd "$srcdir/$pkgname-$pkgver" + cd "$srcdir/$_pkgname-$pkgver" python2 setup.py install --root="$pkgdir/" --optimize=1 } -- 2.51.2 From a762478b76c0df849ee1b7d31bc2f7d26da19d82 Mon Sep 17 00:00:00 2001 From: Michael Gerhaeuser Date: Mon, 11 Apr 2016 06:17:18 +0200 Subject: [PATCH 04/15] Update Lektor to 2.0 --- .SRCINFO | 8 ++++---- PKGBUILD | 11 ++++++----- 2 files changed, 10 insertions(+), 9 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 576db2a2..2f66acf4 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = lektor pkgdesc = A static content management system. - pkgver = 1.2.1 - pkgrel = 2 + pkgver = 2.0.0 + pkgrel = 1 url = https://www.getlektor.com arch = any license = BSD @@ -19,8 +19,8 @@ pkgbase = lektor depends = python2-inifile depends = exifread options = !emptydirs - source = https://pypi.python.org/packages/source/L/Lektor/Lektor-1.2.1.tar.gz - sha256sums = 7985085263fec22bc91628ca5b275a2a35571977daa0d39dd2c4acb01c72ce22 + source = https://pypi.python.org/packages/source/L/Lektor/Lektor-2.0.tar.gz + sha256sums = e8a35a27c24a12b1c4a51d3fb72acfdf8580897f55a8cba9707d0259dad68b82 pkgname = lektor diff --git a/PKGBUILD b/PKGBUILD index 1cf032f6..081153d8 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,8 +1,9 @@ # Maintainer: Michael Gerhaeuser pkgname=lektor _pkgname=Lektor -pkgver=1.2.1 -pkgrel=2 +pkgver=2.0.0 +_pkgver=2.0 +pkgrel=1 pkgdesc="A static content management system." arch=(any) url="https://www.getlektor.com" @@ -12,10 +13,10 @@ depends=(python2 python2-pip python2-requests python2-babel python2-ndg-httpsclient python2-mistune python2-inifile exifread) makedepends=(python2-setuptools) options=(!emptydirs) -source=("https://pypi.python.org/packages/source/L/$_pkgname/$_pkgname-$pkgver.tar.gz") -sha256sums=("7985085263fec22bc91628ca5b275a2a35571977daa0d39dd2c4acb01c72ce22") +source=("https://pypi.python.org/packages/source/L/$_pkgname/$_pkgname-$_pkgver.tar.gz") +sha256sums=("e8a35a27c24a12b1c4a51d3fb72acfdf8580897f55a8cba9707d0259dad68b82") package() { - cd "$srcdir/$_pkgname-$pkgver" + cd "$srcdir/$_pkgname-$_pkgver" python2 setup.py install --root="$pkgdir/" --optimize=1 } -- 2.51.2 From 6dd8b66cb88c95586d46cca1b6b326458a556700 Mon Sep 17 00:00:00 2001 From: Michael Gerhaeuser Date: Wed, 13 Apr 2016 06:27:54 +0200 Subject: [PATCH 05/15] Upgrade to 2.2 --- .SRCINFO | 6 +++--- PKGBUILD | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 2f66acf4..8df1944a 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = lektor pkgdesc = A static content management system. - pkgver = 2.0.0 + pkgver = 2.2.0 pkgrel = 1 url = https://www.getlektor.com arch = any @@ -19,8 +19,8 @@ pkgbase = lektor depends = python2-inifile depends = exifread options = !emptydirs - source = https://pypi.python.org/packages/source/L/Lektor/Lektor-2.0.tar.gz - sha256sums = e8a35a27c24a12b1c4a51d3fb72acfdf8580897f55a8cba9707d0259dad68b82 + source = https://pypi.python.org/packages/source/L/Lektor/Lektor-2.2.tar.gz + sha256sums = 50316f0b92d128389de03b88c4c532f38c2eb3360909a239251b503c9706e60c pkgname = lektor diff --git a/PKGBUILD b/PKGBUILD index 081153d8..6f177a6a 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,8 +1,8 @@ # Maintainer: Michael Gerhaeuser pkgname=lektor _pkgname=Lektor -pkgver=2.0.0 -_pkgver=2.0 +pkgver=2.2.0 +_pkgver=2.2 pkgrel=1 pkgdesc="A static content management system." arch=(any) @@ -14,7 +14,7 @@ depends=(python2 python2-pip python2-requests python2-babel makedepends=(python2-setuptools) options=(!emptydirs) source=("https://pypi.python.org/packages/source/L/$_pkgname/$_pkgname-$_pkgver.tar.gz") -sha256sums=("e8a35a27c24a12b1c4a51d3fb72acfdf8580897f55a8cba9707d0259dad68b82") +sha256sums=("50316f0b92d128389de03b88c4c532f38c2eb3360909a239251b503c9706e60c") package() { cd "$srcdir/$_pkgname-$_pkgver" -- 2.51.2 From 5e77d4b75cec916b7ee6c65e0c4852003dbf2b43 Mon Sep 17 00:00:00 2001 From: Michael Gerhaeuser Date: Sun, 12 Jun 2016 06:25:58 +0200 Subject: [PATCH 06/15] Update to 2.3, adjust download path --- .SRCINFO | 6 +++--- PKGBUILD | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 8df1944a..80216611 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = lektor pkgdesc = A static content management system. - pkgver = 2.2.0 + pkgver = 2.3.0 pkgrel = 1 url = https://www.getlektor.com arch = any @@ -19,8 +19,8 @@ pkgbase = lektor depends = python2-inifile depends = exifread options = !emptydirs - source = https://pypi.python.org/packages/source/L/Lektor/Lektor-2.2.tar.gz - sha256sums = 50316f0b92d128389de03b88c4c532f38c2eb3360909a239251b503c9706e60c + source = https://files.pythonhosted.org/packages/source/L/Lektor/Lektor-2.3.tar.gz + sha256sums = 3b61045b79e05c25ea47cdc0de1e27404ec1f9ea1103024b642a7b7dd7575492 pkgname = lektor diff --git a/PKGBUILD b/PKGBUILD index 6f177a6a..a986cd31 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,8 +1,8 @@ # Maintainer: Michael Gerhaeuser pkgname=lektor _pkgname=Lektor -pkgver=2.2.0 -_pkgver=2.2 +pkgver=2.3.0 +_pkgver=2.3 pkgrel=1 pkgdesc="A static content management system." arch=(any) @@ -13,8 +13,8 @@ depends=(python2 python2-pip python2-requests python2-babel python2-ndg-httpsclient python2-mistune python2-inifile exifread) makedepends=(python2-setuptools) options=(!emptydirs) -source=("https://pypi.python.org/packages/source/L/$_pkgname/$_pkgname-$_pkgver.tar.gz") -sha256sums=("50316f0b92d128389de03b88c4c532f38c2eb3360909a239251b503c9706e60c") +source=("https://files.pythonhosted.org/packages/source/L/$_pkgname/$_pkgname-$_pkgver.tar.gz") +sha256sums=("3b61045b79e05c25ea47cdc0de1e27404ec1f9ea1103024b642a7b7dd7575492") package() { cd "$srcdir/$_pkgname-$_pkgver" -- 2.51.2 From 45086cb31a900f21c494faa4f339947456adbbc2 Mon Sep 17 00:00:00 2001 From: Michael Gerhaeuser Date: Sun, 25 Jun 2017 18:05:20 +0200 Subject: [PATCH 07/15] Upgrade to 3.0.1, add license According to [1], BSD licensed packages are treated as custom licenses for the sake of file system but as common licenses for the sake of the license variable. So license=('BSD') is correct but the LICENSE still has to be copied to /usr/share/licenses [1] https://wiki.archlinux.org/index.php/Arch_packaging_standards#Licenses --- .SRCINFO | 8 +++++--- PKGBUILD | 13 ++++++++----- 2 files changed, 13 insertions(+), 8 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 80216611..3eed6ed6 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,8 @@ +# Generated by mksrcinfo v8 +# Sun Jun 25 16:04:13 UTC 2017 pkgbase = lektor pkgdesc = A static content management system. - pkgver = 2.3.0 + pkgver = 3.0.1 pkgrel = 1 url = https://www.getlektor.com arch = any @@ -19,8 +21,8 @@ pkgbase = lektor depends = python2-inifile depends = exifread options = !emptydirs - source = https://files.pythonhosted.org/packages/source/L/Lektor/Lektor-2.3.tar.gz - sha256sums = 3b61045b79e05c25ea47cdc0de1e27404ec1f9ea1103024b642a7b7dd7575492 + source = https://files.pythonhosted.org/packages/source/L/Lektor/Lektor-3.0.1.tar.gz + sha256sums = 7f0fd1b9b3b8deb2e4c4d633edbf4eff6577e2fcbed29ea68997dd1e0bede429 pkgname = lektor diff --git a/PKGBUILD b/PKGBUILD index a986cd31..81a88594 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,8 +1,7 @@ # Maintainer: Michael Gerhaeuser pkgname=lektor _pkgname=Lektor -pkgver=2.3.0 -_pkgver=2.3 +pkgver=3.0.1 pkgrel=1 pkgdesc="A static content management system." arch=(any) @@ -13,10 +12,14 @@ depends=(python2 python2-pip python2-requests python2-babel python2-ndg-httpsclient python2-mistune python2-inifile exifread) makedepends=(python2-setuptools) options=(!emptydirs) -source=("https://files.pythonhosted.org/packages/source/L/$_pkgname/$_pkgname-$_pkgver.tar.gz") -sha256sums=("3b61045b79e05c25ea47cdc0de1e27404ec1f9ea1103024b642a7b7dd7575492") +source=("https://files.pythonhosted.org/packages/source/L/$_pkgname/$_pkgname-$pkgver.tar.gz") +sha256sums=("7f0fd1b9b3b8deb2e4c4d633edbf4eff6577e2fcbed29ea68997dd1e0bede429") package() { - cd "$srcdir/$_pkgname-$_pkgver" + cd "$srcdir/$_pkgname-$pkgver" python2 setup.py install --root="$pkgdir/" --optimize=1 + + # license + install -Dm 644 LICENSE \ + "$pkgdir/usr/share/licenses/${pkgname}/LICENSE" } -- 2.51.2 From 693be18157ecc8119a1fff62f88bc35db80c88c1 Mon Sep 17 00:00:00 2001 From: Michael Gerhaeuser Date: Mon, 5 Feb 2018 19:14:25 +0100 Subject: [PATCH 08/15] Update to Lektor 3.1 --- .SRCINFO | 8 ++++---- PKGBUILD | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 3eed6ed6..51b7e7f4 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Sun Jun 25 16:04:13 UTC 2017 +# Mon Feb 5 18:13:21 UTC 2018 pkgbase = lektor pkgdesc = A static content management system. - pkgver = 3.0.1 + pkgver = 3.1 pkgrel = 1 url = https://www.getlektor.com arch = any @@ -21,8 +21,8 @@ pkgbase = lektor depends = python2-inifile depends = exifread options = !emptydirs - source = https://files.pythonhosted.org/packages/source/L/Lektor/Lektor-3.0.1.tar.gz - sha256sums = 7f0fd1b9b3b8deb2e4c4d633edbf4eff6577e2fcbed29ea68997dd1e0bede429 + source = https://files.pythonhosted.org/packages/source/L/Lektor/Lektor-3.1.tar.gz + sha256sums = 2ec5f8b6b813d4fbf9d45fc05a3cd374f87dc5590f8690fbd9855d3007b0b38f pkgname = lektor diff --git a/PKGBUILD b/PKGBUILD index 81a88594..235ec07c 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Michael Gerhaeuser pkgname=lektor _pkgname=Lektor -pkgver=3.0.1 +pkgver=3.1 pkgrel=1 pkgdesc="A static content management system." arch=(any) @@ -13,7 +13,7 @@ depends=(python2 python2-pip python2-requests python2-babel makedepends=(python2-setuptools) options=(!emptydirs) source=("https://files.pythonhosted.org/packages/source/L/$_pkgname/$_pkgname-$pkgver.tar.gz") -sha256sums=("7f0fd1b9b3b8deb2e4c4d633edbf4eff6577e2fcbed29ea68997dd1e0bede429") +sha256sums=("2ec5f8b6b813d4fbf9d45fc05a3cd374f87dc5590f8690fbd9855d3007b0b38f") package() { cd "$srcdir/$_pkgname-$pkgver" -- 2.51.2 From 95c2141c4f0cd5eb5d50a88796f7b6ad9fb248cb Mon Sep 17 00:00:00 2001 From: Michael Gerhaeuser Date: Sun, 6 May 2018 19:04:10 +0200 Subject: [PATCH 09/15] Bump version to 3.1.1 --- .SRCINFO | 8 ++++---- PKGBUILD | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 51b7e7f4..87483dc6 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Mon Feb 5 18:13:21 UTC 2018 +# Sun May 6 17:02:59 UTC 2018 pkgbase = lektor pkgdesc = A static content management system. - pkgver = 3.1 + pkgver = 3.1.1 pkgrel = 1 url = https://www.getlektor.com arch = any @@ -21,8 +21,8 @@ pkgbase = lektor depends = python2-inifile depends = exifread options = !emptydirs - source = https://files.pythonhosted.org/packages/source/L/Lektor/Lektor-3.1.tar.gz - sha256sums = 2ec5f8b6b813d4fbf9d45fc05a3cd374f87dc5590f8690fbd9855d3007b0b38f + source = https://files.pythonhosted.org/packages/source/L/Lektor/Lektor-3.1.1.tar.gz + sha256sums = 1c0d3ba834ae6444a8bf2a645f90f8f00d779b21b51d6cc1a362c8ad4153524d pkgname = lektor diff --git a/PKGBUILD b/PKGBUILD index 235ec07c..67e79476 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Michael Gerhaeuser pkgname=lektor _pkgname=Lektor -pkgver=3.1 +pkgver=3.1.1 pkgrel=1 pkgdesc="A static content management system." arch=(any) @@ -13,7 +13,7 @@ depends=(python2 python2-pip python2-requests python2-babel makedepends=(python2-setuptools) options=(!emptydirs) source=("https://files.pythonhosted.org/packages/source/L/$_pkgname/$_pkgname-$pkgver.tar.gz") -sha256sums=("2ec5f8b6b813d4fbf9d45fc05a3cd374f87dc5590f8690fbd9855d3007b0b38f") +sha256sums=("1c0d3ba834ae6444a8bf2a645f90f8f00d779b21b51d6cc1a362c8ad4153524d") package() { cd "$srcdir/$_pkgname-$pkgver" -- 2.51.2 From 47cc2b1ae408322d1f064d8e7662b7ee4d9a0880 Mon Sep 17 00:00:00 2001 From: Michael Gerhaeuser Date: Mon, 10 Sep 2018 22:01:37 +0200 Subject: [PATCH 10/15] Bump version to 3.1.2 Add python2-functools32 as a new dependency --- .SRCINFO | 9 +++++---- PKGBUILD | 6 +++--- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 87483dc6..8e735273 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,8 +1,8 @@ # Generated by mksrcinfo v8 -# Sun May 6 17:02:59 UTC 2018 +# Mon Sep 10 20:01:25 UTC 2018 pkgbase = lektor pkgdesc = A static content management system. - pkgver = 3.1.1 + pkgver = 3.1.2 pkgrel = 1 url = https://www.getlektor.com arch = any @@ -12,6 +12,7 @@ pkgbase = lektor depends = python2-pip depends = python2-requests depends = python2-babel + depends = python2-functools32 depends = python2-flask depends = python2-watchdog depends = python2-click @@ -21,8 +22,8 @@ pkgbase = lektor depends = python2-inifile depends = exifread options = !emptydirs - source = https://files.pythonhosted.org/packages/source/L/Lektor/Lektor-3.1.1.tar.gz - sha256sums = 1c0d3ba834ae6444a8bf2a645f90f8f00d779b21b51d6cc1a362c8ad4153524d + source = https://files.pythonhosted.org/packages/source/L/Lektor/Lektor-3.1.2.tar.gz + sha256sums = 6be08aca0c874719d120116469b787d82aea7730ef8de51cfb2ec83a042ab6fe pkgname = lektor diff --git a/PKGBUILD b/PKGBUILD index 67e79476..fe8bb93e 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,19 +1,19 @@ # Maintainer: Michael Gerhaeuser pkgname=lektor _pkgname=Lektor -pkgver=3.1.1 +pkgver=3.1.2 pkgrel=1 pkgdesc="A static content management system." arch=(any) url="https://www.getlektor.com" license=('BSD') -depends=(python2 python2-pip python2-requests python2-babel +depends=(python2 python2-pip python2-requests python2-babel python2-functools32 python2-flask python2-watchdog python2-click python2-pyasn1 python2-ndg-httpsclient python2-mistune python2-inifile exifread) makedepends=(python2-setuptools) options=(!emptydirs) source=("https://files.pythonhosted.org/packages/source/L/$_pkgname/$_pkgname-$pkgver.tar.gz") -sha256sums=("1c0d3ba834ae6444a8bf2a645f90f8f00d779b21b51d6cc1a362c8ad4153524d") +sha256sums=("6be08aca0c874719d120116469b787d82aea7730ef8de51cfb2ec83a042ab6fe") package() { cd "$srcdir/$_pkgname-$pkgver" -- 2.51.2 From 7a946f899ff34eae0f9cb3d2dafd9e1c980140c6 Mon Sep 17 00:00:00 2001 From: Yngve Levinsen Date: Sun, 3 Nov 2019 11:00:46 +0100 Subject: [PATCH 11/15] version 3.1.3 --- .SRCINFO | 8 +++----- PKGBUILD | 4 ++-- 2 files changed, 5 insertions(+), 7 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 8e735273..599ed94a 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,8 +1,6 @@ -# Generated by mksrcinfo v8 -# Mon Sep 10 20:01:25 UTC 2018 pkgbase = lektor pkgdesc = A static content management system. - pkgver = 3.1.2 + pkgver = 3.1.3 pkgrel = 1 url = https://www.getlektor.com arch = any @@ -22,8 +20,8 @@ pkgbase = lektor depends = python2-inifile depends = exifread options = !emptydirs - source = https://files.pythonhosted.org/packages/source/L/Lektor/Lektor-3.1.2.tar.gz - sha256sums = 6be08aca0c874719d120116469b787d82aea7730ef8de51cfb2ec83a042ab6fe + source = https://files.pythonhosted.org/packages/source/L/Lektor/Lektor-3.1.3.tar.gz + sha256sums = 60a83e7a100780a58553324b396b0df32a2f584452184efbf87acefed85e564d pkgname = lektor diff --git a/PKGBUILD b/PKGBUILD index fe8bb93e..0b1ef241 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Michael Gerhaeuser pkgname=lektor _pkgname=Lektor -pkgver=3.1.2 +pkgver=3.1.3 pkgrel=1 pkgdesc="A static content management system." arch=(any) @@ -13,7 +13,7 @@ depends=(python2 python2-pip python2-requests python2-babel python2-functools32 makedepends=(python2-setuptools) options=(!emptydirs) source=("https://files.pythonhosted.org/packages/source/L/$_pkgname/$_pkgname-$pkgver.tar.gz") -sha256sums=("6be08aca0c874719d120116469b787d82aea7730ef8de51cfb2ec83a042ab6fe") +sha256sums=('60a83e7a100780a58553324b396b0df32a2f584452184efbf87acefed85e564d') package() { cd "$srcdir/$_pkgname-$pkgver" -- 2.51.2 From 15336da8af4bbf774e3818ca6da98b9b26a4b686 Mon Sep 17 00:00:00 2001 From: Yngve Levinsen Date: Wed, 8 Jan 2020 11:12:47 +0100 Subject: [PATCH 12/15] update dependency exifread -> python-exifread --- .SRCINFO | 4 ++-- PKGBUILD | 4 ++-- README.md | 17 +++++++++++++++++ 3 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 README.md diff --git a/.SRCINFO b/.SRCINFO index 599ed94a..cea4743b 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = lektor pkgdesc = A static content management system. pkgver = 3.1.3 - pkgrel = 1 + pkgrel = 2 url = https://www.getlektor.com arch = any license = BSD @@ -18,7 +18,7 @@ pkgbase = lektor depends = python2-ndg-httpsclient depends = python2-mistune depends = python2-inifile - depends = exifread + depends = python-exifread options = !emptydirs source = https://files.pythonhosted.org/packages/source/L/Lektor/Lektor-3.1.3.tar.gz sha256sums = 60a83e7a100780a58553324b396b0df32a2f584452184efbf87acefed85e564d diff --git a/PKGBUILD b/PKGBUILD index 0b1ef241..ee825c6a 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,14 +2,14 @@ pkgname=lektor _pkgname=Lektor pkgver=3.1.3 -pkgrel=1 +pkgrel=2 pkgdesc="A static content management system." arch=(any) url="https://www.getlektor.com" license=('BSD') depends=(python2 python2-pip python2-requests python2-babel python2-functools32 python2-flask python2-watchdog python2-click python2-pyasn1 - python2-ndg-httpsclient python2-mistune python2-inifile exifread) + python2-ndg-httpsclient python2-mistune python2-inifile python-exifread) makedepends=(python2-setuptools) options=(!emptydirs) source=("https://files.pythonhosted.org/packages/source/L/$_pkgname/$_pkgname-$pkgver.tar.gz") diff --git a/README.md b/README.md new file mode 100644 index 00000000..ce46e701 --- /dev/null +++ b/README.md @@ -0,0 +1,17 @@ + + +## Build + +```bash +# Test PKGBUILD +namcap PKGBUILD +# Build +makepkg +# Test artifact +namcap .pkg.tar.xz +# Install +pacman -U .pkg.tar.xz +# Generate SRCINFO +makepkg --printsrcinfo > .SRCINFO +# Commit & Publish +``` -- 2.51.2 From 39bc3910c36db31b62164991c8b6a50dd5cbfae8 Mon Sep 17 00:00:00 2001 From: Yngve Levinsen Date: Mon, 20 Jan 2020 07:38:52 +0100 Subject: [PATCH 13/15] lektor change, use python instead of python2 --- .SRCINFO | 27 +++++++++++++-------------- PKGBUILD | 12 ++++++------ 2 files changed, 19 insertions(+), 20 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index cea4743b..972abb43 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,23 +1,22 @@ pkgbase = lektor pkgdesc = A static content management system. pkgver = 3.1.3 - pkgrel = 2 + pkgrel = 3 url = https://www.getlektor.com arch = any license = BSD - makedepends = python2-setuptools - depends = python2 - depends = python2-pip - depends = python2-requests - depends = python2-babel - depends = python2-functools32 - depends = python2-flask - depends = python2-watchdog - depends = python2-click - depends = python2-pyasn1 - depends = python2-ndg-httpsclient - depends = python2-mistune - depends = python2-inifile + makedepends = python-setuptools + depends = python + depends = python-pip + depends = python-requests + depends = python-babel + depends = python-flask + depends = python-watchdog + depends = python-click + depends = python-pyasn1 + depends = python-ndg-httpsclient + depends = python-mistune + depends = python-inifile depends = python-exifread options = !emptydirs source = https://files.pythonhosted.org/packages/source/L/Lektor/Lektor-3.1.3.tar.gz diff --git a/PKGBUILD b/PKGBUILD index ee825c6a..66c1a3d3 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,22 +2,22 @@ pkgname=lektor _pkgname=Lektor pkgver=3.1.3 -pkgrel=2 +pkgrel=3 pkgdesc="A static content management system." arch=(any) url="https://www.getlektor.com" license=('BSD') -depends=(python2 python2-pip python2-requests python2-babel python2-functools32 - python2-flask python2-watchdog python2-click python2-pyasn1 - python2-ndg-httpsclient python2-mistune python2-inifile python-exifread) -makedepends=(python2-setuptools) +depends=(python python-pip python-requests python-babel + python-flask python-watchdog python-click python-pyasn1 + python-ndg-httpsclient python-mistune python-inifile python-exifread) +makedepends=(python-setuptools) options=(!emptydirs) source=("https://files.pythonhosted.org/packages/source/L/$_pkgname/$_pkgname-$pkgver.tar.gz") sha256sums=('60a83e7a100780a58553324b396b0df32a2f584452184efbf87acefed85e564d') package() { cd "$srcdir/$_pkgname-$pkgver" - python2 setup.py install --root="$pkgdir/" --optimize=1 + python setup.py install --root="$pkgdir/" --optimize=1 # license install -Dm 644 LICENSE \ -- 2.51.2 From 02bb100f6a5092b7654b1569cbf28eca01e5293c Mon Sep 17 00:00:00 2001 From: Yngve Levinsen Date: Tue, 24 Nov 2020 15:34:21 +0100 Subject: [PATCH 14/15] lektor 3.2.0 --- .SRCINFO | 8 ++++---- PKGBUILD | 6 +++--- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 972abb43..f1e16480 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = lektor pkgdesc = A static content management system. - pkgver = 3.1.3 - pkgrel = 3 + pkgver = 3.2.0 + pkgrel = 1 url = https://www.getlektor.com arch = any license = BSD @@ -19,8 +19,8 @@ pkgbase = lektor depends = python-inifile depends = python-exifread options = !emptydirs - source = https://files.pythonhosted.org/packages/source/L/Lektor/Lektor-3.1.3.tar.gz - sha256sums = 60a83e7a100780a58553324b396b0df32a2f584452184efbf87acefed85e564d + source = https://files.pythonhosted.org/packages/source/L/Lektor/Lektor-3.2.0.tar.gz + sha256sums = 5ab0c55aaea3cb98efdbf33b44adfd8291d0724e8849892eb13767d5cdb1fe40 pkgname = lektor diff --git a/PKGBUILD b/PKGBUILD index 66c1a3d3..424d6941 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,8 +1,8 @@ # Maintainer: Michael Gerhaeuser pkgname=lektor _pkgname=Lektor -pkgver=3.1.3 -pkgrel=3 +pkgver=3.2.0 +pkgrel=1 pkgdesc="A static content management system." arch=(any) url="https://www.getlektor.com" @@ -13,7 +13,7 @@ depends=(python python-pip python-requests python-babel makedepends=(python-setuptools) options=(!emptydirs) source=("https://files.pythonhosted.org/packages/source/L/$_pkgname/$_pkgname-$pkgver.tar.gz") -sha256sums=('60a83e7a100780a58553324b396b0df32a2f584452184efbf87acefed85e564d') +sha256sums=('5ab0c55aaea3cb98efdbf33b44adfd8291d0724e8849892eb13767d5cdb1fe40') package() { cd "$srcdir/$_pkgname-$pkgver" -- 2.51.2 From 72b800ec5a753c11596f0cec1e82a558b4f2d8fb Mon Sep 17 00:00:00 2001 From: Yngve Levinsen Date: Fri, 27 Nov 2020 09:49:36 +0100 Subject: [PATCH 15/15] new dependencies, Werkzeug 1 should work now --- .SRCINFO | 6 +++++- 01_werkzeug1.patch | 26 ++++++++++++++++++++++++++ PKGBUILD | 16 ++++++++++++---- 3 files changed, 43 insertions(+), 5 deletions(-) create mode 100644 01_werkzeug1.patch diff --git a/.SRCINFO b/.SRCINFO index f1e16480..4d9e4241 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,7 +1,7 @@ pkgbase = lektor pkgdesc = A static content management system. pkgver = 3.2.0 - pkgrel = 1 + pkgrel = 2 url = https://www.getlektor.com arch = any license = BSD @@ -18,9 +18,13 @@ pkgbase = lektor depends = python-mistune depends = python-inifile depends = python-exifread + depends = python-slugify + depends = python-filetype options = !emptydirs source = https://files.pythonhosted.org/packages/source/L/Lektor/Lektor-3.2.0.tar.gz + source = 01_werkzeug1.patch sha256sums = 5ab0c55aaea3cb98efdbf33b44adfd8291d0724e8849892eb13767d5cdb1fe40 + sha256sums = 3eab4c2b94a6383d91038f87784b5d1c596656946e531e084b8b7a6ae34d6285 pkgname = lektor diff --git a/01_werkzeug1.patch b/01_werkzeug1.patch new file mode 100644 index 00000000..cad74abd --- /dev/null +++ b/01_werkzeug1.patch @@ -0,0 +1,26 @@ +diff --git a/Lektor.egg-info/requires.txt b/Lektor.egg-info/requires.txt +index 92d14d6..38845e0 100644 +--- a/Lektor.egg-info/requires.txt ++++ b/Lektor.egg-info/requires.txt +@@ -11,7 +11,7 @@ python-slugify + requests[security] + setuptools + watchdog +-Werkzeug<1 ++Werkzeug + + [:python_version < "3.2.3"] + functools32 +diff --git a/setup.py b/setup.py +index 922a250..092e328 100644 +--- a/setup.py ++++ b/setup.py +@@ -44,7 +44,7 @@ setup( + 'requests[security]', + 'setuptools', + 'watchdog', +- 'Werkzeug<1', ++ 'Werkzeug', + ], + tests_require=tests_require, + extras_require={ diff --git a/PKGBUILD b/PKGBUILD index 424d6941..a5eb5a48 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,18 +2,26 @@ pkgname=lektor _pkgname=Lektor pkgver=3.2.0 -pkgrel=1 +pkgrel=2 pkgdesc="A static content management system." arch=(any) url="https://www.getlektor.com" license=('BSD') depends=(python python-pip python-requests python-babel python-flask python-watchdog python-click python-pyasn1 - python-ndg-httpsclient python-mistune python-inifile python-exifread) + python-ndg-httpsclient python-mistune python-inifile python-exifread + python-slugify python-filetype) makedepends=(python-setuptools) options=(!emptydirs) -source=("https://files.pythonhosted.org/packages/source/L/$_pkgname/$_pkgname-$pkgver.tar.gz") -sha256sums=('5ab0c55aaea3cb98efdbf33b44adfd8291d0724e8849892eb13767d5cdb1fe40') +source=("https://files.pythonhosted.org/packages/source/L/$_pkgname/$_pkgname-$pkgver.tar.gz" + "01_werkzeug1.patch") +sha256sums=('5ab0c55aaea3cb98efdbf33b44adfd8291d0724e8849892eb13767d5cdb1fe40' + '3eab4c2b94a6383d91038f87784b5d1c596656946e531e084b8b7a6ae34d6285') + +prepare() { + cd $_pkgname-$pkgver + patch -p1 -i ../../01_werkzeug1.patch +} package() { cd "$srcdir/$_pkgname-$pkgver"