1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include $(ADK_TOPDIR
)/rules.mk
6 # always use tab spaces as separator, no spaces
10 PKG_HASH
:= 7224e126c00b8178dfd227bc337ba5e754b197a3867d33b9f30dc0208f773d70
11 PKG_DESCR
:= python database OR mapper
12 PKG_SECTION
:= dev
/python
13 PKG_URL
:= https
://www.sqlalchemy.org
/
14 PKG_SITES
:= https
://files.pythonhosted.org
/packages
/7f
/4b
/adfb1f03da7f50db054a5b728d32dbfae8937754cfa159efa0216a3758d1
/
15 DISTFILES
:= $(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
17 include $(ADK_TOPDIR
)/mk
/package.mk
19 $(eval
$(call PKG_template
,SQLALCHEMY
,sqlalchemy
,$(PKG_VERSION
)-$(PKG_RELEASE
),$(PKG_DEPENDS
),$(PKG_DESCR
),$(PKG_SECTION
)))
23 INSTALL_STYLE
:= manual
25 include $(ADK_TOPDIR
)/mk
/python3.mk
28 cd
$(WRKBUILD
); env PYTHONPATH
=$(PYTHON_LIBDIR
) $(PYTHON
) .
/setup.py build
29 $(INSTALL_DIR
) $(WRKINST
)/usr
/lib
/python
$(PYTHON_VERSION
)/site-packages
30 cd
$(WRKBUILD
); env PYTHONPATH
=$(PYTHON_LIBDIR
):$(WRKINST
)/usr
/lib
/python
$(PYTHON_VERSION
)/site-packages
$(PYTHON
) .
/setup.py
install --prefix="$(WRKINST)/usr"
33 $(INSTALL_DIR
) $(IDIR_SQLALCHEMY
)/usr
/lib
/python
$(PYTHON_VERSION
)/site-packages
34 $(CP
) $(WRKINST
)/usr
/lib
/python
$(PYTHON_VERSION
)/site-packages
/*egg
$(IDIR_SQLALCHEMY
)/usr
/lib
/python
$(PYTHON_VERSION
)/site-packages
/
35 $(CP
) $(WRKINST
)/usr
/lib
/python
$(PYTHON_VERSION
)/site-packages
/easy-install.pth
$(IDIR_SQLALCHEMY
)/usr
/lib
/python
$(PYTHON_VERSION
)/site-packages
/$(PKG_NAME
).pth
37 include $(ADK_TOPDIR
)/mk
/pkg-bottom.mk