summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorQirui Wang2020-05-14 20:27:38 -0400
committerQirui Wang2020-05-14 20:27:38 -0400
commit22dca5e53a7ec34454d7542a83cc59e520aed887 (patch)
treefdccf5594cdada200b427bce76c3b6b5e7980612
parentb26bc552bb5fa4d9be3b8d65e6d177fbed35d34b (diff)
downloadaur-22dca5e53a7ec34454d7542a83cc59e520aed887.tar.gz
v20.3.0
-rw-r--r--.SRCINFO10
-rw-r--r--PKGBUILD20
2 files changed, 6 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index e56d512d7c21..cf67ff9cfbdf 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,6 +1,6 @@
pkgbase = python-sanic
pkgdesc = Async Python 3.6+ web server/framework | Build fast. Run fast.
- pkgver = 19.12.2
+ pkgver = 20.3.0
pkgrel = 1
url = https://sanicframework.org/
arch = any
@@ -13,12 +13,8 @@ pkgbase = python-sanic
depends = python-httpx
depends = python-uvloop
depends = python-ujson
- source = https://github.com/huge-success/sanic/archive/v19.12.2.tar.gz
- source = https://github.com/huge-success/sanic/commit/5d273fe922ecd7d80ddfb88c84787a9b3ee7f4eb.patch
- source = https://github.com/huge-success/sanic/commit/805d8f3af26fe1d40d72d71d9b58c0ba72bbd2ab.patch
- sha256sums = baf596636ac6d2c61947d133781f53d1cee93ed94610986cc799e8c96d03a1d4
- sha256sums = 5b86c9e4cf3a8f204156cfc108a8af21bc4c4c3b490a6e7d473742707e72dafd
- sha256sums = fd0d6e8592605c21420c36f5e8a22c97e19440ab89dcb1914d45a01a2da75076
+ source = https://github.com/huge-success/sanic/archive/v20.3.0.tar.gz
+ sha256sums = 5a9c6647cbcc03d623496363b1b797592a70eb93ba58c883dab79d4304b2a5b2
pkgname = python-sanic
diff --git a/PKGBUILD b/PKGBUILD
index e06e4eede37f..e5b61d99b6d6 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
_name="sanic"
pkgname="python-$_name"
-pkgver=19.12.2
+pkgver=20.3.0
pkgrel=1
pkgdesc='Async Python 3.6+ web server/framework | Build fast. Run fast.'
arch=("any")
@@ -19,22 +19,8 @@ depends=(
'python-ujson'
)
makedepends=("python-setuptools")
-source=(
- "https://github.com/huge-success/${_name}/archive/v${pkgver}.tar.gz"
- 'https://github.com/huge-success/sanic/commit/5d273fe922ecd7d80ddfb88c84787a9b3ee7f4eb.patch'
- 'https://github.com/huge-success/sanic/commit/805d8f3af26fe1d40d72d71d9b58c0ba72bbd2ab.patch'
-)
-sha256sums=('baf596636ac6d2c61947d133781f53d1cee93ed94610986cc799e8c96d03a1d4'
- '5b86c9e4cf3a8f204156cfc108a8af21bc4c4c3b490a6e7d473742707e72dafd'
- 'fd0d6e8592605c21420c36f5e8a22c97e19440ab89dcb1914d45a01a2da75076')
-
-prepare() {
- cd "$_name-$pkgver"
-
- # Fix compatibility with httpx
- patch -p1 -i ../5d273fe922ecd7d80ddfb88c84787a9b3ee7f4eb.patch
- patch -p1 -i ../805d8f3af26fe1d40d72d71d9b58c0ba72bbd2ab.patch
-}
+source=("https://github.com/huge-success/${_name}/archive/v${pkgver}.tar.gz")
+sha256sums=('5a9c6647cbcc03d623496363b1b797592a70eb93ba58c883dab79d4304b2a5b2')
build() {
cd "$_name-$pkgver"