-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'void-linux:master' into spotify-player
- Loading branch information
Showing
1,753 changed files
with
12,955 additions
and
4,124 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
lib32disabled=yes | ||
if [ -z "$nopyprovides" ] || [ -z "$noverifypydeps" ]; then | ||
hostmakedepends+=" python3-packaging-bootstrap" | ||
fi | ||
makedepends+=" python3" | ||
build_helper+=" python3" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,6 @@ | ||
hostmakedepends+=" python3-build python3-installer" | ||
lib32disabled=yes | ||
hostmakedepends+=" python3-build python3-installer" | ||
if [ -z "$nopyprovides" ] || [ -z "$noverifypydeps" ]; then | ||
hostmakedepends+=" python3-packaging-bootstrap" | ||
fi | ||
build_helper+=" python3" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
# vim: set ts=4 sw=4 et: | ||
# | ||
# This hook executes the following tasks: | ||
# - Generates provides file with provides entries for xbps-create(1) | ||
|
||
generate_python_provides() { | ||
local py3_bin="${XBPS_MASTERDIR}/usr/bin/python3" | ||
|
||
if [ -z "$nopyprovides" ] && [ -d "${PKGDESTDIR}/${py3_sitelib}" ] && [ -x "${py3_bin}" ]; then | ||
PYTHONPATH="${XBPS_MASTERDIR}/${py3_sitelib}-bootstrap" "${py3_bin}" \ | ||
"${XBPS_COMMONDIR}"/scripts/parse-py-metadata.py \ | ||
-S "${PKGDESTDIR}/${py3_sitelib}" -v "${pkgver}" provides | ||
fi | ||
} | ||
|
||
hook() { | ||
local -a _provides=() | ||
|
||
# include explicit values from the template | ||
read -r -a _provides <<< "$provides" | ||
|
||
# get the canonical python package names for each python module | ||
mapfile -t _provides -O "${#_provides[@]}" < <( generate_python_provides ) | ||
|
||
if [ "${#_provides[@]}" -gt 0 ]; then | ||
echo " ${_provides[*]}" | ||
echo "${_provides[*]}" > "${XBPS_STATEDIR}/${pkgname}-provides" | ||
fi | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# vim: set ts=4 sw=4 et: | ||
# | ||
# This hook executes the following tasks: | ||
# - Verifies python module dependencies from dist-info's METADATA and egg-info's PKG-INFO | ||
|
||
hook() { | ||
local py3_bin="${XBPS_MASTERDIR}/usr/bin/python3" | ||
|
||
if [ -z "$nopyprovides" ] && [ -d "${PKGDESTDIR}/${py3_sitelib}" ] && [ -x "${py3_bin}" ]; then | ||
PYTHONPATH="${XBPS_MASTERDIR}/${py3_sitelib}-bootstrap" "${py3_bin}" \ | ||
"${XBPS_COMMONDIR}"/scripts/parse-py-metadata.py \ | ||
${NOCOLORS:+-C} ${XBPS_STRICT:+-s} -S "${PKGDESTDIR}/${py3_sitelib}" -v "${pkgver}" \ | ||
depends -e "${python_extras}" \ | ||
-V <( $XBPS_QUERY_XCMD -R -p provides -s "py3:" ) -D "${XBPS_STATEDIR}/${pkgname}-rdeps" \ | ||
|| msg_error "$pkgver: failed to verify python module dependencies\n" | ||
fi | ||
} |
Oops, something went wrong.