if a port needs 2.x then set MODPY_VERSION=${MODPY_DEFAULT_VERSION_2}. This commit doesn't change any versions currently used; it may be that some ports have MODPY_DEFAULT_VERSION_2 but don't require it, those should be cleaned up in the course of updating ports where possible. Python module ports providing py3-* packages should still use FLAVOR=python3 so that we don't have a mixture of dependencies some using ${MODPY_FLAVOR} and others not.
33 lines
795 B
Makefile
33 lines
795 B
Makefile
# $OpenBSD: Makefile,v 1.12 2021/02/23 19:39:11 sthen Exp $
|
|
|
|
COMMENT = MySQL management utilities
|
|
|
|
MODPY_EGG_VERSION = 1.6.5
|
|
DISTNAME = mysql-utilities-${MODPY_EGG_VERSION}
|
|
REVISION = 0
|
|
CATEGORIES = databases
|
|
MASTER_SITES = http://mirror.switch.ch/mirror/mysql/Downloads/MySQLGUITools/ \
|
|
http://ftp.fi.muni.cz/pub/mysql/Downloads/MySQLGUITools/ \
|
|
http://ftp.gwdg.de/pub/misc/mysql/Downloads/MySQLGUITools/
|
|
EXTRACT_SUFX = .zip
|
|
|
|
HOMEPAGE = http://www.mysql.com/
|
|
|
|
MAINTAINER = Giovanni Bechis <giovanni@openbsd.org>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE = Yes
|
|
|
|
MODULES = lang/python
|
|
MODPY_VERSION = ${MODPY_DEFAULT_VERSION_2}
|
|
|
|
MODPY_PYTEST = Yes
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/setup.py
|
|
|
|
post-install:
|
|
cd ${WRKSRC} && ${MODPY_BIN} setup.py install_man --prefix=${PREFIX}/man
|
|
|
|
.include <bsd.port.mk>
|