pkgsrc/databases/py-sqlalchemy-migrate/Makefile

58 lines
2.5 KiB
Makefile
Raw Normal View History

# $NetBSD: Makefile,v 1.17 2019/02/20 15:58:24 adam Exp $
DISTNAME= sqlalchemy-migrate-0.12.0
PKGNAME= ${PYPKGPREFIX}-${DISTNAME}
CATEGORIES= databases python
2016-06-08 19:43:20 +02:00
MASTER_SITES= ${MASTER_SITE_PYPI:=s/sqlalchemy-migrate/}
MAINTAINER= pkgsrc-users@NetBSD.org
Updated to latest release, 0.9.1. Updated HOMEPAGE. Adds py-{six,pbr} as dependencies. Use python/application.mk to REPLACE_PYTHON in a lot of files. Works with python3x, supposedly. From Changelog: CHANGES ======= 0.9.1 ----- * Move patch from oslo to drop unique constraints with sqlite * Port to Python3 * tests: Replace "self.assert_" by "self.assertTrue" 0.9 --- * turn on testing for sqla 0.9 * Replace AbstractType by TypeEngine * fix scripttest compat * Use native quote attribute introduced in sqla 0.9 * Fix genmodel for SQLA 0.9 * Conditionally import ibmdb2/ibm_db_sa * migrate needs subunit >= 0.0.18 * UniqueConstraint named and escaped twice * Eradicate trailing whitespace * Convert tabs to spaces in a couple of rst files 0.8.5 ----- * uncap SQLA in requirements.txt * Add DB2 10.5 Support * Sync with global requirements * Fix broken development version link in README 0.8.2 ----- * Un-break the version in migrate/__init__.py * Fix the version number to match the last release 0.8.1 ----- * Remove the tag_build line from setup.cfg * Drop setuptools_git test requirement 0.8 --- * Fix int overflow exception in unittest * Fix dropping of indexed columns in sqlite/sa08 * Run tests on PostgreSQL and MySQL too * Update tox requirements * Stop using the d2to1-based pbr * decouple index name generation from sqlalchemy version * Run tests with different SQLAlchemy versions * Add a workaround for pytz and pip>=1.4 * Add a reqs files for RTFD * Fix exceptions for SQLAlchemy 0.8 * added bugfixes for 0.8 * Updated to OpenStack Build stuff * Removed hg and google code references * Initial changes to import into StackForge * update changelog * fix error, Text columns have no width * fix deprecation warning by using MetaData.reflect * update credits and changelog * Import correct exceptions module (Fixes issue 154) * update changelog and credits * apply patch for issue #72 by asuffield@gmail.com * update changelog and credits * Fix excludeTablesgetDiffOfModelAgainstModel is not passing excludeTables correctly * start next development iteration * Added signature for changeset ad06c76fc174
2014-06-14 19:06:32 +02:00
HOMEPAGE= https://github.com/stackforge/sqlalchemy-migrate
COMMENT= Schema migration tool for SQLAlchemy
LICENSE= mit
DEPENDS+= ${PYPKGPREFIX}-Tempita>=0.4:../../textproc/py-Tempita
DEPENDS+= ${PYPKGPREFIX}-decorator-[0-9]*:../../devel/py-decorator
Updated to latest release, 0.9.1. Updated HOMEPAGE. Adds py-{six,pbr} as dependencies. Use python/application.mk to REPLACE_PYTHON in a lot of files. Works with python3x, supposedly. From Changelog: CHANGES ======= 0.9.1 ----- * Move patch from oslo to drop unique constraints with sqlite * Port to Python3 * tests: Replace "self.assert_" by "self.assertTrue" 0.9 --- * turn on testing for sqla 0.9 * Replace AbstractType by TypeEngine * fix scripttest compat * Use native quote attribute introduced in sqla 0.9 * Fix genmodel for SQLA 0.9 * Conditionally import ibmdb2/ibm_db_sa * migrate needs subunit >= 0.0.18 * UniqueConstraint named and escaped twice * Eradicate trailing whitespace * Convert tabs to spaces in a couple of rst files 0.8.5 ----- * uncap SQLA in requirements.txt * Add DB2 10.5 Support * Sync with global requirements * Fix broken development version link in README 0.8.2 ----- * Un-break the version in migrate/__init__.py * Fix the version number to match the last release 0.8.1 ----- * Remove the tag_build line from setup.cfg * Drop setuptools_git test requirement 0.8 --- * Fix int overflow exception in unittest * Fix dropping of indexed columns in sqlite/sa08 * Run tests on PostgreSQL and MySQL too * Update tox requirements * Stop using the d2to1-based pbr * decouple index name generation from sqlalchemy version * Run tests with different SQLAlchemy versions * Add a workaround for pytz and pip>=1.4 * Add a reqs files for RTFD * Fix exceptions for SQLAlchemy 0.8 * added bugfixes for 0.8 * Updated to OpenStack Build stuff * Removed hg and google code references * Initial changes to import into StackForge * update changelog * fix error, Text columns have no width * fix deprecation warning by using MetaData.reflect * update credits and changelog * Import correct exceptions module (Fixes issue 154) * update changelog and credits * apply patch for issue #72 by asuffield@gmail.com * update changelog and credits * Fix excludeTablesgetDiffOfModelAgainstModel is not passing excludeTables correctly * start next development iteration * Added signature for changeset ad06c76fc174
2014-06-14 19:06:32 +02:00
DEPENDS+= ${PYPKGPREFIX}-sqlalchemy>=0.7.8:../../databases/py-sqlalchemy
DEPENDS+= ${PYPKGPREFIX}-sqlparse-[0-9]*:../../databases/py-sqlparse
DEPENDS+= ${PYPKGPREFIX}-pbr-[0-9]*:../../devel/py-pbr
DEPENDS+= ${PYPKGPREFIX}-six>=1.7.0:../../lang/py-six
USE_LANGUAGES= # none
Updated to latest release, 0.9.1. Updated HOMEPAGE. Adds py-{six,pbr} as dependencies. Use python/application.mk to REPLACE_PYTHON in a lot of files. Works with python3x, supposedly. From Changelog: CHANGES ======= 0.9.1 ----- * Move patch from oslo to drop unique constraints with sqlite * Port to Python3 * tests: Replace "self.assert_" by "self.assertTrue" 0.9 --- * turn on testing for sqla 0.9 * Replace AbstractType by TypeEngine * fix scripttest compat * Use native quote attribute introduced in sqla 0.9 * Fix genmodel for SQLA 0.9 * Conditionally import ibmdb2/ibm_db_sa * migrate needs subunit >= 0.0.18 * UniqueConstraint named and escaped twice * Eradicate trailing whitespace * Convert tabs to spaces in a couple of rst files 0.8.5 ----- * uncap SQLA in requirements.txt * Add DB2 10.5 Support * Sync with global requirements * Fix broken development version link in README 0.8.2 ----- * Un-break the version in migrate/__init__.py * Fix the version number to match the last release 0.8.1 ----- * Remove the tag_build line from setup.cfg * Drop setuptools_git test requirement 0.8 --- * Fix int overflow exception in unittest * Fix dropping of indexed columns in sqlite/sa08 * Run tests on PostgreSQL and MySQL too * Update tox requirements * Stop using the d2to1-based pbr * decouple index name generation from sqlalchemy version * Run tests with different SQLAlchemy versions * Add a workaround for pytz and pip>=1.4 * Add a reqs files for RTFD * Fix exceptions for SQLAlchemy 0.8 * added bugfixes for 0.8 * Updated to OpenStack Build stuff * Removed hg and google code references * Initial changes to import into StackForge * update changelog * fix error, Text columns have no width * fix deprecation warning by using MetaData.reflect * update credits and changelog * Import correct exceptions module (Fixes issue 154) * update changelog and credits * apply patch for issue #72 by asuffield@gmail.com * update changelog and credits * Fix excludeTablesgetDiffOfModelAgainstModel is not passing excludeTables correctly * start next development iteration * Added signature for changeset ad06c76fc174
2014-06-14 19:06:32 +02:00
REPLACE_PYTHON+= migrate/tests/changeset/databases/test_ibmdb2.py
REPLACE_PYTHON+= migrate/tests/changeset/test_changeset.py
REPLACE_PYTHON+= migrate/tests/changeset/test_constraint.py
REPLACE_PYTHON+= migrate/tests/fixture/__init__.py
REPLACE_PYTHON+= migrate/tests/fixture/base.py
REPLACE_PYTHON+= migrate/tests/fixture/database.py
REPLACE_PYTHON+= migrate/tests/fixture/pathed.py
REPLACE_PYTHON+= migrate/tests/fixture/shell.py
REPLACE_PYTHON+= migrate/tests/versioning/test_api.py
REPLACE_PYTHON+= migrate/tests/versioning/test_cfgparse.py
REPLACE_PYTHON+= migrate/tests/versioning/test_keyedinstance.py
REPLACE_PYTHON+= migrate/tests/versioning/test_repository.py
REPLACE_PYTHON+= migrate/tests/versioning/test_runchangeset.py
REPLACE_PYTHON+= migrate/tests/versioning/test_schema.py
REPLACE_PYTHON+= migrate/tests/versioning/test_script.py
REPLACE_PYTHON+= migrate/tests/versioning/test_shell.py
REPLACE_PYTHON+= migrate/tests/versioning/test_template.py
REPLACE_PYTHON+= migrate/tests/versioning/test_util.py
REPLACE_PYTHON+= migrate/tests/versioning/test_version.py
REPLACE_PYTHON+= migrate/versioning/config.py
REPLACE_PYTHON+= migrate/versioning/script/*.py
REPLACE_PYTHON+= migrate/versioning/shell.py
REPLACE_PYTHON+= migrate/versioning/template.py
REPLACE_PYTHON+= migrate/versioning/templates/manage/*.py_tmpl
REPLACE_PYTHON+= migrate/versioning/util/__init__.py
REPLACE_PYTHON+= migrate/versioning/util/keyedinstance.py
REPLACE_PYTHON+= migrate/versioning/version.py
post-install:
cd ${DESTDIR}${PREFIX}/bin && \
${MV} migrate migrate-${PYVERSSUFFIX} && \
${MV} migrate-repository migrate-repository-${PYVERSSUFFIX} || ${TRUE}
Updated to latest release, 0.9.1. Updated HOMEPAGE. Adds py-{six,pbr} as dependencies. Use python/application.mk to REPLACE_PYTHON in a lot of files. Works with python3x, supposedly. From Changelog: CHANGES ======= 0.9.1 ----- * Move patch from oslo to drop unique constraints with sqlite * Port to Python3 * tests: Replace "self.assert_" by "self.assertTrue" 0.9 --- * turn on testing for sqla 0.9 * Replace AbstractType by TypeEngine * fix scripttest compat * Use native quote attribute introduced in sqla 0.9 * Fix genmodel for SQLA 0.9 * Conditionally import ibmdb2/ibm_db_sa * migrate needs subunit >= 0.0.18 * UniqueConstraint named and escaped twice * Eradicate trailing whitespace * Convert tabs to spaces in a couple of rst files 0.8.5 ----- * uncap SQLA in requirements.txt * Add DB2 10.5 Support * Sync with global requirements * Fix broken development version link in README 0.8.2 ----- * Un-break the version in migrate/__init__.py * Fix the version number to match the last release 0.8.1 ----- * Remove the tag_build line from setup.cfg * Drop setuptools_git test requirement 0.8 --- * Fix int overflow exception in unittest * Fix dropping of indexed columns in sqlite/sa08 * Run tests on PostgreSQL and MySQL too * Update tox requirements * Stop using the d2to1-based pbr * decouple index name generation from sqlalchemy version * Run tests with different SQLAlchemy versions * Add a workaround for pytz and pip>=1.4 * Add a reqs files for RTFD * Fix exceptions for SQLAlchemy 0.8 * added bugfixes for 0.8 * Updated to OpenStack Build stuff * Removed hg and google code references * Initial changes to import into StackForge * update changelog * fix error, Text columns have no width * fix deprecation warning by using MetaData.reflect * update credits and changelog * Import correct exceptions module (Fixes issue 154) * update changelog and credits * apply patch for issue #72 by asuffield@gmail.com * update changelog and credits * Fix excludeTablesgetDiffOfModelAgainstModel is not passing excludeTables correctly * start next development iteration * Added signature for changeset ad06c76fc174
2014-06-14 19:06:32 +02:00
.include "../../lang/python/application.mk"
.include "../../lang/python/egg.mk"
.include "../../mk/bsd.pkg.mk"