mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 19:35:51 +00:00
Bug 1466211 - Vendor json-e via |mach vendor python|; r=ahal
MozReview-Commit-ID: DPatUFNHDIR --HG-- extra : rebase_source : d471abd8821cd87083f48a486daed79388f6a476
This commit is contained in:
parent
17fcbee541
commit
c0e75ef175
2
Pipfile
2
Pipfile
@ -14,6 +14,8 @@ pytest = "==3.2.5"
|
||||
jsmin = "==2.1.0"
|
||||
python-hglib = "==2.4"
|
||||
requests = "==2.9.1"
|
||||
json-e = "==2.5.0"
|
||||
|
||||
|
||||
[requires]
|
||||
python_version = "2.7"
|
||||
|
9
Pipfile.lock
generated
9
Pipfile.lock
generated
@ -1,7 +1,7 @@
|
||||
{
|
||||
"_meta": {
|
||||
"hash": {
|
||||
"sha256": "5d8dd18c1be7cb80a1cac89aeea695dea5f87eedad703a782c64e89fd39a6c3f"
|
||||
"sha256": "04222e29219efa63e83dca85d6692b34f362ecbb0ea154c2e309ba5df708e7b8"
|
||||
},
|
||||
"pipfile-spec": 6,
|
||||
"requires": {
|
||||
@ -38,6 +38,13 @@
|
||||
"index": "pypi",
|
||||
"version": "==2.1.0"
|
||||
},
|
||||
"json-e": {
|
||||
"hashes": [
|
||||
"sha256:f9114a25ed4b575395fbb2daa1183c5b781a647b387fdf28596220bb114673e8"
|
||||
],
|
||||
"index": "pypi",
|
||||
"version": "==2.5.0"
|
||||
},
|
||||
"pipenv": {
|
||||
"hashes": [
|
||||
"sha256:04b9a8b02a3ff12a5502b335850cfdb192adcfd1d6bbdb7a7c47cae9ab9ddece",
|
||||
|
3
third_party/python/json-e/MANIFEST.in
vendored
Normal file
3
third_party/python/json-e/MANIFEST.in
vendored
Normal file
@ -0,0 +1,3 @@
|
||||
include jsone *.py
|
||||
include package.json
|
||||
recursive-exclude test *
|
10
third_party/python/json-e/PKG-INFO
vendored
Normal file
10
third_party/python/json-e/PKG-INFO
vendored
Normal file
@ -0,0 +1,10 @@
|
||||
Metadata-Version: 1.0
|
||||
Name: json-e
|
||||
Version: 2.5.0
|
||||
Summary: A data-structure parameterization system written for embedding context in JSON objects
|
||||
Home-page: https://taskcluster.github.io/json-e/
|
||||
Author: Dustin J. Mitchell
|
||||
Author-email: dustin@mozilla.com
|
||||
License: MPL2
|
||||
Description: UNKNOWN
|
||||
Platform: UNKNOWN
|
35
third_party/python/json-e/package.json
vendored
Normal file
35
third_party/python/json-e/package.json
vendored
Normal file
@ -0,0 +1,35 @@
|
||||
{
|
||||
"name": "json-e",
|
||||
"version": "2.5.0",
|
||||
"description": "json parameterization module inspired from json-parameterization",
|
||||
"main": "./src/index.js",
|
||||
"scripts": {
|
||||
"lint": "eslint src/*.js test/*.js",
|
||||
"test": "yarn lint && mocha test/*_test.js",
|
||||
"build-demo": "cd demo && yarn && yarn build",
|
||||
"start-demo": "cd demo && yarn && yarn start"
|
||||
},
|
||||
"files": [
|
||||
"src"
|
||||
],
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/taskcluster/json-e"
|
||||
},
|
||||
"author": "",
|
||||
"license": "MPL-2.0",
|
||||
"dependencies": {
|
||||
"json-stable-stringify": "^1.0.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"assume": "^1.5.2",
|
||||
"browserify": "^14.5.0",
|
||||
"eslint-config-taskcluster": "^3.0.0",
|
||||
"mocha": "^4.0.1",
|
||||
"source-map-support": "^0.5.0",
|
||||
"timekeeper": "^2.0.0"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=6.4.0"
|
||||
}
|
||||
}
|
8
third_party/python/json-e/setup.cfg
vendored
Normal file
8
third_party/python/json-e/setup.cfg
vendored
Normal file
@ -0,0 +1,8 @@
|
||||
[pep8]
|
||||
max-line-length = 100
|
||||
select = E,W
|
||||
|
||||
[egg_info]
|
||||
tag_build =
|
||||
tag_date = 0
|
||||
|
26
third_party/python/json-e/setup.py
vendored
Normal file
26
third_party/python/json-e/setup.py
vendored
Normal file
@ -0,0 +1,26 @@
|
||||
import json
|
||||
import os
|
||||
from setuptools import setup, find_packages
|
||||
|
||||
package_json = os.path.join(os.path.dirname(os.path.abspath(__file__)), 'package.json')
|
||||
with open(package_json) as f:
|
||||
version = json.load(f)['version']
|
||||
|
||||
setup(name='json-e',
|
||||
version=version,
|
||||
description='A data-structure parameterization system written for embedding context in JSON objects',
|
||||
author='Dustin J. Mitchell',
|
||||
url='https://taskcluster.github.io/json-e/',
|
||||
author_email='dustin@mozilla.com',
|
||||
packages=['jsone'],
|
||||
test_suite='nose.collector',
|
||||
license='MPL2',
|
||||
tests_require=[
|
||||
"freezegun",
|
||||
"hypothesis",
|
||||
"nose",
|
||||
"PyYAML",
|
||||
"python-dateutil",
|
||||
'pep8',
|
||||
]
|
||||
)
|
Loading…
Reference in New Issue
Block a user