aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpsykose <alice@ayaya.dev>2022-05-13 07:37:52 +0000
committerpsykose <alice@ayaya.dev>2022-05-13 13:37:19 +0200
commitaecebd09018ac2c8208bb57ef2b3686f03dc2edf (patch)
treeeeb44871671d38b6275c6f0763049bcca6a993ac
parent75408f17588307f2f837430cb9a1ef815dc42820 (diff)
downloadaports-aecebd09018ac2c8208bb57ef2b3686f03dc2edf.tar.gz
aports-aecebd09018ac2c8208bb57ef2b3686f03dc2edf.tar.bz2
aports-aecebd09018ac2c8208bb57ef2b3686f03dc2edf.tar.xz
main/boost1.77: unset as default boost
-rw-r--r--main/boost1.77/APKBUILD38
1 files changed, 1 insertions, 37 deletions
diff --git a/main/boost1.77/APKBUILD b/main/boost1.77/APKBUILD
index 63b2b5602c..d4bdaa1852 100644
--- a/main/boost1.77/APKBUILD
+++ b/main/boost1.77/APKBUILD
@@ -2,7 +2,7 @@
pkgname=boost1.77
pkgver=1.77.0
_pkgver="${pkgver//./_}"
-pkgrel=6
+pkgrel=7
pkgdesc="Free peer-reviewed portable C++ source libraries"
url="https://www.boost.org/"
arch="all"
@@ -14,7 +14,6 @@ subpackages="
$pkgname-static
$pkgname-dev
$pkgname-doc
- boost-dev:_dev
"
source="https://boostorg.jfrog.io/artifactory/main/release/$pkgver/source/boost_$_pkgver.tar.bz2
boost-1.57.0-python-abi_letters.patch
@@ -68,11 +67,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)"
@@ -158,11 +152,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/
}
@@ -172,11 +161,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/
}
@@ -184,11 +168,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
@@ -201,21 +180,6 @@ libs() {
rmdir "$pkgdir"/usr/lib >/dev/null 2>&1 || :
}
-_dev() {
- # This makes boost-dev be a metapackage that depends on boostX.Y-dev
- mkdir -p "$subpkgdir"
- depends="$pkgname-dev=$pkgver-r$pkgrel"
-}
-
-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))'
}