~ubuntu-branches/ubuntu/vivid/horizon/vivid-updates

« back to all changes in this revision

Viewing changes to pkg/jquery_migrate/__init__.py

  • Committer: Package Import Robot
  • Author(s): Corey Bryant
  • Date: 2015-04-30 15:46:00 UTC
  • mto: (87.1.1 vivid-proposed) (0.15.1)
  • mto: This revision was merged to the branch mainline in revision 87.
  • Revision ID: package-import@ubuntu.com-20150430154600-1zms8pm8yccw8n1h
Tags: upstream-2015.1.0/xstatic
Import upstream version 2015.1.0, component xstatic

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
"""
 
2
XStatic resource package
 
3
 
 
4
See package 'XStatic' for documentation and basic tools.
 
5
"""
 
6
 
 
7
DISPLAY_NAME = 'JQuery-Migrate' # official name, upper/lowercase allowed, no spaces
 
8
PACKAGE_NAME = 'XStatic-%s' % DISPLAY_NAME # name used for PyPi
 
9
 
 
10
NAME = __name__.split('.')[-1] # package name (e.g. 'foo' or 'foo_bar')
 
11
                               # please use a all-lowercase valid python
 
12
                               # package name
 
13
 
 
14
VERSION = '1.2.1' # version of the packaged files, please use the upstream
 
15
                  # version number
 
16
BUILD = '1' # our package build number, so we can release new builds
 
17
             # with fixes for xstatic stuff.
 
18
PACKAGE_VERSION = VERSION + '.' + BUILD # version used for PyPi
 
19
 
 
20
DESCRIPTION = "%s %s (XStatic packaging standard)" % (DISPLAY_NAME, VERSION)
 
21
 
 
22
PLATFORMS = 'any'
 
23
CLASSIFIERS = []
 
24
KEYWORDS = '%s xstatic' % NAME
 
25
 
 
26
# XStatic-* package maintainer:
 
27
MAINTAINER = 'Radomir Dopieralski'
 
28
MAINTAINER_EMAIL = 'openstack@sheep.art.pl'
 
29
 
 
30
# this refers to the project homepage of the stuff we packaged:
 
31
HOMEPAGE = 'https://github.com/jquery/jquery-migrate'
 
32
 
 
33
# this refers to all files:
 
34
LICENSE = '(same as %s)' % DISPLAY_NAME
 
35
 
 
36
from os.path import join, dirname
 
37
BASE_DIR = join(dirname(__file__), 'data')
 
38
# linux package maintainers just can point to their file locations like this:
 
39
#BASE_DIR = '/usr/share/javascript/jquery_migrate'
 
40
 
 
41
LOCATIONS = {
 
42
    # CDN locations (if no public CDN exists, use an empty dict)
 
43
    # if value is a string, it is a base location, just append relative
 
44
    # path/filename. if value is a dict, do another lookup using the
 
45
    # relative path/filename you want.
 
46
    # your relative path/filenames should usually be without version
 
47
    # information, because either the base dir/url is exactly for this
 
48
    # version or the mapping will care for accessing this version.
 
49
}