mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 22:48:55 +02:00
retext: bump version.
This commit is contained in:
57
app-editors/retext/retext-7.0.1.recipe
Normal file
57
app-editors/retext/retext-7.0.1.recipe
Normal file
@@ -0,0 +1,57 @@
|
||||
SUMMARY="Simple but powerful editor for Markdown and reStructuredText"
|
||||
DESCRIPTION="ReText is a simple but powerful editor for Markdown and \
|
||||
reStructuredText markup languages."
|
||||
HOMEPAGE="https://github.com/retext-project/retext"
|
||||
COPYRIGHT="2011–2016 Dmitry Shachnev
|
||||
2011–2016 Maurice van der Pot"
|
||||
LICENSE="GNU GPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="$HOMEPAGE/archive/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="c32ccdbcf31094258c792bc0589ff3ff212dea85466d776b7f60fa7b39da4b6c"
|
||||
PATCHES="retext-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
PROVIDES="
|
||||
retext$secondaryArchSuffix = $portVersion
|
||||
cmd:retext$secondaryArchSuffix = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
cmd:python3
|
||||
markdown_python3
|
||||
markups_python3
|
||||
pyqt_python3
|
||||
lib:libxcb$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
pyqt_python3 >= 5
|
||||
setuptools_python3
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:lrelease
|
||||
cmd:python3
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
$portPackageLinksDir/cmd~python3/bin/python3 setup.py build
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
# GENERIC: all python_setuptools-based installs need this
|
||||
python=$portPackageLinksDir/cmd~python3/bin/python3
|
||||
pythonVersion=$($python --version 2>&1 | sed 's/Python //' | head -c3)
|
||||
installLocation=$prefix/lib/python$pythonVersion/vendor-packages/
|
||||
export PYTHONPATH=$installLocation:$PYTHONPATH
|
||||
mkdir -p $installLocation
|
||||
|
||||
$python setup.py install \
|
||||
--root=/ --prefix=$prefix
|
||||
|
||||
mkdir -p $(dirname $dataDir)
|
||||
mv $prefix/share $dataDir
|
||||
}
|
||||
Reference in New Issue
Block a user