~simplestreams-dev/simplestreams/trunk

« back to all changes in this revision

Viewing changes to Makefile

  • Committer: Scott Moser
  • Date: 2018-06-26 13:09:25 UTC
  • mfrom: (460.1.1 trunk.bzr-warning)
  • Revision ID: smoser@ubuntu.com-20180626130925-e9dfmqz9rx8m93fi
Warn on usage of checked out bzr.

This supplies a UserWarning until 2018-07-31 to inform the user
that they've used simplestreams from the wrong place.
After that it raises DeprecationWarning.

If needed, adding SIMPLESTREAMS_BZR=1 to the environment will
turn this error into a warning.

Show diffs side-by-side

added added

removed removed

Lines of Context:
11
11
test: test2 test3 flake8
12
12
 
13
13
test3: examples-sign
14
 
        $(TENV) nosetests3 -v tests/
 
14
        SIMPLESTREAMS_BZR=1 $(TENV) nosetests3 -v tests/
15
15
test2: examples-sign
16
 
        $(TENV) nosetests -v tests/
 
16
        SIMPLESTREAMS_BZR=1 $(TENV) nosetests -v tests/
17
17
 
18
18
flake8:
19
19
        # any means run via 'flake8' or 'python3 -m flake8'