summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorSean Enck2018-06-10 19:51:45 -0400
committerSean Enck2018-06-10 19:51:45 -0400
commite42e86e435233860d7988bce24bd1b7932445127 (patch)
tree9e30a11f4a441c41eac793f8e29c7c529d2fcec8
parent5e4e695afb91d0aeaf69fb0307e2621362276ea5 (diff)
downloadaur-e42e86e435233860d7988bce24bd1b7932445127.tar.gz
cleaning up package for pypi url
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD8
2 files changed, 6 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8c351f9d638..ba8dca3a9a0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = python-pyxstitch
pkgdesc = takes source code files and produces syntax-highlighted patterns for cross stitching.
pkgver = 1.7.6
- pkgrel = 2
+ pkgrel = 3
url = https://github.com/enckse/pyxstitch
arch = any
license = MIT
@@ -10,7 +10,7 @@ pkgbase = python-pyxstitch
depends = python-setuptools
depends = python-pygments
optdepends = bash-completion: for bash completions
- source = https://pypi.python.org/packages/15/0a/4a98c83afe1bc4045546a67a958cd58f94ec0fc75f6f5b9df7108d1fad2a/pyxstitch-1.7.6.tar.gz#md5=305bcc8d5e69294b9b52227fbac013fb
+ source = https://files.pythonhosted.org/packages/source/p/pyxstitch/pyxstitch-1.7.6.tar.gz
source = https://raw.githubusercontent.com/enckse/pyxstitch/v1.7.6/LICENSE
source = https://raw.githubusercontent.com/enckse/pyxstitch/v1.7.6/completions/bash
source = https://raw.githubusercontent.com/enckse/pyxstitch/v1.7.6/doc/pyxstitch.1
diff --git a/PKGBUILD b/PKGBUILD
index 8e72bad51ab..cd7d9f7da7d 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,8 +1,8 @@
# Maintainer: Sean Enck <enckse@gmail.com>
-_name=pyxstitch
-pkgname=python-$_name
+pkgname=python-pyxstitch
+_name=${pkgname#python-}
pkgver=1.7.6
-pkgrel=2
+pkgrel=3
pkgdesc="takes source code files and produces syntax-highlighted patterns for cross stitching."
arch=("any")
url="https://github.com/enckse/$_name"
@@ -11,7 +11,7 @@ depends=('python' 'python-pillow' 'python-setuptools' 'python-pygments')
optdepends=("bash-completion: for bash completions")
_md5='305bcc8d5e69294b9b52227fbac013fb'
_rawcontent="https://raw.githubusercontent.com/enckse/$_name/v$pkgver/"
-source=("https://pypi.python.org/packages/15/0a/4a98c83afe1bc4045546a67a958cd58f94ec0fc75f6f5b9df7108d1fad2a/$_name-$pkgver.tar.gz#md5=$_md5"
+source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz"
"${_rawcontent}LICENSE"
"${_rawcontent}completions/bash"
"${_rawcontent}doc/$_name.1")