requires=\
(
'python'
)
version=\
(
"3.4"
)
git=\
(
)
git_hash=\
(
92d101613be41ecb2f2054c3f43a006fbe6f9966
)
maintainer=\
(
' '
)
post_unpack()
{
echo "Checking out correct version"
cd "${cfg_dir_builds}/$pkg/$pkg.git-git"
git reset --hard #"${git_hash}"
}
build()
{
cd "${cfg_dir_builds}/$pkg/$pkg.git-git"
python setup.py bdist_egg
}
target_install()
{
echo "unzipping"
unzip -o "${cfg_dir_builds}/$pkg/$pkg.git-git"/dist/pyserial-${version}-py2.7.egg -d "${cfg_dir_rootfs}/lib/python2.7/site-packages/"
}
Which works.