aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorprspkt <prspkt@protonmail.com>2019-11-24 15:42:31 +0200
committerNatanael Copa <ncopa@alpinelinux.org>2019-11-25 06:07:52 +0000
commit782bf151a7f00ed17da50d33e83903d221ffc7eb (patch)
treeed3624872455ad9e966e340b719b2e234a19bf93
parentc5961c592f92cc8d6c4fc6e7dc104b674fa3e7d8 (diff)
downloadaports-782bf151a7f00ed17da50d33e83903d221ffc7eb.tar.bz2
aports-782bf151a7f00ed17da50d33e83903d221ffc7eb.tar.xz
main/graphviz: drop python2 bindings
* Swith url to https.
-rw-r--r--main/graphviz/APKBUILD23
1 files changed, 4 insertions, 19 deletions
diff --git a/main/graphviz/APKBUILD b/main/graphviz/APKBUILD
index 11c1e8dea2..30dea7d14c 100644
--- a/main/graphviz/APKBUILD
+++ b/main/graphviz/APKBUILD
@@ -1,4 +1,3 @@
-
# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Contributor: Natanael Copa <ncopa@alpinelinux.org>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
@@ -6,18 +5,18 @@ pkgname=graphviz
pkgver=2.42.2
pkgrel=1
pkgdesc="Graph Visualization Tools"
-url="http://www.graphviz.org/"
+url="https://www.graphviz.org/"
arch="all"
license="EPL-1.0"
_luaver=5.3
depends_dev="zlib-dev libpng-dev libjpeg-turbo-dev expat-dev
fontconfig-dev libsm-dev libxext-dev cairo-dev pango-dev
gmp-dev freetype-dev python3-dev"
-makedepends="$depends_dev flex swig m4 libtool python2-dev libxaw-dev
- bison lua$_luaver-dev libltdl tcl autoconf automake bash"
+makedepends="$depends_dev flex swig m4 libtool libxaw-dev bison lua$_luaver-dev
+ libltdl tcl autoconf automake bash"
install="$pkgname.pre-deinstall"
triggers="$pkgname.trigger=/usr/lib/graphviz"
-subpackages="$pkgname-dev $pkgname-doc py3-gv:_py3 py2-gv:_py2 lua$_luaver-$pkgname:_lua
+subpackages="$pkgname-dev $pkgname-doc py3-gv:_py3 lua$_luaver-$pkgname:_lua
$pkgname-graphs::noarch"
source="$pkgname-$pkgver.tar.bz2::https://gitlab.com/graphviz/graphviz/repository/stable_release_$pkgver/archive.tar.bz2
0001-clone-nameclash.patch
@@ -88,7 +87,6 @@ package() {
"$pkgdir"/usr/share/doc/graphviz
}
-
_py3() {
pkgdesc="Python3 extension for graphviz"
depends="python3"
@@ -100,19 +98,6 @@ _py3() {
mv "$pkgdir"/usr/lib/python3* "$subpkgdir"/usr/lib/
}
-_py2() {
- pkgdesc="Python2 extension for graphviz"
- depends="python2"
- provides="py-$pkgname=$pkgver-r$pkgrel" # for backward compatibility
- replaces="py-$pkgname" # for backward compatibility
-
- mkdir -p "$subpkgdir"/usr/lib/graphviz \
- "$subpkgdir"/usr/lib
- mv "$pkgdir"/usr/lib/graphviz/python* \
- "$subpkgdir"/usr/lib/graphviz
- mv "$pkgdir"/usr/lib/python* "$subpkgdir"/usr/lib/
-}
-
_lua() {
pkgdesc="Lua$_luaver extension for graphviz"
provides="lua-$pkgname=$pkgver-r$pkgrel" # for backward compatibility