aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLeo <thinkabit.ukim@gmail.com>2021-04-18 10:43:17 -0300
committerLeo <thinkabit.ukim@gmail.com>2021-04-18 10:43:17 -0300
commit2c9b99ce67e45b0de834fe06ea1eb72402291e1b (patch)
treecb807c606c051e0eae955235a0cdf821fcac79d3
parent350de4397fa570b5973ab16be3cde73cba687ba5 (diff)
downloadaports-2c9b99ce67e45b0de834fe06ea1eb72402291e1b.tar.gz
aports-2c9b99ce67e45b0de834fe06ea1eb72402291e1b.tar.bz2
aports-2c9b99ce67e45b0de834fe06ea1eb72402291e1b.tar.xz
main/boost1.75: don't replace or provides unversioned names
-rw-r--r--main/boost1.75/APKBUILD31
1 files changed, 1 insertions, 30 deletions
diff --git a/main/boost1.75/APKBUILD b/main/boost1.75/APKBUILD
index befe3ca00f..981e3abb6d 100644
--- a/main/boost1.75/APKBUILD
+++ b/main/boost1.75/APKBUILD
@@ -2,7 +2,7 @@
pkgname=boost1.75
pkgver=1.75.0
_pkgver="${pkgver//./_}"
-pkgrel=7
+pkgrel=8
pkgdesc="Free peer-reviewed portable C++ source libraries"
url="https://www.boost.org/"
arch="all"
@@ -66,11 +66,6 @@ for _lib in $_libs; do
done; unset -v _lib
subpackages="$subpackages $pkgname-libs"
-# Claim the unversioned name, this must be removed once we switch our
-# boost to a new version
-provides="boost=$pkgver-r$pkgrel"
-replaces="boost"
-
_set_options() {
[ -n "$PY3_VERSION" ] || PY3_VERSION="$(_pyversion python3)"
@@ -156,11 +151,6 @@ static() {
pkgdesc="Boost static libraries"
depends="$depends_static"
- # Claim the unversioned name, this must be removed once we switch our
- # boost to a new version
- provides="boost-static=$pkgver-r$pkgrel"
- replaces="boost-static"
-
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/lib*.a "$subpkgdir"/usr/lib/
}
@@ -170,11 +160,6 @@ _boostlib() {
pkgdesc="Boost $name shared library"
depends="$depends__boostlib"
- # Claim the unversioned name, this must be removed once we switch our
- # boost to a new version
- provides="boost-$name=$pkgver-r$pkgrel"
- replaces="boost-$name"
-
mkdir -p "$subpkgdir"/usr/lib
mv "$pkgdir"/usr/lib/libboost_$name*.so.[0-9]* "$subpkgdir"/usr/lib/
}
@@ -182,11 +167,6 @@ _boostlib() {
libs() {
default_libs
- # Claim the unversioned name, this must be removed once we switch our
- # boost to a new version
- provides="boost-libs=$pkgver-r$pkgrel"
- replaces="boost-libs"
-
pkgdesc="Boost shared libraries"
depends="$depends_libs"
local _pkg; for _pkg in $origsubpackages; do
@@ -199,15 +179,6 @@ libs() {
rmdir "$pkgdir"/usr/lib >/dev/null 2>&1 || :
}
-doc() {
- # Claim the unversioned name, this must be removed once we switch our
- # boost to a new version
- provides="boost-doc=$pkgver-r$pkgrel"
- replaces="boost-doc"
-
- default_doc
-}
-
_pyversion() {
"$1" -c 'import sys; print("%i.%i" % (sys.version_info.major, sys.version_info.minor))'
}