mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
iniparse, bump version, switch python dependency (#9189)
This commit is contained in:
58
dev-python/iniparse/iniparse-0.5.recipe
Normal file
58
dev-python/iniparse/iniparse-0.5.recipe
Normal file
@@ -0,0 +1,58 @@
|
||||
SUMMARY="An INI parser for Python"
|
||||
DESCRIPTION="iniparse is a INI parser for Python which is:
|
||||
* Compatiable with ConfigParser: Backward compatible implementations of \
|
||||
ConfigParser, RawConfigParser, and SafeConfigParser are included that are \
|
||||
API-compatible with the Python standard library. They pass all the unit tests \
|
||||
included with Python.
|
||||
* Preserves structure of INI files: Order of sections & options, indentation, \
|
||||
comments, and blank lines are preserved as far as possible when data is updated.
|
||||
* More convenient: Values can be accessed using dotted notation \
|
||||
(cfg.user.name), or using container syntax (cfg['user']['name']).
|
||||
* It is very useful for config files that are updated both by users and by \
|
||||
programs, since it is very disorienting for a user to have her config file \
|
||||
completely rearranged whenever a program changes it. iniparse also allows \
|
||||
making the order of entries in a config file significant, which is desirable \
|
||||
in applications like image galleries."
|
||||
HOMEPAGE="http://code.google.com/p/iniparse/
|
||||
https://github.com/candlepin/python-iniparse"
|
||||
COPYRIGHT="2001-2008 Python Software Foundation
|
||||
2004-2009 Paramjit Oberoi
|
||||
2007 Tim Lauridsen"
|
||||
LICENSE="MIT
|
||||
Python"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/candlepin/python-iniparse/archive/refs/tags/$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="3861300307519ee9b87aa8314e610261749b9562ee3fadccfe79e37b9e821109"
|
||||
SOURCE_DIR="python-iniparse-$portVersion"
|
||||
|
||||
ARCHITECTURES="any"
|
||||
|
||||
PROVIDES="
|
||||
iniparse = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
cmd:python3
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:python3
|
||||
setuptools_python310
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
python3 setup.py build
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
python3 setup.py install \
|
||||
--prefix=$prefix
|
||||
|
||||
mkdir -p $docDir
|
||||
cp -r html $docDir
|
||||
}
|
||||
Reference in New Issue
Block a user