aboutsummaryrefslogtreecommitdiffstats
path: root/community/py-markdown
diff options
context:
space:
mode:
authorFabian Affolter <fabian@affolter-engineering.ch>2016-11-09 03:21:12 +0000
committerJakub Jirutka <jakub@jirutka.cz>2016-11-09 20:55:01 +0100
commite0641ce69f1340f21b3551b13db62e1b5f4f0be5 (patch)
treed5cad9fc164a45deff058aea50d2a12683e36fba /community/py-markdown
parent0a130e34f6c81a289777f63ee18e652801b6b284 (diff)
downloadaports-e0641ce69f1340f21b3551b13db62e1b5f4f0be5.tar.bz2
aports-e0641ce69f1340f21b3551b13db62e1b5f4f0be5.tar.xz
community/py-markdown: upgrade to 2.6.7
Diffstat (limited to 'community/py-markdown')
-rw-r--r--community/py-markdown/APKBUILD24
1 files changed, 10 insertions, 14 deletions
diff --git a/community/py-markdown/APKBUILD b/community/py-markdown/APKBUILD
index 175246d460..97122e8ca2 100644
--- a/community/py-markdown/APKBUILD
+++ b/community/py-markdown/APKBUILD
@@ -2,25 +2,22 @@
# Maintainer: Fabian Affolter <fabian@affolter-engineering.ch>
pkgname=py-markdown
_pkgname=Markdown
-pkgver=2.6.6
-pkgrel=1
+pkgver=2.6.7
+pkgrel=0
pkgdesc="A Python implementation of Markdown"
url="http://pythonhosted.org/Markdown/"
arch="noarch"
license="BSD"
depends=""
-depends_dev=""
makedepends="python2-dev py-setuptools python3-dev"
-install=""
-subpackages="py3-${pkgname/py-/}:_py3 py2-${pkgname/py-/}:_py2"
+subpackages="py3-${pkgname#py-}:_py3 py2-${pkgname#py-}:_py2"
source="https://files.pythonhosted.org/packages/source/${_pkgname:0:1}/$_pkgname/$_pkgname-$pkgver.tar.gz"
-
-builddir="$srcdir"/$_pkgname-$pkgver
+builddir="$srcdir/$_pkgname-$pkgver"
build() {
cd "$builddir"
python2 setup.py build || return 1
- python3 setup.py build || return 1
+ python3 setup.py build || return 1
}
package() {
@@ -33,6 +30,7 @@ package() {
_py() {
local python=$1
pkgdesc="$pkgdesc - $python"
+ depends="$depends $python"
install_if="$pkgname=$pkgver-r$pkgrel $python"
local dir=$($python -c 'import sysconfig; print(sysconfig.get_path("stdlib"))')
@@ -41,16 +39,14 @@ _py() {
}
_py2() {
- _py python2
replaces="$pkgname"
+ _py python2
}
_py3() {
_py python3
}
-
-
-md5sums="d6737edcdb9a9aceaef0bf28455673be Markdown-2.6.6.tar.gz"
-sha256sums="9a292bb40d6d29abac8024887bcfc1159d7a32dc1d6f1f6e8d6d8e293666c504 Markdown-2.6.6.tar.gz"
-sha512sums="cbe9343130e5200f8b5a796e5b9948a27d2bc7896b664d6656827bc0b05abfa5204eefa5eed02afd361b58a72defcf237dc5fd3033586d4465d109b4429caaec Markdown-2.6.6.tar.gz"
+md5sums="a06f1c5d462b32e0e8da014e9eebb0d9 Markdown-2.6.7.tar.gz"
+sha256sums="daebf24846efa7ff269cfde8c41a48bb2303920c7b2c7c5e04fa82e6282d05c0 Markdown-2.6.7.tar.gz"
+sha512sums="bc579b07e31b029dd5288b8f80eab195ae2a371a8c778a78b07755323de19a90844610ddd29d6b29b6fd9f8f87f25cb35466c54bebce60447897ef234b9ad4bd Markdown-2.6.7.tar.gz"