diff --git a/packages/atomicwrites/meta.yaml b/packages/atomicwrites/meta.yaml new file mode 100644 index 000000000..a759c9cd0 --- /dev/null +++ b/packages/atomicwrites/meta.yaml @@ -0,0 +1,12 @@ +package: + name: atomicwrites + version: 1.1.5 + +source: + url: https://pypi.io/packages/source/a/atomicwrites/atomicwrites-1.1.5.tar.gz + sha256: 240831ea22da9ab882b551b31d4225591e5e447a68c5e188db5b89ca1d487585 + + +test: + imports: + - atomicwrites diff --git a/packages/attrs/meta.yaml b/packages/attrs/meta.yaml new file mode 100644 index 000000000..22c48b2f7 --- /dev/null +++ b/packages/attrs/meta.yaml @@ -0,0 +1,15 @@ +package: + name: attrs + version: 18.1.0 + +source: + url: https://pypi.io/packages/source/a/attrs/attrs-18.1.0.tar.gz + sha256: e0d0eb91441a3b53dab4d9b743eafc1ac44476296a2053b6ca3af0b139faf87b + + patches: + - patches/use-dummy-threading.patch + + +test: + imports: + - attr diff --git a/packages/attrs/patches/use-dummy-threading.patch b/packages/attrs/patches/use-dummy-threading.patch new file mode 100644 index 000000000..ef5dc1ddc --- /dev/null +++ b/packages/attrs/patches/use-dummy-threading.patch @@ -0,0 +1,16 @@ +diff --git a/src/attr/_make.py b/src/attr/_make.py +index fc44611..f60016e 100644 +--- a/src/attr/_make.py ++++ b/src/attr/_make.py +@@ -3,7 +3,10 @@ from __future__ import absolute_import, division, print_function + import hashlib + import linecache + import sys +-import threading ++try: ++ import threading ++except ImportError: ++ import dummy_threading as threading + import warnings + + from operator import itemgetter diff --git a/packages/more-itertools/meta.yaml b/packages/more-itertools/meta.yaml new file mode 100644 index 000000000..c9462a3a8 --- /dev/null +++ b/packages/more-itertools/meta.yaml @@ -0,0 +1,12 @@ +package: + name: more-itertools + version: 4.3.0 + +source: + url: https://pypi.io/packages/source/m/more-itertools/more-itertools-4.3.0.tar.gz + sha256: c476b5d3a34e12d40130bc2f935028b5f636df8f372dc2c1c01dc19681b2039e + + +test: + imports: + - more_itertools diff --git a/packages/pluggy/meta.yaml b/packages/pluggy/meta.yaml new file mode 100644 index 000000000..0e81a65a4 --- /dev/null +++ b/packages/pluggy/meta.yaml @@ -0,0 +1,12 @@ +package: + name: pluggy + version: 0.7.1 + +source: + url: https://pypi.io/packages/source/p/pluggy/pluggy-0.7.1.tar.gz + sha256: 95eb8364a4708392bae89035f45341871286a333f749c3141c20573d2b3876e1 + + +test: + imports: + - pluggy diff --git a/packages/py/meta.yaml b/packages/py/meta.yaml new file mode 100644 index 000000000..2002bd77f --- /dev/null +++ b/packages/py/meta.yaml @@ -0,0 +1,13 @@ +package: + name: py + version: 1.5.4 + +source: + url: https://pypi.io/packages/source/p/py/py-1.5.4.tar.gz + sha256: 3fd59af7435864e1a243790d322d763925431213b6b8529c6ca71081ace3bbf7 + + +test: + imports: + - py + - py.code diff --git a/packages/pytest/meta.yaml b/packages/pytest/meta.yaml index ce5c5ecf4..955c6975d 100644 --- a/packages/pytest/meta.yaml +++ b/packages/pytest/meta.yaml @@ -5,3 +5,15 @@ package: source: url: https://files.pythonhosted.org/packages/55/50/399419c03c39bf41faa7cbd5a8976c076037b2d76adf2535610919806d67/pytest-3.6.3.tar.gz md5: 8ca6124a3a80f9555c50f5c09056ea02 + +requirements: + run: + - atomicwrites + - attrs + - more-itertools + - pluggy + - py + +test: + imports: + - pytest diff --git a/packages/six/meta.yaml b/packages/six/meta.yaml new file mode 100644 index 000000000..bdd1f3043 --- /dev/null +++ b/packages/six/meta.yaml @@ -0,0 +1,12 @@ +package: + name: six + version: 1.11.0 + +source: + url: https://pypi.io/packages/source/s/six/six-1.11.0.tar.gz + sha256: 70e8a77beed4562e7f14fe23a786b54f6296e34344c23bc42f07b15018ff98e9 + + +test: + imports: + - six