mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-16 16:50:06 +02:00
pyserial, bump version, working recipe (#4868)
This commit is contained in:
@@ -1,27 +0,0 @@
|
||||
DESCRIPTION="pyserial - Python Serial Port Extension"
|
||||
HOMEPAGE="http://pyserial.sourceforge.net"
|
||||
SOURCE_URI="http://pypi.python.org/packages/source/p/pyserial/pyserial-2.5.tar.gz"
|
||||
CHECKSUM_MD5="34340820710239bea2ceca7f43ef8cab"
|
||||
REVISION="1"
|
||||
STATUS_HAIKU="broken"
|
||||
DEPEND="dev-lang/python >= 2.6.4"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd pyserial-2.5
|
||||
python setup.py build
|
||||
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
cd pyserial-2.5
|
||||
python setup.py install --root=${DESTDIR}
|
||||
|
||||
# TODO: Verify --root is actually working like destdir, and not making absolute
|
||||
# changes to the files themselve, but just relocating then to assist in
|
||||
# proper packaging, it "seems" to work but need to verify this.
|
||||
|
||||
}
|
||||
#LICENSE=""
|
||||
#COPYRIGHT=""
|
||||
36
dev-python/pyserial/pyserial-3.2.1.recipe
Normal file
36
dev-python/pyserial/pyserial-3.2.1.recipe
Normal file
@@ -0,0 +1,36 @@
|
||||
SUMMARY="Python serial port access library"
|
||||
DESCRIPTION="This module encapsulates the access for the serial port.
|
||||
It provides backends for Python running on Windows, OSX, Linux, BSD (possibly \
|
||||
any POSIX compliant system) and IronPython.
|
||||
The module named "serial" automatically selects the appropriate backend."
|
||||
HOMEPAGE="https://github.com/pyserial/pyserial"
|
||||
COPYRIGHT="2001-2017 Chris Liechti"
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/pyserial/pyserial/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="cd7232b1f1667ebaf260bba0e086c0370bc12d0322dc20caca9b764deca497e7"
|
||||
|
||||
ARCHITECTURES="?any"
|
||||
|
||||
PROVIDES="
|
||||
$portName = $portVersion
|
||||
cmd:miniterm.py
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
cmd:python3.7
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
setuptools_python3
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:python3.7
|
||||
"
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
python3.7 setup.py build install \
|
||||
--root=/ --prefix=$prefix
|
||||
}
|
||||
Reference in New Issue
Block a user