Raise coincurve version.
This commit is contained in:
		
							parent
							
								
									258b730c41
								
							
						
					
					
						commit
						15bf9b2187
					
				@ -24,7 +24,7 @@ test_task:
 | 
				
			|||||||
    - apt-get install -y wget python3-pip gnupg unzip protobuf-compiler automake libtool pkg-config
 | 
					    - apt-get install -y wget python3-pip gnupg unzip protobuf-compiler automake libtool pkg-config
 | 
				
			||||||
    - pip install tox pytest
 | 
					    - pip install tox pytest
 | 
				
			||||||
    - python3 setup.py install
 | 
					    - python3 setup.py install
 | 
				
			||||||
    - wget -O coincurve-anonswap.zip https://github.com/tecnovert/coincurve/archive/refs/tags/anonswap_v0.1.zip
 | 
					    - wget -O coincurve-anonswap.zip https://github.com/tecnovert/coincurve/archive/refs/tags/anonswap_v0.2.zip
 | 
				
			||||||
    - unzip -d coincurve-anonswap coincurve-anonswap.zip
 | 
					    - unzip -d coincurve-anonswap coincurve-anonswap.zip
 | 
				
			||||||
    - mv ./coincurve-anonswap/*/{.,}* ./coincurve-anonswap || true
 | 
					    - mv ./coincurve-anonswap/*/{.,}* ./coincurve-anonswap || true
 | 
				
			||||||
    - cd coincurve-anonswap
 | 
					    - cd coincurve-anonswap
 | 
				
			||||||
 | 
				
			|||||||
@ -22,7 +22,7 @@ before_install:
 | 
				
			|||||||
install:
 | 
					install:
 | 
				
			||||||
  - travis_retry pip install tox pytest
 | 
					  - travis_retry pip install tox pytest
 | 
				
			||||||
before_script:
 | 
					before_script:
 | 
				
			||||||
  - wget -O coincurve-anonswap.zip https://github.com/tecnovert/coincurve/archive/refs/tags/anonswap_v0.1.zip
 | 
					  - wget -O coincurve-anonswap.zip https://github.com/tecnovert/coincurve/archive/refs/tags/anonswap_v0.2.zip
 | 
				
			||||||
  - unzip -d coincurve-anonswap coincurve-anonswap.zip
 | 
					  - unzip -d coincurve-anonswap coincurve-anonswap.zip
 | 
				
			||||||
  - mv ./coincurve-anonswap/*/{.,}* ./coincurve-anonswap || true
 | 
					  - mv ./coincurve-anonswap/*/{.,}* ./coincurve-anonswap || true
 | 
				
			||||||
  - cd coincurve-anonswap
 | 
					  - cd coincurve-anonswap
 | 
				
			||||||
 | 
				
			|||||||
@ -15,7 +15,7 @@ RUN wget -O protobuf_src.tar.gz https://github.com/protocolbuffers/protobuf/rele
 | 
				
			|||||||
    make -j$(nproc) install && \
 | 
					    make -j$(nproc) install && \
 | 
				
			||||||
    ldconfig
 | 
					    ldconfig
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ARG COINCURVE_VERSION=v0.1
 | 
					ARG COINCURVE_VERSION=v0.2
 | 
				
			||||||
RUN wget -O coincurve-anonswap.zip https://github.com/tecnovert/coincurve/archive/refs/tags/anonswap_$COINCURVE_VERSION.zip && \
 | 
					RUN wget -O coincurve-anonswap.zip https://github.com/tecnovert/coincurve/archive/refs/tags/anonswap_$COINCURVE_VERSION.zip && \
 | 
				
			||||||
    unzip coincurve-anonswap.zip && \
 | 
					    unzip coincurve-anonswap.zip && \
 | 
				
			||||||
    mv ./coincurve-anonswap_$COINCURVE_VERSION ./coincurve-anonswap && \
 | 
					    mv ./coincurve-anonswap_$COINCURVE_VERSION ./coincurve-anonswap && \
 | 
				
			||||||
 | 
				
			|||||||
@ -162,7 +162,7 @@ Close the terminal and open a new one to update the python symlinks.
 | 
				
			|||||||
    python3 -m venv "$SWAP_DATADIR/venv"
 | 
					    python3 -m venv "$SWAP_DATADIR/venv"
 | 
				
			||||||
    . $SWAP_DATADIR/venv/bin/activate && python -V
 | 
					    . $SWAP_DATADIR/venv/bin/activate && python -V
 | 
				
			||||||
    cd $SWAP_DATADIR
 | 
					    cd $SWAP_DATADIR
 | 
				
			||||||
    wget -O coincurve-anonswap.zip https://github.com/tecnovert/coincurve/archive/refs/tags/anonswap_v0.1.zip
 | 
					    wget -O coincurve-anonswap.zip https://github.com/tecnovert/coincurve/archive/refs/tags/anonswap_v0.2.zip
 | 
				
			||||||
    unzip -d coincurve-anonswap coincurve-anonswap.zip
 | 
					    unzip -d coincurve-anonswap coincurve-anonswap.zip
 | 
				
			||||||
    mv ./coincurve-anonswap/*/{.,}* ./coincurve-anonswap || true
 | 
					    mv ./coincurve-anonswap/*/{.,}* ./coincurve-anonswap || true
 | 
				
			||||||
    cd $SWAP_DATADIR/coincurve-anonswap
 | 
					    cd $SWAP_DATADIR/coincurve-anonswap
 | 
				
			||||||
 | 
				
			|||||||
@ -15,7 +15,7 @@ RUN wget -O protobuf_src.tar.gz https://github.com/protocolbuffers/protobuf/rele
 | 
				
			|||||||
    make -j$(nproc) install && \
 | 
					    make -j$(nproc) install && \
 | 
				
			||||||
    ldconfig
 | 
					    ldconfig
 | 
				
			||||||
 | 
					
 | 
				
			||||||
ARG COINCURVE_VERSION=v0.1
 | 
					ARG COINCURVE_VERSION=v0.2
 | 
				
			||||||
RUN wget -O coincurve-anonswap.zip https://github.com/tecnovert/coincurve/archive/refs/tags/anonswap_$COINCURVE_VERSION.zip && \
 | 
					RUN wget -O coincurve-anonswap.zip https://github.com/tecnovert/coincurve/archive/refs/tags/anonswap_$COINCURVE_VERSION.zip && \
 | 
				
			||||||
    unzip coincurve-anonswap.zip && \
 | 
					    unzip coincurve-anonswap.zip && \
 | 
				
			||||||
    mv ./coincurve-anonswap_$COINCURVE_VERSION ./coincurve-anonswap && \
 | 
					    mv ./coincurve-anonswap_$COINCURVE_VERSION ./coincurve-anonswap && \
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										15
									
								
								guix.scm
									
									
									
									
									
								
							
							
						
						
									
										15
									
								
								guix.scm
									
									
									
									
									
								
							@ -26,7 +26,7 @@
 | 
				
			|||||||
(define libsecp256k1-anonswap
 | 
					(define libsecp256k1-anonswap
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "libsecp256k1-anonswap")
 | 
					    (name "libsecp256k1-anonswap")
 | 
				
			||||||
    (version "anonswap_v0.1")
 | 
					    (version "anonswap_v0.2")
 | 
				
			||||||
    (source (origin
 | 
					    (source (origin
 | 
				
			||||||
      (method git-fetch)
 | 
					      (method git-fetch)
 | 
				
			||||||
      (uri (git-reference
 | 
					      (uri (git-reference
 | 
				
			||||||
@ -34,15 +34,17 @@
 | 
				
			|||||||
        (commit version)))
 | 
					        (commit version)))
 | 
				
			||||||
      (sha256
 | 
					      (sha256
 | 
				
			||||||
       (base32
 | 
					       (base32
 | 
				
			||||||
        "1lrcc5gjywlzvrgwzifva4baa2nsvwr3h0wmkc71q0zhag9pjbah"))
 | 
					        "1r07rkrw5qsnc5v1q7cb0zfs1cr62fqwq7kd2v8650g6ha4k5r8i"))
 | 
				
			||||||
      (file-name (git-file-name name version))))
 | 
					      (file-name (git-file-name name version))))
 | 
				
			||||||
    (build-system gnu-build-system)
 | 
					    (build-system gnu-build-system)
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     '(#:configure-flags '("--enable-shared"
 | 
					     '(#:configure-flags '("--enable-shared"
 | 
				
			||||||
                           "--disable-dependency-tracking"
 | 
					                           "--disable-dependency-tracking"
 | 
				
			||||||
                           "--with-valgrind=no"
 | 
					                           "--with-pic"
 | 
				
			||||||
                           "--enable-experimental"
 | 
					                           "--enable-module-extrakeys"
 | 
				
			||||||
                           "--enable-module-recovery"
 | 
					                           "--enable-module-recovery"
 | 
				
			||||||
 | 
					                           "--enable-module-schnorrsig"
 | 
				
			||||||
 | 
					                           "--enable-experimental"
 | 
				
			||||||
                           "--enable-module-ecdh"
 | 
					                           "--enable-module-ecdh"
 | 
				
			||||||
                           "--enable-benchmark=no"
 | 
					                           "--enable-benchmark=no"
 | 
				
			||||||
                           "--enable-tests=no"
 | 
					                           "--enable-tests=no"
 | 
				
			||||||
@ -50,6 +52,7 @@
 | 
				
			|||||||
                           "--enable-module-generator"
 | 
					                           "--enable-module-generator"
 | 
				
			||||||
                           "--enable-module-dleag"
 | 
					                           "--enable-module-dleag"
 | 
				
			||||||
                           "--enable-module-ecdsaotves"
 | 
					                           "--enable-module-ecdsaotves"
 | 
				
			||||||
 | 
					                           "--with-valgrind=no"
 | 
				
			||||||
                           )))
 | 
					                           )))
 | 
				
			||||||
    (native-inputs
 | 
					    (native-inputs
 | 
				
			||||||
     (list autoconf automake libtool))
 | 
					     (list autoconf automake libtool))
 | 
				
			||||||
@ -63,7 +66,7 @@
 | 
				
			|||||||
(define python-coincurve-anonswap
 | 
					(define python-coincurve-anonswap
 | 
				
			||||||
  (package
 | 
					  (package
 | 
				
			||||||
    (name "python-coincurve-anonswap")
 | 
					    (name "python-coincurve-anonswap")
 | 
				
			||||||
    (version "anonswap_v0.1")
 | 
					    (version "anonswap_v0.2")
 | 
				
			||||||
    (source
 | 
					    (source
 | 
				
			||||||
     (origin
 | 
					     (origin
 | 
				
			||||||
       (method git-fetch)
 | 
					       (method git-fetch)
 | 
				
			||||||
@ -74,7 +77,7 @@
 | 
				
			|||||||
       (file-name
 | 
					       (file-name
 | 
				
			||||||
        (git-file-name name version))
 | 
					        (git-file-name name version))
 | 
				
			||||||
       (sha256
 | 
					       (sha256
 | 
				
			||||||
        (base32 "0vyzvpp2s21js01185qbm1lgs4ps4hki2d6yzprfsjqap1i5qhmp"))))
 | 
					        (base32 "08fz02afh88m83axfm8jsgq1c65mw1f3g07x9hz361vblvqjwzqh"))))
 | 
				
			||||||
    (build-system python-build-system)
 | 
					    (build-system python-build-system)
 | 
				
			||||||
    (arguments
 | 
					    (arguments
 | 
				
			||||||
     '(#:tests? #f ;XXX fails to load "libsecp256k1.dll"
 | 
					     '(#:tests? #f ;XXX fails to load "libsecp256k1.dll"
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user